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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...