Jump to content
  • 0

[Request] Class Create Restrictions


Question

Posted

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

  • 0
Posted

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
Posted

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
Posted

CharacterCreate.java

 

	if(template == "kamael classid")
	{
		CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED);
		sendPacket(ccf);
		return;
	}

  • 0
Posted

CharacterCreate.java

 

	if(template == "kamael classid")
	{
		CharCreateFail ccf = new CharCreateFail(CharCreateFail.REASON_CREATION_FAILED);
		sendPacket(ccf);
		return;
	}

 

Ty Working. Topic can be locked now.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock