Навигация

   MobileUO

Обкопка вокруг себя, мининг.

  • Просмотры Просмотры: 153
  • Последнее обновление Последнее обновление:
  • Скрипт для обкопки вокруг себя. В связи с тем, что при мининге со смартфона руда при выкапывания падает на землю, скрипт автоматически её со временем поднимает.
    В скрипте надо везде поменять серийник кирки на ваш вот в таких строчках: useobject 0x40049240. В скрипте встречается много раз, меняем везде. Узнать серийник кирки можно с помощью object inspector. Не делал по типу кирки, потому что где-то рядом с шахтами есть нпс с киркой или кирка на полу приложена и клиент не всегда пытается использовать из пака персонажа кирку.

    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
    pause 100
    //usetype 0x0E85
    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'
    // or 'You have no line' 'system'
    pause 100
    else
    pause 6200
    //playmacro 'waitmine'
    @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
    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
    pause 100
    //usetype 0x0E85
    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'
    //or 'You have no line' 'system'
    pause 100
    else
    pause 6200
    //playmacro 'waitmine'
    @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
    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
    pause 100
    //usetype 0x0E85
    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'
    //or 'You have no line' 'system'
    pause 100
    else
    pause 6200
    //playmacro 'waitmine'
    @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
    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
    pause 100
    //usetype 0x0E85
    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
    //playmacro 'waitmine'
    @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
    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
    pause 100
    //usetype 0x0E85
    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'
    //or injournal 'You have no line' 'system'
    pause 100
    else
    pause 6200
    //playmacro 'waitmine'
    @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
    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system'
    //or injournal 'You have no' 'system'
    pause 100
    //usetype 0x0E85
    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'
    //or injournal 'You have no line' 'system'
    pause 100
    else
    pause 6200
    //playmacro 'waitmine'
    @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
    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system' or injournal 'You have no' 'system'
    pause 100
    //usetype 0x0E85
    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'
    //or injournal 'You have no line' 'system'
    pause 100
    else
    pause 6200
    //playmacro 'waitmine'
    @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
    while not @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system' or @injournal 'You have no line' 'system'
    pause 100
    //usetype 0x0E85
    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'
    //or injournal 'You have no line' '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
    pause 100
    if @injournal 'There is nothing' 'system' or @injournal 'You can't reach' 'system' or @injournal 'You have no' 'system'
    pause 100
    for 4
    @movetype 0x19B9 'ground' 'backpack'
    pause 100
    @movetype 0x19BA 'ground' 'backpack'
    pause 100
    @movetype 0x19B7 'ground' 'backpack'
    pause 100
    @movetype 0x19B8 'ground' 'backpack'
    endfor
    endif
    clearjournal
    endif