Fix passing through gate to training grounds + make ::shop bots tele to current loc first try (#410)

This commit is contained in:
Daniel Ginovker
2020-08-04 13:27:24 -04:00
committed by GitHub
parent d2e8945578
commit 6684364b64
2 changed files with 2778 additions and 2769 deletions
@@ -31,16 +31,13 @@ public class Bot {
botClient.isActive = true;
botClient.disconnected = false;
botClient.npcCanAttack = false;
botClient.canWalkTutorial = true;
botClient.tutorialProgress = 36;
GameEngine.playerHandler.newPlayerClient(botClient);
loadPlayerInfo(botClient, username, "bot_password", false);
System.out.println("x is " + x);
if (x == null) {
System.out.println("Bot should be at " + botClient.getX() + ", " + botClient.getY());
}
if (x != null) {
System.out.println("Moving player to " + x + "," + y + "," + z);
botClient.getPlayerAssistant().movePlayer(x, y, z);
}
new TradeChat().run();
File diff suppressed because it is too large Load Diff