1. Go to your client.java folder (copy the folder) to outside the source
Search for:
// Clicking some stuff in game
2. Make sure you have all your other anti dupes removed. Replace the method with this one:
// Clicking some stuff in game
int interfaceID = inStream.readSignedByte();
if (inTrade) {
try{
client other = getClient(trade_reqId);
if(tradeConfirmed2){
antidupe();
other.antidupe();
sM("[ANTI-DUPE] Dupe detected!");
other.sM("[ANTI-DUPE] Dupe detected!");
}else{
other.declineTrade();
declineTrade();
sM("You have declined the trade.");
other.sM("The other player has declined the trade.");
}
}catch (Exception e) {
}
}
3. Add this void in:
Add this void in:
public void antidupe() {
client other = getClient(trade_reqId);
if (validClient(trade_reqId)) {
closeInterface();
tradeResetNeeded = true;
}
}
4. Save And Compile!