Fixed, Re Download for the proper fix! And Yes, you can report bugs to:
https://code.google.com/p/osrreflection/issues/list
Fixed, Re Download for the proper fix! And Yes, you can report bugs to:
https://code.google.com/p/osrreflection/issues/list
“The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius
Im having a problem when trying to run the update code that you provided, i keep getting this error:
Exception in Script: Operator expected at line 281, column 26 in file "C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Tiles.simba"
Any help would be greatly appreciated
i had the same problem, u got to switch the interpreter to pascal script
Hello:
I was wondering if you could help me with opening doors. I am making a script to kill Al Kharid guards. This is what I have so far:
I know its pretty rough but I just started today. Would it be best to save the locations of the doors in Tpoints and just use R_opendoor on the nearest door if I am stuck against a wall? Is there a better way? Is there an example you could provide. Thanks!Code:program R_Test; {$DEFINE SMART8} {$I SRL-OSR/SRL.Simba} {$I SRL-OSR/SRL/Reflection/Reflection.simba} Procedure DeclarePlayers; begin HowManyPlayers := 1; NumberOfPlayers(HowManyPlayers); CurrentPlayer := 0; Players[0].Name :=''; Players[0].Pass :=''; Players[0].Nick :=''; Players[0].Active:=True; end; var center, south, east, west: tPoint; procedure AntiBan; begin if(not(LoggedIn))then Exit; R_FindNormalRandoms; case Random(8) of 0: begin HoverSkill('Woodcutting', false); wait(2453+Random(432)); end; 1: PickUpMouse; 2: begin MakeCompass('N'); wait(100+random(133)); MakeCompass('S'); wait(50+random(133)); MakeCompass('N'); R_FindNormalRandoms; end; end; end; procedure ResetPosition; begin end; procedure OpenDoor; var CloseObjects: TRSObjectArray; DoorPoint: TPoint; i: Integer; begin R_get for i := 0 To high(CloseObjects) do begin DoorPoint:= R_TileToMs(CloseObjects[i].Tile); MMouse(DoorPoint.x, DoorPoint.y, 0, 0); end; //writeln(CloseObjects[i].Tile); // //ClickMouse2(mouse_Right); //if R_WaitUptext('Open', 200) then //ClickMouse2(mouse_Left); end; procedure AttackWarrior; var Warrior: TNPC; WarriorPoint: TPoint; begin if R_FindNpc('Al-Kharid warrior', Warrior) then // Loads the record for Guard. begin WarriorPoint := R_TileToMs(Warrior.Tile); //Get guard tile location MMouse(WarriorPoint.x, WarriorPoint.y, 0, 0); if R_WaitUptext('Al-Kharid warrior', 200) then begin ClickMouse2(Mouse_Left); wait(100+random(50)); if not(R_IsWalking) and not(R_InFight) then OpenDoor; end; while (Warrior.InCombat) and (R_InFight) do // waits until guard is dead to move on begin R_FindNormalRandoms; wait(400+random(250)); AntiBan; end; end; end; procedure Main; begin repeat R_FindNormalRandoms; AttackWarrior; until(InvFull); end; begin SetupSrl; SetupReflection; ActivateClient; DeclarePlayers; LoginPlayer; Main; end.
[edit]
i skyped hope you do not mind
Last edited by MrMonotone; 06-10-2014 at 05:59 AM.
When running the test, I get error: Exception in Script: Operator expected at line 281, column 26 in file "C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Tiles.simba".
Any idea what operator I need to add and where?
Is reflection only for rs3? Does it still work? Should I do this for osrs?
I was trying to run joulaha's catherby fisher and I got this message:
Attempting to spawn a client
Grabbing your best world...
Succesfully spawned a client, attempting to target...
Set SMART[4168] as Simba's target
Reflection Hooks are outdated
No need to post about it, we are currently working on it. ~ Reflection dev's
Succesfully freed SMART[4168]
Successfully executed.
I have reflection and have used this script many times in the past.
#slack4admin2016
<slacky> I will build a wall
<slacky> I will ban reflection and OGL hooking until we know what the hell is going on
I'm having an issue getting the script writer up on my mac, can you help me?
reflection.jpg
Exception in Script: Unable to find file 'SRL-OSR/SRL/Reflection/Reflection.simba' used from ''
getting this code, I have all my files correct I believe
okay great thanks I got it up and running
Thank you
thanks, this helped
Seems like i cant run it,any ideas?
program New;
//{$DEFINE SMART}
{$I SRL-OSR/SRL.Simba}
{$i Reflection/Reflection.Simba}
begin
SetupSrl;
SetupReflection;
end.
And i get this error :
Error: Duplicate declaration "Skill_Attack" at line 220
Compiling failed.
so if i use R_TileOnMM(Tile: TPoint): boolean; does it returns true if i am standing on the tile or if it is showing in the minimap?
Hi there, I have been trying to get the tile my player is standing on, but can't seem to do so. All I'm getting is "{X = 2046021779, Y = -989860132}"
May I know what I'm doing wrong? :O
Code:{$DEFINE SMART} {$i AeroLib/AeroLib.Simba} {$i Reflection/Reflection.simba} var MyPlayer : TReflectLocalPlayer; begin initAL; MyPlayer.Create; repeat writeln(MyPlayer.GetTile); wait(1000); until(false); end;
Im also getting Duplicate declaration "Skill_Attack" error. Downloaded the lape include, extracted, tried to compile but failed. Anybody could help?
I have tried many different way to try store multiple NPCs
I have been bored recently and wanting to make more in depth scripts; attacking multiple npcs is a great anti-ban =DCode:function TReflectNpc.FindFree(Name: string): Boolean; var Npcs: TReflectNPCArray; <--- this is an array so multiple NPC are being searchesd I: Integer; begin Npcs.Get('Chicken','Cow'); <--- this is obviously overloaded for I := 0 to High(Npcs) do if (Npcs[I].IsFree) and (NPCs[I].GetInteractingIndex = -1) then begin Self := Npcs[I]; Exit(True); end; end;
<------------------>
thanks for the guide
There are currently 1 users browsing this thread. (0 members and 1 guests)