Guys, i'm having a problem with the name of chars, i cant whisper or use /ctele, /find, /recall... so i saw at name of characters all of them has 2spaces after the names like player(space)(space), i tried to use that commands with 2 spaces but didnt work i looked at script i found this but seems like ok:
namespace NewestCOServer.PacketHandling
{
class CharacterMaking
{
public static void Handle(Main.GameClient GC, byte[] Data)
{
string CharName ="";
for (int i = 0; i < 16; i++)
if (Data[20 + i] != 0)
CharName += Convert.ToChar(Data[20 + i]);
ushort Body = BitConverter.ToUInt16(Data, 52);
byte Job = Data[54];
if (GC.ValidName(CharName))
{
GC.AddSend(Packets.PopUpMessage(GC.MessageID, Database.CreateCharacter(GC.AuthInfo.Account, CharName, Body, Job)));
}
else
GC.AddSend(Packets.PopUpMessage(GC.MessageID, "Invalid character name!"));
}
}
}
Anyone know anything about that?






