Nik Posted October 6, 2009 Posted October 6, 2009 i can just say that there are loads of useless checks, and the useful is missing... if (activeChar.isParalyzed() || activeChar.isRooted() || activeChar.isDead() || activeChar.isAlikeDead() || activeChar.isConfused() || activeChar.isBetrayed() || activeChar.isFakeDeath() || activeChar.isFlying() || activeChar.isMounted() || activeChar.isInDuel() || activeChar.isInOlympiadMode() || activeChar.inObserverMode() || activeChar.isInJail()) In red are the totally useless checks, and in yellow are checks that arent so useless but still... The useful check is isInCombat... activeChar.isInDuel()... doesnt make any sense you cant duel flagged... so... think... activeChar.isInOlympiadMode()... you cant go in oly flagged... activeChar.isInJail()... jail is a pvp zone.... duh... same like coliseum activeChar.isAlikeDead() activeChar.isFakeDeath() erm... im not rly sure, but arent those 2 the same? So... revenger, keep one in mind, less checks = better performance
Zeva Posted October 6, 2009 Posted October 6, 2009 Cool Shit! i Like dat. thanxxx mate He now is learning, so dont be bad Bro there are more than 200 action ..... i hope will not make 200+ posts :D ;p
RєVєnGeR^ Posted October 7, 2009 Author Posted October 7, 2009 Yes indeed , but you can delete thoose you don't want ... its what your server is about , :P
max1flo Posted November 6, 2009 Posted November 6, 2009 MM it means that if i will hit someone i wont be flagged? :D
takhs7 Posted November 10, 2009 Posted November 10, 2009 i will check if it works and make admincomandhandler with it.. coz like that is more like a bug xD thanks for share
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now