Yoko

All sides of Injection
It is currently 2025-12-25 01:27:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2005-02-26 20:04:14 
Offline
User avatar

Joined: 2004-10-13 15:08:08
Posts: 147
вобщем у меня есть два скрипта, мне нужно что бы первый скрипт кидал на нпц денгу а второй скрипт воровал ее. вобщем вот эти скрипты. помогите пожалуста их соеденить.
1.кидание
2.воровтсво

Code:
sub main() 
 while true
  uo.findtype('0x0EED',-1,'backpack')
  uo.moveitem('finditem','1','0x002A101E')
  wait(3000)
 wend
wait(3000)
end sub


Code:
sub main()
  WHILE not UO.dead()
  UO.Exec("waittargetobject 0x40387873")
  UO.Exec("useskill 'Stealing'")
  wait(3000)
  wend
end sub


заранее благодарю.

_________________
maxim viktorovich


Last edited by maximka4 on 2005-02-27 17:13:25, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2005-02-26 21:22:17 
Offline
User avatar

Joined: 2004-11-07 01:22:35
Posts: 291
Location: Черкассы
А слабо оба сразу запустить???
:D :lol:


Top
   
 Post subject:
PostPosted: 2005-02-27 09:49:04 
Offline
User avatar

Joined: 2004-10-13 15:08:08
Posts: 147
Goggy wrote:
А слабо оба сразу запустить???
:D :lol:
вобще-то не слабо, но получиться полная чюшь. пожалуста люди хелп, соедените.

_________________
maxim viktorovich


Top
   
 Post subject:
PostPosted: 2005-02-27 20:37:22 
Offline

Joined: 2005-02-07 19:28:26
Posts: 37
Code:
sub Stealing() 
  while not UO.Dead()
    UO.FindType('0x0EED',-1,'backpack')
    while UO.FindCount() > 0
      UO.MoveItem('finditem','1','x55533049')
      wait(1000)
      UO.FindType('0x0EED',-1,'backpack')
    wend
    UO.FindType('0x0EED',-1,'0x558CAA37')
    while UO.FindCount() > 0 
      UO.WaitTargetObject('finditem')
      UO.UseSkill('Stealing')
      wait(5000)
      UO.FindType('0x0EED',-1,'0x558CAA37')
    wend
  wend
end sub


Там где wait(1000) Это твои wait(3000) - Поправь просто мне 1000 хватило милисекунд
И второе я потестировал просто с сумочкой, получается, что он складиывает все золото в кучку, а хотелось наверно чтоб по одной монетке?


Top
   
 Post subject:
PostPosted: 2005-03-05 12:37:08 
Offline
User avatar

Joined: 2004-10-13 15:08:08
Posts: 147
VlastV wrote:
Code:
sub Stealing() 
  while not UO.Dead()
    UO.FindType('0x0EED',-1,'backpack')
    while UO.FindCount() > 0
      UO.MoveItem('finditem','1','0x55533049')
      wait(1000)
      UO.FindType('0x0EED',-1,'backpack')
    wend
    UO.FindType('0x0EED',-1,'0x558CAA37')
    while UO.FindCount() > 0 
      UO.WaitTargetObject('finditem')
      UO.UseSkill('Stealing')
      wait(5000)
      UO.FindType('0x0EED',-1,'0x558CAA37')
    wend
  wend
end sub


Там где wait(1000) Это твои wait(3000) - Поправь просто мне 1000 хватило милисекунд
И второе я потестировал просто с сумочкой, получается, что он складиывает все золото в кучку, а хотелось наверно чтоб по одной монетке?
а у вас он работает? а то у меня пишет items found:0 , а нашет кучки денег, я просто кидаю на него одну монетку и тащю ее, и так по кругу.

_________________
maxim viktorovich


Top
   
 Post subject:
PostPosted: 2005-03-13 21:47:36 
Offline
User avatar

Joined: 2004-10-13 15:08:08
Posts: 147
помогите пожалуста, у меня что не так.

_________________
maxim viktorovich


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 10 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