Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Map disconnect hack patch

Junior Spellweaver
Joined
Apr 14, 2008
Messages
126
Reaction score
0
This small script will disconnect anyone who tries to spam the packet.
CheatTracker.java
Add to your imports:
Code:
import net.sf.odinms.client.MapleClient;
Change
Code:
public void checkTakeDamage() {
To
Code:
public void checkTakeDamage(MapleClient c) {
Find
Code:
registerOffense(CheatingOffense.FAST_TAKE_DAMAGE);
Add under it
Code:
c.disconnect();
If you would like to auto ban the person (not recommended to avoid false bans):
Find
Code:
registerOffense(CheatingOffense.FAST_TAKE_DAMAGE);
Add under it
Code:
AutobanManager.getInstance().addPoints(c, 100, 300000, "Fast Take Damage");
After that you are done :)

EDIT: If you would like to make the chance of getting false auto banned lower do this (didn't test but I am pretty sure it will work):
Find
Code:
if (timeBetweenDamage / 1000 < numSequentialDamage) {
Replace it with
Code:
if (timeBetweenDamage / 500 < numSequentialDamage) {

If you have an error, here is a fix:
Change
Code:
player.getCheatTracker().checkTakeDamage();
To
Code:
player.getCheatTracker().checkTakeDamage(player.ge tClient());
Thanks to RMZero213 for the fix.

Please note that it's a half release because the packet will still disconnect everyone in the map even if the person spams this packet. Anyone who would like to help can post down below.
Have fun!
 
Last edited:
Experienced Elementalist
Joined
Jul 26, 2008
Messages
280
Reaction score
0
Re: [Half Release] Map disconnect hack patch

Huh i don't get it. It dces hackers?
Edit : First post xD
 
Junior Spellweaver
Joined
Apr 14, 2008
Messages
126
Reaction score
0
Re: [Half Release] Map disconnect hack patch

Huh i don't get it. It dces hackers?

It disconnects the hackers that try to disconnect other people using the packet. (Just like in GMS)
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Re: [Half Release] Map disconnect hack patch

So by the meaning of half-release means that players might still get dc rite?
 
Junior Spellweaver
Joined
Apr 14, 2008
Messages
126
Reaction score
0
Re: [Half Release] Map disconnect hack patch

So by the meaning of half-release means that players might still get dc rite?

The other players still get disconnected but it disconnects the person if he spams this packet.
 
Experienced Elementalist
Joined
Jul 26, 2008
Messages
280
Reaction score
0
Re: [Half Release] Map disconnect hack patch

Oo this is new.. at least this half release is better than some other useless stuff in the release section :)
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Re: [Half Release] Map disconnect hack patch

Oo this is new.. at least this half release is better than some other useless stuff in the release section :)

Totally agrees.
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Half Release] Map disconnect hack patch

What if they don't spam it?
You know they only need to send the packet once and they players dc right?
 
Junior Spellweaver
Joined
Apr 14, 2008
Messages
126
Reaction score
0
Re: [Half Release] Map disconnect hack patch

What if they don't spam it?
You know they only need to send the packet once and they players dc right?

right but there are many idiots that just spam it right away.
i am working now on another way that will just check if they really get damage by a monster or not. i almost finished programming it just need to program a few more things.
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Half Release] Map disconnect hack patch

Oh so that's why it's half release :p
 
Newbie Spellweaver
Joined
Jul 22, 2008
Messages
96
Reaction score
0
Re: [Half Release] Map disconnect hack patch

sounds nice....ill wait for the final release :p
 
Junior Spellweaver
Joined
Apr 6, 2008
Messages
140
Reaction score
0
Re: [Half Release] Map disconnect hack patch

Not a useless post it is good actually and if any butt want to flame then he must go through me first
 
Junior Spellweaver
Joined
Apr 14, 2008
Messages
126
Reaction score
0
Re: [Half Release] Map disconnect hack patch

Not a useless post it is good actually and if any butt want to flame then he must go through me first

lmao thank you :)
Still programming it so once they use this packet they just get auto banned without disconnecting other people.
So far I didn't get to find any hacker that disconnects people on my server because I improved the auto ban system a lot so when ever they use hacks they just get auto banned.
But it's better to know that no one can harass other people with disconnecting them :)
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Half Release] Map disconnect hack patch

LOL this is super fun dcing all the ppl on SakuraMs :)
Last day of my summer vacation! :(
 
Newbie Spellweaver
Joined
Sep 1, 2008
Messages
9
Reaction score
0
Re: [Half Release] Map disconnect hack patch

Not a useless post it is good actually and if any butt want to flame then he must go through me first

duck you.
*Steps through you*
This release is terrible. I hate it.
/flame
/flame
/flame
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Half Release] Map disconnect hack patch

hi goofy LOLOLOL
 
Custom Title Activated
Loyal Member
Joined
Apr 5, 2008
Messages
1,025
Reaction score
5
Re: [Half Release] Map disconnect hack patch

C:\Users\edward\Desktop\SeanRepack\SeanXD\src\net\sf\odinms\net\channel\handler\TakeDamageHandler.java:64: checkTakeDamage(net.sf.odinms.client.MapleClient) in net.sf.odinms.client.anticheat.CheatTracker cannot be applied to ()
player.getCheatTracker().checkTakeDamage();
 
Legendary Battlemage
Joined
May 23, 2008
Messages
628
Reaction score
4
Re: [Half Release] Map disconnect hack patch

Weird... I don't get errors
 
Custom Title Activated
Loyal Member
Joined
Apr 5, 2008
Messages
1,025
Reaction score
5
Re: [Half Release] Map disconnect hack patch

wierd. I do lulz.
 
Back
Top