Yoko
http://forum.yoko.com.ua/

Не могу разобраться
http://forum.yoko.com.ua/viewtopic.php?f=3&t=12705
Page 1 of 1

Author:  Sikel [ 2007-11-02 08:49:01 ]
Post subject:  Не могу разобраться

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

Code:
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

Author:  $keR [ 2007-11-02 09:02:09 ]
Post subject: 

выложи весь скрипт, надо все смотреть или в лс кинь

Author:  Sikel [ 2007-11-02 09:27:31 ]
Post subject: 

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/