| Yoko http://forum.yoko.com.ua/ |
|
| getNotoriety not returning http://forum.yoko.com.ua/viewtopic.php?f=3&t=12949 |
Page 1 of 1 |
| Author: | Knight1106 [ 2007-12-23 19:27:56 ] |
| Post subject: | getNotoriety not returning |
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 |
|
| Author: | Destruction [ 2007-12-23 20:27:30 ] |
| Post subject: | |
Try to add checklag() after clicking. |
|
| Author: | Knight1106 [ 2007-12-23 20:38:40 ] |
| Post subject: | |
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... |
|
| Author: | CuHTpoH [ 2007-12-24 00:14:09 ] |
| Post subject: | |
try to add bigger delay between click and uo.get, check TWI (track world items) is on |
|
| Author: | Knight1106 [ 2007-12-24 01:36:31 ] |
| Post subject: | |
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 |
|
| Author: | Destruction [ 2007-12-24 01:50:19 ] |
| Post subject: | |
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. |
|
| Author: | Knight1106 [ 2007-12-24 02:49:36 ] |
| Post subject: | |
thank you very much |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|