Client.java
First copy these:
Code:
if(inWild()) {
int modY = absY > 6400 ? absY - 6400 : absY;
wildLevel = (((modY - 3520) / 8) + 1);
getPA().walkableInterface(197);
if(Config.SINGLE_AND_MULTI_ZONES) {
if(inMulti()) {
getPA().sendFrame126("@[email protected]: "+wildLevel, 199);
} else {
getPA().sendFrame126("@[email protected]: "+wildLevel, 199);
} etc..
from the process and create a new void named:
Code:
updateWalkEntities()
Paste the code you copied in it.
Then remove the code from the process.
Player.java
Add this:
Code:
public abstract void updateWalkEntities();
But try not to add it inside another method
Find these:
Code:
currentX += Misc.directionDeltaX[dir];
currentY += Misc.directionDeltaY[dir];
absX += Misc.directionDeltaX[dir];
absY += Misc.directionDeltaY[dir];
Add this under it:
Code:
updateWalkEntities();
Find this:
Code:
currentX = teleportToX - 8*mapRegionX;
currentY = teleportToY - 8*mapRegionY;
absX = teleportToX;
absY = teleportToY;
resetWalkingQueue();
teleportToX = teleportToY = -1;
didTeleport = true;
Add this under it:
Code:
updateWalkEntities();
PlayerAssitant.java
in add on the last line:
Code:
c.updateWalkEntities();