Yoko

All sides of Injection
It is currently 2025-12-20 11:50:02

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2004-04-27 19:06:34 
Offline

Joined: 2004-04-25 23:23:27
Posts: 35
sub trash()
while true
uo.findtype("0x0F51","-1","my")
uo.waittargetobject("0x41CB2AA6")
wait(100)
uo.usetype("0x0F51")
wait(300)
wend
end sub

простенький скрипт на трэшь но почему то не пашет!!!


Top
   
 Post subject:
PostPosted: 2004-04-27 20:17:30 
Offline
Expert!
User avatar

Joined: 2004-04-04 11:13:54
Posts: 1205
Location: Балаково, Саратовская обл.
А что он делать то должен?


Top
   
 Post subject:
PostPosted: 2004-04-28 00:29:25 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
sub trash()
while true
uo.findtype("0x0F51","-1","my")
uo.waittargetobject("0x41CB2AA6")
wait(100)
uo.usetype("0x0F51")
wait(300)
wend
end sub

попробуй uo.findtype("0x0F51") - без дополнительных параметров
попробуй перед началом трэшенья найти по типу около себя трэшку ( а не задавать её серийник напрямую в скрипте)
whil true - неверно, лучше сделать while uo.findcount() - и в конце каждого цикла делать uo.findtype("0x0F51") (один раз сделать перед циклом)

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


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