Hi,
I am wanting to add xp/h in combat stats to one of my autofighters. Just finished adding looting which I am pretty proud of.
This is my first script I am working on.
Anyone give me some tips or snippets?
Hi,
I am wanting to add xp/h in combat stats to one of my autofighters. Just finished adding looting which I am pretty proud of.
This is my first script I am working on.
Anyone give me some tips or snippets?
For eoc or oldschool?
U can use xpbar in eoc. XPGain := CurrentXP - GetXPBarTotal
Creds to DannyRS for this wonderful sig!
Only way I see it is getting xp of the monster and use Inc(KillXP)
Creds to DannyRS for this wonderful sig!
Here is my xp/hr and ores/hr procedure for mining:
Simba Code:procedure WriteProgress;
begin
Seconds := (1 + ((Getsystemtime - StartTime) / 1000));
XpPerHour := (3600 * XPGained) / (Seconds);
OresPerHour := (3600 * OresMined) / Seconds;
ClearDebug;
Writeln('*****************************');
Writeln('Status:' + Status + '');
writeln('Mining XP: ' + IntToStr(XPGained));
writeLn('Mining XP/H: ' + IntToStr(XpPerHour));
writeLn('Ores Mined: ' + IntToStr(OresMined));
writeLn('Ores Per Hour: ' + IntToStr(OresPerHour));
Writeln('*****************************');
end;
Hope that helps
There are currently 1 users browsing this thread. (0 members and 1 guests)