Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Taming macro

Only working scripts
Post Reply
willian_ii
Posts: 1
Joined: 02.04.2014 5:46

Taming macro

Post by willian_ii »

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:

Code: Select all

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

Code: Select all

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 :

Code: Select all

new_animal = [0xnewcode]
and then

Code: Select all

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/9n27z1bhkpbjp ... gmacro.zip
Post Reply