ScriptUO
Scripting Resources & Utilities => Stealth Client => Stealth scripts => Topic started by: willian_ii on April 01, 2014, 06:12:31 PM
-
Hey folks,
I Developed 2 or 3 months ago a taming macro in Python
It requires peacemaking and instruments, to kill the tamed pets.
Here's what it does:
Starting, if there's no rail file, it begins writing a rail. just run through the path you want, and it begins writing a new rail.
walk in a circular path, and when you get close to the end, the rail is written to a file.
If there's already a rail, he scans for pets around you.
then he goes on each spot on the reail, tames a pet, then calms it and kills it. And repeats until there are no more animals close to that spot.
It's not working 100%, but I got to 94.4 taming on it, so it's good enough. I was going to implement a gui using tk, but lost the interest(started implementing a player vendor item search bot).
I should also probably fix some things before releasing, but I would probably just postpone it forever, and never release it.
I developed and tested it on Demise.
What to change:
on the begining of the file, you can see:
polar_bear = [0x00D5]
white_wolf = [0x0025, 0x0022]
walrus = [0x00DD]
snow_panther = [0x0041, 0x0040]
types = snow_panther + white_wolf
instruments = [0x0E9C, 0x0EB2]
REWRITE_RAIL = False
the types of animals to be tamed are defined on types = snow_panther + white_wolf
If you want to tame an animal not pre defined, all you have to to is create a new variable for this animal, like :
new_animal = [0xnewcode]
and then
types = snow_panther + white_wolf + new_animal
You also have to put the types of instruments to play on the "instruments" list.
The code can be downloaded here:https://www.dropbox.com/s/9n27z1bhkpbjpiq/tamingmacro.zip (https://www.dropbox.com/s/9n27z1bhkpbjpiq/tamingmacro.zip)
-
Wow nice first post, but remember to introduce you. ;)
PS I though nobody was using my gump library. :)
-
Introduced!
Yes I liked the lib!
StealthUO is awesome but lacks a few things.
Gump management is one that confused me a little =P
-
You need to get used to Stealth gump facilities. Once you are, you'll never go back. :D
-
Introduced!
Yes I liked the lib!
StealthUO is awesome but lacks a few things.
Gump management is one that confused me a little =P
Gumps and properties are strong points in Stealth. They are complex but when you once get a drill into it, you never will have any issues. I can handle gumps generic in a speed wich the client is unable to draw a gump.
You should check Boydons library about in python..