Runescapian321
2009-08-11 21:16:02
EDIT: NEVERMIND, stupid mistake on my part :p
There was a system update a couple hours ago, but it seems the hooks didn't get outdated, so I proceeded to make a script. But now R_ChooseOption and IsValidInterface seem to not work. R_ChooseOption clicks the option then returns false, IsValidInterface doesn't find the interface, and that's all I've found thus far. I've tried restarting my computer and redownloaded reflection, and that didn't fix it. Other things like FindNPC, WalkToTile, etc. work.
Test:
My result…
There was a system update a couple hours ago, but it seems the hooks didn't get outdated, so I proceeded to make a script. But now R_ChooseOption and IsValidInterface seem to not work. R_ChooseOption clicks the option then returns false, IsValidInterface doesn't find the interface, and that's all I've found thus far. I've tried restarting my computer and redownloaded reflection, and that didn't fix it. Other things like FindNPC, WalkToTile, etc. work.
Test:
program New;
{.include srl/srl/misc/smart.scar}
{.include srl/srl.scar}
{.include srl\srl/reflection/reflection.scar}
Procedure DeclarePlayers;
begin
HowManyPlayers:= 1; // How many players are there arrays for?
CurrentPlayer:= 0; // Which player should we start with?
NumberOfPlayers(HowManyPlayers); // Do Not Change.
Players[0].Name := ''; // Username.
Players[0].Pass := ''; // Password.
Players[0].Nick := ''; //2-4 letters of your Username (that are not capital letters or spaces).
Players[0].Active := True;
end;
function Test : boolean;
begin
mouse(100+random(400),100+random(400), 50, 50, false);
R_WaitOption('anc', 5000);
result := R_ChooseOption('anc');
end;
begin
Smart_Members := false;
Smart_Signed := true;
Smart_Server := 30;
SetupSRL;
SetupReflection;
DeclarePlayers;
LoginPlayer;
if Test then
writeln('Success!')
else
writeln('Failed.');
end.My result…
Successfully compiled (11472 ms)
SRL Compiled in 219 msec
SMART Initialized.
Loaded: Server 30, Members: False, Signed: True, Super Detail: False.
Creating the NickTPA.
Failed.
Successfully executed