Yoko

All sides of Injection
It is currently 2025-12-10 19:30:05

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2007-12-23 19:27:56 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
Quote:
sub a()
var pk
uo.ignorereset()
uo.ignore('self')
uo.set('finddistance','10')
uo.findtype('0x0190',-1,'ground')
if uo.findcount() then
pk=uo.getserial('finditem')
uo.click(pk)
uo.print(str(uo.getnotoriety(pk)))
wait(5000)
else
uo.print('Nao funcionou')
end if
goto loop
end sub


well
i made this just to test, and it isn't returning 6. I am near a murderer (PK)
and the uo.click() function is clicking on it, so its name appears. So why
this macro shows '0' instead of '6' on the screen ? what's wrong ?

thanks


Top
   
 Post subject:
PostPosted: 2007-12-23 20:27:30 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Try to add checklag() after clicking.

_________________
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-12-23 20:38:40 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
Destruction wrote:
Try to add checklag() after clicking.


but everytime i use getnotoriety i will have to check the journal ?

edit:

anyway, adding checklag() didn't change anything...


Top
   
 Post subject:
PostPosted: 2007-12-24 00:14:09 
Offline
User avatar

Joined: 2007-11-01 19:09:30
Posts: 287
Location: Moscow
try to add bigger delay between click and uo.get, check TWI (track world items) is on

_________________
**Выставляем отступы в скриптах*** ©Destruction
Feel the Power of Dark Side


Top
   
 Post subject:
PostPosted: 2007-12-24 01:36:31 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
CuHTpoH wrote:
try to add bigger delay between click and uo.get, check TWI (track world items) is on


thank you, i don't play with track world itens on, but now the is script is working ^^

by the way, is there any command to turn TWI on/off ?
its so strange to play with that lots of zombies around... i don't like...
so if there is a command i could turn it on when using the macro then off after it finished... is there ?

thank all for helping
maybe you could try to help in my other post (no replys until today...)

see ya


Top
   
 Post subject:
PostPosted: 2007-12-24 01:50:19 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Knight1106 wrote:
CuHTpoH wrote:
try to add bigger delay between click and uo.get, check TWI (track world items) is on


thank you, i don't play with track world itens on, but now the is script is working ^^

by the way, is there any command to turn TWI on/off ?
its so strange to play with that lots of zombies around... i don't like...
so if there is a command i could turn it on when using the macro then off after it finished... is there ?

thank all for helping
maybe you could try to help in my other post (no replys until today...)

see ya

To turn TWI on/off you can use ASM.
If you not wish to see zombies - disable option "status bars fix" in Injection Main.

_________________
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-12-24 02:49:36 
Offline

Joined: 2005-09-08 18:38:12
Posts: 64
thank you very much


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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