DS - News

Bem Vindo a DS - News
DS - News



Remove Message Freya

Compartilhe

Dazzel
Administrador / Fundador
Administrador / Fundador

Facebookhttp://www.facebook.com/dsdanillo
Mensagens : 709
Data de inscrição : 19/11/2009
Idade : 25
Localização : Rio Verde

Remove Message Freya

Mensagem por Dazzel em 16/2/2011, 17:06

Código:
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?
-            return null;
-        }
-    }
 
    private void loadTutorial(L2PcInstance player)
    {

[Você precisa estar registrado e conectado para ver este link.]

Ou este aqui:

1) Open java\com\gameserver\network\clientpackets\enterworld.java
2) Open Enterworld.Java

Find This

Código:
Code:
activeChar.sendMessage(getText("VGhpcyBzZXJ2ZXIgdXNlcyBMMkosIGEgcHJvamVjdCBmb3VuZGVkIGJ5IEwyQ2hlZg==\n"));
activeChar.sendMessage(getText("YW5kIGRldmVsb3BlZCBieSB0aGUgTDJKIERldiBUZWFtIGF0IGwyanNlcnZlci5jb20=\n"));



if (Config.DISPLAY_SERVER_VERSION)
{
if (Config.SERVER_VERSION != null)
activeChar.sendMessage(getText("TDJKIFNlcnZlciBWZXJzaW9uOg==")+" "+Config.SERVER_VERSION);

if (Config.DATAPACK_VERSION != null)
activeChar.sendMessage(getText("TDJKIERhdGFwYWNrIFZlcnNpb246")+" "+Config.DATAPACK_VERSION);



Delete This

Código:
Code:
activeChar.sendMessage(getText("VGhpcyBzZXJ2ZXIgdXNlcyBMMkosIGEgcHJvamVjdCBmb3VuZGVkIGJ5IEwyQ2hlZg==\n"));
activeChar.sendMessage(getText("YW5kIGRldmVsb3BlZCBieSB0aGUgTDJKIERldiBUZWFtIGF0IGwyanNlcnZlci5jb20=\n"));

And Past This

Código:
Code:
activeChar.sendMessage("Your Text");
activeChar.sendMessage("Your Text ");
This Delete

Código:
Code:
if (Config.SERVER_VERSION != null)
activeChar.sendMessage(getText("TDJKIFNlcnZlciBWZXJzaW9uOg==")+" "+Config.SERVER_VERSION);

if (Config.DATAPACK_VERSION != null)
activeChar.sendMessage(getText("TDJKIERhdGFwYWNrIFZlcnNpb246")+" "+Config.DATAPACK_VERSION);

Past It
Código:
Code:
if (Config.SERVER_VERSION != null)
activeChar.sendMessage("Your Text);

if (Config.DATAPACK_VERSION != null)
activeChar.sendMessage("Your Texti ");

6) Save And Compile

Test 100%

Credits To L2JTeam

P.s Sorry My English

    Data/hora atual: 3/12/2016, 04:36