Jump to content
  • 0

How to change this ?


Question

7 answers to this question

Recommended Posts

  • 0
Posted
Index: java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java
===================================================================
--- java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java   (revision 6)
+++ java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java   (working copy)
@@ -20,7 +20,6 @@
import java.util.logging.Level;
import java.util.logging.Logger;

-import net.sf.l2j.Base64;
import net.sf.l2j.Config;
import net.sf.l2j.L2DatabaseFactory;
import net.sf.l2j.gameserver.Announcements;
@@ -293,21 +292,11 @@
         // Send client time
         sendPacket(ClientSetTime.STATIC_PACKET);

-        activeChar.sendMessage(getText("VGhpcyBzZXJ2ZXIgdXNlcyBMMkosIGEgcHJvamVjdCBmb3VuZGVkIGJ5IEwyQ2hlZg==\n"));
-        activeChar.sendMessage(getText("YW5kIGRldmVsb3BlZCBieSB0aGUgTDJKIERldiBUZWFtIGF0IGwyanNlcnZlci5jb20=\n"));
+        activeChar.sendMessage("Your Server Name !");
+        activeChar.sendMessage("Your Server Website !");

-        if (Config.SERVER_VERSION != null)
-        {
-            activeChar.sendMessage(getText("TDJKIFNlcnZlciBWZXJzaW9uOg==")+"      "+Config.SERVER_VERSION);
-        }
+        activeChar.sendMessage("Enjoy Your Stay !");

-        if (Config.DATAPACK_VERSION != null)
-        {
-            activeChar.sendMessage(getText("TDJKIERhdGFwYWNrIFZlcnNpb246")+"  "+Config.DATAPACK_VERSION);
-        }
-
-        activeChar.sendMessage(getText("Q29weXJpZ2h0IDIwMDQtMjAwOA==\n"));
-
         SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);
         Announcements.getInstance().showAnnouncements(activeChar);

@@ -573,16 +562,6 @@
      * @return
      * @throws UnsupportedEncodingException
      */
-    private String getText(String string)
-    {
-        try {
-            String result = new String(Base64.decode(string), "UTF-8");
-            return result;
-        } catch (UnsupportedEncodingException e) {
-            // huh, UTF-8 is not supported? Smiley
-            return null;
-        }
-    }

     private void loadTutorial(L2PcInstance player)
     {

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..