Yoko

All sides of Injection
It is currently 2025-12-27 20:46:37

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: скупка
PostPosted: 2005-05-04 14:54:46 
Offline
User avatar

Joined: 2005-01-23 17:42:03
Posts: 70
помагите плиз вставить сюда проверку на вес и рекол с выкладкой тавара в сёйф при достижения определённого веса


Code:

sub max()
     VAR RespDelay=1120000
   UO.Set('buydelay','3500')
   UO.Set('injectecho','1')

   While 1==1
      UO.DeleteJournal()
      UO.Buy('bb')
      Repeat
         UO.Exec('warmode 0')
         UO.Exec('warmode 0')
         UO.UseSkill('Hiding')
         wait(4000)
      Until UO.Hidden()
      IF UO.InJournal("No item") Then
         UO.Print("OOpS!")
         wait(20000)
      Else
         wait(RespDelay)
      EndIf
   Wend
end sub



Top
   
 Post subject:
PostPosted: 2005-05-04 15:16:07 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Ну, как описал проблему - таков тебе и ответ:

Дописываешь в любое место:
if uo.Weight > XXX then
:recall
uo.recall(...)
uo.deletejournal()
repeat
wait(500)
if uo.injournal(ФИЗЛ) then
goto recall
endif
until uo.getx()==XXX && uo.gety()==XXX
repeat
uo.findtype(тип)
uo.drophere('finditem')
until uo.count(тип)==0

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2005-05-04 17:01:59 
Offline
User avatar

Joined: 2005-01-23 17:42:03
Posts: 70
Destruction wrote:
Ну, как описал проблему - таков тебе и ответ:

Дописываешь в любое место:
if uo.Weight > XXX then
:recall
uo.recall(...)
uo.deletejournal()
repeat
wait(500)
if uo.injournal(ФИЗЛ) then
goto recall
endif
until uo.getx()==XXX && uo.gety()==XXX
repeat
uo.findtype(тип)
uo.drophere('finditem')
until uo.count(тип)==0




это по руно буку? можно зделать чтоб он ещё и возвращался и запускал занова по кругу


Top
   
 Post subject:
PostPosted: 2005-05-04 19:40:39 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
:theMetka
тут скрипт
if uo.Weight > XXX then
:recall
uo.recall(...)
uo.deletejournal()
repeat
wait(500)
if uo.injournal(ФИЗЛ) then
goto recall
endif
until uo.getx()==XXX && uo.gety()==XXX
repeat
uo.findtype(тип)
uo.drophere('finditem')
until uo.count(тип)==0
uo.recall(...)
goto theMetka

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2005-05-04 20:09:57 
Offline
User avatar

Joined: 2005-01-23 17:42:03
Posts: 70
Code:
sub theMetka 
sub max()
     VAR RespDelay=1120000
   UO.Set('buydelay','3500')
   UO.Set('injectecho','1')

   While 1==1
      UO.DeleteJournal()
      UO.Buy('bb')
      Repeat
if uo.Weight > 650 then
uo.recall(...)
uo.deletejournal()
repeat
wait(500)
if uo.injournal(ФИЗЛ) then
goto recall
endif
until uo.getx()==2822 && uo.gety()==667
repeat
uo.findtype(тип)
uo.drophere('finditem')
until uo.count(тип)==0
uo.recall(...)
goto theMetka
UO.Exec('warmode 0')
UO.Exec('warmode 0')
UO.UseSkill('Hiding')
wait(4000)
 Until UO.Hidden()
 IF UO.InJournal("No item") Then
 UO.Print("OOpS!")
  wait(20000)
      Else
         wait(RespDelay)
      EndIf
   Wend
end sub
end sub




похоже?


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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:  
Powered by phpBB® Forum Software © phpBB Limited