Page 1 of 1
UOSteam and lumber jacking
Posted: Sun Feb 07, 2016 6:41 am
by Widmo
Hello,
I Have problem i tried to record macro on UOSteam to lumber jacking a three. After recorded when i play it i get only "You can't use an axe on that" but i did't change any place. I just recorded double click on hatchet and on three thats all, so what happend? Whed I do the same in Razor everythink work great but this is tiring to change client to take logs only

I don't want to press last object all the time.
Thank you for help!
Re: UOSteam and lumber jacking
Posted: Sun Feb 07, 2016 8:32 am
by Rankul
hi there
i dont have Uosteam but in razor you can set target type and relative location .that might be your problem if the macro tries to hack on a tree it cant reach
Re: UOSteam and lumber jacking
Posted: Sun Feb 07, 2016 11:47 am
by Widmo
Thank you for answer but as I wrote i don't have this problem in Razor, this working well but this is tiring to change program and relog only for lumber jacking.
Re: UOSteam and lumber jacking
Posted: Sun Feb 07, 2016 12:58 pm
by Wil
OpenEUO can run at the same time as UO Steam. You don't have to log out and back in to use it. In OpenEOU, chopping trees looks more or less like this:
Code: Select all
function chop ()
UO.SysMessage ("chop at x="..UO.CharPosX.." y="..UO.CharPosY.." :")
wait (100)
UO.LObjectID = axe
UO.LTargetKind = 0
UO.Macro(17,0)
if not waitfortarget (2000) then
print ("noaxe?")
return 0
end
wait(100)
UO.LTargetKind=3
UO.LTargetX = UO.CharPosX+1
UO.LTargetY = UO.CharPosY+1
UO.LTargetZ = UO.CharPosZ
local ncnt = UO.TileCnt(UO.LTargetX,UO.LTargetY)
UO.LTargetTile = 0
for nIndex = 1,ncnt do
local nType,nZ,sName,nFlags = UO.TileGet(UO.LTargetX,UO.LTargetY,nIndex)
if "tree"==string.match(sName,"tree") then
UO.LTargetTile = nType
end
end
if UO.LTargetTile ==0 then
print ("no tree at x="..UO.CharPosX.." y="..UO.CharPosY)
UO.SysMessage ("no tree at x="..UO.CharPosX.." y="..UO.CharPosY)
wait (20)
return 0
end
UO.Macro(22,0)
wait (1000) -- at least 1 second
local chopped = waitforchopped (11000)
return chopped
end
Re: UOSteam and lumber jacking
Posted: Sun Feb 07, 2016 1:50 pm
by Widmo
Thank you for answer Wil, but how to use it? I have EasyUO and I pasted there this code and run, but nothing did. Should i change something?
Re: UOSteam and lumber jacking
Posted: Sun Feb 07, 2016 3:23 pm
by fixxer1963
EasyUO is not the same as OpenEUO. That sounds like your problem.
Re: UOSteam and lumber jacking
Posted: Sun Feb 07, 2016 5:55 pm
by Wil
Also, that's only a code fragment intended to demonstrate how to write a lumberjack script it OpenEUO. It's not a complete program.