Yoko

All sides of Injection
It is currently 2025-11-09 23:06:40

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2007-05-25 11:19:01 
Offline

Joined: 2007-04-14 16:11:34
Posts: 52
Location: Москоу
суть проблемы. на моём шарде (ДРВ) при луте с земли из хайда
часть вещей остаётся на полу некоторое время, ресенд не помогает, поднять их естественно нельзя. тоесть когда лутают несколько человек стандартные луталки клинят на таких объектах.

Code:
sub groundloot(item,color)  
UO.FindType(item,color,"ground") 
while UO.FindCount()>0   
UO.Grab("0","finditem")   
wait(300)
uo.ignore('finditem','on') 
UO.FindType(item,color,"ground")   
wend   
uo.ignorereset()
end sub


вроде бы выход, но) игноррезет не спасает. если скрипт прячет вещь будь то пуха или бандажка, то даже после резета инжа не видит вещь.

я попробовал найти выход (не бейте сильно, я тока учусь)

Code:
 sub groundloot(item,color)
var lootvar1=uo.GetSerial('loot1')
var lootvar2=uo.GetSerial('loot2')
var lootvar3=uo.GetSerial('self')
UO.FindType(item,color,"ground")
  uo.addobject('loot1','finditem')
  uo.saveconfig()
  while UO.FindCount()>0 and lootvar1 <> lootvar2
  UO.Grab("0","finditem")
  wait(450)
  UO.FindType(item,color,"ground")
  lootvar2=lootvar3
  uo.saveconfig()
  uo.addobject('loot2','finditem')
  uo.saveconfig()
  wend
end sub

но как вы поняли из моей затеи ничего не вышло, вот решил обратиться сюда, может кто-нить поможет.


Top
   
 Post subject:
PostPosted: 2007-05-25 18:59:00 
Offline

Joined: 2005-01-06 11:49:28
Posts: 205
мммм... разумеется у тебя ничего не вышло... ты сначала обьявляешь переменную, приравниваешь ей гетсериал от лут1, причём ты сначала обьявляешь переменную а только потом задаёшь обьект лут 1


Top
   
 Post subject:
PostPosted: 2007-05-26 18:44:54 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Первый скрипт может ещё и к крашу привести..

Я в Request отписывался.

_________________
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: 2007-06-02 23:04:55 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
после игноререзет нужен ресенд


Top
   
 Post subject:
PostPosted: 2007-06-24 03:02:57 
Offline

Joined: 2007-04-14 16:11:34
Posts: 52
Location: Москоу
Code:
sub groundloot(item,color)  
UO.FindType(item,color,"ground") 
while UO.FindCount()>0   
UO.Grab("0","finditem")   
wait(300)
uo.ignore('finditem','on') 
UO.FindType(item,color,"ground")   
wend   
uo.ignorereset()
uo.resend()
end sub


спасибо Ёко, с ресендом не возникает проблем, работает 100 из 100.


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: Bing [Bot] and 3 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