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!
UOSteam and lumber jacking
Re: UOSteam and lumber jacking
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
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
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.
- Wil
- Legendary Scribe
- Posts: 1128
- Joined: Mon Dec 30, 2013 1:19 pm
- Location: Seattle, WA, USA
- Contact:
Re: UOSteam and 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:
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
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?
- fixxer1963
- Legendary Scribe
- Posts: 271
- Joined: Tue Apr 01, 2014 5:43 pm
Re: UOSteam and lumber jacking
EasyUO is not the same as OpenEUO. That sounds like your problem.
Hawke Armstrong/FiXXer
- Wil
- Legendary Scribe
- Posts: 1128
- Joined: Mon Dec 30, 2013 1:19 pm
- Location: Seattle, WA, USA
- Contact:
Re: UOSteam and lumber jacking
Also, that's only a code fragment intended to demonstrate how to write a lumberjack script it OpenEUO. It's not a complete program.