Results 1 to 7 of 7

Thread: Can't get old RSPS script to run

  1. #1
    Join Date
    Jan 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Can't get old RSPS script to run

    Hi, I'm trying to run a script originally made for ProjectRS06 on a different 2006 private server. The private server I'm playing is using the leaked 2006scape source code, which is likely to be what ProjectRS06 used (Not sure if this matters, only found out about simba yesterday and have been trying to get this script to run properly). I've downloaded SRL-5, extracted it to my includes folder, and renamed it SRL. I've changed the interpreter to pascal, dragged the crosshairs over to the client, and the script runs, but does not run properly. The mouse moves to one location on the client and keeps clicking the same location. I don't know if it's a problem with the script, a compatibility issue with the server, something I'm doing wrong, etc. Here is the script if it could help (AwesomeRuneEssence2):

    https://villavu.com/forum/attachment...7&d=1358603351

    Thanks in advance!
    Last edited by Fallen9212; 01-15-2015 at 10:17 PM.

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

    Default

    Bitmaps are probably not accurate anymore

  3. #3
    Join Date
    Jan 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Robert View Post
    Bitmaps are probably not accurate anymore
    Is there anyway I could fix that?

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

    Default

    Quote Originally Posted by Fallen9212 View Post
    Is there anyway I could fix that?
    by updating them., if you don't know how to script your gonna be out of luck

  5. #5
    Join Date
    Jan 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Robert View Post
    by updating them., if you don't know how to script your gonna be out of luck
    It does say: The following bitmaps were not freed: [5, 6, 7, 8, 9, 10, 11, 12].

    Why would the script work back then but not now? Is it because of simba constantly being updated?

    Edit: I do not know how to script, so sorry for the noob questions :P

  6. #6
    Join Date
    Jan 2015
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    RuneEssen := BitmapFromString(34, 30, 'meJyVlm1LlEEYhe0nCIEQSAohIa' +
    'GFJKIYtorGphm2ZRpmJplpZmZmmpmZ2RIR0S/uogOHaV7WDc6HZ2d' +
    'n59pz7nvmmcrUg8pfDVVrlX+fPcLDuZaWktIfRmLQC1rhV15q e/tg' +
    'Z+dwd/dob+/Lwcdvh5/qR5+/Hx//ODn5aVaEi5bK/hP9dm3tzfrLt' +
    '5uv329t7Ru0/+ErClmnp7803+sMjE2VVg7//+Li8+Xl9dXVTSgbr9' +
    '4BMkXClFgG1eu/+SHrSw0oTJudXZh/9FQUvMgOIOzIkWRfAhGdHHV' +
    '0XI3KGok509P35+aeLDx+trT0YmVlAy+mSJhSgJLLpBoJVGon U6rV' +
    'uzMzD/ECBS8CiSVcSsQULNVIzSA7UQMYMT5+WxTskBiCZZytGWciA' +
    'Qrkriv1GF8ND9+cuHWH0PCCyA01xpkokGokO2lXM97fPzQyMg Zlcv' +
    'IeDYBwhLJEcGGegio9+gFH0W61kd7e64ODN0ZHJ0isVptHZ7J CHBL' +
    'I6bkNXBdRSIzS4IXQELj/JcJyemFupvT1DcgLDYBgpbgsK4yR6NwM' +
    'UXVE6eq6DEgNgCJW1ldkClBYoCyls/MSDaDQUAoSq0GAoujcw054D' +
    'pjS3n5RFEIzSKxseqkp7ITHUXraMNLWdqG7+wqloZ8BiZVNL2 tKdk' +
    'zBTnoIMNLael4U7ISgEisypdOPBogo6QkjEBSBmmSZgh3vUCF KFKq' +
    'DHTlKWWeCvEnDuKI2E4WWpg2aYUUUb5zICNJLzW9JQLQ0GwdQ yGoG' +
    '5JZOezi6qMgO1QEUsmwqBKV2UGokusNEufX0XGsSFLLSLZ9ek Axi+' +
    'xBdyErTU+8Zp2tJZCR7d1KlNN8sAuTElqlSvbx+A0RqislmKU AJIu' +
    '6AOszQQvZdH35MeztkNZAtEEL20pL6yjr1OiX5pldatpRYdkI 4Unr' +
    'OrvAHDhV1vQ==');
    Tulta := BitmapFromString(4, 4, 'meJyTK/qrrvlNruivwNJ/EAaEDWfA' +
    'xSFsAEhKGOA=');
    TeleportThere := BitmapFromString(37, 4, 'meJxzD4l1x43+gwEDAwMeNeSh/0g' +
    'Al3VY1ZAtzgAGyLLI1hFUQ6Q4LmNpwQYApr3tGQ==');
    Portal := BitmapFromString(8, 8, 'meJxjZGDYjwoYGRgYUQWl0+9AEJpK' +
    'oEhqsTOmFJDrE2UIl0JGQHGIFIQBR5giaEhNSwsZwcUBqDxSh Q==');
    Teleportti := BitmapFromString(11, 11, 'meJx90N8KgjAchuH7vwzbapQHaU' +
    'PG5kjLw0mgdeaJl9JHX45VErz8Tvawf8q0ZT/KynPGNtqxnWmQm+Y' +
    'vEI0yDRLarxjt0N5ekL49wDiB5ZJYAPdh8gN4gm11ZnaaizCK 15JY' +
    'A0UYcDHON3BXpEwbO/V34mMYMtzhB6RvgTnUXV53KUg/DQflf0FW2' +
    'idscAIH');
    Pankki := BitmapFromString(16, 3, 'meJxj+vOH4etXhrt3hf/9YyLEZmR' +
    'gALHfvmU4cwbIIMjOyCgA6gIygBqBiCAbqB4AOYxIFA==');
    Puska := BitmapFromString(10, 10, 'meJxdjjEKgDAMRTu5ODq7ujkKns' +
    'LrqtVCURRP0zP48EMIwuPT5CWhMZ7xY1kPY16yoF/1o2wzTLI8fpa' +
    'OLCXIpnTXXUtu+4UlUZayQInVorfC+lLe2k1DYzk/oC9xn1RHlFLs' +
    'LWsDqBCCH/BbqBexrp83');
    Kivet := BitmapFromString(11, 9, 'meJxzsLNzAKOp0xYCkQOMGx4RAWF' +
    'oaGjAZYFo1uxlEBEIWrhw7YQJc4AiyAogaiAAqABZO1wBBAFl IQqA' +
    '1kEQUHD+/NUQhCyOjIBScDfgUoBVFiIItALZm3BxCIJbjRYOAPW+c1U=');
    end;
    procedure FreebitmapsNow;
    begin
    FreeBitmap(Tulta);
    FreeBitmap(TeleportThere);
    FreeBitmap(Portal);
    FreeBitmap(Teleportti);
    FreeBitmap(Pankki);
    FreeBitmap(Puska);
    FreeBitmap(Kivet);
    FreeBitmap(RuneEssen);
    end;

    This section of the script must be the problem, but I have no idea what it means. Trying to figure it out myself, but any more feedback would be greatly appreciated!

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

    Default

    Quote Originally Posted by Fallen9212 View Post
    *snip*

    This section of the script must be the problem, but I have no idea what it means. Trying to figure it out myself, but any more feedback would be greatly appreciated!
    If the bitmaps are what's broken, then you'd be correct - that's where the bitmaps are declared, so if you want to update them, that's where they'll go.

    Here is the go-to tutorial for learning How to Bitmap™. Once you've read through the tutorial, and learned How to Bitmap™, you'll find that updating them is quite easy.

    If you have any specific questions, feel free to drop me a line @ Skype or PM.
    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

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
  •