Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 74

Thread: [OSR][Reflection]Basic Scripting and Setup Guide

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

    Default

    Quote Originally Posted by lollol012 View Post
    Oh ya, it was in my own include lol.

    Anyway, it doesn't work atm when I try to walk in Yanille.




    Doesn't work individually either.

    I'll clarify, this is the path from the bank to the house portal.
    I also found a new one with path_maker, it didn't work either.
    Didnt work for me either the last few days. Try to replace it with R_PerfectPath

  2. #27
    Join Date
    Feb 2013
    Location
    Narnia
    Posts
    615
    Mentioned
    8 Post(s)
    Quoted
    252 Post(s)

    Default

    Quote Originally Posted by lollol012 View Post
    Oh ya, it was in my own include lol.

    Anyway, it doesn't work atm when I try to walk in Yanille



    Doesn't work individually either.

    I'll clarify, this is the path from the bank to the house portal.
    I also found a new one with path_maker, it didn't work either.
    are you sure all the points are on the minimap? the points have to be visible on the minimap before it can walk to it.

    if so you might just have to delte the reflection include as its out dated and redownload from google code. ive had similiar issues and this solved it https://code.google.com/p/osrreflection/source/browse/

    View my OSR Script Repository!


    Botted to max
    Guides: How to Report Bugs to the Scripter
    ~~~~ Moved to Java. Currently Lurking ~~~~

  3. #28
    Join Date
    Jan 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    37 Post(s)

    Default

    Suddenly it works again. Strange, really. Perhaps there is a glitch in Yanille itself. I'll test it a bit later.


    Edit: Now it randomly doesn't work again, somewhere else. I got no idea what's going on.
    Last edited by lollol012; 02-22-2014 at 12:29 AM.

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

    Default

    Quote Originally Posted by lollol012 View Post
    Suddenly it works again. Strange, really. Perhaps there is a glitch in Yanille itself. I'll test it a bit later.
    No lol... Its called reflection haha. It breaks everytime rs updates it will break until we update it
    “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

  5. #30
    Join Date
    Jan 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by elfyyy View Post
    No lol... Its called reflection haha. It breaks everytime rs updates it will break until we update it
    No, it's not the hooks. The pathmaker works perfectly, it's just that when I run R_WalkPath it writes "Sucessfully Executed" and does absolutely nothing. And returns "true", no less. I still don't understand how to replicate this error, it just ranodmly started again.

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

    Default

    Quote Originally Posted by lollol012 View Post
    No, it's not the hooks. The pathmaker works perfectly, it's just that when I run R_WalkPath it writes "Sucessfully Executed" and does absolutely nothing. And returns "true", no less. I still don't understand how to replicate this error, it just ranodmly started again.
    Then the first point is obviously not on the mini map. You should make the points 5 tiles apart
    “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

  7. #32
    Join Date
    Jan 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by elfyyy View Post
    Then the first point is obviously not on the mini map. You should make the points 5 tiles apart
    I know how it usually is, but this time, it's clearly on the minimap - I try it when it's 3/4/5/6 tiles away from me, and it gives the same result.
    Obviously, I tested it with an array of a single point first, which was the first and the last point, and was a few tiles away from me..

    This happened with points I've used before, and also with new points PathMaker calculated. All of them in range.
    Also, when a point wasn't on the minimap beforehand, it used to wait a bit before returning "false". Now it just returns true without doing a thing, almost instantly.
    I'll test more later, it's strange, but it's definitely an actual glitch, even if it happens under very specific conditions.
    Last edited by lollol012; 02-22-2014 at 01:57 AM.

  8. #33
    Join Date
    Feb 2013
    Location
    Narnia
    Posts
    615
    Mentioned
    8 Post(s)
    Quoted
    252 Post(s)

    Default

    Quote Originally Posted by lollol012 View Post
    I know how it usually is, but this time, it's clearly on the minimap - I try it when it's 3/4/5/6 tiles away from me, and it gives the same result.
    Obviously, I tested it with an array of a single point first, which was the first and the last point, and was a few tiles away from me..

    This happened with points I've used before, and also with new points PathMaker calculated. All of them in range.
    Also, when a point wasn't on the minimap beforehand, it used to wait a bit before returning "false". Now it just returns true without doing a thing, almost instantly.
    I'll test more later, it's strange, but it's definitely an actual glitch, even if it happens under very specific conditions.
    try using blindwalk, you wont need any of the points on the minimap. might help pin point the problem. my walking was bugging out yesterday but elfyyy said the include was outdated so i dissabled all the walking and i dont have any spare accounts to test it again- got a 10+ hour proggy going :P

    View my OSR Script Repository!


    Botted to max
    Guides: How to Report Bugs to the Scripter
    ~~~~ Moved to Java. Currently Lurking ~~~~

  9. #34
    Join Date
    Aug 2012
    Location
    The Dark Tower
    Posts
    154
    Mentioned
    5 Post(s)
    Quoted
    56 Post(s)

    Default

    I discovered that when declaring the numerical tile points (X-Tile, Y-Tile) you must declare it as a Point before you add (X-Tile, Y-Tile) IE -
    Code:
    R_NearTile(Point(1234,1234));//Notice that it states it as a point here prior to the cords being used (This is needed ANYWHERE there is a TPoint being asked for
    R_WalkPath([Point(1234,1234)]);//Notice here there are brackets wrapped around the Point (or points(usually need brackets if there is a possibility for more then one Tpoint)) without brackets you just get a parameter error(if the brackets are needed)
    I figured that since it really isn't mentioned as to how you 'operate' the TPoints it may be helpful to others to add this when talking about Tiles or Mapwalking in the OP.

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

    Default

    Just added Objects to the guide! Currently working on adding the new MapWalk functions and the Misc functions!
    “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

  11. #36
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Just throwing this out there, if any of y'all got an account in an 07 random, you should PM me the details of it. I'll write up a solver.

  12. #37
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    Just throwing this out there, if any of y'all got an account in an 07 random, you should PM me the details of it. I'll write up a solver.
    is this a dream?

    Creds to DannyRS for this wonderful sig!

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

    Default

    Quote Originally Posted by Sjoe View Post
    is this a dream?
    I was literally just thinking that haha. There's a definite reason that I wrote in the antirandoms part to pm me or Meerkat your account info!
    “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

  14. #39
    Join Date
    Jan 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    37 Post(s)

    Default

    Tried using Anti_Randoms, currently unusible. Every random it finds, it writes
    Progress Report:
    [Reflection Anti-Randoms] Dr Jekyll random detected! Solving...
    Error: Out Of Range at line 439


    Happened with 2 randoms today.

  15. #40
    Join Date
    Sep 2008
    Posts
    754
    Mentioned
    8 Post(s)
    Quoted
    275 Post(s)

    Default

    Nice guide, will report on any issues i need help with

    edit: can you add an example for object clicking please? like agility obstacles/bank booths would really appreciate it.
    Quit gaming

  16. #41
    Join Date
    Jan 2014
    Posts
    58
    Mentioned
    1 Post(s)
    Quoted
    37 Post(s)

    Default

    Have to report that the Drill Demon solver, R_SolveDD, doesn't work for whatever reason.

    It detected the event successfully, but did not start solving, just stood.
    Had to replace it with DD_Solve in your include for it to solve it. (DD_Solve is the normal solver)

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

    Default

    Quote Originally Posted by lollol012 View Post
    Have to report that the Drill Demon solver, R_SolveDD, doesn't work for whatever reason.

    It detected the event successfully, but did not start solving, just stood.
    Had to replace it with DD_Solve in your include for it to solve it. (DD_Solve is the normal solver)
    Alright, yeah your the second person who has said that. So something apparently happened. Seeing as I don't play RS the only way I can work on any of the randoms is if I am given an account in a random to work on a solver for. So next time if you get in one, if you could pm or skype me, I could work on it!
    “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

  18. #43
    Join Date
    Jan 2012
    Posts
    537
    Mentioned
    1 Post(s)
    Quoted
    16 Post(s)

    Default

    i get the error whenever i try a script dunno why

    Exception in Script: Unable to find file 'SRL-OSR/SRL/misc/al_functions.simba'

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

    Default

    Quote Originally Posted by wister1 View Post
    i get the error whenever i try a script dunno why

    Exception in Script: Unable to find file 'SRL-OSR/SRL/misc/al_functions.simba'
    Because you are running a script that uses al_functions. As this has nothing to do with reflection, this isn't the proper place to post this, you can go to my pest control script in my sig to download the include for Al
    “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

  20. #45
    Join Date
    Jan 2012
    Posts
    537
    Mentioned
    1 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by elfyyy View Post
    Because you are running a script that uses al_functions. As this has nothing to do with reflection, this isn't the proper place to post this, you can go to my pest control script in my sig to download the include for Al
    sorry just started reading about OSR scripts, thanks alot for the answer

  21. #46
    Join Date
    May 2012
    Location
    WV
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    this is when i run the test script to check reflection..

    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(164:13): Variable 'Result' never used at line 163
    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(402:3): Variable 'X' never used at line 401
    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(402:3): Variable 'Y' never used at line 401
    [Error] (10:3): Identifier expected at line 10
    Compiling failed.

    any idea what I've done wrong? I've followed the guide, installed the reflection following the guide, and still am struggling. I just returned from a 2 year break a few weeks ago and just started back into simba, so I'm a little confused right now, but hopefully I can get this resolved and start using simba

    Thanks in advance for any advice =]
    I Bot because no one has created a bot for life yet .

  22. #47
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by bigboy63 View Post
    this is when i run the test script to check reflection..

    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(164:13): Variable 'Result' never used at line 163
    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(402:3): Variable 'X' never used at line 401
    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(402:3): Variable 'Y' never used at line 401
    [Error] (10:3): Identifier expected at line 10
    Compiling failed.

    any idea what I've done wrong? I've followed the guide, installed the reflection following the guide, and still am struggling. I just returned from a 2 year break a few weeks ago and just started back into simba, so I'm a little confused right now, but hopefully I can get this resolved and start using simba

    Thanks in advance for any advice =]
    Check your interpreter: Script > Interpreter

    Needs to be PascalScript.
    There used to be something meaningful here.

  23. #48
    Join Date
    May 2012
    Location
    WV
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    ok double checked and it is set to PascalScript. On the reflection test I am still getting an error:

    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(164:13): Variable 'Result' never used at line 163
    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(402:3): Variable 'X' never used at line 401
    [Hint] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\Interaction.simba(402:3): Variable 'Y' never used at line 401
    [Error] C:\Simba\Scripts\reflecttest.simba(10:3): Identifier expected at line 10
    Compiling failed.

    and when i try to run draynor willow banker i get this:
    [Error] C:\Simba\Scripts\Sk1nyNerds [PRO] Draynor Willow Banker.simba(21:14): Syntax error at line 21

    any ideas?
    I Bot because no one has created a bot for life yet .

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

    Default

    Since last night I've been getting this problem for all reflection scripts

    [Error] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\MapWalk.simba(518:11): Unknown identifier 'R_FindNormalRandoms' at line 518
    Compiling failed.
    Is there a official section to report reflection bugs?

  25. #50
    Join Date
    Apr 2014
    Posts
    323
    Mentioned
    0 Post(s)
    Quoted
    131 Post(s)

    Default

    Quote Originally Posted by ry0240 View Post
    Since last night I've been getting this problem for all reflection scripts

    [Error] C:\Simba\Includes\SRL-OSR\SRL\Reflection\Core\MapWalk.simba(518:11): Unknown identifier 'R_FindNormalRandoms' at line 518
    Compiling failed.
    Is there a official section to report reflection bugs?
    i have this problem too. on scripts that used to work no less

Page 2 of 3 FirstFirst 123 LastLast

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
  •