SRL Archive - News and General

Average Exp P/H Formula?


turbobk

2009-03-27 05:33:25

Hey guys.
Is there anyone out there that can help me find out the formula for working out approximately how much exp I am gaining an hour?

And how to implement this into a SCAR script?

Thanks alot!
TurboBk :)

turbobk

2009-03-27 05:40:16

Anyone pleeeeaase???
I really need this fast!

NiCbaZ

2009-03-27 06:56:47

Just do the math… or if you don't know how to do the math just do a timer..

Home

2009-03-27 07:01:54

Just look other peoples scripts, and you'll get the idea :) Good luck :)


~Home

ZephyrsFury

2009-03-27 07:07:48


var
TotalExp: Integer

ExpPerHour := (TotalExp * 3600) / (GetSystemTime / 1000);


Nava2

2009-03-27 08:48:19

var
TotalExp: Integer

ExpPerHour := (TotalExp * 3600) / (GetRunningTime / 1000);

Isn't get system time just that… GetSystemTime not the scripts running time…

Oh well, I use the same formula just with GetRunningTime :)

turbobk

2009-03-27 08:50:54

Thanks alot guys!
Really helpful! :)

+Rep

ZephyrsFury

2009-03-27 10:10:15

Yea GetTimeRunning not GetSystemTime :P