SRL Archive - Discussion

Pascal Reflection Include


Kyle

2015-01-20 09:13:06

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

2015-02-20 02:47:04

Thanks Elfyyy!

Grunt

2015-02-24 02:51:35

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

2015-03-27 05:49:15

Link's not working :/

MariusK

2015-03-27 07:36:49

From: sombix71
Link's not working :/


Both links are working fine.

Myn

2015-03-29 11:10:09

Nice! Thank you.

msemtex

2015-04-02 13:37:19

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

2015-04-03 13:05:00

From: msemtex
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

2015-04-03 20:20:38

From: elfyyy
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

2015-05-06 00:30:30

Even with the prosocks plugin its telling me that the hooks are outdated

Turpinator

2015-05-06 00:35:31

From: Rules of Joe
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

2015-05-06 00:37:55

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

2015-05-06 16:26:30

From: Rules of Joe
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

2015-05-08 01:33:55

Thats all there is to walking???

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

Hoodz

2015-05-08 03:25:57

From: Rules of Joe
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

2015-06-11 04:28:03

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

2015-06-20 06:25:20

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.