Quick Question.
Code:
program Test;
{.include SRL/SRL.scar}
procedure TellStat;
begin
GameTab(1);
Wait(100+random(500));
WriteLn(inttostr(GetCombatLevel));
end;
begin
SetupSRL;
ActivateClient;
ClearDebug;
TellStat;
end.
Okay as you can see this is quite a simple little program should just tell me my combat level on the debug box in scar and open the game tab 1. But neither happens.
Now i used to program scripts for scar but i have not played runescape in some time. When i run this program the debug results :
If i make another quick program with the WriteLn(inttostr(GetXp('Agility'))); in place of the code in the procedure "tellstat" it will result in the following:
Now -1 indicates an error/failure to get the experience as stated in the manual.
Anyone got knowledge on this problem i am having ?
Thanks -
Your Friend, Chwiggy // Jason.
-----
"Great acts are made up of small deeds"
"He who does not trust enough, Will not be trusted."
"If you would take, you must first give, this is the beginning of intelligence."
"A leader is best when people barely know he exists, when his work is done, his aim fulfilled, they will say: we did it ourselves."
"Respond intelligently even to unintelligent treatment."
-----