SRL Archive - Outdated / Broken

Swamp Toad Collector


Nebula

2012-10-10 21:11:27

Swamp Toad Collector

Description:
Collects swamp toads in the Gnome Stronghold (P2P). Banks them at the southern bank, and repeats.

[CENTER]****Swamp toad collector by Nebula****
5 Hours, 59 Minutes and 41 Seconds
Toads collected: 2772
Toads per hour: 462
GP/Hour: 165,072[/CENTER]
[CENTER]****Swamp toad collector by Nebula****
5 Hours, 27 Minutes and 3 Seconds
Toads collected: 2576
Toads per hour: 472
GP/Hour: 168,705[/CENTER]
[CENTER]****Swamp toad collector by Nebula****
3 Hours, 17 Minutes and 52 Seconds
Toads collected: 1590
Toads per hour: 482
GP/Hour: 341,814[/CENTER]
Benefits
  • ~500± toads per hour
  • ~300,000± gp/hour
  • Free summoning xp (if using gold charms)

V1.01: Updated stair colors.
V1.1: Added WaitMMChange, improved UseStairs functionality, small banking improvement and small bank walking improvement.
V.11: Fixed mouse issue when toad is under Sarble, misc walking fixes, FlagDist integration with WaitWalking.
cc appreciated
V.12: Added debug messages when terminating, changed walking while in bank method.
V1.13: added GP/H to progress report, improved WaitWalking, Toad finding failsafe to walk to the middle after not finding a toad, Staircase finding improvements.
Big thanks to Footy for lending me his account!

Note: 5000+ toads were suffocated in a bank during the development of this script.

Footy

2012-10-10 21:35:07

I'm on my phone, So I can't look at this in detail, but I did notice one thing. Do you ever set your CTS and modifiers back to default after using them in your findtoad and midswamp functions? Other then that, It looks great! Rep+! I'll use it tomorrow and give you a proggy.

Edit: Could a mod delete that last post… Thanks.

Nebula

2012-10-10 21:47:01

"It looks really g", Thanks. I only save and reset my cts/cts modifiers in a function that is used in another function in a spot where not having the right cts/mods could make the color finding inaccurate. Midswamp is used in functions AFTER findcolorstolerance is called, so I don't think it has an effect. Iv'e never experienced a negative result of not resetting your cts/mods, you're just going to change them again 15 seconds later :p Maybe I'm wrong though, who knows.

JiveTonto@Gmail.com

2012-10-10 23:00:34

i wondered about all those level 3s with wizard robes and a sword lol

euphemism

2012-10-10 23:32:19

The toad collecting works pretty well, and the walk from the swamp to the bank has worked two out of two times. Unfortunately, the stair-climbing is only 33% reliable from the two times I ran the script. You might want to look into ways of improving it. If you want some help feel free to ask, I have written quite a few Tree Gnome Stronghold scripts.

Nebula

2012-10-11 19:32:32

From: euphemism
The toad collecting works pretty well, and the walk from the swamp to the bank has worked two out of two times. Unfortunately, the stair-climbing is only 33% reliable from the two times I ran the script. You might want to look into ways of improving it. If you want some help feel free to ask, I have written quite a few Tree Gnome Stronghold scripts.


Thanks for letting me know, I didn't collect enough colors from the stairs. To fix this I ran an account looping through the staircases then logging out then back in until it failed, then I grabbed that color (multiple times, until it worked smoothly for ~10 minutes straight). I believe the script should work fine now.

Le Jingle

2012-10-22 23:51:04

The swamp toad collecting amazed me first run through.

Noticed the script runs much smoother on a higher agility level account (~50+).

When I tried on a low level agility (~10), it would rest very frequently and then get messed up somewhere (only ran ~3 times and haven't had a chance to look closely due to midterms).

All in all super cool script, especially here around 2xp Weekend (#gold charms) :P

Cheers,
Lj

Edit: (much better proggy than the 2-3min ones w/ a low agil acc) - 45mins, ~400 frogs/hr
Edit2: I take that back, it's working great with low agility. I think it's only the colors that may need higher tol/more colors (make a int arr? :-pjk), but yh when the cols are steady, script works good. when they change, it doesn't :) ok goodnight
Edit3: Ok I heard my random settings sound go off, I didn't know you could actually get randoms whilst not gaining any xp o.o
Edit4: Out doing all the java bots there (in terms of collecting toads faster) :p

Nebula

2012-10-23 06:57:11

From: Le Jingle
The swamp toad collecting amazed me first run through.

Noticed the script runs much smoother on a higher agility level account (~50+).

When I tried on a low level agility (~10), it would rest very frequently and then get messed up somewhere (only ran ~3 times and haven't had a chance to look closely due to midterms).

All in all super cool script, especially here around 2xp Weekend (#gold charms) :P

Cheers,
Lj

Edit: (much better proggy than the 2-3min ones w/ a low agil acc) - 45mins, ~400 frogs/hr
Edit2: I take that back, it's working great with low agility. I think it's only the colors that may need higher tol/more colors (make a int arr? :-pjk), but yh when the cols are steady, script works good. when they change, it doesn't :) ok goodnight
Edit3: Ok I heard my random settings sound go off, I didn't know you could actually get randoms whilst not gaining any xp o.o
Edit4: Out doing all the java bots there (in terms of collecting toads faster) :p


Yeah, the mechanics of everything work fine, it's just the colors that have problems. I didn't know it was possible to get randoms when collecting these, Ill have to add random support. Once I have the colors perfect, I can move onto making everything as fast as possible. This is a complete rewrite of an old script I made. The old script collected 650 frogs/hour, which is 450k/hr at today's prices. Any rest/run issues are due to a well known bug in Gametab.Simba, I will eventually write my own function for it.

Footy

2012-10-28 12:17:38

I'll try this out later, I hear it's pretty good profit now.

Le Jingle

2012-10-28 13:45:55

Flawless swamp toad collecting from when I tried it. I just had a couple issues when the colors were altered slightly (of tolerance) in walking/banking. Toad collecting literally beat up the java bots abilities, in which made me do a super duper :grin:

Nebula

2012-10-30 00:00:21

Updated to 1.1

Collected 300 toads flawlessly for me (maximum amount for a p2p trial account -.-). Should be working near perfectly now. Next up is camera rotation integration with toad collecting to improve speed.

Ashaman88

2012-10-30 07:10:50

Nice update man!

footballjds

2012-11-06 11:25:55

isn't working for me. I cannot get it to bank even once. It always just gets to/near the steps and terminates script :P

Nebula

2012-11-06 12:40:00

aarg.

I'll buy a membership tonight and fix it for good.

footballjds

2012-11-06 16:55:28

From: Nebula
aarg.

I'll buy a membership tonight and fix it for good.


don't buy a membership for me lol. I won't be using this often just thought I'd run it for a few hours to test for you. I'll test/use if you update though.

Footy

2012-11-06 17:31:37

I'm sure many users have accounts they would be willing to lend. I can lend you a members account if you'd like.

Nebula

2012-11-06 20:20:38

Actually I didn't need to purchase members, I still have 4 days left on a trial account.

I tested the script logging in and out multiple times, but the staircase functions worked fine. I updated the script, changing around a few things and added debug messages for when something goes wrong. If anyone runs into an error, please post it so I can fix it. Thanks.

Footy

2012-11-07 20:45:47

Alright, running this now, I'll let you know what happens.

Justin

2012-11-07 21:33:53

Will be testing this later today

Footy

2012-11-08 18:00:56

****Swamp toad collector by Nebula****
1 Hours, 49 Minutes and 16 Seconds
Frogs collected: 532
Frogs per hour: 292

It worked really well until it managed to get itself in that little area north of the toads. It got stuck then. I tried skyping you some suggestions, but I dont think they sent, so here they are.

- Every time it gets to the swamp, it moves to the entrance gate, regardless of weather we are in the swamp or not. It would be cool to have that not happen if we are allready in the swamp.

- It should check to see if it's running while collecting toads. A few times, it did a whole inv walking because it didn't realise we weren't running

- The script could change camera angles or walk to the centre if it finds no toads. Just a tip to make it faster.

Other then that, its flawless! Keep up the great work!

Nebula

2012-11-08 19:02:22

From: Footy
It worked really well until it managed to get itself in that little area north of the toads.

This is most likely due to the monsters up there dropping swamp toads, causing the script to run there then not be able to get back. Fixing this will be easy, simply calling "SwampWalk" after not finding a toad for a while.
From: Footy

Every time it gets to the swamp, it moves to the entrance gate, regardless of weather we are in the swamp or not. It would be cool to have that not happen if we are allready in the swamp.

Will be easy too, I'll just make it not call SwampWalk unless your character is above a certain amount of pixels away from Point(Midswamp.x, Midswamp.y).
From: Footy

It should check to see if it's running while collecting toads. A few times, it did a whole inv walking because it didn't realise we weren't running

It's there, but some of the srl running functions are flawed, As I said before I will eventually write my own.
From: Footy

The script could change camera angles or walk to the centre if it finds no toads. Just a tip to make it faster.

It will in the near future.

Thanks for the good feedback and Proggy!

Footy

2012-11-08 19:17:57

Alright, great thanks! I'll get you some more proggys soon, I'll probably run this on a few accounts tomorrow. :)

NKN

2012-11-08 21:36:21

NKN's seal of approval. beat my crude PB script I made.

Footy

2012-11-08 21:39:19

From: NKN
NKN's seal of approval. beat my crude PB script I made.


Its not official until you make a picture. I want to see a picture of this seal.

Footy

2012-11-09 10:52:17

UseStairs(true) resulted false

I can't run for more then 30 min now. :/

E: After watching the script, I found the issue. The script was moving the mouse to the mushrooms north of the stairs instead, and eventually timing out.


E: After latest update, the script works perfecly! Thanks! :D