Hyo Posted June 16, 2017 Posted June 16, 2017 How i can restrict Kamael class from the server? Any ideas? I thought about doing it via client, but I'm looking for something more optimum.
0 Solomun Posted June 17, 2017 Posted June 17, 2017 I have done it this way: (Client packets - CharacterCreate.java) // 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; } + // Disable kamaels + if ((_race == 5) && Config.DISABLE_KAMAEL_RACE) + { + sendPacket(new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED)); + 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; }
0 Solid State Drive Posted June 16, 2017 Posted June 16, 2017 (edited) Use Interlude. :D Don't be so evil Tryskell, you take their dreams away ! Edited June 16, 2017 by Solid State Drive
0 Rootware Posted June 16, 2017 Posted June 16, 2017 Buy brains; Learn Java language; Learn L2J architecture; Do something; If don't know how GOTO 2; If don't know where GOTO 3; Do what you known things; PROFIT.
0 Solid State Drive Posted June 16, 2017 Posted June 16, 2017 (edited) Buy brains; Learn Java language; Learn L2J architecture; Do something; If don't know how GOTO 2; If don't know where GOTO 3; Do what you known things; PROFIT. 1. Buying brain is not allowed, since the Organ trafficking is forbidden. Also brains? Why multiple brains? Why not just one? 2. Why you added the "language" next to java? Is there something else named java too? 3. Yap 4. Relevant to l2j or irrelevant? 5. haha you used GOTO seem you're C/C++ fan 7. Does not make sense.. 8. Profit? Tried your advice, ended up baking my leg in my neighbors kitchen Also what java has to do with client part..? Removing kamaels is client side no java side.. Edited June 16, 2017 by Solid State Drive
0 Rootware Posted June 16, 2017 Posted June 16, 2017 1. Buying brain is not allowed, since the Organ trafficking is forbidden. Also brains? Why multiple brains? Why not just one? 2. Why you added the "language" next to java? Is there something else named java too? 3. Yap 4. Relevant to l2j or irrelevant? 5. haha you used GOTO seem you're C/C++ fan 7. Does not make sense.. 8. Profit? Tried your advice, ended up baking my leg in my neighbors kitchen Also what java has to do with client part..? Removing kamaels is client side no java side.. I use HF5, Gracia, HB client for servers w/o Kamael's race. Me not interests what contains into client. Server don't knows about this race. Stop chatting, do something. While you're chatting, your opponent is already doing it. Sad story, if you can't to buy a brains and existing brains enough only for Bla Bla Bla.
0 Solid State Drive Posted June 17, 2017 Posted June 17, 2017 I use HF5, Gracia, HB client for servers w/o Kamael's race. Me not interests what contains into client. Server don't knows about this race. Stop chatting, do something. While you're chatting, your opponent is already doing it. Sad story, if you can't to buy a brains and existing brains enough only for Bla Bla Bla. Wow, i never read dumbest comment. Sir u worth a cookie
0 Lioy Posted June 17, 2017 Posted June 17, 2017 Classically , all people will "attack" you here without reason ROFL. Maybe the worst way is to add a check on CharacterCreate.java but it does the work.
Question
Hyo
How i can restrict Kamael class from the server? Any ideas?
I thought about doing it via client, but I'm looking for something more optimum.
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now