Prior Projects Done: ready for more suggestions/requests

Torrun

Expert
Anyway to create runebook copier that does the following (must have book in pack):

1. Recalls to each rune in a targeted book.
2. Marks at each rune.
3. Copies the name of the rune.
4. Renames runebook.

I'm starting to get into coding and this was going to be my first attempt.
 

Jongi09

Master
Hi there,

Looking for a simple mining from a runebooks macro?

I've began putting together runebooks coloured ore as I find veins.

A macro that allows me set which runebooks I want to mine from would be amazing. I have a razor one currently that works for three specific runebooks and recalls to my house to smelt. But it only works for the three runebooks built into the code and for iron only.

Not sure if it's possible

Sent from my SM-G925F using Tapatalk
 

Experience

Grandmaster
I could make a recalling macro, and set it up with a # of books, that's as close to "setting" books to mine. and it would work for all ore colors. PM me so we can get the details
 
Ran the LJ script a bit last night, works great!

I'm in the process of adding restock code to it for axes and regs (both triggered at > 3). My restock version was working last night, just not 100% stable (i just need to edit some of the pauses i put in). If you don't have time to make that addition to yours, i'll share my version once it's complete and tested.

Last night was literally the first time i wrote code for UOS (i was actually quite surprised how easy it is), so i'm sure my method is not the cleanest. Whatever you can come up with @Experience will surely be better with all your "experience" (har har see what i did there?).
 
@Experience

I was having a conversation with a co-worker that also plays here at UO:F. He said that he saw a video of a guy using a macro on his thief that was automatically maintaining a 2 tile distance from a target (i'm not sure why, i forgot to ask).

Using that idea (if it's possible), you could make a taming macro that maintains a 2 tile distance from your target and repeatedly tames until a successful taming attempt occurs. You could make it move in one direction (ie always north), or whatever the last directional move was by the user.

As i stated in your other thread, i just started writing code in UOS yesterday, so i'm not sure of all the capabilities yet...

Sound feasible?
 
The current taming assistant auto detects, follows, and tames creatures. and more

My explanation was quite poor. What i meant was in the interest of taming high end creatures where it's important to move AWAY from the creature, not towards it.

Example; when you attempt to tame a dragon, you need to be EXACTLY 2 tiles away from it. Any more and you're too far away. Any less and the dragon rips your nutts off (you're now in melee range).

So in pseudo code:

If last target distance < 2 tiles:
Walk north 1 tile​
Else
If not @injournal 'start to tame'
Use animal taming
Last target​
end if​
end if
 
Last edited by a moderator:

Experience

Grandmaster
@MrBojangles

Code:
headmsg 'Target creature to tame'
promptalias 'Tame'
pause 250
@clearjournal
while @inrange 'Tame' '15'
  if inrange 'Tame' '3' and not @injournal 'You start to tame the creature' 'system'
    useskill 'animal taming'
    waitfortarget 5000
    target! 'last'
    pause 1000
    while @inrange 'Tame' '2'
      if @x 'Tame' > x 'self' and @y 'Tame' > y 'self'
        run 'Northeast'
      elseif @x 'Tame' < x 'self' and @y 'Tame' > y 'self'
        run 'Northwest'
      elseif @x 'Tame' > x 'self' and @y 'Tame' < y 'self'
        run 'Southeast'
      elseif @x 'Tame' < x 'self' and @y 'Tame' < y 'self'
        run 'Southwest'
      elseif @x 'Tame' > x 'self' and @y 'Tame' == y 'self'
        run 'east'
      elseif @x 'Tame' < x 'self' and @y 'Tame' == y 'self'
        run 'west'
      elseif @x 'Tame' == x 'self' and @y 'Tame' > y 'self'
        run 'north'
      elseif @x 'Tame' == x 'self' and @y 'Tame' < y 'self'
        run 'south'
      endif
    endwhile
  endif
  if @injournal 'It seems to accept you as master' 'system'
    headmsg "It's Tame"
    stop
  endif
endwhile
 
@MrBojangles

Code:
headmsg 'Target creature to tame'
promptalias 'Tame'
pause 250
@clearjournal
while @inrange 'Tame' '15'
  if inrange 'Tame' '3' and not @injournal 'You start to tame the creature' 'system'
    useskill 'animal taming'
    waitfortarget 5000
    target! 'last'
    pause 1000
    while @inrange 'Tame' '2'
      if @x 'Tame' > x 'self' and @y 'Tame' > y 'self'
        run 'Northeast'
      elseif @x 'Tame' < x 'self' and @y 'Tame' > y 'self'
        run 'Northwest'
      elseif @x 'Tame' > x 'self' and @y 'Tame' < y 'self'
        run 'Southeast'
      elseif @x 'Tame' < x 'self' and @y 'Tame' < y 'self'
        run 'Southwest'
      elseif @x 'Tame' > x 'self' and @y 'Tame' == y 'self'
        run 'east'
      elseif @x 'Tame' < x 'self' and @y 'Tame' == y 'self'
        run 'west'
      elseif @x 'Tame' == x 'self' and @y 'Tame' > y 'self'
        run 'north'
      elseif @x 'Tame' == x 'self' and @y 'Tame' < y 'self'
        run 'south'
      endif
    endwhile
  endif
  if @injournal 'It seems to accept you as master' 'system'
    headmsg "It's Tame"
    stop
  endif
endwhile

You da man. I'll give it a test run on sunday!
 
Top