Yoko

All sides of Injection
It is currently 2026-05-03 01:32:09

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2008-04-09 10:38:02 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
Простенький скрипт на перекладывание бутылок с кровью в одну точку.
Code:
Sub BloodToPoint()
var ItemID
uo.IgnoreReset()
uo.Print('В паке '+Str(uo.Count('0x0F06','0x0020'))+' крови')
repeat
   uo.FindType('0x0F06','0x0020','backpack')
   If uo.FindCount()>0 then
      uo.MoveItem('finditem',1,'backpack',50,70,0)
      ItemID=uo.GetSerial('finditem')
      wait(500)
      uo.Ignore(ItemID)
   EndIf 
until uo.FindCount()==0
end sub

При первом запуске работает. При втором на каком то моменте начинает постоянно выдавать ошибку invalid object: 0xFFFFFFFF.При попытке руками переложить бутылку из уже созданной при первом запуске кучки мгновенный краш (uo client perfomed...) В чем может быть проблема??


Top
   
 Post subject:
PostPosted: 2008-04-09 10:41:54 
Offline
User avatar

Joined: 2005-04-04 18:23:12
Posts: 187
uo.massmove ? :roll:


Top
   
 Post subject:
PostPosted: 2008-04-09 11:37:19 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
Э т не наши методы:)


Top
   
 Post subject:
PostPosted: 2008-04-09 11:46:25 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
Проблема решена.


Top
   
 Post subject:
PostPosted: 2008-05-02 20:02:13 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
Всё таки я поторопился.Проблема нифика не решена...При второй попытке запуска скрипта в какой то момент перекладывание прекращается и вылезает ошибка invalid object: 0xFFFFFFFF.При попытке руками переложить бутылку,на которой ошибка, происходит краш клиента.


Top
   
 Post subject:
PostPosted: 2008-05-02 20:11:49 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
viewtopic.php?t=11954

Глядишь поможет чем..

_________________
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: 2008-05-02 22:29:58 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
кроме как снизить оверклокинг ниче не увидел :roll:


Top
   
 Post subject:
PostPosted: 2008-05-02 23:55:55 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Значит плохо читаешь... Попробуй так:

Code:
Sub BloodToPoint()
var ItemID
uo.IgnoreReset()
uo.Print('В паке '+Str(uo.Count('0x0F06','0x0020'))+' крови')
repeat
   uo.FindType('0x0F06','0x0020','backpack')
   If uo.FindCount()>0 then
      uo.MoveItem('finditem',1,'backpack',50,70,0)
      checklag()
      uo.Ignore("finditem")
   EndIf
until uo.FindCount()==0
end sub

_________________
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: 2008-05-03 08:55:23 
Offline

Joined: 2006-11-25 17:44:44
Posts: 258
Ты под грина косишь, загадками пописывая? :roll: В факе акцентрируй внимание на том, что СРАЗУ нельзя игнорить и как вариант предложи между мувом и игнором использовать чеклаг. Так будет понятнее...Пока тестируемс...


Top
   
 Post subject:
PostPosted: 2008-05-03 14:17:55 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
grundick wrote:
Ты под грина косишь, загадками пописывая? :roll: В факе акцентрируй внимание на том, что СРАЗУ нельзя игнорить и как вариант предложи между мувом и игнором использовать чеклаг. Так будет понятнее...Пока тестируемс...

Скорее Grin под меня косит ;)

_________________
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
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 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:  
Powered by phpBB® Forum Software © phpBB Limited