Page 2 of 2

Re: [HELP] Thread.sleep(5000);

Posted: Wed Apr 27, 2011 1:43 pm
by plim

Re: [HELP] Thread.sleep(5000);

Posted: Wed Apr 27, 2011 1:48 pm
by valdaron
private CreatureSay _packet; Here _packet is never read locally...

Re: [HELP] Thread.sleep(5000);

Posted: Wed Apr 27, 2011 1:53 pm
by jurchiks
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.

Re: [HELP] Thread.sleep(5000);

Posted: Thu Apr 28, 2011 7:49 am
by plim
valdaron wrote:private CreatureSay _packet; Here _packet is never read locally...
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... -.-

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.

Re: [HELP] Thread.sleep(5000);

Posted: Thu Apr 28, 2011 9:15 am
by valdaron
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.

Re: [HELP] Thread.sleep(5000);

Posted: Thu Apr 28, 2011 9:23 am
by plim
Girl, yes. So test it, you'll see it works fine :wink:

PD: sorry for being rude.