~~Darius~~ Posted July 16, 2012 Posted July 16, 2012 I Try To Adapt it on H5 all is fine but when i make .report i no have time to write code and give me automatically jail any one can help me ? ty for answers. DP: http://pastebin.com/vSSh23b7 GS: http://pastebin.com/JDy2mtFj And Have too in warnings : Access to enclosing constructor ReportPlayer.BotCheck(L2PcInstance) is emulated by a synthetic accessor method Quote
0 ^Wyatt Posted July 16, 2012 Posted July 16, 2012 Should be better to post your modified (adapted) code since is which is giving problems in order to wait for help, not the original... Quote
0 Joκκєrino Posted July 16, 2012 Posted July 16, 2012 + ThreadPoolManager.getInstance().scheduleGeneral(new BotCheck(playerTarget), 2000); Try to change a few times (*2000 ), compile pack and try again. Quote
0 ^Wyatt Posted July 16, 2012 Posted July 16, 2012 Yep, what jokkerino said, 2000 = 2 seconds, not 20. Btw... have this patch sense? Can you spam this command to all people? And if your target is eating, afk, watching tv... will go to jail in 20 seconds coz he isn't in front of PC?... u should add some checks to use it and also reuse delay :p Quote
0 ~~Darius~~ Posted July 16, 2012 Author Posted July 16, 2012 ahh wheni writte good code im too teleported to jail ;d xP sh.t sa mby no have sense add this code xD Quote
0 Joκκєrino Posted July 16, 2012 Posted July 16, 2012 ahh wheni writte good code im too teleported to jail ;d xP sh.t sa mby no have sense add this code xD There is no sense to add this code . It's really useless . - private boolean botCheck = false; + private boolean botCheck = true; Try this . Quote
0 SkySkase Posted July 16, 2012 Posted July 16, 2012 The Code is fine just Change ThreadPoolManager.getInstance().scheduleGeneral(new BotCheck(playerTarget), ***2000***); and do it 20000 for 20 seconds. becaouse its milisecond The problem to this CODE is that you will always get message Incorect password any help? Quote
Question
~~Darius~~
I Try To Adapt it on H5 all is fine but when i make .report i no have time to write code and give me automatically jail
any one can help me ?
ty for answers.
DP:
http://pastebin.com/vSSh23b7
GS:
http://pastebin.com/JDy2mtFj
And Have too in warnings :
Access to enclosing constructor ReportPlayer.BotCheck(L2PcInstance) is emulated by a synthetic accessor method
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.