`Rοmeο Posted October 17, 2009 Share Posted October 17, 2009 Here Some Screen About My Share: 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 Link to comment Share on other sites More sharing options...
npro Posted October 17, 2009 Share Posted October 17, 2009 Wow! Thank you for letting us know a good way. Is there a blue print is going to come out with? Link to comment Share on other sites More sharing options...
`Rοmeο Posted October 17, 2009 Author Share Posted October 17, 2009 The message apear only for newbie players and its under announcements Link to comment Share on other sites More sharing options...
HardstyleMxc Posted October 17, 2009 Share Posted October 17, 2009 Not Bad. But Thx 4 share.Test ;) Link to comment Share on other sites More sharing options...
xDunno Posted October 17, 2009 Share Posted October 17, 2009 dude nc work but all servers info exist on forum or web so i dunno or it sso usefull but thxx for sharing Link to comment Share on other sites More sharing options...
`Rοmeο Posted October 17, 2009 Author Share Posted October 17, 2009 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 Link to comment Share on other sites More sharing options...
xDunno Posted October 17, 2009 Share Posted October 17, 2009 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 Link to comment Share on other sites More sharing options...
Grim. Posted October 17, 2009 Share Posted October 17, 2009 its a kinda good looking keep coding. Link to comment Share on other sites More sharing options...
badriniki Posted October 17, 2009 Share Posted October 17, 2009 looking good, thanks for share! Link to comment Share on other sites More sharing options...
`Rοmeο Posted October 18, 2009 Author Share Posted October 18, 2009 the code has been fixed. now the message show only to players above 40 level :) Link to comment Share on other sites More sharing options...
Kratos Posted October 19, 2009 Share Posted October 19, 2009 Nice mod dude,thanks so much for share it . Link to comment Share on other sites More sharing options...
Viruzzz Posted October 19, 2009 Share Posted October 19, 2009 Very nice SkyLanceя Thank you! Link to comment Share on other sites More sharing options...
Neo1993k Posted October 19, 2009 Share Posted October 19, 2009 Nice view thanks for share!!! Link to comment Share on other sites More sharing options...
Stewie Posted October 12, 2012 Share Posted October 12, 2012 Good share, but since there are "Announcements" Why do we need this? Link to comment Share on other sites More sharing options...
valanths1990 Posted October 12, 2012 Share Posted October 12, 2012 simple but good, keep up ;) Link to comment Share on other sites More sharing options...
Recommended Posts