ALL CREDIT TO JEROME OF RUNELOCUS
Open Client.java and Find
Code:
Under it add
Code:
Next Find
Code:
Replace it with this
Code:
Find
Code:
Under there add
Code:
Save it
Next open up Clickingmost.java
Code:
Replace with this
Code:
Save And Compile
Open Client.java and Find
Code:
- Code:
public class client extends Player implements Runnable {
Under it add
Code:
- Code:
public boolean hasAccepted = false;
public int AntiDupe = 0;
Next Find
Code:
- Code:
public void declineTrade() {
Replace it with this
Code:
- Code:
public void declineTrade() {
if (!hasAccepted && AntiDupe <= 0) {
declineTrade(true);
} else
{
hasAccepted = false;
AntiDupe = 2;
}
}
Find
Code:
- Code:
public boolean process() {
Under there add
Code:
- Code:
if (AntiDupe > 0)
{
AntiDupe--;
}
Save it
Next open up Clickingmost.java
Code:
- Code:
other.sendQuest("Other player has accepted.", 3535);
c.sendQuest("Waiting for other player...", 3535);
Replace with this
Code:
- Code:
other.sendQuest("Other player has accepted.", 3535);
c.sendQuest("Waiting for other player...", 3535);
c.hasAccepted = true;
Save And Compile