This works on MapleSolaxia source for me, if you use a different source I can't say it will work with 100% certainty.
Put this in MapleClient somewhere.
Then, still within MapleClient, Ctrl+F:PHP Code:private boolean preventDoubleLogin() {
boolean prev = false;
try {
try (PreparedStatement ps = DatabaseConnection.getConnection().prepareStatement("SELECT FROM iplog (accountid, ip) VALUES (?, ?)")) {
try (ResultSet rs = ps.executeQuery()) {
rs.next();
if (rs.getString(2) == null ? session.getRemoteAddress().toString() == null : rs.getString(2).equals(session.getRemoteAddress().toString())) {
prev = true;
}
}
}
} catch (SQLException e) {
e.printStackTrace();
}
return prev;
}
Below:Code:public void changeChannel(int channel) {
Add:Code:if (player.isBanned()) { disconnect(false, false); return; }
Thank you to everyone who replied to my help thread here:PHP Code://aditionally MaplePacketCreator\changeChannel could use a check, but what do I know anyway?
if (!player.isLoggedin() || preventDoubleLogin()) {
disconnect(false, false);
System.out.println("Player: " + player + ", isLoggedin(): " + player.isLoggedin() + ", preventDoubleLogin(): " + preventDoubleLogin());
return;
}
https://forum.ragezone.com/f566/patc...-hack-1072340/
Oh, and most importantly, thank fraysa for his sessionId release.
Without it, this release would be worthless.
https://forum.ragezone.com/f427/secu...odinms-975812/



Reply With Quote![[Release] Remote hack patch (while changing channels)](http://ragezone.com/hyper728.png)

Example: "/127.0.0.1:49555".


