Page 5 of 6 FirstFirst ... 3456 LastLast
Results 101 to 125 of 139

Thread: How to script for a RSPS - Beginner level

  1. #101
    Join Date
    Nov 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Hi, I've been looking everywhere and trying to get my own script working on a private server. I followed this guy but when I define the SLR like you did, I get this error and I'm not sure how to fix it. "Exception in Script: File "srl/srl.simba" not found at line 2, column 5" for this line of code

    Program ChopTree;
    {$i srl/srl.simba}
    Procedure ClickTree;

    It works on rs3 for with this code
    program new;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}

    But I don't have the experience to find out how to fix the {$i srl/srl.simba} code so I can auto in a private server.
    Please help, I am very interested in scripting but I lack experience, and ty for the guide. I learned a lot and the only problem I have is this.

  2. #102
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Unlucky View Post
    Hi, I've been looking everywhere and trying to get my own script working on a private server. I followed this guy but when I define the SLR like you did, I get this error and I'm not sure how to fix it. "Exception in Script: File "srl/srl.simba" not found at line 2, column 5" for this line of code

    Program ChopTree;
    {$i srl/srl.simba}
    Procedure ClickTree;

    It works on rs3 for with this code
    program new;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}

    But I don't have the experience to find out how to fix the {$i srl/srl.simba} code so I can auto in a private server.
    Please help, I am very interested in scripting but I lack experience, and ty for the guide. I learned a lot and the only problem I have is this.
    It's because Simba no longer comes with SRL5, thus you need to download it from here: https://github.com/SRL/SRL-5 and extract it to c:/simba/includes

    I'll have to update the guide for SRL6.. or maybe I might write a general rsps include

  3. #103
    Join Date
    Nov 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Officer Barbrady View Post
    It's because Simba no longer comes with SRL5, thus you need to download it from here: and extract it to c:/simba/includes

    I'll have to update the guide for SRL6.. or maybe I might write a general rsps include
    I extracted the file to the folder you mentioned but I still get the same error. I am guessing I have to change what {$i srl/srl.simba} says to something different? I am not sure what to change it to though, this is my first time trying to script. If you could please help me and tell me what I change what to define the SRL as it would help me fix my problem. Ty.

  4. #104
    Join Date
    Jan 2014
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Does this tutorial still works ?

  5. #105
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by spokas View Post
    Does this tutorial still works ?
    Somewhat

    it will be updated soon

  6. #106
    Join Date
    Jan 2014
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Officer Barbrady View Post
    Somewhat

    it will be updated soon
    How can i contact with you? I have few questions.

  7. #107
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by spokas View Post
    How can i contact with you? I have few questions.
    here

  8. #108
    Join Date
    Mar 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Program ChopTree;
    {{$i srl/srl.simba}
    Procedure ClickTree;
    var
    X,Y:Integer;
    begin
    if FindColorTolerance(X, Y, 14456, 500, 239, 326, 218, 5) then
    begin
    mmouse(x, y,1,1);
    wait(250);
    ClickMouse(X, Y, mouse_Left)
    end;
    end;
    Begin
    MouseSpeed := 15;
    SetupSRL;
    end.

    Exception in Script: Unknown declaration "mmouse" at line 9, column 5
    Exception in Script: Unknown declaration "mmouse" at line 9, column 5
    Im getting mouse errors could you help me, im new. I'll study programming in the futue so i would love to get some help

  9. #109
    Join Date
    Mar 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Okay, so I have been noticing in all scripts about the {$i srl/srl.simba} code, and I always get an error Exception in Script: File "srl/srl.simba" not found at line 3, column 5 was wondering why I am getting it, and how to prevent it in the future. Any help?

    Got it, needs to be
    {{$i srl/srl.simba}

  10. #110
    Join Date
    May 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Robert View Post
    here
    Love the tutorial. Can you write some lines about using SMART for rsps? That would be awesome .

    Regards

  11. #111
    Join Date
    Jun 2014
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Not completely sure what has gone wrong, do you have any tips for me here?
    Untitled.jpg

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

    Default

    Quote Originally Posted by Cody44 View Post
    Not completely sure what has gone wrong, do you have any tips for me here?
    Untitled.jpg
    you have no 'main' loop.
    so you need to add a
    Simba Code:
    begin
      procedure and func calls go here;
    end.

  13. #113
    Join Date
    Jun 2014
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Okay I fixed it so that everything is executing succefully... But now when I click start nothing happens. It starts and ends in a fraction of a second.

    Simba Code:
    Program Walking;
    {$I srl/srl.simba}
    var
    WalkTo:integer;
    Procedure Walk;
    begin
    ClickDTMRotatedIn(WalkTo, 1425, 7, 1413, 116, -Pi, Pi, Pi/30, [], mouse_Left);
    Sleep(2500);
    while (IsMoving) do
    wait(100);
    end;
    Begin
    SetUpSRL;
    WalkTo := DTMFromString('mWAAAAHicY2FgYChiZmCoAOJ8ZgibmZGBgYURQrMDcXx4CIOPkzJDfEQYg5eDAgM6YETDIAAAM3wFZw==');
    FreeDTM(WalkTo);
    end.
    Last edited by Cody44; 07-01-2014 at 04:14 PM.

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

    Default

    Quote Originally Posted by Cody44 View Post
    Okay I fixed it so that everything is executing succefully... But now when I click start nothing happens. It starts and ends in a fraction of a second.
    Simba Code:
    Program Walking;
      {$I srl/srl.simba}
    var
      WalkTo:integer;

    Procedure Walk;
    begin
      ClickDTMRotatedIn(WalkTo, 1425, 7, 1413, 116, -Pi, Pi, Pi/30, [], mouse_Left);
      Sleep(2500);
      while (IsMoving) do
        wait(100);
    end;

    Begin
      SetUpSRL;
      WalkTo := DTMFromString('mWAAAAHicY2FgYChiZmCoAOJ8ZgibmZGBgYURQrMDcXx4CIOPkzJDfEQYg5eDAgM6YETDIAAAM3wFZw==');
      Walk;
      FreeDTM(WalkTo);
    end.

  15. #115
    Join Date
    Jun 2014
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    Simba Code:
    Program Walking;
      {$I srl/srl.simba}
    var
      WalkTo:integer;

    Procedure Walk;
    begin
      ClickDTMRotatedIn(WalkTo, 1425, 7, 1413, 116, -Pi, Pi, Pi/30, [], mouse_Left);
      Sleep(2500);
      while (IsMoving) do
        wait(100);
    end;

    Begin
      SetUpSRL;
      WalkTo := DTMFromString('mWAAAAHicY2FgYChiZmCoAOJ8ZgibmZGBgYURQrMDcXx4CIOPkzJDfEQYg5eDAgM6YETDIAAAM3wFZw==');
      Walk;
      FreeDTM(WalkTo);
    end.
    What exactly did you change? And it still seems to just idle :/

    This is extremely frustrating.. It's taking me more than 5 days to make a simple script that fishes and banks in catherby.. & I can't seem to find the current resources to learn it properly, I believe I should use OP's RSPS includes instead of Simba's as I am scripting for the RSPS Alotic, but I wouldn't know how to even use his include :/
    Last edited by Cody44; 07-01-2014 at 06:28 PM.

  16. #116
    Join Date
    Jun 2014
    Posts
    84
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Thanks alot for the help guys...

  17. #117
    Join Date
    Aug 2014
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Thanks dude! I'm going to try my utter best to get half decent in this haha!

  18. #118
    Join Date
    Nov 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    This guide is very informative, but when I look at it i see nothing but a jumble of words. For a basic beginner, I need to find out how to make a US2 Rocktail fishing bot on donator island. Could anyone help with this? I know nothing of Pascal language or scripting. Detailed instructions would be nice!

  19. #119
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Ultimatescape2ftw View Post
    This guide is very informative, but when I look at it i see nothing but a jumble of words. For a basic beginner, I need to find out how to make a US2 Rocktail fishing bot on donator island. Could anyone help with this? I know nothing of Pascal language or scripting. Detailed instructions would be nice!
    You may find it worth your while to go over YoHoJo's beginner tutorials: https://villavu.com/forum/showthread.php?t=67691 and https://villavu.com/forum/showthread.php?t=69179
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

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

    Default

    Quote Originally Posted by Ultimatescape2ftw View Post
    This guide is very informative, but when I look at it i see nothing but a jumble of words. For a basic beginner, I need to find out how to make a US2 Rocktail fishing bot on donator island. Could anyone help with this? I know nothing of Pascal language or scripting. Detailed instructions would be nice!
    I'd go here first.
    https://villavu.com/forum/showthread.php?t=58935

  21. #121
    Join Date
    Nov 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Download link for Simba?

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

    Default

    Quote Originally Posted by Ultimatescape2ftw View Post
    Download link for Simba?
    https://villavu.com/ and click on Simba?
    “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

  23. #123
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Yea this guide is outdated because SRL-5 isn't used anymore and there are much better methods of doing some of this stuff

  24. #124
    Join Date
    Jun 2015
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Very helpful tutorial! thank you!

  25. #125
    Join Date
    Aug 2015
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    You are legend! Thanks!!

Page 5 of 6 FirstFirst ... 3456 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
  •