SRL Archive - RS3 Outdated / Broken Scripts

riwuBattleLum (RS 3)


riwu

2013-08-07 22:26:08

A very simple script that collects Divine tears for the Battle of Lumbridge world event.

Instructions:
1. Get the SRL 5 (PS/Lape) include. (SRL > Check for Update).
2. Log in to RS.
3. Safe Mode + Min graphic + Brightest.
4. Preferably larger screen size, close all interfaces possible, and move the rest to the top for maximum efficiency.
4. Display your inventory with the Divine tears visible (get 5 tears on your own first), but not any other stack-able items (i.e. items with the yellow number indicating amount)
5. Start the script.
6. Follow instructions in script.

Ian

2013-08-07 22:31:09

Congrats on the release riwu! :D

Silentcore

2013-08-07 22:58:11

Congratulations on this!
So does this support all spots?

riwu

2013-08-07 23:09:37

From: Silentcore
Congratulations on this!
So does this support all spots?

Yeah all mining, netting and chopping spots.

papamonster

2013-08-08 07:16:59

i got this error: Invalid number of parameters at line 281
Compiling failed.

can you help?

riwu

2013-08-08 08:01:46

From: papamonster
i got this error: Invalid number of parameters at line 281
Compiling failed.

can you help?

A file SmartParams should pop up when you get the error. Ctrl+F to find Result := SmartSpawnClient, then change the one below (or both) to

Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 1366, 655, 's', '', '', '');

Then close that file and run the script again.

papamonster

2013-08-08 13:03:25

From: riwu
A file SmartParams should pop up when you get the error. Ctrl+F to find Result := SmartSpawnClient, then change the one below (or both) to

Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 1366, 655, 's', '', '', '');

Then close that file and run the script again.


i got this too simba\Includes\SRL/SRL/misc/SmartParams.Simba(78:8): Unknown identifier 'SReady' at line 77

loragnor

2013-08-08 13:28:08

From: papamonster
i got this too simba\Includes\SRL/SRL/misc/SmartParams.Simba(78:8): Unknown identifier 'SReady' at line 77


Should be RSReady, not SReady. Did you make a change and mis-spell the function call?

papamonster

2013-08-08 14:33:18

From: loragnor
Should be RSReady, not SReady. Did you make a change and mis-spell the function call?


i dont touch it

Turpinator

2013-08-08 14:34:53

From: papamonster
i dont touch it

You also dont speak very well english.

Those files dont just modify themselves.
(if you didnt get it working, change it to RSReady and not SReady)

Sax

2013-08-09 12:23:45

can someone post me please your SmartParams.simba, players.simba and login.simba

I messed up with them to run a script and now I need to change it back.

riwu

2013-08-09 21:02:07

From: Nirvana
can someone post me please your SmartParams.simba, players.simba and login.simba

I messed up with them to run a script and now I need to change it back.

You can force an update either by changing the version in settings.xml or SRL>Settings>Override update, then SRL>Update.
For SmartParams just change/add a null string '' as the last parameter the line containing SmartSpawnClient()

MrBotter22

2013-08-11 00:55:23

Script just clicks the divine tears and gets stuck on if it should destroy or keep the divine tears.

Fabzor

2013-08-12 07:19:52

nice!

riwu

2013-08-12 07:23:02

From: MrBotter22
Script just clicks the divine tears and gets stuck on if it should destroy or keep the divine tears.

Post a screenshot of ur RS interface setup.

MrBotter22

2013-08-12 10:19:32

[ATTACH=CONFIG]22079[/ATTACH]

riwu

2013-08-12 10:29:22

From: MrBotter22
[ATTACH=CONFIG]22079[/ATTACH]

Don't leave both ur action bar and inventory open. Close either of them so that the divine tears are only shown in 1 place on your screen.

MrBotter22

2013-08-12 10:43:40

From: riwu
Don't leave both ur action bar and inventory open. Close either of them so that the divine tears are only shown in 1 place on your screen.


That seemed to do it. Thank you for the fix. Testing now.

Rincewind

2013-08-12 15:29:50

Working fine! It likes to click a lot though on the tear spots. Sometimes the message "You only need to click once!" comes up. It could be seen as a bit botlike.

nitroxx0025

2013-08-12 15:48:12

works fine good job :D

MrBotter22

2013-08-12 18:20:39

From: Rincewind
Working fine! It likes to click a lot though on the tear spots. Sometimes the message "You only need to click once!" comes up. It could be seen as a bit botlike.


I have noticed this too. First red-flag I have seen.

Ran it for 3 hours without any issues. Even lost connection and it still continued.

Rincewind

2013-08-12 22:08:45

From: MrBotter22
I have noticed this too. First red-flag I have seen.

Ran it for 3 hours without any issues. Even lost connection and it still continued.


With the ban waves going on, I don't want to risk it. I used it for like 30 minutes and it ran perfectly, but it would be awesome if that repetitive clicking was fixed.

riwu

2013-08-13 10:18:34

From: Rincewind
With the ban waves going on, I don't want to risk it. I used it for like 30 minutes and it ran perfectly, but it would be awesome if that repetitive clicking was fixed.

Did the debug output: 'Not animating!' when it reclicked?
I've increased the pixel max wait time to reduce false positives.

Also try using my interface setting shown in OP and run the script in a less crowded world (reduce lag) for maximum efficiency.

Wu-Tang Clan

2013-08-13 14:22:53

If you get not animating problem and it keeps clicking, I suggest this (if you have a regular size client as you did prior to rs3:
Press escape and change your setup to old school
Change Line 201 to

if MaxPixelShift(IntToBox(274,165,310,211), 300, 2399) < 400 then
If that line of code went over your head I'll explain it. Those coords are a box around your character. In Riwu's coords, he sits in the center of the screen. In the coords you are presumably replacing, you are in the center of the mainscreen, where you can accurately be monitored for pixelshift (your character moving).

Hope I helped :)
And great script riwu!

Rincewind

2013-08-13 15:12:31

From: Wu-Tang Clan
If you get not animating problem and it keeps clicking, I suggest this (if you have a regular size client as you did prior to rs3:
Press escape and change your setup to old school
Change Line 201 to

if MaxPixelShift(IntToBox(274,165,310,211), 300, 2399) < 400 then
If that line of code went over your head I'll explain it. Those coords are a box around your character. In Riwu's coords, he sits in the center of the screen. In the coords you are presumably replacing, you are in the center of the mainscreen, where you can accurately be monitored for pixelshift (your character moving).

Hope I helped :)
And great script riwu!


I did that and now the script is working pretty much flawlessly. It seems to prefer fishing and mining spots over woodcutting ones but that is no problem. Thanks guys.

tsabras

2013-08-14 02:11:45

My first bot I've used on SRL ^_^ Awesome script riwu

angelaelikutty

2013-08-14 11:04:05

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(295:135): Type mismatch at line 294
Compiling failed.


Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 800, 600, 's', '', '');

Any help on this?

Wu-Tang Clan

2013-08-14 11:40:23

From: Rincewind
I did that and now the script is working pretty much flawlessly. It seems to prefer fishing and mining spots over woodcutting ones but that is no problem. Thanks guys.


I'm pretty sure that the mining spots have a faster cooldown, so the tree spots will be dry longer than mining spots.

Rincewind

2013-08-14 20:07:55

Here's a proggy,

============================================================================================
riwuBattleLum: visit http://villavu.com/forum/showthread.php?t=105295 for more info
Time Running: 2 Hours, 47 Minutes and 13 Seconds
============================================================================================

riwu

2013-08-17 10:15:36

From: Wu-Tang Clan
If you get not animating problem and it keeps clicking, I suggest this (if you have a regular size client as you did prior to rs3:
Press escape and change your setup to old school
Change Line 201 to

if MaxPixelShift(IntToBox(274,165,310,211), 300, 2399) < 400 then
If that line of code went over your head I'll explain it. Those coords are a box around your character. In Riwu's coords, he sits in the center of the screen. In the coords you are presumably replacing, you are in the center of the mainscreen, where you can accurately be monitored for pixelshift (your character moving).

Hope I helped :)
And great script riwu!

forget that player center is different for different screen size…seems like i will need to add a field for the users to input the center themselves.


From: Rincewind
I did that and now the script is working pretty much flawlessly. It seems to prefer fishing and mining spots over woodcutting ones but that is no problem. Thanks guys.

It will just do the closest active spot to the player.


Could anyone get me screenshots of grey and yellow (not orange!) resources and the fallen rock? (safe mode+min graphic+highest brightless+lowest zoom)
I could add support to collect them.

http://runescape.wikia.com/wiki/Battle_of_lumbridge#Random_events (scroll down to view the images of those resources)

Sulferx

2013-08-17 14:47:59

So far it's worked great, aside from one problem. Occasionally, it'll click on the tears in the inventory instead of a resource spot. Then, with the tears selected, it tries to click on a resource spot. Sometimes this causes it to get stuck in a loop of tears>resource>tears>resource until it fixes itself.

chongc

2013-08-18 05:45:10

[ATTACH=CONFIG]22106[/ATTACH]
got some screenshots, not sure if they're good enough. too many people collecting >.<

riwu

2013-08-18 10:17:30

From: Sulferx
So far it's worked great, aside from one problem. Occasionally, it'll click on the tears in the inventory instead of a resource spot. Then, with the tears selected, it tries to click on a resource spot. Sometimes this causes it to get stuck in a loop of tears>resource>tears>resource until it fixes itself.

http://villavu.com/forum/showthread.php?t=105295&p=1261346#post1261346

From: chongc

got some screenshots, not sure if they're good enough. too many people collecting >.<

Tyvm! Are u on safe mode with min graphic when taking these screenshots? Also i would only need those pics at highest camera angle.

bodots

2013-08-18 21:25:52

From: Wu-Tang Clan
If you get not animating problem and it keeps clicking, I suggest this (if you have a regular size client as you did prior to rs3:
Press escape and change your setup to old school
Change Line 201 to

if MaxPixelShift(IntToBox(274,165,310,211), 300, 2399) < 400 then
If that line of code went over your head I'll explain it. Those coords are a box around your character. In Riwu's coords, he sits in the center of the screen. In the coords you are presumably replacing, you are in the center of the mainscreen, where you can accurately be monitored for pixelshift (your character moving).

Hope I helped :)
And great script riwu!


thanks for this ill post my progress later.

chongc

2013-08-19 07:32:03

From: riwu
http://villavu.com/forum/showthread.php?t=105295&p=1261346#post1261346


Tyvm! Are u on safe mode with min graphic when taking these screenshots? Also i would only need those pics at highest camera angle.


yea, most of them are on highest angle except for the wc one. graphics were at min/safe mode yea. Hard to get screenshots, too many people gathering (was following fc around else it would take too long to wait for one to happen in my world. The huge silver wc one was for colours if you needed them.

bodots

2013-08-19 22:40:24

after 2 hours the bot crashed..

is it because of my PC or the bot itself?

unfortunately i cannot post a picture instead ill post my progress.

============================================================================================
riwuBattleLum: visit //villavu.com/forum/showthread.php?t=105295 for more info
Time Running: 1 Hours, 53 Minutes and 31 Seconds
============================================================================================

sombir

2013-08-20 03:14:56

showing class not found in rs2 applet
after loading in java.exe command prompt type window

Kitsune

2013-08-24 17:50:28

just started running it and everything seems to be working perfectly, i will risk a ban for the sake of everyone else and run the script until i reach the collection limit and see if i get banned

chongc

2013-08-25 10:32:49

From: Kitsune
just started running it and everything seems to be working perfectly, i will risk a ban for the sake of everyone else and run the script until i reach the collection limit and see if i get banned


lol riwu runs it everyday

tsabras

2013-08-25 10:48:38

From: Kitsune
just started running it and everything seems to be working perfectly, i will risk a ban for the sake of everyone else and run the script until i reach the collection limit and see if i get banned


Oh it's safe alright. I've been running this for 2 weeks now lol. 25k points waiting for when tier 3 lamps get released :)

Kitsune

2013-08-25 11:27:16

From: tsabras
Oh it's safe alright. I've been running this for 2 weeks now lol. 25k points waiting for when tier 3 lamps get released :)


From: chongc
lol riwu runs it everyday


Sorry for trying to be helpful :(

chongc

2013-08-26 09:29:43

From: Kitsune
Sorry for trying to be helpful :(


hehe it's ok just that simba doesn't get bans :D

hitchin

2013-09-02 19:08:39

great script. Thanks for the easy tears :D

Godless

2013-09-03 12:28:13

Why can I not get a large screen size? The actual client itself is limiting it. This isn't the first time I have used Simba (it is since RS3) but I just can't figure this out. Help would be much appreciated.

Should also note that I cannot get the script to gather tears for me. Whether this is due to the screen size, I am not sure. I have followed all of the steps and as far as I am aware everything is updated. So I am somewhat confused here.

Itankbots

2013-09-10 01:59:49

From: Desirousphere
Why can I not get a large screen size? The actual client itself is limiting it. This isn't the first time I have used Simba (it is since RS3) but I just can't figure this out. Help would be much appreciated.

Should also note that I cannot get the script to gather tears for me. Whether this is due to the screen size, I am not sure. I have followed all of the steps and as far as I am aware everything is updated. So I am somewhat confused here.


If you're using smart, you have to change smartparmas.simba
http://villavu.com/forum/showthread.php?t=104919
^ Post i made when rs3 came out showing how to do so.

Kaneda

2013-09-10 19:43:53

Hey got this error with your script [Error] C:\Users\Kaneda\Desktop\riwuBattleLum.simba(219:3) : Unknown identifier 'InitSmart' at line 218
Compiling failed.

Can you tell me what to do?Using 8.2 Smart.If I put like this on line 218 "//InitSmart(False)" it works on SMART 8.2 but it uses pc mouse and not fake mouse why?

Thanks

Godless

2013-09-13 06:25:24

From: Itankbots
If you're using smart, you have to change smartparmas.simba
http://villavu.com/forum/showthread.php?t=104919
^ Post i made when rs3 came out showing how to do so.


I'll have a fiddle when I have some time tonight. Thanks for the heads up. :)

Sax

2013-09-13 11:55:12

Still getting that "not animating" thing even after changing the max pixel line…

Other than that, script is running smooth


EDIT: Fixed myself.

blargle

2013-09-15 20:26:52

When I run the program, SMART opens but my character just stands around without doing anything. Could I have some help?

AnonymousUser

2013-09-18 22:48:24

Exception in Script: Unable to find file 'C:\Simba\Includes\SRL/SRL/core/antirandoms\demon.simba' used from 'C:\Simba\Includes\SRL/SRL/core/antirandoms/antirandoms.simba'

need some help please

I have the Demon antirandom in the right folder also, and everything is up to date

The old Night

2013-09-22 00:13:27

thank you guys so much

rtyrty100

2013-09-23 22:29:31

Wait(6000 + Random(12000))

Stuck that at line 172 (Between MiddleTPAEx and MouseBox) to stop the spam clicking. Huge random value gives it a good afk feel, since alot of people click and afk. Doesn't really slow down gains since rocks last awhile.

Ashaman88

2014-01-02 08:08:57

Event is over. Moved to outdated.