PDA

View Full Version : Pascal Reflection Include



Kyle
01-20-2015, 02:13 PM
Pascal Script Reflection


The pascal script version is currently not being developed, but the hooks are still maintained since most of the scripts on the forums are still using this include combined with SRL-OSR. The include will continue to be maintained so long as SRL-OSR is still the "official" SRL for old school runescape.

The link for the include is at https://github.com/Elfyyy/OSR-Reflection-PascalScript and in order to use it and allow it to auto update, you will need a SSL supporting plugin, called prosocks https://github.com/Brandon-T/ProSocks/releases/download/v0.3/ProSocks.dll

Once both of those are downloaded, extract the include to Simba/Includes/SRL-OSR/Srl/, renaming it to just "reflection" and place the prosocks.dll in Simba/Plugins.

It is included by:{$I SRL-OSR/SRL/Reflection/Reflection.simba}
Always ensure that you call the setup as follows:

SetupSrl;
SetupReflection;

Booper9
02-20-2015, 07:47 AM
Thanks Elfyyy!

Grunt
02-24-2015, 07:51 AM
try to install simba on a new comp. Getting this error: [Error] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Misc.simba(20:21): Unknown identifier 'SmartStringFromString' at line 21

sombix71
03-27-2015, 09:49 AM
Link's not working :/

MariusK
03-27-2015, 11:36 AM
Link's not working :/

Both links are working fine.

Myn
03-29-2015, 03:10 PM
Nice! Thank you.

msemtex
04-02-2015, 05:37 PM
Any idea of when a new update for the Pascal Reflection hooks will be released? I know the message says not to post about it, curious about a release date though.

Kyle
04-03-2015, 05:05 PM
Any idea of when a new update for the Pascal Reflection hooks will be released? I know the message says not to post about it, curious about a release date though.

They were updated within like an hour of them updating rs..

msemtex
04-04-2015, 12:20 AM
They were updated within like an hour of them updating rs..

Oh ok, I'm still getting the "Reflection Hooks outdated" error message in the debug console. I downloaded the Pascal Reflection files again, and I still receive the same message. Appreciate the response Elfyyy! :)

EDIT: Forgot to add, I have the Prosocks plugin too.

BigRedJapan
05-06-2015, 04:30 AM
Even with the prosocks plugin its telling me that the hooks are outdated

Turpinator
05-06-2015, 04:35 AM
Even with the prosocks plugin its telling me that the hooks are outdated

You need to grab the hooks directly from the github link.
You can either download just the hooks file, or the whole thing again to ensure theres nothing that got missed.

Maybe one day this will get fixed, but probably not as this is no longer maintained. Move on to the lape version so you can use aerolib too.

BigRedJapan
05-06-2015, 04:37 AM
I would luv to move on to lape but i havent figured out the walkin on lape yet. And i wanted to use an agility script that was pascal reflection.

I have updated the hooks by hand and updateed the prosocks plugin and still not working.

Hoodz
05-06-2015, 08:26 PM
I would luv to move on to lape but i havent figured out the walkin on lape yet. And i wanted to use an agility script that was pascal reflection.

I have updated the hooks by hand and updateed the prosocks plugin and still not working.

create a global var:

var
localPlayer: TReflectLocalPlayer;


at the beginning of your script add this, to initialise the local player (your character)

localPlayer.Create;


now you can use walking and get other information about your local player!

localPlayer.blindWalkMM(Point(200, 200)); //blind walking to point(200, 200).

{tip}
writeln(localPlayer.getTile); //returns your current location.

BigRedJapan
05-08-2015, 05:33 AM
Thats all there is to walking???

Is the error in smart that isnt allowing me to get the correct ClientState = 10; ???

Hoodz
05-08-2015, 07:25 AM
Thats all there is to walking???

Is the error in smart that isnt allowing me to get the correct ClientState = 10; ???

i believe the pascal version doesnt work, as the hooks are only rev 69.

asnan747
06-11-2015, 08:28 AM
Im new to this so im not experienced with any of this stuff, but i wonder when is the new version of Reflection hooks coming out? I cant launch any of my reflection scripts, it does only say "Reflection Hooks are outdated, we are currently working on it. ~ Reflection dev's"

BigRedJapan
06-20-2015, 10:25 AM
ive seen the 79 hook codes but can someone post the hook code they using it will take for ever to find them again and re write them.

mur205
06-29-2015, 09:13 AM
Im new to this so im not experienced with any of this stuff, but i wonder when is the new version of Reflection hooks coming out? I cant launch any of my reflection scripts, it does only say "Reflection Hooks are outdated, we are currently working on it. ~ Reflection dev's"


ive seen the 79 hook codes but can someone post the hook code they using it will take for ever to find them again and re write them.



@elfyyy when will it be finished?

ry0240
06-29-2015, 02:09 PM
I'm not sure if Pascal hooks will be updated officially but I'm pretty sure you can manually update with the hooks from this thread
https://villavu.com/forum/showthread.php?t=113377

mur205
07-02-2015, 09:18 AM
Thanks!