Fallen9212
2015-01-15 17:10:18
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.php?attachmentid=18727&d=1358603351Thanks in advance!
Bitmaps are probably not accurate anymore
Fallen9212
2015-01-15 17:18:19
From: Robert
Bitmaps are probably not accurate anymore
Is there anyway I could fix that?
From: Fallen9212
Is there anyway I could fix that?
by updating them., if you don't know how to script your gonna be out of luck
Fallen9212
2015-01-15 17:21:18
From: Robert
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
Fallen9212
2015-01-15 19:33:40
RuneEssen := BitmapFromString(34, 30, 'meJyVlm1LlEEYhe0nCIEQSAohIa' +
'GFJKIYtorGphm2ZRpmJplpZmZmmpmZ2RIR0S/uogOHaV7WDc6HZ2d' +
'n59pz7nvmmcrUg8pfDVVrlX+fPcLDuZaWktIfRmLQC1rhV15qe/tg' +
'Z+dwd/dob+/Lwcdvh5/qR5+/Hx//ODn5aVaEi5bK/hP9dm3tzfrLt' +
'5uv329t7Ru0/+ErClmnp7803+sMjE2VVg7//+Li8+Xl9dXVTSgbr9' +
'4BMkXClFgG1eu/+SHrSw0oTJudXZh/9FQUvMgOIOzIkWRfAhGdHHV' +
'0XI3KGok509P35+aeLDx+trT0YmVlAy+mSJhSgJLLpBoJVGonU6rV' +
'uzMzD/ECBS8CiSVcSsQULNVIzSA7UQMYMT5+WxTskBiCZZytGWciA' +
'Qrkriv1GF8ND9+cuHWH0PCCyA01xpkokGokO2lXM97fPzQyMgZlcv' +
'IeDYBwhLJEcGGegio9+gFH0W61kd7e64ODN0ZHJ0isVptHZ7JCHBL' +
'I6bkNXBdRSIzS4IXQELj/JcJyemFupvT1DcgLDYBgpbgsK4yR6NwM' +
'UXVE6eq6DEgNgCJW1ldkClBYoCyls/MSDaDQUAoSq0GAoujcw054D' +
'pjS3n5RFEIzSKxseqkp7ITHUXraMNLWdqG7+wqloZ8BiZVNL2tKdk' +
'zBTnoIMNLael4U7ISgEisypdOPBogo6QkjEBSBmmSZgh3vUCFKFKq' +
'DHTlKWWeCvEnDuKI2E4WWpg2aYUUUb5zICNJLzW9JQLQ0GwdQyGoG' +
'5JZOezi6qMgO1QEUsmwqBKV2UGokusNEufX0XGsSFLLSLZ9ekAxi+' +
'xBdyErTU+8Zp2tJZCR7d1KlNN8sAuTElqlSvbx+A0RqislmKUAJIu' +
'6AOszQQvZdH35MeztkNZAtEEL20pL6yjr1OiX5pldatpRYdkI4Unr' +
'OrvAHDhV1vQ==');
Tulta := BitmapFromString(4, 4, 'meJyTK/qrrvlNruivwNJ/EAaEDWfA' +
'xSFsAEhKGOA=');
TeleportThere := BitmapFromString(37, 4, 'meJxzD4l1x43+gwEDAwMeNeSh/0g' +
'Al3VY1ZAtzgAGyLLI1hFUQ6Q4LmNpwQYApr3tGQ==');
Portal := BitmapFromString(8, 8, 'meJxjZGDYjwoYGRgYUQWl0+9AEJpK' +
'oEhqsTOmFJDrE2UIl0JGQHGIFIQBR5giaEhNSwsZwcUBqDxShQ==');
Teleportti := BitmapFromString(11, 11, 'meJx90N8KgjAchuH7vwzbapQHaU' +
'PG5kjLw0mgdeaJl9JHX45VErz8Tvawf8q0ZT/KynPGNtqxnWmQm+Y' +
'vEI0yDRLarxjt0N5ekL49wDiB5ZJYAPdh8gN4gm11ZnaaizCK15JY' +
'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' +
'oaGjAZYFo1uxlEBEIWrhw7YQJc4AiyAogaiAAqABZO1wBBAFlIQqA' +
'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!
KeepBotting
2015-01-15 21:16:54
From: Fallen9212
*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.