Wrong checksum from client

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
There is no support for other server builds than the official provided by l2jserver.com
Post Reply
karma12
Posts: 3
Joined: Sat Dec 20, 2014 11:14 pm

Wrong checksum from client

Post by karma12 »

Hello, i built yesterday through eclipse the new files (Ertheia) from l2j. I made it all, but when I log in to choose server nothing happens; only one message in the console : Wrong checksum from client [X <127.0.0.1>]

it's a home based server and i made it just for fun :)

any assistance? thanks
Sdw
L2j Veteran
L2j Veteran
Posts: 855
Joined: Mon May 03, 2010 8:38 am
Location: France

Re: Wrong checksum from client

Post by Sdw »

We have the dumbest bug ever : don't use the enter key during the whole login process (actually don't choose you server using enter)

I will look into it asap
smakepz
Posts: 8
Joined: Sun Oct 12, 2014 9:37 pm

Re: Wrong checksum from client

Post by smakepz »

or this if sdw- approves/agrees :D

Code: Select all

diff --git a/L2J_Server/java/com/l2jserver/loginserver/network/L2LoginClient.java b/L2J_Server/java/com/l2jserver/loginserver/network/L2LoginClient.java
index b5304ce..850fe69 100644
--- a/L2J_Server/java/com/l2jserver/loginserver/network/L2LoginClient.java
+++ b/L2J_Server/java/com/l2jserver/loginserver/network/L2LoginClient.java
@@ -28,7 +28,6 @@
 
 import org.mmocore.network.MMOClient;
 import org.mmocore.network.MMOConnection;
-import org.mmocore.network.SendablePacket;
 
 import com.l2jserver.Config;
 import com.l2jserver.loginserver.LoginController;
@@ -100,16 +99,13 @@
 			if (!isChecksumValid)
 			{
 				_log.warning("Wrong checksum from client: " + toString());
-				super.getConnection().close((SendablePacket<L2LoginClient>) null);
-				return false;
 			}
 			return true;
 		}
 		catch (IOException e)
 		{
 			_log.warning(getClass().getSimpleName() + ": " + e.getMessage());
-			super.getConnection().close((SendablePacket<L2LoginClient>) null);
-			return false;
+			return true;
 		}
 	}
 	
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Wrong checksum from client

Post by UnAfraid »

That could create new exploit
Image
smakepz
Posts: 8
Joined: Sun Oct 12, 2014 9:37 pm

Re: Wrong checksum from client

Post by smakepz »

I'm sure it does, just a temp fix until it's reworked?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: Wrong checksum from client

Post by Zoey76 »

Moved to Ertheia support.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Post Reply