Results 1 to 20 of 20

Thread: Pascal Reflection Include

  1. #1
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default Pascal Reflection Include

    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/ProSock...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:
    Simba Code:
    {$I SRL-OSR/SRL/Reflection/Reflection.simba}
    Always ensure that you call the setup as follows:
    Simba Code:
    SetupSrl;
    SetupReflection;
    Last edited by Kyle; 01-21-2015 at 01:05 PM.
    “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

  2. #2
    Join Date
    Apr 2013
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Thanks Elfyyy!

  3. #3
    Join Date
    Dec 2008
    Posts
    135
    Mentioned
    0 Post(s)
    Quoted
    44 Post(s)

    Default

    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

  4. #4
    Join Date
    Mar 2015
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Link's not working :/

  5. #5
    Join Date
    May 2013
    Posts
    75
    Mentioned
    3 Post(s)
    Quoted
    48 Post(s)

    Default

    Quote Originally Posted by sombix71 View Post
    Link's not working :/
    Both links are working fine.

  6. #6
    Join Date
    Mar 2015
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Nice! Thank you.

  7. #7
    Join Date
    Jul 2012
    Location
    England
    Posts
    144
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    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.

  8. #8
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    Quote Originally Posted by msemtex View Post
    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..
    “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

  9. #9
    Join Date
    Jul 2012
    Location
    England
    Posts
    144
    Mentioned
    1 Post(s)
    Quoted
    28 Post(s)

    Default

    Quote Originally Posted by elfyyy View Post
    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.

  10. #10
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

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

  11. #11
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    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.

  12. #12
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    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.

  13. #13
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    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:
    Simba Code:
    var
      localPlayer: TReflectLocalPlayer;

    at the beginning of your script add this, to initialise the local player (your character)
    Simba Code:
    localPlayer.Create;

    now you can use walking and get other information about your local player!
    Simba Code:
    localPlayer.blindWalkMM(Point(200, 200)); //blind walking to point(200, 200).

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

  14. #14
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    Thats all there is to walking???

    Is the error in smart that isnt allowing me to get the correct ClientState = 10; ???
    Last edited by BigRedJapan; 05-08-2015 at 05:49 AM.

  15. #15
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Rules of Joe View Post
    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.

  16. #16
    Join Date
    Jun 2015
    Posts
    6
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    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"

  17. #17
    Join Date
    Jan 2012
    Posts
    468
    Mentioned
    3 Post(s)
    Quoted
    200 Post(s)

    Default

    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.

  18. #18
    Join Date
    Mar 2015
    Location
    Sweden
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    32 Post(s)

    Default

    Quote Originally Posted by asnan747 View Post
    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"
    Quote Originally Posted by Rules of Joe View Post
    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?

  19. #19
    Join Date
    Oct 2006
    Posts
    491
    Mentioned
    0 Post(s)
    Quoted
    41 Post(s)

    Default

    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

  20. #20
    Join Date
    Mar 2015
    Location
    Sweden
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    32 Post(s)

    Default

    Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •