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.
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
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.
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:
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