ok i rework .logout command for interlude .
one part of code is:
if (command.equalsIgnoreCase("logout"));
if (!activeChar.isInCombat() || !activeChar.isInOlympiadMode())
{
activeChar.logout();
return true;
}
return false;
}
but when i put return false and when return true? i cant understant it..plz tell me and explain me.
now the code is wrong because player can logout and when he is in combat.
plz men i really plz u exxplain me and write me how the code should be!!
to .logout exei ginei share ala ine gia gracia.. telos panton..egw to kanw gia interlude tora..auto ien ena mikro komati tou code.
if (command.equalsIgnoreCase("logout"))
activeChar.logout();
return true;
i aporia m ine to return true;
pos na to kanw?
return true i return false kai giati?
an mporei kapios na to eksigisei kiolas pou kserei
ok gyes i am new in developing..
i took the L2J Interlude project.
i took a clear svn of mmocore rev 832 for interlude.
i have all these it is ok.
now i need to fix server attacker,noobish error..and generally the attacker style packets.
how will i do it?plz help me i cant find the java codes for it.
euxaristo..to ekana ala gia paradigma sto noobish error fix pou ine gai interlude exei gia paradigma:
- System.err.println("POS ANTES SC.READ(): "+buf.position()+" limit: "+buf.limit());
- System.err.println("NOOBISH ERROR "+( buf == READ_BUFFER ? "READ_BUFFER" : "temp"));
- System.exit(0);
aUTES i grames den iparxoun omos :S