Jump to content

Question

Posted

Hello! Im interested to make one dwarf server.All the other races will not able to created or when someone create a human automatic when he log will get jailed.How can i do that? of,course i want to tell me how can i make new created chars have without quest all the races fighter skills..If is anyone that knows how to do that please contact with me..

4 answers to this question

Recommended Posts

  • 0
Posted

u can edit chargrp from the system folder and all races will be dwarf but they can make for example dwarf mage main class, or dwarf tank etc.

 

u need much work to do, once i tried to make a dworfie female server only but i faild :s

  • 0
Posted

when someone create a human automatic when he log will get jailed

 

EnterWorld.Java

		// Jail All Non Dwarf Characters
	Race Fr = activeChar.getClassId().getRace();
	if (Fr == Race.human)
	{
		activeChar.isInJail();
                                     activeChar.sendMessage("Bastard...i say only Dwarf allowed!"); 
	}
	if (Fr == Race.darkelf)
	{
		activeChar.isInJail();
                                     activeChar.sendMessage("Bastard...i say only Dwarf allowed!"); 
	}
	if (Fr == Race.elf)
	{
		activeChar.isInJail();
                                     activeChar.sendMessage("Bastard...i say only Dwarf allowed!"); 
	}
	if (Fr == Race.orc)
	{
		activeChar.isInJail();
                                     activeChar.sendMessage("Bastard...i say only Dwarf allowed!"); 
	}

[GR][PS] Poso goustro otan vrizo... mouahha

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..