Yoko

All sides of Injection
It is currently 2024-04-19 14:19:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: uo.drop help!!!
PostPosted: 2015-09-02 10:18:25 
Offline
User avatar

Joined: 2014-07-08 10:48:50
Posts: 15
uo.drop How to write, put them on the table.


Attachments:
QQ截图20150902161625.png
QQ截图20150902161625.png [ 81.64 KiB | Viewed 1357 times ]
Top
   
 Post subject: Re: uo.drop help!!!
PostPosted: 2015-09-02 11:41:25 
Offline
User avatar

Joined: 2014-07-08 10:48:50
Posts: 15
I can put myself in this way, a small part of the two how to write it? Thank you

Code:
sub zuozi() #一键原地放桌子
   UO.FindType ('0x0B3c',-1,'xiaobao')
   if ( UO.FindCount() > 0 ) then
      UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self'),UO.GetZ('self'))
      wait(250)
   else
      UO.FindType ('0x0B3A',-1,'xiaobao')
      if ( UO.FindCount() > 0 ) then
         UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self'),UO.GetZ('self'))
         wait(250)
      else
         UO.FindType ('0x0B36',-1,'xiaobao')
         if ( UO.FindCount() > 0 ) then
            UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self'),UO.GetZ('self'))
            wait(250)
         else
            UO.FindType ('0x0B35',-1,'xiaobao')
            if ( UO.FindCount() > 0 ) then
               UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self'),UO.GetZ('self'))
               wait(250)
            else
               UO.FindType ('0x0B34',-1,'xiaobao')
               if ( UO.FindCount() > 0 ) then
                  UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self'),UO.GetZ('self'))
                  wait(250)
               endif
            endif
         endif
      endif
   end if
   
   UO.FindType ('0x0B3c',-1,'xiaobao')
   if ( UO.FindCount() > 0 ) then
      UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self')-1,UO.GetZ('self'))
      wait(250)
   else
      UO.FindType ('0x0B3A',-1,'xiaobao')
      if ( UO.FindCount() > 0 ) then
         UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self')-1,UO.GetZ('self'))
         wait(250)
      else
         UO.FindType ('0x0B36',-1,'xiaobao')
         if ( UO.FindCount() > 0 ) then
            UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self')-1,UO.GetZ('self'))
            wait(250)
         else
            UO.FindType ('0x0B35',-1,'xiaobao')
            if ( UO.FindCount() > 0 ) then
               UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self')-1,UO.GetZ('self'))
               wait(250)
            else
               UO.FindType ('0x0B34',-1,'xiaobao')
               if ( UO.FindCount() > 0 ) then
                  UO.MoveItem('finditem','1','ground',UO.GetX('self')-1,UO.GetY('self')-1,UO.GetZ('self'))
                  wait(250)
               endif
            endif
         endif
      endif
   end if
   
   
   UO.FindType ('0x0B3c',-1,'xiaobao')
   if ( UO.FindCount() > 0 ) then
      UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')-1,UO.GetZ('self'))
      wait(250)
   else
      UO.FindType ('0x0B3A',-1,'xiaobao')
      if ( UO.FindCount() > 0 ) then
         UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')-1,UO.GetZ('self'))
         wait(250)
      else
         UO.FindType ('0x0B36',-1,'xiaobao')
         if ( UO.FindCount() > 0 ) then
            UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')-1,UO.GetZ('self'))
            wait(250)
         else
            UO.FindType ('0x0B35',-1,'xiaobao')
            if ( UO.FindCount() > 0 ) then
               UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')-1,UO.GetZ('self'))
               wait(250)
            else
               UO.FindType ('0x0B34',-1,'xiaobao')
               if ( UO.FindCount() > 0 ) then
                  UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')-1,UO.GetZ('self'))
                  wait(250)
               endif
            endif
         endif
      endif
   end if
   
   UO.FindType ('0x0B3c',-1,'xiaobao')
   if ( UO.FindCount() > 0 ) then
      UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')+1,UO.GetZ('self'))
      wait(250)
   else
      UO.FindType ('0x0B3A',-1,'xiaobao')
      if ( UO.FindCount() > 0 ) then
         UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')+1,UO.GetZ('self'))
         wait(250)
      else
         UO.FindType ('0x0B36',-1,'xiaobao')
         if ( UO.FindCount() > 0 ) then
            UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')+1,UO.GetZ('self'))
            wait(250)
         else
            UO.FindType ('0x0B35',-1,'xiaobao')
            if ( UO.FindCount() > 0 ) then
               UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')+1,UO.GetZ('self'))
               wait(250)
            else
               UO.FindType ('0x0B34',-1,'xiaobao')
               if ( UO.FindCount() > 0 ) then
                  UO.MoveItem('finditem','1','ground',UO.GetX('self'),UO.GetY('self')+1,UO.GetZ('self'))
                  wait(250)
               endif
            endif
         endif
      endif
   end if
   
   UO.FindType ('0x0B3c',-1,'xiaobao')
   if ( UO.FindCount() > 0 ) then
      UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self'),UO.GetZ('self'))
      wait(250)
   else
      UO.FindType ('0x0B3A',-1,'xiaobao')
      if ( UO.FindCount() > 0 ) then
         UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self'),UO.GetZ('self'))
         wait(250)
      else
         UO.FindType ('0x0B36',-1,'xiaobao')
         if ( UO.FindCount() > 0 ) then
            UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self'),UO.GetZ('self'))
            wait(250)
         else
            UO.FindType ('0x0B35',-1,'xiaobao')
            if ( UO.FindCount() > 0 ) then
               UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self'),UO.GetZ('self'))
               wait(250)
            else
               UO.FindType ('0x0B34',-1,'xiaobao')
               if ( UO.FindCount() > 0 ) then
                  UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self'),UO.GetZ('self'))
                  wait(250)
               endif
            endif
         endif
      endif
   end if
   
   UO.FindType ('0x0B3c',-1,'xiaobao')
   if ( UO.FindCount() > 0 ) then
      UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self')+1,UO.GetZ('self'))
      wait(250)
   else
      UO.FindType ('0x0B3A',-1,'xiaobao')
      if ( UO.FindCount() > 0 ) then
         UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self')+1,UO.GetZ('self'))
         wait(250)
      else
         UO.FindType ('0x0B36',-1,'xiaobao')
         if ( UO.FindCount() > 0 ) then
            UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self')+1,UO.GetZ('self'))
            wait(250)
         else
            UO.FindType ('0x0B35',-1,'xiaobao')
            if ( UO.FindCount() > 0 ) then
               UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self')+1,UO.GetZ('self'))
               wait(250)
            else
               UO.FindType ('0x0B34',-1,'xiaobao')
               if ( UO.FindCount() > 0 ) then
                  UO.MoveItem('finditem','1','ground',UO.GetX('self')+1,UO.GetY('self')+1,UO.GetZ('self'))
                  wait(250)
               endif
            endif
         endif
      endif
   end if
   
end sub




Attachments:
abc.png
abc.png [ 54.03 KiB | Viewed 1353 times ]
Top
   
 Post subject: Re: uo.drop help!!!
PostPosted: 2015-09-04 12:13:29 
Offline
User avatar

Joined: 2015-07-20 15:00:23
Posts: 10
try this
Code:
UO.MoveItem( 'finditem', 0, 'tableID', x, y, z)
or whitout x,y,z


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 20 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