Jump to content
Sign in to follow this  
ultikiller20

[667/***] Trade - Walk here Glitch fix

Recommended Posts

Alright, this fixes the whole stand on someone glitch.

Either if you stand on someone
Or if you in trade and walk on them.

To start open up trade.java -> Located in com.rs.game.player.content ->

Next search for the method: public void acceptPressed(Player pl)

Now at the top add this:

[CODE] if (trader.getX() == partner.getX() && trader.getY() == partner.getY()) {
WorldTasksManager.schedule(new WorldTask() {
public void run() {
trader.addWalkSteps(trader.getX(), trader.getY()-1, -1, false);
stop();
}
}, 1);
pl.getPackets().sendGameMessage("You can't trade on top of someone.");
return;
}[/CODE]

May not be the best fix, but its a fix Edited by ultikiller20

Share this post


Link to post
Share on other sites
Err nice one I think. Edited by displee

Share this post


Link to post
Share on other sites
What's the glitch?

Share this post


Link to post
Share on other sites
Where some servers have a bug, you can walk on someone (during trade) and keep clicking accept. Displee fixed the one where ur not in during trade.

Since some peope dont know how to close the interface when u walk.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×