Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Eclipse Workspace Patch 1.0
- Index: L2_GameServer/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java
- ===================================================================
- --- L2_GameServer/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java (revision 4083)
- +++ L2_GameServer/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java (working copy)
- @@ -158,7 +158,14 @@
- if (Config.DEBUG)
- _log.warning("User already exists in Object ID map! User "+activeChar.getName()+" is a character clone.");
- }
- +
- + // Start up Noble/Hero by TehGeorge
- + if (Config.STARTUP_NOBLE)
- + activeChar.setNoble(true);
- + if (Config.STARTUP_HERO)
- + activeChar.setHero(true);
- +
- // Apply special GM properties to the GM when entering
- if (activeChar.isGM())
- {
- Index: L2_GameServer/java/com/l2jserver/Config.java
- ===================================================================
- --- L2_GameServer/java/com/l2jserver/Config.java (revision 4083)
- +++ L2_GameServer/java/com/l2jserver/Config.java (working copy)
- @@ -669,7 +669,10 @@
- public static List<String> L2JMOD_MULTILANG_ALLOWED = new ArrayList<String>();
- public static String L2JMOD_MULTILANG_DEFAULT;
- public static boolean L2JMOD_MULTILANG_VOICED_ALLOW;
- -
- + public static boolean STARTUP_NOBLE;
- + public static boolean STARTUP_HERO;
- +
- +
- //--------------------------------------------------
- // NPC Settings
- //--------------------------------------------------
- @@ -2234,6 +2237,9 @@
- if (!L2JMOD_MULTILANG_ALLOWED.contains(L2JMOD_MULTILANG_DEFAULT))
- _log.warning("MultiLang[Config.load()]: default language: " + L2JMOD_MULTILANG_DEFAULT + " is not in allowed list !");
- L2JMOD_MULTILANG_VOICED_ALLOW = Boolean.parseBoolean(L2JModSettings.getProperty("MultiLangVoiceCommand", "True"));
- +
- + STARTUP_NOBLE = Boolean.parseBoolean(L2JModSettings.getProperty("StartupNoble", "False"));
- + STARTUP_HERO = Boolean.parseBoolean(L2JModSettings.getProperty("StartupHero", "False"));
- }
- catch (Exception e)
- {
- Index: L2_GameServer/java/config/l2jmods.properties
- ===================================================================
- --- L2_GameServer/java/config/l2jmods.properties (revision 4083)
- +++ L2_GameServer/java/config/l2jmods.properties (working copy)
- @@ -355,3 +355,15 @@
- # Default: True
- MultiLangVoiceCommand = True
- +
- +# ---------------------------------------------------------------------------
- +# Start up Noblesse / Hero
- +# ---------------------------------------------------------------------------
- +# Auto set noblesse status to a normal player on login.
- +# Default: False
- +StartupNoble = False
- +
- +# Auto set hero status to a normal player on login.
- +# Default: False
- +StartupHero = False
- +
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement