Обкопка вокруг себя, мининг.
Обкопка вокруг себя — скрипт мининга
Скрипт для автоматической обкопки руды вокруг персонажа (8 направлений). Оптимизирован для MobileUO — автоматически подбирает руду с земли, так как на смартфоне руда при выкапывании падает на пол.
Перед использованием
Замените серийник кирки
В скрипте везде замените 0x40049240 на серийник вашей кирки
Почему серийник, а не тип?
Рядом с шахтами бывают NPC с киркой или кирка на полу — клиент может схватить чужую
Схема обкопки
1
0,-1
2
1,-1
3
1,0
8
-1,-1
Вы
4
1,1
7
-1,0
6
-1,1
5
0,1
Скрипт
Важно: Замените 0x40049240 на серийник своей кирки!
Полный скрипт обкопки (8 направлений)
// === Направление 1: Север (0, -1) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset 0 -1 0
sysmsg '1'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
pause 100
// === Направление 2: Северо-восток (1, -1) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset 1 -1 0
sysmsg '2'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
pause 100
// === Направление 3: Восток (1, 0) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset 1 0 0
sysmsg '3'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
pause 100
// === Направление 4: Юго-восток (1, 1) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset 1 1 0
sysmsg '4'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
pause 100
// === Направление 5: Юг (0, 1) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset 0 1 0
sysmsg '5'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
pause 100
// === Направление 6: Юго-запад (-1, 1) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset -1 1 0
sysmsg '6'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
pause 100
// === Направление 7: Запад (-1, 0) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset -1 0 0
sysmsg '7'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
pause 100
// === Направление 8: Северо-запад (-1, -1) ===
while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
useobject 0x40049240
waitfortarget 1500
targettileoffset -1 -1 0
sysmsg '8'
pause 100
if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
pause 100
else
pause 6200
@movetype 0x19B9 'ground' 'backpack'
pause 100
@movetype 0x19BA 'ground' 'backpack'
pause 100
@movetype 0x19B7 'ground' 'backpack'
pause 100
@movetype 0x19B8 'ground' 'backpack'
endif
pause 100
endwhile
clearjournal
Типы руды (movetype)
| ID | Тип руды |
0x19B9 | Iron Ore |
0x19BA | Colored Ore |
0x19B7 | Ore (Large) |
0x19B8 | Ore (Small) |
UO Eternium Wiki · emuo.ru