I've had a lot of fun with this, so I guess it's time to share how to do it :)
I would firstly like to say that this dupe is extremely timing sensitive and can be difficult to pull off.
This dupe exploits a flaw in all current servers on how they handle the death of already disconnected players.
The steps are as follows:
1) Have whatever items you wish to dupe in your inventory
2) Get a mob or a friend to attack you. I find it works best with baby wolves but any mob will work.
3) As the mob is about to hit you for the last time (as in, this hit will kill you) you need to disconnect before the hit actually registers client side.
4) You will die server side and drop your items, but will login with all of your items.
The timing needs to be perfect. I have tested this on all version of CraftBukkit so if it doesn't work for you, you are doing it wrong.
It is very easy to achieve if you bind disconnect to a keybind, like below.
I would firstly like to say that this dupe is extremely timing sensitive and can be difficult to pull off.
This dupe exploits a flaw in all current servers on how they handle the death of already disconnected players.
The steps are as follows:
1) Have whatever items you wish to dupe in your inventory
2) Get a mob or a friend to attack you. I find it works best with baby wolves but any mob will work.
3) As the mob is about to hit you for the last time (as in, this hit will kill you) you need to disconnect before the hit actually registers client side.
4) You will die server side and drop your items, but will login with all of your items.
The timing needs to be perfect. I have tested this on all version of CraftBukkit so if it doesn't work for you, you are doing it wrong.
It is very easy to achieve if you bind disconnect to a keybind, like below.
Code:
if (Keyboard.getEventKey() == 38)
{
((EntityClientPlayerMP)thePlayer).sendQueue.addToSendQueue(new
Packet255KickDisconnect("Disconnected!"));
}
Totally stolen from HACK FORUMS...
ReplyDeleteVery good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.
ReplyDeleteMinecraft Servers