Browse Source

minor updates.

JIV 15 years ago
parent
commit
f1f7e5fbd0

+ 1 - 1
L2_GameServer/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java

@@ -373,7 +373,7 @@ public class EnterWorld extends L2GameClientPacket
 			if (Config.DATAPACK_VERSION != null)
 			if (Config.DATAPACK_VERSION != null)
 				activeChar.sendMessage(getText("TDJKIERhdGFwYWNrIFZlcnNpb246")+" "+Config.DATAPACK_VERSION);
 				activeChar.sendMessage(getText("TDJKIERhdGFwYWNrIFZlcnNpb246")+" "+Config.DATAPACK_VERSION);
 		}
 		}
-		activeChar.sendMessage(getText("Q29weXJpZ2h0IDIwMDQtMjAwOQ==\n"));
+		activeChar.sendMessage(getText("Q29weXJpZ2h0IDIwMDQtMjAxMA==\n"));
 
 
 		SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);
 		SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);
 		Announcements.getInstance().showAnnouncements(activeChar);
 		Announcements.getInstance().showAnnouncements(activeChar);

+ 1 - 1
L2_GameServer/java/com/l2jserver/gameserver/network/clientpackets/RequestBypassToServer.java

@@ -215,7 +215,7 @@ public final class RequestBypassToServer extends L2GameClientPacket
 		}
 		}
 		catch (Exception e)
 		catch (Exception e)
 		{
 		{
-			_log.log(Level.WARNING, "Bad RequestBypassToServer: ", e);
+			_log.log(Level.WARNING, getClient()+" sent bad RequestBypassToServer: ", e);
 		}
 		}
 	}
 	}
 
 

+ 1 - 9
L2_GameServer/java/com/l2jserver/gameserver/network/clientpackets/Say2.java

@@ -14,7 +14,6 @@
  */
  */
 package com.l2jserver.gameserver.network.clientpackets;
 package com.l2jserver.gameserver.network.clientpackets;
 
 
-import java.nio.BufferUnderflowException;
 import java.util.logging.Level;
 import java.util.logging.Level;
 import java.util.logging.LogRecord;
 import java.util.logging.LogRecord;
 import java.util.logging.Logger;
 import java.util.logging.Logger;
@@ -88,14 +87,7 @@ public final class Say2 extends L2GameClientPacket
 	protected void readImpl()
 	protected void readImpl()
 	{
 	{
 		_text = readS();
 		_text = readS();
-		try
-		{
-			_type = readD();
-		}
-		catch (BufferUnderflowException e)
-		{
-			_type = CHAT_NAMES.length;
-		}
+		_type = readD();
 		_target = (_type == TELL) ? readS() : null;
 		_target = (_type == TELL) ? readS() : null;
 	}
 	}