SRL Archive - Senior Scripts and Snippets

[SRL 4 #14] SwampSwinger::.


n3ss3s

2008-02-28 11:27:08

SRL 4 SwampSwinger


A Lumbridge Swamp West MultiRock Miner.

Mines rocks in the mine that is located in the South-West part of the Lumbridge Swamp, and banks in Draynor.

SRL Stats and Progress report included and so are gas detection and renew of a new pickaxe from the bank if the user has got spare pickaxes in the bank and the current one happens to break. I'm not quite sure how well does the new-axe renewing, - or actually the detecting of the broken pick works, but no worries, Wizzie's gas finder is here to protect you and your army for evil gases :(h)

The regular SRL AntiRandoms are included and the script has got some kind of antiban, but not an array that wasn't loaded using the Array := [] way wasting 10000 lines that I've seen happening, but it responds if someone asks what is your mining level, does random mouse movements, right clicks and hovers on the mining skill, and sometimes does a BoredHuman.

It keeps the mining angle to east, so that it can see almost all the rocks all the time :)

I released this to the SSRL section because normal SRL members section is pretty quiet unless your script isn't like… free phatz + I don't want hermpie or anything going around the script thread saying "Dude looks nice" :rolleyes:
and I want to iron out the possible bugs, flaws and other things that need fixing or changing before doing a final release to the public.

If I forgot something, or did something in a silly way, please tell me :)

Post progress reports and happy autoing.

Also, no, I didn't forgot to bring cookies and a cold glass o' milk!



P.S: Do not note me about the 'weird' If Not LoggedIn Then Exit structures somewhere, I just put it because in some places I wanted to have the Exit below the If () Then :p


If Not LoggedIn Then
Exit
Else
If...



SRL Stats

I don't have to tell you guys where to get an SRL Stats account do I? :p


Bobarkinator

2008-02-28 12:33:33

Good job, I'll look at this when I get home. Does this utilize SMART v2?

n3ss3s

2008-02-28 12:35:55

No, not yet atleast - wizzup said that Hooks and Reflection.scar need fixing so I ain't bothering my head with it yet, but I have been imagining about how amazing it'll be to once again use Types and UIDs, whenever it becomes possible :)

mastaraymond

2008-02-28 13:55:40

Where do I get an SRL Stats account?

n3ss3s

2008-02-28 14:01:54

go to www.stats.srl-forums.com, click Register and fill in the info, and put the ID and Password to the script x)

RAM

2008-02-28 16:11:59

Looks pretty good, but I don't see where you actually use your procedure, ScriptTerminate; ?

~RAM

Bobarkinator

2008-02-28 17:54:28

From: RAM
Looks pretty good, but I don't see where you actually use your procedure, ScriptTerminate; ?

~RAM


ScriptTerminate is an empty SCAR function that is always called when the script stops. You can use SCARs overwriting function to overwrite the procedure and have it do whatever you want when the scripts stops in any way, whether it be by the stop button or in the script or by an error, that function will always be called. Great way to free DTMs and Bitmaps as well as print one last progress report.

RAM

2008-02-29 13:31:01

OK, I never knew that, makes sense now, and yes, a great way to free stuff up.

~RAM

Bobarkinator

2008-02-29 17:40:54

From: RAM
OK, I never knew that, makes sense now, and yes, a great way to free stuff up.

~RAM


I don't remember when it was put in but Boreas asked for it then forgot what he wanted it for when Freddy put it in :p

mastaraymond

2008-02-29 17:45:53

From: Bobarkinator
I don't remember when it was put in but Boreas asked for it then forgot what he wanted it for when Freddy put it in :p

Actually I asked freddy to put it in.. :rolleyes:

Bobarkinator

2008-02-29 18:06:48

From: mastaraymond
Actually I asked freddy to put it in.. :rolleyes:


Boreas lies?

Wizzup?

2008-02-29 18:09:00

I thought this was a public script, saw the title, but did not bother to look inside the thread, yet.
The script looks good. Keep it up. ;)

Bobarkinator: The next scar will also have ScriptPause and ScriptResume, this can become handy when you work with TTimers… ;)

n3ss3s

2008-03-01 03:49:35

Thanks Wizz, it'll become public very soon, the version in my \Scripts works really good, it even nomore goes to the wizards tower! :p

I'll upload that version here, so now I leave this comp mining, and when I feel like I come here and grab it if no problems occur :)

EDIT: FFS, it tends to get to the wizards tower, my problem in scripting is the subject changing, - now I'm turning this to a guild miner, it's like "Come to the dark side - we've got easy walking and cookies!"

Will be remembered in history as n3ss3s' syndrome.

EDIT: Screw guildmining, I'll just do some magic to the walking…

But don't worry people - when SMART v2 gets working hooxies, I'll make a reflection miner to the swamp >=]