Hello English Boyz.i took a error again today :P when i got create a character(new) i press the name races e.t.c and after when i press to create this character i got a error on gameserver console..its a freya client !
[glow=blue,2,300]check the lines of error.says..=> com.l2jserver.gameserver.network.clientpackets.CharacterCreate.java.RunImpl..and i find this :P[/glow]
@Override
protected void runImpl()
{
// Last Verified: May 30, 2009 - Gracia Final - Players are able to create characters with names consisting of as little as 1,2,3 letter/number combinations.
if ((_name.length() < 1) || (_name.length() > 16))
{
if (Config.DEBUG)
_log.fine("Character Creation Failure: Character name " + _name + " is invalid. Message generated: Your title cannot exceed 16 characters in length. Please try again.");
🚨 Only 2 Days Left Until Our Beta Launch! 🚨
The wait is almost over! In just two days, we'll be opening up our beta, and there's so much for you to explore and experience. We can't wait for you to dive in, test things out, and share your thoughts with us.
Your feedback will help shape the future, and we're excited to have you on this journey with us! 🌟
ADD YOUR SERVERS AND PROMOTE YOUR SERVER FOR FREE.
For owners, our team offers quality advertising services!
Website: https://top.4teambr.com
Premium account free for 7 days
VoteSystem/Callback/API
Question
Fiou
Hello English Boyz.i took a error again today :P when i got create a character(new) i press the name races e.t.c and after when i press to create this character i got a error on gameserver console..its a freya client !
[glow=blue,2,300]check the lines of error.says..=> com.l2jserver.gameserver.network.clientpackets.CharacterCreate.java.RunImpl..and i find this :P[/glow]
@Override
protected void runImpl()
{
// Last Verified: May 30, 2009 - Gracia Final - Players are able to create characters with names consisting of as little as 1,2,3 letter/number combinations.
if ((_name.length() < 1) || (_name.length() > 16))
{
if (Config.DEBUG)
_log.fine("Character Creation Failure: Character name " + _name + " is invalid. Message generated: Your title cannot exceed 16 characters in length. Please try again.");
sendPacket(new CharCreateFail(CharCreateFail.REASON_16_ENG_CHARS));
return;
}
if(Config.FORBIDDEN_NAMES.length > 1)
{
for(String st : Config.FORBIDDEN_NAMES)
{
if(_name.toLowerCase().contains(st.toLowerCase()))
{
sendPacket(new CharCreateFail(CharCreateFail.REASON_INCORRECT_NAME));
return;
}
}
}
// Last Verified: May 30, 2009 - Gracia Final
if (!Util.isAlphaNumeric(_name) || !isValidName(_name))
{
if (Config.DEBUG)
_log.fine("Character Creation Failure: Character name " + _name + " is invalid. Message generated: Incorrect name. Please try again.");
sendPacket(new CharCreateFail(CharCreateFail.REASON_INCORRECT_NAME));
return;
}
if (_face > 2 || _face < 0)
{
_log.warning("Character Creation Failure: Character face " + _face + " is invalid. Possible client hack. "+getClient());
sendPacket(new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED));
return;
}
if (_hairStyle < 0 || (_sex == 0 && _hairStyle > 4) || (_sex != 0 && _hairStyle > 6))
{
_log.warning("Character Creation Failure: Character hair style " + _hairStyle + " is invalid. Possible client hack. "+getClient());
sendPacket(new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED));
return;
}
if (_hairColor > 3 || _hairColor < 0)
{
_log.warning("Character Creation Failure: Character hair color " + _hairColor + " is invalid. Possible client hack. "+getClient());
sendPacket(new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED));
return;
}
L2PcInstance newChar = null;
L2PcTemplate template = null;
Link to comment
Share on other sites
1 answer to this question
Recommended Posts