Page 1 of 1
Wrong checksum from client
Posted: Sun Dec 21, 2014 11:13 am
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
Re: Wrong checksum from client
Posted: Sun Dec 21, 2014 11:54 am
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
Re: Wrong checksum from client
Posted: Mon Dec 22, 2014 2:31 pm
by smakepz
or this if sdw- approves/agrees
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;
}
}
Re: Wrong checksum from client
Posted: Mon Dec 22, 2014 7:14 pm
by UnAfraid
That could create new exploit
Re: Wrong checksum from client
Posted: Mon Dec 22, 2014 8:10 pm
by smakepz
I'm sure it does, just a temp fix until it's reworked?
Re: Wrong checksum from client
Posted: Sat May 30, 2015 1:34 am
by Zoey76
Moved to Ertheia support.