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)
     {

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...