Таксь... держите макрос на ламбер...
примечание - менять координаты пеньков можно тыцкая на дерево с использованием команды ,infotile после этого откроется подменюшка в которой будет указана координата дерева, именно ее копируите в макрос, ну и меняете аиди сундуков на свои : ;ID сундуков в которых лежат итемы для работы с макросом
set %box_big EBBHAOF
set %box_mage JNRHZNF
set %box_band UBQJUTF
set %box_item WHFZKWF
set %findband 10
set %maxhits #HITS / 2
;=====================================================================*
Event Macro 8 1
wait 10
contpos 808 2
set %char #ContID
Event macro 8 2
wait 10
contpos 776 290
Event macro 8 7
wait 10
contpos 788 415
set %BACKPACKID #CONTID
GoSub House lumberstart:
;координаты деревьев - узнаются командой ,infotile
GoSub Drees 3277 1012 1629 0
GoSub Drees 3299 1016 1632 0
GoSub Drees 3280 1012 1635 0
GoSub Drees 3280 1012 1644 0
GoSub Drees 3299 1016 1644 0
GoSub Drees 3296 1020 1644 0
GoSub Drees 3299 1024 1644 0
GoSub Drees 3277 1032 1650 0
GoSub Drees 3286 1032 1656 0
GoSub Drees 3299 1024 1656 0
GoSub Drees 3283 1020 1656 0
GoSub Drees 3302 1020 1650 0
GoSub Drees 3283 1016 1647 0
GoSub Drees 3277 1016 1659 0
GoSub Drees 3277 1012 1659 0
GoSub Drees 3286 1008 1659 0
GoSub Drees 3296 1008 1656 0
GoSub Drees 3280 1004 1656 0
GoSub Drees 3302 1000 1659 0
GoSub Drees 3280 1008 1671 0
GoSub Drees 3302 1016 1668 0
GoSub Drees 3296 1020 1665 0
GoSub Drees 3286 1024 1665 0
GoSub Drees 3296 1024 1662 0
GoSub Drees 3296 1028 1665 0
GoSub Drees 3286 1028 1671 0
GoSub Drees 3280 1036 1677 0
GoSub Drees 3277 1036 1674 0
GoSub Drees 3286 1040 1674 0
GoSub Drees 3296 1040 1680 0
GoSub Drees 3283 1044 1680 0
GoSub Drees 3286 1044 1674 0
GoSub Drees 3302 1044 1686 0
GoSub Drees 3296 1052 1686 0
GoSub Drees 3286 1052 1695 0
GoSub Drees 3277 1048 1695 0
wait 65
Msg 'resend $
wait 60
goto lumberstart
Sub House
;=====================================================================*
; ???????????? ??? ??????? ??? ????? ???????
set %max #str * 3
;=====================================================================*
;? ?????? ???????? ??? ??????????? ?????? ?? ?????
set %max_str #STR * 3 + 30
;=====================================================================*
House:
if #WEIGHT > %max_str
{
finditem MMK C_ , %backpackid
wait 5s
msg ,drop 5 0 0 -1 #FINDID $
Goto House
}
wait 10
;=========================================================================*
;кооржинаты ведущие к сундуку - можно использовать и одну, но что ;бы чар не петлял впишите промежуточную.
move 1015 1655 0
move 1013 1648 0
;=========================================================================*
set #LOBJECTID %box_big
Event Macro 17 0
wait 10
contpos 0 0
Event macro 8 7
wait 10
contpos 788 415
set #LOBJECTID %box_band
Event Macro 17 0
wait 10
contpos 190 25
Moveitem:
finditem ZLF C_ , %backpackid
if #FINDSTACK < 10
{
set %band %findband - #FINDSTACK
finditem ZLF C_ , %box_band
if #FINDID = X
{
Event SysMessage ?? ?? ???????? ? ?????? ??????, ???????? ????? ?
????????????? ??????
wait 30
GoTo Moveitem
}
wait 10
finditem ZLF C_ , %box_band
if #FINDID <> X
{
wait 10
msg ,grab %band #FINDID $
GoTo Moveitem
}
}
;====================================================================*
finditem HND C_ , %BACKPACKID
if #FINDID = X
{
set #LOBJECTID %box_band
Event Macro 17 0
wait 10
finditem HND C_ , %box_band
if #FINDID = X
{
Display ok ? ??? ??? ??? ? ??????? ???????? ??? ? ????????????? ??????
GoTo Moveitem
}
msg ,grab 1 #FINDID $
wait 10
GoTo Moveitem
}
;=================================================================*
finditem FSF C_ , %BACKPACKID
if #FINDID = X
{
set #LOBJECTID %box_band
Event Macro 17 0
wait 10
finditem FSF C_ , %box_band
if #FINDID = X
{
Display ok ? ??? ??? ?????? ? ??????? ???????? ?????? ? ????????????? ??????
GoTo Moveitem
}
msg ,grab 0 #FINDID $
wait 10
GoTo Moveitem
}
;================================================================*
finditem MMK_MZF_WZF C_ , %BACKPACKID
if #FINDID <> X
{
msg ,moveitem #FINDID 0 %box_item $
wait 10
GoTo Moveitem
}
finditem KUF_JUF_KZF_JZF_MZF_WZF_SZF_RZF_DUF_OZF_POF_OZF_LZF_DUF C_ , %backpackid
if #FINDID <> X
{
msg ,moveitem #FINDID 0 %box_mage $
wait 10
GoTo Moveitem
}
FINDITEM WUF C_ , %backpackid
if #FINDID <> X
{
wait 10
msg ,moveitem #FINDID 0 %box_band $
GoTo Moveitem
}
FINDITEM UUF C_ , %backpackid
if #FINDID = X
{
finditem UUF C_ , %box_band
if #FINDID <> X
{
msg ,grab 0 #FINDID $
wait 10
}
finditem UUF C_ , %backpackid
if #FINDID <> X
{
Event SysMessage ?? ????? ????? ??? ????????????? HITS
}
finditem UUF C_ , %backpackid
if #FINDID = X
{
Event SysMessage ?? ?? ????? ????? ??? ????????????? HITS
}
}
hitshouse:
if %lefttime > #TIME
GoTo hitshouse
if #HITS <> #MAXHITS
{
if #HITS < 50
{
FINDITEM UUF C_ , %BACKPACKID
if #FINDID <> X
{
msg 'pc quaf heal $
wait 8s
GoTo moveitem
}
}
msg $'pc heal self $
set %lefttime #TIME + 9
wait 10
GoTo moveitem
}
move %2 %3 1
Return
Sub Drees
msg $
Drees:
move %2 %3 1
finditem BSF_FSF C_ , %BACKPACKID
if #FINDID = X
{
wait 10
GoSub House
GoTo Drees
}
set #LOBJECTID #FINDID
Event Macro 17 0
set #LTARGETKIND 3
wait 10
set #LTARGETX %2
set #LTARGETY %3
set #LTARGETTILE %1
Event Macro 22 0
Journal:
for %i 1 45
{
wait 1s
finditem BSF_FSF C_ , %BACKPACKID
if #FINDID = X
{
wait 10
GoSub House
GoTo Drees
}
for %scanj 1 10
{
ScanJournal %scanj
if [202]_45AL_=5B_1> in #Journal
{
deleteJournal
wait 3s
Return
}
}
if #WEIGHT > %max
{
GoSub House
GoSub Move
GoTo Drees
}
if #HITS <> #MAXHITS
{
GoSub Healing
GoTo Drees
}
if #HITS <> #MAXHITS
{
GoSub Healing
GoTo Drees
}
}
GoTo Drees
Sub Healing
HEALING:
FINDITEM ZLF C_ , %BACKPACKID
if #FINDID = X
{
GoSub House
}
if %lefttime > #TIME
GoTo HEALING
if #HITS <> #MAXHITS
{
if #HITS < %maxhits
{
FINDITEM UUF C_ , %BACKPACKID
if #FINDID <> X
{
msg 'pc quaf heal $
wait 8s
GoTo HEALING
}
}
msg $'pc heal self $
set %lefttime #TIME + 9
finditem JE_GD_HS_WE_YD_WD
if #FINDID <> X
{
msg $,waittargetobject #FindID self $
wait 1s
msg $,useskill Enticement $
wait 1s
ignoreitem #FINDID
GoTo HEALING
}
if #HITS < 60
GoSub House
GoTo HEALING
}
CORPSE:
FINDITEM YFM
if #FINDID <> X
{
if #FINDDIST < 8
{
set %corpse #FindID
set %Corpsex #FindX
set %CorpseY #FindY
move %Corpsex %CorpseY 1
FINDITEM WRH_SOH_NMH_ATF_KPH C_ , %char
if #FINDID <> X
{
set #LOBJECTID #FINDID
set #LTargetKind 1
set #LTARGETID %corpse
Event macro 17 0
target 1s
Event macro 22 0
wait 3s
set #LOBJECTID %corpse
Event Macro 17 0
wait 1s
REGI:
FINDITEM KUF_JUF_KZF_JZF_MZF_WZF_SZF_RZF_DUF_OZF_POF_OZF_LZF_DUF C_ , %corpse
if #FINDID <> X
{
msg ,grab 0 #FINDID $
wait 1s
GoTo REGI
}
ignoreitem %corpse 3
GoTo CORPSE
}
}
}
wait 3s
return