[HELP] Thread.sleep(5000);
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- plim
- Posts: 226
- Joined: Mon Sep 01, 2008 3:39 pm
- Location: Catalunya, Barcelona
- valdaron
- Posts: 199
- Joined: Mon Apr 18, 2011 3:11 pm
- Location: Poland
Re: [HELP] Thread.sleep(5000);
private CreatureSay _packet; Here _packet is never read locally...
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: [HELP] Thread.sleep(5000);
That's why I said... the method returns a boolean, until the answer is given, nothing else happens (and it is only reasonable, otherwise stuff might break/exploits may occur). If it was a void it wouldn't care because it would just call the bypass and do the next thing, but bypasses must give an answer before continuing.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- plim
- Posts: 226
- Joined: Mon Sep 01, 2008 3:39 pm
- Location: Catalunya, Barcelona
Re: [HELP] Thread.sleep(5000);
Seriously? OMG! So delete it. I'm sorry but, if you don't have Java knowledge you should start with something easier first... This is just a warning because I finally didn't used these variable. Instead of being thankful of someone trying to help... -.-valdaron wrote:private CreatureSay _packet; Here _packet is never read locally...
And yeah, I don't know where are you using this bypass method but you should return true after succeed in sending the packets.
I've updated the pastebin, last time I do it. You must figure out by yourself the rest of it.
- valdaron
- Posts: 199
- Joined: Mon Apr 18, 2011 3:11 pm
- Location: Poland
Re: [HELP] Thread.sleep(5000);
Easy boy... (or girl)
Nobody is born an expert in java.
I appreciate your help and thank you very much for your time, but as a beginner I need more time to analyze the code.
Regards.
Nobody is born an expert in java.
I appreciate your help and thank you very much for your time, but as a beginner I need more time to analyze the code.
Regards.
- plim
- Posts: 226
- Joined: Mon Sep 01, 2008 3:39 pm
- Location: Catalunya, Barcelona
Re: [HELP] Thread.sleep(5000);
Girl, yes. So test it, you'll see it works fine
PD: sorry for being rude.

PD: sorry for being rude.