diff --git a/Application/RSBot/RSBot.csproj b/Application/RSBot/RSBot.csproj
index 72b771a3..21ef30be 100644
--- a/Application/RSBot/RSBot.csproj
+++ b/Application/RSBot/RSBot.csproj
@@ -13,8 +13,8 @@
https://github.com/SDClowen/RSBot
WinExe
app.ico
- 2.9.5
-
+ 2.9.6
+ true
x86
False
diff --git a/Library/RSBot.Core/Components/ClientManager.cs b/Library/RSBot.Core/Components/ClientManager.cs
index 5637498e..d9f5c0aa 100644
--- a/Library/RSBot.Core/Components/ClientManager.cs
+++ b/Library/RSBot.Core/Components/ClientManager.cs
@@ -103,20 +103,18 @@ public static async Task Start()
return false;
}
+ WriteProcessMemory(pi.hProcess, address - 0x6A, patchJmp, 1, out _);
+ WriteProcessMemory(pi.hProcess, address + 0x13, patchJmp, 1, out _);
+
if (isTRGame)
{
WriteProcessMemory(pi.hProcess, address - 0xE7, patchJmp, 1, out _);
- WriteProcessMemory(pi.hProcess, address - 0x6A, patchJmp, 1, out _);
WriteProcessMemory(pi.hProcess, address - 0x71, patchNop2, 5, out _);
- WriteProcessMemory(pi.hProcess, address + 0x13, patchJmp, 1, out _);
WriteProcessMemory(pi.hProcess, address + 0xB2, patchJmp, 1, out _);
}
-
- if (isVtcGame)
+ else
{
- WriteProcessMemory(pi.hProcess, address - 0x6A, patchJmp, 1, out _);
WriteProcessMemory(pi.hProcess, address + 0xC, patchNop2, 5, out _);
- WriteProcessMemory(pi.hProcess, address + 0x13, patchJmp, 1, out _);
WriteProcessMemory(pi.hProcess, address + 0x90, patchJmp, 1, out _);
}
diff --git a/Plugins/RSBot.Map/Views/Main.cs b/Plugins/RSBot.Map/Views/Main.cs
index 51e1a8b6..dc1807a6 100644
--- a/Plugins/RSBot.Map/Views/Main.cs
+++ b/Plugins/RSBot.Map/Views/Main.cs
@@ -593,6 +593,8 @@ private float GetMapY(Position gamePosition)
private void mapCanvas_MouseClick(object sender, MouseEventArgs e)
{
+ if(!Game.Ready) return;
+
var position = Game.Player.Movement.Source;
position.XOffset = Game.Player.Movement.Source.XOffset +
(mapCanvas.Width / 2f - e.X) / SectorSize * 192f * 10 * -1f;