SRL Archive - RS3 Outdated / Broken Scripts

Macro_FTW's Hide Tanner


Macro_FTW

2009-06-26 10:31:54

Acclaimed to not be able to find the DTMs easily. Don't use until v1.3 is uploaded. Thanks.
Current version: 1.2

Hey all. This is my first released script! :D

It's a hide tanner. Based in Al Khraid.

Features:
  • Multiplayer
  • Antirandoms
  • Antiban
  • Autoresponding
  • DDTM Walking
  • Failsafes
  • Run compatability
  • 3 methods of finding the tanner
  • ATPAs
  • Progress reports
  • Multi-hide support. Can go from cowhides to blue d'hides to any other hide [minus snake] without any trouble at all. No changes needed.
  • 100% SMART compatible. Just take out a // and it's completely set up to use SMART.
  • Reflection is optional. The script resorts to regular procedures [[DDTMs, TPAs, etc.]] if it fails.
  • Resting when run energy falls below 20ish.

Any suggestions, bugs, proggies, etc. feel free to post.

Script is attached. :)
~Macro_FTW

!Notice:! There are a few bugs that I'm having with this script; using the Dev version of SRL, and its ChooseOption, is sometimes slightly inaccurate to the point of choosing the wrong action. I have made as many failsafes as I can for this, and so this script shouldn't be inhibited much by this. Thank you for your understanding.

Required SRL: Dev revision 146
Tested In: SCAR 3.21 Beta, rev 20

Version History:
1.2 - Major bugfixes, more failsafes added.
1.1 - Added resting when you're under 20ish run energy. Overall sped the script up.
1.0 - Added a version checker and reflection. Reflection is 100% optional and backed up by DDTMs and TPAs as necessary.
0.9B - First version of the script.

[B]Current Version: [/B] 1.2
1.1 - Downloaded 2 times
1.0 - Downloaded 11 times
0.9B - Downloaded 7 times

Macro_FTW

2009-06-27 07:43:05

[[Sorry for the double post]]

Planning on adding quite a bit to this script for version 1.0. In 2-4 hours, I plan to have the updated version up. :)

~Macro_FTW

Macro_FTW

2009-06-27 10:18:52

[[Triple Post, whee. >.>]]

Updated. Reflection is now the primary method of walking/finding the tanner. However, DDTMs and TPAs are still used in spots and always back up the reflection.

TomTuff

2009-06-30 03:45:14

money per hour on this? thanks

Macro_FTW

2009-07-04 23:30:59

From: TomTuff
money per hour on this? thanks


Depends on the hide type; I'll test it when I get back, but I'd guess 1,500+ hides/hour, which should be around 75k/hour on Cow Hides, and 300-400k/hour on dhides.

Floor66

2009-07-04 23:35:25

Maybe add resting when run ene is <20? Works good on my smelter.

Macro_FTW

2009-07-14 19:10:19

From: Floor66
Maybe add resting when run ene is <20? Works good on my smelter.


Alright. I'll look in to that when I go to release my next version. Thanks! :)

(Currently really busy irl, so the next version won't be out for a while. Sorry. :/)

Macro_FTW

2009-07-16 23:47:15

UPDATED.

Added resting when run energy < 20ish, as suggested by Floor66. Thanks! :)

~Macro_FTW

Floor66

2009-07-17 00:17:54

Ah great :D This is a real help.
Some people might think that it takes too long but that greatly compensates with the time you'd else have to walk normally.

Awkwardsaw

2009-07-17 00:19:06

ill test this out tonight, fo sho :D

i cant test till then

sk80rdie76

2009-07-17 02:57:13

says i have no money.
and reflection doesnt work

Coh3n

2009-07-17 03:00:20

From: sk80rdie76
says i have no money.
and reflection doesnt work


Be a little more specific, rather than saying "reflection doesn't work".

Does it give an error? Does it just not walk to the specified point? Beging more specific would really help out Macro. :p

Macro_FTW

2009-07-17 03:09:19

From: sk80rdie76
says i have no money.
and reflection doesnt work


I'll look in to the no money part; ensure that you have it in your inventory, please. :)

Really? Have you updated your hooks?

EDIT: Please see Coh3n's post as well. Telling me exactly what doesn't work (for ref) helps out a lot. Thanks. :D

sk80rdie76

2009-07-17 03:40:53

here's the reflection problem"
Line 661: [Error] (22030:58): Type mismatch in script C:\Program Files (x86)\SCAR 3.20\scarprerelease\includes\SRL\SRL\Reflection\Characters.Scar

i have money in my inv and it just says player has no money

this is using scar 3.21 and latest dev srl and latest reflection

Macro_FTW

2009-07-17 03:46:02

From: sk80rdie76
here's the reflection problem"
Line 661: [Error] (22030:58): Type mismatch in script C:\Program Files (x86)\SCAR 3.20\scarprerelease\includes\SRL\SRL\Reflection\Characters.Scar

i have money in my inv and it just says player has no money

this is using scar 3.21 and latest dev srl and latest reflection


The reflection problem is in the Reflection folder itself; not my script. I'm afraid you have to wait on that until a fix is issued. Sorry. :/

And thanks for the bit about the money; I'll look in to it right away. :)

sk80rdie76

2009-07-17 03:49:12

From: Macro_FTW
The reflection problem is in the Reflection folder itself; not my script. I'm afraid you have to wait on that until a fix is issued. Sorry. :/

And thanks for the bit about the money; I'll look in to it right away. :)


at first i thought the money problem was being caused because i had 100k in my inv which turned the text white, but then i changed it to under 100k and still got the same problem

Macro_FTW

2009-07-17 03:52:29

I tested it; the money works fine for me, both in SMART and out of SMART. I'll look in to the function to be sure, though. :/

sk80rdie76

2009-07-17 05:01:19

i think the money problem has to do with the game tabs

EDIT: i got it to work without SMART, but now it can't find my green dragonhide

Macro_FTW

2009-07-17 05:20:00

From: sk80rdie76
i think the money problem has to do with the game tabs

EDIT: i got it to work without SMART, but now it can't find my green dragonhide


I'm using green as well; getting the hides works fine for me.

I think I'm going to do a more thorough bugtest for this version to ensure that everything's working as it should. I've found an extra bug or two myself, so I'll release a newer (better working ;) ) version in a few hours.

Sorry for the inconvenience.
~Macro_FTW

sk80rdie76

2009-07-17 05:42:32

From: Macro_FTW
I'm using green as well; getting the hides works fine for me.

I think I'm going to do a more thorough bugtest for this version to ensure that everything's working as it should. I've found an extra bug or two myself, so I'll release a newer (better working ;) ) version in a few hours.

Sorry for the inconvenience.
~Macro_FTW


alright, hopefully you can get it to work :)

Macro_FTW

2009-07-17 08:48:42

From: sk80rdie76
alright, hopefully you can get it to work :)


Thanks. :)

!Updated!
-Bugfixes
-For me, at least, the ChooseOption procedure in the Dev SRL (rev 146) is slightly off at times, resulting in the wrong options chosen at times (Talk to, instead of Trade, etc.). So, I have placed failsafes in for those in the script.

It's been tested with 500 Green D'hides, and ran without failing (…past the point of being saved, anyway. :p)

Of course, if you have any bugs whatsoever, please feel free to let me know; I'll fix them ASAP! :)


~Macro_FTW

sk80rdie76

2009-07-17 09:06:06

You do NOT have the most current version of this script.
You may go to the following address to download the newest version.
http://macroftwscripts.googlecode.com/svn/trunk/Versions/Hide%20Tanner.txt
Current version is: 1.1
Successfully executed

Macro_FTW

2009-07-17 09:15:35

From: sk80rdie76
You do NOT have the most current version of this script.
You may go to the following address to download the newest version.
http://macroftwscripts.googlecode.com/svn/trunk/Versions/Hide%20Tanner.txt
Current version is: 1.1
Successfully executed


Ah, I feel smart now. I put the url in the wrong place.

Fixed. Thanks. XD

sk80rdie76

2009-07-17 09:35:05

Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using shirt...
Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using skin...
Looking for tanner...
Using shirt...
Didn't work. Trying another approach...
Using hair...
Didn't work. Trying another approach...
Using skin...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.
Looking for tanner...
Using shirt...
Looking for tanner...
Using skin...
Didn't work. Trying another approach...
Using shirt...
Didn't work. Trying another approach...
Using hair...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.
Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using skin...
Looking for tanner...
Using skin...
Looking for tanner...
Using skin...
Didn't work. Trying another approach...
Using shirt...
Didn't work. Trying another approach...
Using hair...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.
Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using skin...
Didn't work. Trying another approach...
Using shirt...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.

thats what i get using SMART and without, it does it after it has already clicked trade, and it just sits in the window that pops out to tan the hides then clicks away and repeats

Macro_FTW

2009-07-17 09:53:50

From: sk80rdie76
Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using shirt...
Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using skin...
Looking for tanner...
Using shirt...
Didn't work. Trying another approach...
Using hair...
Didn't work. Trying another approach...
Using skin...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.
Looking for tanner...
Using shirt...
Looking for tanner...
Using skin...
Didn't work. Trying another approach...
Using shirt...
Didn't work. Trying another approach...
Using hair...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.
Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using skin...
Looking for tanner...
Using skin...
Looking for tanner...
Using skin...
Didn't work. Trying another approach...
Using shirt...
Didn't work. Trying another approach...
Using hair...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.
Looking for tanner...
Using hair...
Didn't work. Trying another approach...
Using skin...
Didn't work. Trying another approach...
Using shirt...
Didn't work. Trying another approach...
Couldn't find Ellis... :(.

thats what i get using SMART and without, it does it after it has already clicked trade, and it just sits in the window that pops out to tan the hides then clicks away and repeats


Really? The InTannerScreen (function to see if we're in the screen it keeps running out of) works 100% of the time for me. Are you at rev 20 with the new SCAR and 146 with the Dev rev?

And, with that, I must say good night. I have quite a bit to do tomorrow, and it is 2 AM here. Sorry. :/

Thanks for putting up with the long, dreary bugtesting process (and me) for today, though. It's appreciated. :D

~Macro_FTW

sk80rdie76

2009-07-17 10:10:33

the walking is totally messed up now, it just clicks the world map and doesnt do anything.

i managed to walk it to the tanner and it tanned hides so i know that it working now

Macro_FTW

2009-07-17 19:59:03

From: sk80rdie76
the walking is totally messed up now, it just clicks the world map and doesnt do anything.

i managed to walk it to the tanner and it tanned hides so i know that it working now


I'm going to make the reflection work well (update your ref; they added some fixes in the newest rev) and keep the DDTMs, etc. as failsafes, as they should've been from the start. :P

New version should be up shortly. Thanks for your patience. ^^

sk80rdie76

2009-07-17 23:36:48

i got it to work for a little bit. is there a way I can turn off the random talking?

Baked0420

2009-07-17 23:39:43

Macro it's your script, so I won't tell people how to mess it up if you don't want me to, but do you mind if I tell sk80rdie76 how to take out the chatting?


EDIT:
[OFFTOPIC] Sk80rdie76, looks like your due for a yoda cup :) [/OFFTOPIC]

Macro_FTW

2009-07-17 23:49:49

From: sk80rdie76
i got it to work for a little bit. is there a way I can turn off the random talking?


There isn't a way to turn it off, but you can remove it, as explained below. You got it to work? Yay! It isn't a total and complete failure. :D

I'm nearly done with the updated reflection; I just have to find a reliable way to get SMART to load, and the script to *wait* while SMART loads. >.<

From: Baked0420
Macro it's your script, so I won't tell people how to mess it up if you don't want me to, but do you mind if I tell sk80rdie76 how to take out the chatting?


EDIT:
[OFFTOPIC] Sk80rdie76, looks like your due for a yoda cup :) [/OFFTOPIC]


I don't mind at all. Feel free; people can take whatever they want out of my script. :D
EDIT: Also, I was told by a certain admin that Yoda cups are only given to SRL members+. :/


Autoresponding or random talking? If it's just random talking, take out line 687 of the script.

If it's autotalking, do ctrl+f for AutoRespond and take out every occurrence there is; there should be 3 or 4.

sk80rdie76

2009-07-18 02:31:47

From: Macro_FTW
There isn't a way to turn it off, but you can remove it, as explained below. You got it to work? Yay! It isn't a total and complete failure. :D

I'm nearly done with the updated reflection; I just have to find a reliable way to get SMART to load, and the script to *wait* while SMART loads. >.<



yea, one thing i've noticed is that sometimes in the withdrawal of hides it sometimes withdraws only 10 for some reason.

Bonfield

2009-07-18 03:42:03


repeat
wait(100);
until (SmartGetColor(253, 233) <> 1118604);

something simple like that? should solve your waiting problem

Macro_FTW

2009-07-18 09:27:52

From: sk80rdie76
yea, one thing i've noticed is that sometimes in the withdrawal of hides it sometimes withdraws only 10 for some reason.


Yeah. The ChooseOption function [in SRL] seems to not be 100% at the moment; I'll build in a failsafe when I get time. Thanks. :)

From: Bonfield

repeat
wait(100);
until (SmartGetColor(253, 233) <> 1118604);

something simple like that? should solve your waiting problem


I've tried something similar to no avail. When I get on a SCAR-enabled machine (tomorrow), I will try that as soon as I start scripting. It's appreciated. :D

Seems as though the promised update will come tomorrow; too much happened so fast today. XD Sorry.

~Macro_FTW