Must Have: Tamers non-afk skill gain Macro

RAVE GL

Master
Code:
//Get close to your target, press your associated key.
//CAUTION: Must watch this script. It's not as intelligent as the regular one.
if not listexists 'NameTheTamed'
  //Set this name to whatever you want.
  createlist 'NameTheTamed'
  pushlist 'NameTheTamed' 'eqmsmyballs'
endif
if not listexists 'tameables'
  createlist 'tameables'
  pushlist 'tameables' 0x7t //Hellcat (Large)
  pushlist 'tameables' 0x62 //Hellhound
  pushlist 'tameables' 0xbc //Savage Ridgeback
  pushlist 'tameables' 0xbb //Ridgeback
  pushlist 'tameables' 0x17 //Dire Wolf
  pushlist 'tameables' 0xce //Lava Lizard
  pushlist 'tameables' 0x14 //Frost spider
  pushlist 'tameables' 0xc9 //Hellcat (Small)
  pushlist 'tameables' 0xda //Frenzied Ostard
  pushlist 'tameables' 0x50 //Giant Toad
  pushlist 'tameables' 0xe8 //Bull
  pushlist 'tameables' 0xe9 //Bull2
  pushlist 'tameables' 0x22 //White Wolf
  pushlist 'tameables' 0x25 //White Wolf2
  pushlist 'tameables' 0x1c //Giant Spider
  pushlist 'tameables' 0xd4 //Grizzly Bear
  pushlist 'tameables' 0xea //Great Hart
  pushlist 'tameables' 0x41 //Snow leopard
  pushlist 'tameables' 0x40 //Snow leopard
  pushlist 'tameables' 0x19 //Gray wolf
  pushlist 'tameables' 0x1b //Gray wolf2
  pushlist 'tameables' 0x30 //Scorpion
  pushlist 'tameables' 0xca //Alligator
  pushlist 'tameables' 0x3f //Cougar
  pushlist 'tameables' 0xd6 //Panther
  pushlist 'tameables' 0xa7 //Brown Bear
  pushlist 'tameables' 0xdd //Walrus
  pushlist 'tameables' 0xd5 //Polar Bear
  pushlist 'tameables' 0xd3 //Black Bear
  pushlist 'tameables' 0xdc //Llama
  pushlist 'tameables' 0x124 //Pack Llama
  pushlist 'tameables' 0x123 //Pack Horse
  pushlist 'tameables' 0xc8 //Horse
  pushlist 'tameables' 0xe2 //Horse2
  pushlist 'tameables' 0xcc //Horse3
  pushlist 'tameables' 0xed //Giant Rat
  pushlist 'tameables' 0xdb //Forest Ostard
  pushlist 'tameables' 0xd2 //Desert Ostard
  pushlist 'tameables' 0x122 //Boar
  pushlist 'tameables' 0xe1 //Timber Wolf
  pushlist 'tameables' 0xed //Hind
  pushlist 'tameables' 0x51 //Bullfrog
endif
if not @inrange 'tobetamed' 2
  @unsetalias 'tobetamed'
  for 0 in 'tameables'
    if @findtype tameables[] 'any' 'ground' 1 2
      @setalias 'tobetamed' 'found'
      break
    endif
  endfor
endif
if not @inrange 'tobetamed' 2
  headmsg 'No new creatures near you!'
  replay
endif
clearjournal
while name 'tobetamed' != NameTheTamed[0]
  autotargetobject 'tobetamed'
  useskill 'animal taming'
  @rename 'tobetamed' NameTheTamed[0]
  pause 1000
  if not @inrange 'tobetamed' 1
    if @x 'tobetamed' > x 'self' and @y 'tobetamed' > y 'self'
      walk 'Southeast'
    elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' > y 'self'
      walk 'Southwest'
    elseif @x 'tobetamed' > x 'self' and @y 'tobetamed' < y 'self'
      walk 'Northeast'
    elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' < y 'self'
      walk 'Northwest'
    elseif @x 'tobetamed' > x 'self' and @y 'tobetamed' == y 'self'
      walk 'East'
    elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' == y 'self'
      walk 'West'
    elseif @x 'tobetamed' == x 'self' and @y 'tobetamed' > y 'self'
      walk 'South'
    elseif @x 'tobetamed' == x 'self' and @y 'tobetamed' < y 'self'
      walk 'North'
    endif
  endif
endwhile
waitforcontext 'tobetamed' 8 20000
waitforgump 0x909cc741 15000
@replygump 0x909cc741 2
@ignoreobject 'tobetamed'
@unsetalias 'tobetamed'
replay
 

RAVE GL

Master
didn't know having credited headers was that important. does it really matter? really? kdivers made just about all of them but who cares?
 

khajja

Master
Imagine that you made an oil pricing model in excel that involved macros and put your name in the VBA module header. Later you saw your own model being passed around with your authorship/developer information removed, or even somebody else claiming they made it.

It's about respect.
 

RAVE GL

Master
I understand. Personally it doesn't matter to me if others use or redistribute my creation so long as they aren't profiting on it. But I do understand. Also, half of the stuff I posted does have credit to them, the ones that don't, I had truncated the code when I pasted it into steam. The macros pasted into UOF came directly from my steam rather than from WIX, which is why some didn't have headers. It wasn't intentional for purpose of claiming them as my own. I don't make that claim at all save for one that I actually did create.
 

Hexoplex

Grandmaster
With the new delay to renaming with this macro, I've edited the piece that causes the renaming and have eliminated the 10-15 second delay. You no longer rename your tame, but you don't have to wait for the timer to reset before you can get your next taming target. The lines between 'clearjournal' and 'pause 1000' should be copied and pasted over the existing code.


clearjournal

while gray 'tobetamed'


autotargetobject 'tobetamed'


useskill 'animal taming'


@Target! 'tobetamed'


pause 1000
 

Dimok

Master
Trying this one out today for the first time, I've copy pasted the above into it. I guess I'm concerned with leaving recently tamed non-named mobs out there. Is that still considered a douche move? Or did the change to a rename timer mean all bets are off?
 
Last edited by a moderator:

RAVE GL

Master
Don't worry about it. The retame is always appreciated because it's harder thus needs/gains higher skill. If it's untamable it'll say it's has too many masters anyway and then the right thing to do is wack it.
 

Young Star

Grandmaster
This macro remembers which animals you've already tamed even if you don't rename them until you close steam. Leaving the macro as is doesn't slow you down that much. The delay has been shortened from what it started with when implemented.
 

[Legato]

Master
any version of this to (1) recall out if you see reds or (2) auto follow next non previously tamable animal/monster?
 

Young Star

Grandmaster
any version of this to (1) recall out if you see reds or (2) auto follow next non previously tamable animal/monster?
Doesn't recall but it does follow the animal it is attempting to tame. It pretty much targets any animal in the list within 3 tiles.
 

[Legato]

Master
Yeah, this is the one ive been using. was hoping to find one that auto follows the next candidate animal or monster after the last one is released, then tame it.
 

Cash is King

Grandmaster
I'm taming scorps with this macro and want to integrate a simple if statement for curing/healing. However, it appears this macro somehow queues the target of the tamable because after the macro runs if i cast a spell it auto targets the tamable. So trying to add a few lines for "if hits < maxhits, cast greater heal, target self" within the macro it just targets the tamable with that gheal and I go grey.

I tried adding 'cleartargetqueue' before and within the if statement for healing/curing but it appears that this command does not in fact clear the target queue.

Only other workaround is to constantly chug cure/heal pots but I'd rather not.

Any ideas?
 
Top