a1 Posted August 17, 2010 Posted August 17, 2010 So hello, long time ago on Maxcheaters, i had found class create restriction, like you are unable to create some class - Kamael. And now i am not able to find that topic, maybe someone could share that PATH or give a proper link to that restriction. Would be thankfull.
0 Realtek2 Posted August 17, 2010 Posted August 17, 2010 delete the classes from char_template table in your database :)
0 FDB Posted August 17, 2010 Posted August 17, 2010 if (activeChar.getRace() == Race.kamael) { activeChar.closeNetConnection(); return; } Enterworld.java
0 Realtek2 Posted August 17, 2010 Posted August 17, 2010 if (activeChar.getRace() == Race.kamael) { activeChar.closeNetConnection(); return; } Enterworld.java lol verrrrrrrrrrrrrrrrrrrrry smart... when he create kamael and login he will get disconnected any time ... hah
0 a1 Posted August 17, 2010 Author Posted August 17, 2010 lol verrrrrrrrrrrrrrrrrrrrry smart... when he create kamael and login he will get disconnected any time ... hah Well i need something like that: When you press choose kamael, enter nick and etc and press create button, you see this message: You are not allowed to do this, choose another class.
0 FDB Posted August 17, 2010 Posted August 17, 2010 Try this a gave y why y want to make all this :/ disconnect is ok i thing
0 xAddytzu Posted August 17, 2010 Posted August 17, 2010 CharacterCreate.java if(template == "kamael classid") { CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED); sendPacket(ccf); return; }
0 a1 Posted August 17, 2010 Author Posted August 17, 2010 CharacterCreate.java if(template == "kamael classid") { CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED); sendPacket(ccf); return; } Ty Working. Topic can be locked now.
Question
a1
So hello, long time ago on Maxcheaters, i had found class create restriction, like you are unable to create some class - Kamael. And now i am not able to find that topic, maybe someone could share that PATH or give a proper link to that restriction.
Would be thankfull.
8 answers to this question
Recommended Posts