Не могу разобраться

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Sikel
Posts: 18
Joined: 2007-10-31 07:25:33

Не могу разобраться

Post by Sikel »

В этом скрипте, после того как запустилась хоидилка и чар пришел куда надо, он неичего не делает, а по идее должен заного делать sbor:

Code: Select all

Sub sbor()
var q=0
var dx, dy


sbor:

uo.set('finddistance','3')
   uo.findtype('0x0C4F', -1 ,'ground')
    If Uo.FindCount () then
    if uo.weight > uo.str*4 then
     return
    endif
     UO.Useobject('finditem')
     wait(200)
     q=q+1
     UO.Ignore('finditem')
     goto sbor
   endif
    uo.set('finddistance','10')
    uo.findtype('0x0C4F', -1 ,'ground')
     if uo.FindCount() then
       dx=uo.getX('finditem')
       dy=uo.getY('finditem')
       walker(dx, dy, 1)
       goto sbor 
     endif

 if q then
UO.Print(' ... ')
else
UO.Print(' ... ')
endif
uo.print(' Go Home ...')
end sub
Last edited by Sikel on 2007-11-02 09:28:47, edited 1 time in total.
$keR
Posts: 185
Joined: 2006-05-25 23:02:02
Location: Uoo

Post by $keR »

выложи весь скрипт, надо все смотреть или в лс кинь
kak to tak
Sikel
Posts: 18
Joined: 2007-10-31 07:25:33

Post by Sikel »

Все разобрался сори )
Post Reply