Originally posted by StSanta:
Besides, what happens if axis variable is 100, then 2 logs out? Ya get a NullPointerException (http://bbs.hitechcreations.com/smf/Smileys/default/biggrin.gif)
That class has a check for NO_ACTIVE (http://bbs.hitechcreations.com/smf/Smileys/default/wink.gif) So it is only performance problem, not a crash.
Originally posted by StSanta:
And I never bail, so yer if statement will never be executed (http://bbs.hitechcreations.com/smf/Smileys/default/biggrin.gif)
Hmmm. I think I need to change code then a bit:
if (base.CheckForPlayerOnline ("StSanta"))
{
action.kickoutofplane ("StSanta");
action.openhischute ();
action.kill (StSanta);
action.squelch (1, "StSanta");
action.getoffline ();
if (check.gun ())
{
action.waitfor ("StSanta");
}
else
{
action.hidehidehide ();
}
} //if CheckForStSanta
(http://bbs.hitechcreations.com/smf/Smileys/default/wink.gif)