From: Dgby714
You should subtract the old time from the new one >..> unless that's what you mean, You said it backwards.
T := GetTickCount; //Same as GetSystemTime
Wait(100);
WriteLn(GetTickCount - T);
sorry, yes i meant that.
totalRuntime := getSystemTime - startTime
writeln('Xp/h: ' + toStr((3600 * xpGain) div (totalRuntime div 1000 + 1)));
-----Iamadam's Strong-Holder------
Running for 1040 minutes (In fight with Zombie)
Exp gained: 774260 (3551 zombies killed)
Times eaten: 236
Times banked: 8
Xp/h: -24138
Randoms found: 3
Levels - Atk: 80 Str: 93 Def: 80 HP: 87 Rng: 74
first one is where it subtracts, second is the line to show how it calculates xp/h, and proggy shows time and bugged xp/h