UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

UoSteam Lumberjacking Macro.

I'll leave this at the very top, just so you know.
In-Game Rules
1.No unattended gathering.

This applies to everything, not just resources. In particular, it includes:
  • Mining, fishing, lumberjacking
  • Turning in or collecting BODs
  • Buying from or selling to NPC vendors
  • Taming
  • Looting, farming Doom artifacts, minor artifacts, lesser Treasures of Tokuno
  • House placement
  • IDOC scavenging
  • Collecting quest rewards
:space:
Unattended gathering results in jail time and any ill-gotten goods will be deleted.


This is the Recall(magery) version of my Lumber jack script. The gumpIds are set for demise but it hasnt been tested here by me personally(someone asked me to write it for them). It can achieve 35-40k boards an hour if properly set up. Its pretty straight forward, it currently uses the organizing agent that needs to be set up by the user. Ill dumb it down as much as possible.

Instructions:
Step 1: Setting up your Rune books
  • You need 4 rune books with the current set up. You can easily modify the script to use more or less Tree Runebooks.
  • The first book needs to have a rune in the first position close enough to reach your drop off bag. This book will be your 'home' book, when the promptalias asks for it.
  • The next 3 books are for Trees. The runes have to be marked exactly 1 tile east for the script to work, Trees are considered tiles not objects. A few trees have elevation issues so you might be better off just testing the tree while you mark it with the script below. Also note that resource banks are every 4x3 tiles so don't mark the runes to close to each other.
    Code:
        useobject 'LeftHand'
        waitfortarget 1000
        targettileoffset -1 0 0
Step 2: Setting up your organizing agent.
  • Under the "Agents" tab click on Organizer.
  • Click create new and rename it Boards.
  • Insert those 6 items(board, bark, fungi, switch, parasitic, and amber)
  • Click Set Containers and target your backpack and then the drop off bag.
  • The final step is to make sure you have Stack checked.
Boards.png


Step 3: Preparing your character.

  • You need to have 65 magery or be in wraith form because it has no fizzle check. As a human you can cast wraith form from a scroll, if your and elf you need to fix 20 necro into the build/suit if you want to do wraith form.
  • Make sure you have a spell channeling axe type weapon equip.
  • You need 100% lrc and as much mana regen and lower mana cost as you can fit because it recalls often. The script is set up for 2/6 casting and you will need to edit the pauses after recalling, which will slow down the logs/hour. Add 250 if you have 1fc and 500 if you have none. Just paste the macro into notepad and hit Ctrl + H to get the replace option. The default pause is 1500, put in the new pause and click replace all.
replace.png

Step 4: Start the macro to set up the alias. Now your ready to get some boards.

The default weight check is 400 stones. If you need to change it, find the following section of code.
Code:
  // Change this if your getting overweight, Subtract 25
 
from your max weight.
 
  if weight > 400

THE SCRIPT:

Code:
/////////////////////////////////////
//Script Name: Recall Lumberjacking//
//Author:  Prohunter              //
//Version: 1.0                    //
/////////////////////////////////////
if not @findobject 'BookOne'
  promptalias 'BookOne'
endif
if not @findobject 'BookTwo'
  promptalias 'BookTwo'
endif
if not @findobject 'BookThree'
  promptalias 'BookThree'
endif
if not @findobject 'Home'
  promptalias 'Home'
endif
if not listexists 'TreeBook'
  createlist 'TreeBook'
  pushlist 'TreeBook' 'BookOne'
  pushlist 'TreeBook' 'BookTwo'
  pushlist 'TreeBook' 'BookThree'
endif
if not listexists 'Runes'
  createlist 'Runes'
  pushlist 'Runes' 5
  pushlist 'Runes' 11
  pushlist 'Runes' 17
  pushlist 'Runes' 23
  pushlist 'Runes' 29
  pushlist 'Runes' 35
  pushlist 'Runes' 41
  pushlist 'Runes' 47
  pushlist 'Runes' 53
  pushlist 'Runes' 59
  pushlist 'Runes' 65
  pushlist 'Runes' 71
  pushlist 'Runes' 77
  pushlist 'Runes' 83
  pushlist 'Runes' 89
  pushlist 'Runes' 95
endif
For 0 to 'TreeBook'
For 0 to 'Runes'
clearjournal
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
pause 1500
while not @injournal 'enough wood here'
  pause 300
  if @findtype 0x1bdd 'any' 'backpack'
    useobject 'LeftHand'
    waitfortarget 1000
    target 'found'
  else
    useobject 'LeftHand'
    waitfortarget 1000
    targettileoffset -1 0 0
  endif
  // Change this if your getting overweight, Subtract 25
 
from your max weight.
  if weight > 400
    while @findtype 0x1bdd 'any' 'backpack'
      useobject 'LeftHand'
      waitfortarget 1000
      target 'found'
      pause 500
    endwhile
    useobject 'Home'
    waitforgump 0x554b87f3 5000
    replygump 0x554b87f3 5
    pause 1500
    organizer 'Boards'
    while organizing
      pause 500
    endwhile
    useobject TreeBook[]
    waitforgump 0x554b87f3 5000
    replygump 0x554b87f3 Runes[]
    pause 1500
  endif
  if @injournal 'use an axe'
    break
  endif
endwhile
pause 500
// This drops normal boards 1 tile south of you if you
 
become overweight to prevent the script getting stuck trying
 
to recall.
if weight > maxweight
  movetypeoffset 0x1bd7 'backpack' 'ground' 0 1 0 0
  pause 1000
endif
useobject 'Home'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 5
pause 1500
organizer 'Boards'
while organizing
  pause 500
endwhile
endfor
endfor
 
Here is the Chivalry version, for those that would rather use sacred journey.

Code:
/////////////////////////////////////
//Script Name:  Chiv Lumberjacking//
//Author:  Prohunter              //
//Version: 1.0                    //
/////////////////////////////////////
if not @findobject 'BookOne'
  promptalias 'BookOne'
endif
if not @findobject 'BookTwo'
  promptalias 'BookTwo'
endif
if not @findobject 'BookThree'
  promptalias 'BookThree'
endif
if not @findobject 'Home'
  promptalias 'Home'
endif
if not listexists 'TreeBook'
  createlist 'TreeBook'
  pushlist 'TreeBook' 'BookOne'
  pushlist 'TreeBook' 'BookTwo'
  pushlist 'TreeBook' 'BookThree'
endif
if not listexists 'Runes'
  createlist 'Runes'
  pushlist 'Runes' 7
  pushlist 'Runes' 13
  pushlist 'Runes' 19
  pushlist 'Runes' 25
  pushlist 'Runes' 31
  pushlist 'Runes' 37
  pushlist 'Runes' 43
  pushlist 'Runes' 49
  pushlist 'Runes' 55
  pushlist 'Runes' 61
  pushlist 'Runes' 67
  pushlist 'Runes' 73
  pushlist 'Runes' 79
  pushlist 'Runes' 85
  pushlist 'Runes' 91
  pushlist 'Runes' 97
endif
For 0 to 'TreeBook'
For 0 to 'Runes'
clearjournal
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
pause 1500
while not @injournal 'enough wood here'
  pause 300
  if @findtype 0x1bdd 'any' 'backpack'
    useobject 'LeftHand'
    waitfortarget 1000
    target 'found'
  else
    useobject 'LeftHand'
    waitfortarget 1000
    targettileoffset -1 0 0
  endif
  // Change this if your getting overweight, Subtract 25
 
from your max weight.
  if weight > 400
    while @findtype 0x1bdd 'any' 'backpack'
      useobject 'LeftHand'
      waitfortarget 1000
      target 'found'
      pause 500
    endwhile
    useobject 'Home'
    waitforgump 0x554b87f3 5000
    replygump 0x554b87f3 7
    pause 1500
    organizer 'Boards'
    while organizing
      pause 500
    endwhile
    useobject TreeBook[]
    waitforgump 0x554b87f3 5000
    replygump 0x554b87f3 Runes[]
    pause 1500
  endif
  if @injournal 'use an axe'
    break
  endif
endwhile
pause 500
// This drops normal boards 1 tile south of you if you
 
become overweight to prevent the script getting stuck trying
 
to recall.
if weight > maxweight
  movetypeoffset 0x1bd7 'backpack' 'ground' 0 1 0 0
  pause 1000
endif
useobject 'Home'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 7
pause 1500
organizer 'Boards'
while organizing
  pause 500
endwhile
endfor
endfor

The default is 2 fast cast. With 4 fast cast you can push 40k+ boards/hour. You have to edit the "pause 1500" to "pause 1000" to make use of the extra fast cast.
 

kolbycrouch

Knight
since I don't use lists. Mine is around 3k lines long. Not sure if this is still an issue, but steam in the past was having problems with lists that where too long.
 

Kazzius

Wanderer
I know this is an old script but does anyone know why the script gets stuck on trying to recall on the home book, loops trying to use the axe on the house, recalls which the location is blocked because its still recalling back home. It's like the script stops the boards recall book.
 

Ilikered

Sorceror
If u copy some one else script it would be fair and nice to post that u use that SOME ones script.

U literally put 3 lines and u claim its urs? wtf... .
 
seeing how i used no reference beyond the pdf they released with the software, i can assure you your claims are false. I also have my orginal 3 iteration showing how the script evolved.

Seeing how the goals are the same anyone using a standard syntax would also come up with relatively similar methods. It was pretty much just going thru and attempting to recreate the easyuo scipts features into uos since they no longer worked after the map changes. It was posted here well after it was written because the market for lumber was up.

Not sure how else you would want to script it. A nested for loop to recall from book to book and simple counter measures to stop the most common hold ups.
 

Ilikered

Sorceror
seeing how i used no reference beyond the pdf they released with the software, i can assure you your claims are false. I also have my orginal 3 iteration showing how the script evolved.

Seeing how the goals are the same anyone using a standard syntax would also come up with relatively similar methods. It was pretty much just going thru and attempting to recreate the easyuo scipts features into uos since they no longer worked after the map changes. It was posted here well after it was written because the market for lumber was up.

Not sure how else you would want to script it. A nested for loop to recall from book to book and simple counter measures to stop the most common hold ups.
mhm... my friend made almost same script with same names 4-5 months ago... but he allready said what ever, so i stand back.
 
4-5 months ago...

if you look the OP date, this script was posted 6 months ago and posted by me on another forum over a year ago. So go ahead and tell your friend exactly what you attempted to tell me.

If u copy some one else script it would be fair and nice to post that u use that SOME ones script.

U literally put 3 lines and u claim its urs? wtf... .

Actually, dont even bother with the last part before you get yourself buried in your own stupidity.

 
Last edited:

Frasier

Sorceror
I tried it too (got it running after a few things....) and I had to edit pauses due to high ping.
But, it works. I got ~22000 boards in one hour.
So thank you :)
 
ya it was set up to run as fast as possible with max fc and low ping. For the people still having issues go back clear all of alias' and redo the setup portion if that doesnt work increase the pauses because it might be trying to use the axe before you actually load to the trees if your ping is bad or your not running 2 fc
 

Frasier

Sorceror
Yeah. It worked fine, just had to change pauses. I'm using 2/6 casting.
Interesting to see how much a little change in pauses deals with logs gathered/ hour.
I can't get over 25k logs, but it's still way faster than "running manually" :)
 

Wu Tang

Wanderer
Just had this script sent to me from a guildie and I have to say it works fantastic. Not a thing wrong with it. I set it up exactly as you said, followed all directions, pressed play and in my first hour I pulled 32k boards. Im running 2/6 casting with magery, and I have no connection issues, average ping is >30. I even tweaked the weight setting slightly, set it to 425 instead of 400 so I get an extra swing or 2 before recalling.
Worked like a gem, wonderful script! Thanks!!
 

Nordon

Sorceror
Hello,

Might I suggest an improvement to your script?
It's been looping on "what do you want to use this items on" for me at times due to high ping I assume.
If anyone else is having this, remove the waitingfortarget parts (this never worked properly in Razo either) and add miniature pauses (keeping ping in mind).
So the "While" loop would start looking something like this:

Code:
while not @injournal 'enough wood here'

pause 800

if @findtype 0x1bdd 'any' 'backpack'

pause 250

useobject 'LeftHand'

pause 300

target! 'found'

else

pause 250

useobject 'LeftHand'

pause 300

targettileoffset -1 0 0

endif

Thanks again for the amazing script.
For anyone using my workaround - again, make sure to change your pauses accordingly!
 

ppxc

Sorceror
A bit adjustment,so that the script works like this : chopping till weight limit reached,recall home to unload,repeat.

......

while not @injournal 'enough wood here'
pause 300
if @findtype 0x1bdd 'any' 'backpack'
useobject 'LeftHand'
waitfortarget 1000
target 'found'
// Change this if your getting overweight, Subtract 25
from your max weight.

if weight > 400
useobject 'Home'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 5
pause 1500
organizer 'Boards'
while organizing
pause 500
endwhile
useobject TreeBook[]
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 Runes[]
pause 1500
endif

else
useobject 'LeftHand'
waitfortarget 1000
targettileoffset -1 0 0
endif

.......

PS

forget above comment,I find the problem:

......

pause 1500
endif
if @injournal 'use an axe'
break
endif
//endwhile
pause 500
// This drops normal boards 1 tile south of you if you
if weight > maxweight
movetypeoffset 0x1bd7 'backpack' 'ground' 0 1 0 0
pause 1000
//endif
useobject 'Home'
waitforgump 0x554b87f3 5000
replygump 0x554b87f3 5
pause 1500
organizer 'Boards'
while organizing
pause 500
endwhile
'endif' should be here.
'endwhile' should be here.
 
Last edited:
Top