Jump to content

Recommended Posts

Posted

Here Some Screen About My Share:

 

14910202.jpg

 

Here Is The Code For It:

Index: D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/config/Mods.properties
===================================================================
--- D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/config/Mods.properties	(revision 11)
+++ D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/config/Mods.properties	(working copy)
@@ -44,10 +50,7 @@

+#---------------------------------------#
+#          Quick Info For Newbies       #
+#---------------------------------------#
+#Enable Quick Info Message For Newbies ?
+EnableInfoMessage = False
+ServerName = L2 Kingdom of Heaven
Index: D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/net/sf/l2j/Config.java
===================================================================
--- D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/net/sf/l2j/Config.java	(revision 11)
+++ D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/net/sf/l2j/Config.java	(working copy)
@@ -886,7 +889,6 @@
    
    // Message for Newbies
    public static boolean NEWBIE_MESSAGE_ENABLE;
    public static String SERVER_NAME;

    // Packet information
    /** Count the amount of packets per minute ? */
@@ -1979,8 +1984,7 @@
                CHAMPION_REWARD_ID              = Integer.parseInt(Mods.getProperty("ChampionRewardItemID", "6393"));
                CHAMPION_REWARD_QTY             = Integer.parseInt(Mods.getProperty("ChampionRewardItemQty", "1"));
                
+                NEWBIE_MESSAGE_ENABLE           = Boolean.parseBoolean(Mods.getProperty("EnableInfoMessage", "False"));
+                SERVER_NAME                     = Mods.getProperty("ServerName", "L2 Kingdom of Heaven");
                
            }
            catch (Exception e)
Index: D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
===================================================================
--- D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(revision 11)
+++ D:/Games/Lineage 2/L2 Kingdom of Heaven Server/WorkSpace/GameServer/java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	(working copy)
@@ -255,6 +250,17 @@

        SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);
        Announcements.getInstance().showAnnouncements(activeChar);
+        
+        if (activeChar.getLevel() <= 40 && Config.NEWBIE_MESSAGE_ENABLE)
+		{
+			activeChar.sendMessage("Welcome to "+Config.SERVER_NAME+" !");
+			activeChar.sendMessage("RateXP: "+Config.RATE_XP+"x");
+			activeChar.sendMessage("RateAdena: "+Config.RATE_DROP_ADENA+"x");
+			activeChar.sendMessage("RateDrop: "+Config.RATE_DROP_ITEMS+"x");
+			activeChar.sendMessage("SaveEnchant: +"+Config.ENCHANT_SAFE_MAX+"");
+			activeChar.sendMessage("MaxEnchant: +"+Config.ENCHANT_MAX_WEAPON+"");
+			activeChar.sendMessage("Have fun on our server and VOTE every day !");
+		}

		Quest.playerEnter(activeChar);
		activeChar.sendPacket(new QuestList());

Hope you like it :)

 

Credits to me :P

Posted

dude nc work but all servers info exist on forum or web so i dunno or it sso usefull but thxx for sharing

 

Agree but there are HUGE Noobs ... ;D if you have been seen when some Noob log in he ask

Save +? Rate %? etc... ;D so thats why this info is only for new characters :P

Posted

Agree but there are HUGE Noobs ... ;D if you have been seen when some Noob log in he ask

Save +? Rate %? etc... ;D so thats why this info is only for new characters :P

 

Yeah i saw lots shouts like this well sorry then its usefull for newbies like u told ;p

  • 2 years later...
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