Stopping ninjas being created in the character screen

04/24/2010 17:47 Paralyzer[GM]#1
Ok so,

Everything thing I try in CharacterMaking.cs ( assuming that's where the code should go ), does not work I am trying to make it so like when you click ninja and type in a name then click create character it will say "Ninjas are disabled" or even better when you click ninja it says that

Any help ?
04/24/2010 18:24 Kiyono#2
Something like this?
Code:
if (GC.ValidName(CharName))
            {
                if (Job == 50)
                    GC.AddSend(Packets.PopUpMessage(GC.MessageID, "Class not available."));
                else
                GC.AddSend(Packets.PopUpMessage(GC.MessageID, Database.CreateCharacter(GC.AuthInfo.Account, CharName, Body, Job)));
            }
This happens at char creation.
[Only registered and activated users can see links. Click Here To Register...]
04/24/2010 18:55 Paralyzer[GM]#3
WOAH, Thanks!
04/24/2010 20:10 -virTuaL#4
why not just revert to the older char creation screen?
04/24/2010 20:33 Paralyzer[GM]#5
I will, This is a temp while I figure out what files I need to take out of the 5065 client
04/24/2010 21:11 Arcо#6
Quote:
Originally Posted by -virTuaL View Post
why not just revert to the older char creation screen?
Do you think that will work with a 5165 source?
04/24/2010 21:50 Paralyzer[GM]#7
It could do but we will just have to find out :)
04/24/2010 22:04 Huseby#8
#Closed