Jump to content
  • 0

[help]Paidia kati code


Question

5 answers to this question

Recommended Posts

  • 0
Posted
Index: D:/workspace/L2_GameServer/java/config/l2jmods.properties
===================================================================
--- D:/workspace/L2_GameServer/java/config/l2jmods.properties	(revision 2739)
+++ D:/workspace/L2_GameServer/java/config/l2jmods.properties	(working copy)
@@ -161,4 +161,10 @@
#----------------------------------
EnableWarehouseSortingClan = False
EnableWarehouseSortingPrivate = False
-EnableWarehouseSortingFreight = False
\ No newline at end of file
+EnableWarehouseSortingFreight = False
+
+# Set this option to true to enable custom titles on new chars.
+# Also replace Welcome with title you want.
+
+CharTitle = false
+CharAddTitle = Welcome
Index: D:/workspace/L2_GameServer/java/net/sf/l2j/Config.java
===================================================================
--- D:/workspace/L2_GameServer/java/net/sf/l2j/Config.java	(revision 2739)
+++ D:/workspace/L2_GameServer/java/net/sf/l2j/Config.java	(working copy)
@@ -569,6 +569,18 @@
	/** ************************************************** **/
     
	/** ************************************************** **/
+	/** Custom Title Settings -Begin                       **/
+	/** ************************************************** **/
+    
+	public static boolean CHAR_TITLE;
+	/** This is the new players title. */
+	public static String ADD_CHAR_TITLE;
+	
+	/** ************************************************** **/
+	/** Custom Title Settings -End                         **/
+	/** ************************************************** **/
+	
+	/** ************************************************** **/
	/** NPC Settings -Begin                                **/
	/** ************************************************** **/

@@ -1900,6 +1912,10 @@
	                BANKING_SYSTEM_ENABLED	= Boolean.parseBoolean(L2JModSettings.getProperty("BankingEnabled", "false"));
	                BANKING_SYSTEM_GOLDBARS	= Integer.parseInt(L2JModSettings.getProperty("BankingGoldbarCount", "1"));
	                BANKING_SYSTEM_ADENA	= Integer.parseInt(L2JModSettings.getProperty("BankingAdenaCount", "500000000"));
+					
+	                CHAR_TITLE              = Boolean.parseBoolean(L2JModSettings.getProperty("CharTitle", "false"));
+			ADD_CHAR_TITLE          = L2JModSettings.getProperty("CharAddTitle", "Welcome");
+
	            }
	            catch (Exception e)
	            {
Index: D:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java
===================================================================
--- D:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java	(revision 2739)
+++ D:/workspace/L2_GameServer/java/net/sf/l2j/gameserver/network/clientpackets/CharacterCreate.java	(working copy)
@@ -174,8 +174,13 @@
		newChar.addAdena("Init", Config.STARTING_ADENA, null, false);

		newChar.setXYZInvisible(template.spawnX, template.spawnY, template.spawnZ);
-		newChar.setTitle("");
+		
+		if (Config.CHAR_TITLE)

+			newChar.setTitle(Config.ADD_CHAR_TITLE);
+	        else
+			newChar.setTitle("");
+
		L2ShortCut shortcut;
		//add attack shortcut
		shortcut = new L2ShortCut(0,0,3,2,-1,1);

  • 0
Posted

Paidia to stirting level poy m edoses einai gia gracia kati allo ??

δοκίμασε και με αυτό http://www.maxcheaters.com/forum/index.php?topic=56064.0 άλλο δε νομίζω να έχει γίνει share διαφορετικά κάνε search custom start(ing) level

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...