Yoko

All sides of Injection
It is currently 2025-12-22 01:41:21

All times are UTC+02:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: 2006-04-14 23:04:03 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
вобщем есть скрипт который должен в TextOpen окно вписывать типы всех найденных в паке предметов..
Code:
sub items()
uo.ignorereset()
var exit=0
repeat
uo.findtype(-1,-1,'backpack')
if uo.findcount()>0 then
uo.click('finditem')
uo.ignore('finditem')
UO.TextOpen()
wait(100)
UO.TextPrint("uo.ignore('"+uo.getserial('finditem')+"')"+" #"+uo.getname('finditem'))
else
exit=1
end if
until uo.dead() or exit==1
end sub

но он зараза вписывает вот так:
Code:
uo.ignore( 0x400F90AF') #3 jars of honey' 

как видите такие ' кавычки сдвинуты - должно быть вот так:
Code:
uo.ignore('0x400F90AF') #3 jars of honey

:(


Top
   
 Post subject:
PostPosted: 2006-04-15 02:59:24 
Offline

Joined: 2004-07-14 22:56:46
Posts: 82
Location: Украина, Одесса
UO.TextPrint(" uo.ignore(' " +uo.getserial('finditem')+ "') #" +uo.getname('finditem'))


Top
   
 Post subject:
PostPosted: 2006-04-15 19:20:50 
Offline
Expert!
User avatar

Joined: 2005-05-20 20:30:10
Posts: 548
не.. нифига :( та же фигня :(


Top
   
 Post subject:
PostPosted: 2006-04-15 20:26:14 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
интересная бага;) даже chr не помог;)))


Top
   
PostPosted: 2006-04-15 21:08:50 
Offline

Joined: 2006-04-15 09:00:35
Posts: 93
Mihail wrote:
вобщем есть скрипт который должен в TextOpen окно вписывать типы всех найденных в паке предметов..
Code:
sub items()
uo.ignorereset()
var exit=0
repeat
uo.findtype(-1,-1,'backpack')
if uo.findcount()>0 then
uo.click('finditem')
uo.ignore('finditem')
UO.TextOpen()
wait(100)
UO.TextPrint("uo.ignore('"+uo.getserial('finditem')+"')"+" #"+uo.getname('finditem'))
else
exit=1
end if
until uo.dead() or exit==1
end sub



А я сделал, а я сделал :D

Code:
sub items()
uo.ignorereset()
var exit=0
var ser, name
repeat
uo.findtype(-1,-1,'backpack')
if uo.findcount()>0 then
uo.click('finditem')
;uo.ignore('finditem')
UO.TextOpen()
wait(100)
ser=uo.getserial('finditem')
name=uo.getname('finditem')
UO.TextPrint('uo.ignore("'+ser+'")'+" #"+name)
else
exit=1
end if
until uo.dead() or exit==1
end sub


Top
   
 Post subject:
PostPosted: 2006-04-15 23:37:43 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
с одинарными сделай...


Top
   
 Post subject:
PostPosted: 2006-04-16 08:52:56 
Offline

Joined: 2006-04-15 09:00:35
Posts: 93
Grin wrote:
с одинарными сделай...


а какая разница? :?


Top
   
 Post subject:
PostPosted: 2006-04-16 12:27:09 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
для тебя нету а для инжекта есть;)


Top
   
 Post subject:
PostPosted: 2006-04-16 16:46:14 
Offline

Joined: 2006-04-15 09:00:35
Posts: 93
Grin wrote:
для тебя нету а для инжекта есть;)


Объясни какая?


Top
   
 Post subject:
PostPosted: 2006-04-16 17:13:18 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Я на инжект похож?


Top
   
 Post subject:
PostPosted: 2006-04-16 17:16:31 
Offline

Joined: 2006-04-15 09:00:35
Posts: 93
Grin wrote:
Я на инжект похож?


Нет, ну ты говоришь, как будто, если скобки не ', а " то работать не будет, уж признай что у меня получилось а у тебя нет :D :D :lol:


Top
   
 Post subject:
PostPosted: 2006-04-16 17:27:52 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
;))) ты зделай с ' и успокойся;)


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 8 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