Of course it should but it simply doesn't.What does the server do when you try and create a disabled race or class? It should just return to the character page ...
22:55:29,784 - [9] - DEBUG - DOL.GS.PacketHandler.Client.v168.CharacterCreateRequestHandler - CharacterCreateRequestHandler for account player-S using version Version1103
22:55:29,811 - [9] - DEBUG - DOL.GS.PacketHandler.Client.v168.CharacterCreateRequestHandler - Disable Config Button
22:55:29,814 - [9] - DEBUG - DOL.GS.PacketHandler.Client.v168.CharacterCreateRequestHandler - Creation Version1103 character, class:8, realm:1
22:55:29,821 - [9] - DEBUG - DOL.GS.PacketHandler.Client.v168.CharacterCreateRequestHandler - Client player tried to create a disabled race: Avalonian
22:55:29,830 - [9] - INFO - DOL.GS.GameClient - (127.0.0.1:54264) player just disconnected!
// change by snooops - to avoid client crashes with serverproperty disabled_races and disabled_classes
// TODO: get the values from the table - serverproperty
if (ch.Race != 20 && ch.Race != 19 && ch.Race != 21)
{
//Save the character in the database
GameServer.Database.AddObject(ch);
//Fire the character creation event
GameEventMgr.Notify(DatabaseEvent.CharacterCreated, null, new CharacterEventArgs(ch, client));
//add equipment
StartupEquipment.AddEquipment(ch);
//write changes
GameServer.Database.SaveObject(ch);
}
Users browsing this forum: Bing [Bot] and 1 guest