Yoko

All sides of Injection
It is currently 2025-11-11 17:10:35

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2006-06-09 11:00:24 
Offline

Joined: 2006-05-22 18:11:32
Posts: 26
Обьясните пожалуйста как мне перелаживать вещи в другой контейнер...Не кидать а именно перелаживать...Перетаскивать...что б в кучи не ложились...

Вот не работает у меня скрипт нифига...
Code:
sub automove() 
var t, n, j
   UO.AddObject("bag")
   repeat
      wait(1000)
   until NOT UO.Targeting()

   if UO.GetSerial("bag") == 0 then
      UO.Print("ERORR")
      return 0
   endif
Dim A[2]
A[0] = 0x0F95
A[1] = 0x0F96
A[2] = 0x0F97

####o2#####
repeat
for n=0 to 2
uo.findtype(A[n])
if uo.findcount() then
j=uo.random(20)*3
t=505+j
UO.Moveitem('finditem','all','bag',150 0 0)
uo.print('wait '+str(t))
wait(t)

end if
next

until UO.Dead()
end sub


Top
   
 Post subject:
PostPosted: 2006-06-09 14:14:07 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub rasklad1() 
   VAR i,Exit

   DIM Yeah[11]

       Yeah[0]=0x0F7B
       Yeah[1]=0x0F86
       Yeah[2]=0x0F7A
       Yeah[3]=0x0F88     
       Yeah[4]=0x0F8C
       Yeah[5]=0x0F8D
       Yeah[6]=0x0F84
       Yeah[7]=0x0EED
       Yeah[8]=0x0E9B
       Yeah[9]=0x176B
       Yeah[10]=0x0F85

for i = 0 to 10
  uo.findtype(Yeah[i],-1,'backpack')
  while uo.findcount() > 0
    uo.findtype(Yeah[i],-1,'backpack')
    uo.moveitem('finditem',-1,'backpack',44,132,0)
    uo.ignore('finditem')
    wait(500)
  wend
  uo.ignorereset()
next
endsub


Думаю это тебе кое что разъяснит. В мув айтим в конце указываешь координаты точки в контейнере в которую будешь складывать те или иные вещи.


Top
   
 Post subject:
PostPosted: 2006-06-11 13:39:10 
Offline

Joined: 2006-05-22 18:11:32
Posts: 26
Спасибо. А ты не подскажешь как координаты в паке узнать?


Top
   
 Post subject:
PostPosted: 2006-06-11 13:46:21 
Offline

Joined: 2005-06-12 22:12:15
Posts: 247
koordinaty neobhodimo ukazyvat' otnositeljno levogo verhnego ugla backpacka..


Top
   
 Post subject:
PostPosted: 2006-06-11 14:10:22 
Offline

Joined: 2006-05-22 18:11:32
Posts: 26
делает один цикл а потом выбивает с ошибкой
runtime Error line отета:)
Code:
  uo.findtype(Yeah[i],-1,'backpack') 
 


Top
   
 Post subject:
PostPosted: 2006-06-11 14:10:39 
Offline

Joined: 2006-05-22 18:11:32
Posts: 26
dmitrykit wrote:
koordinaty neobhodimo ukazyvat' otnositeljno levogo verhnego ugla backpacka..


Спасибо


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited