Jump to content

[Share] Custom Info Message for Newbies


`Rοmeο

Recommended Posts

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

Link to comment
Share on other sites

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

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

  • 2 years later...
Guest
This topic is now closed to further replies.


  • Posts

    • Hi!, is there a way to solve the animation cuts in High Five client?, what I mean is, to see the whole animation of a skill before seeing the next action...   For example, if you cast a buff after another, the animation of the first one cuts to play the following one... another example, if you have a lot of casting and go cast magic nukes, for example Death Spike, you only see the red aura in your feets but there is no animation of the spike throwing from the character to the target... or if you are hitting melee a monster and use, for example, Deadly Blow, you don't see the character actually hit the target but starts hitting melee again...   Is this a problem of the client or is it normal for High Five version to be like this?, I remember in old versions this didnt happen...   Thanks in advance!
    • 💫 Hi 💫 Please Update To 1.0.6 If You Have It ❤️‍🔥 Thanks Almighty Girl ❤️‍🔥
    • It's the whole MMO genre which is in decline, playerbase left for other "short matches like" games (PUBG, etc). I personally don't recommend projects which : don't allow to edit sources, making you a puppet to the project owner's will to backdoor your face ; force you to use some sort of auth server - even if it's easy to remove, it's imho poor approach for security and the sort of ppl adding backdoors as ultimate, hidden security ; permanently spit on other projects/owners - it often means they aren't confident in their own packs or will have a childish behavior towards you ; use a base pack and claim it's their work - if one lie is found, how much others ? reuse shared customs without even trying to optimize it - which generally means lazyness and copy-paste ability, but nothing helpful in case a real problem happens ; don't go deep in the refactors, or don't touch "touchy" files such as geoengine/movement/... - which means if a real problem happens, you will have to pay someone else. In any case, before paying someone, you should : make some search regarding the dude on forums, to see how he talks/his reputation/his posts ; get opinion from different places/forums/ppl regarding the dude ; see if the dude is known under different names, which should be an instant redflag since it means he is probably banned ; request at least one self-made code exemple (being public or not, generally decent developers also publically share), which could be checked by other ppls if you suck at Java ; clearly doubt the dude if he says he is the best or seems too cocky. About payment : you should use a middleman if you fear anything. It's costy (generally 20% ? I don't know prices), but it will be safe. After few transactions with the same guy, you can probably stop to use one. you should pay when the tests are done and you don't see more issues. If the dude is normally brained, he let you test on his test server, you test everything, you say it's ok, you pay, he gives you the code. If another problem is found after transaction, well there are 2 schools : dev is really friendly and will fix for free, or dev considered you said it was ok, and you pay for untested stuff. On that matter it really depends about the dude himself. I also personally don't recommend any BR as developer - even if nowadays, it's one of the biggest L2 community. That's my own personal experience, and I would like it differs, but really, I didn't meet (did I ?) a single, decent, enjoyable, friendly, non-scammy BR developer on my 12y of aCis. You will be deceived in 90% of cases, all their custom packs are rebranded packs with copy-pasted customs. Please, BR community, make me wrong and be finally an enjoyable piece of humanity. Thank you in advance ! 😄 (About my pack, ty for the kind words, you will get your payment in the end of the month - 0.001% of total profits, 100.000€, as always ?)
  • Topics

×
×
  • Create New...