My bots behave differently on the server than on my pc.
What I am doing: 1. run a modified version of the run_game.bat (see below) which runs the halite.exe with newly compiled bots and 2. upload the replay file to the online visualiser.
What is wrong: my bot runs into planets when offline compiled, but not when online compiled.
The 2 possible causes I have thought of:
1. The halite.exe differs. (I have downloaded the C# package again to make sure I have the latest version, makes no difference. Is it still on an old version?)
2. I use another compiler (csc.exe)
I use "Microsoft (R) Visual C# Compiler version 4.7.2046.0 for C# 5 Copyright (C) Microsoft Corporation. All rights reserved."
Which one does the server use? (Is there a website that hosts it?)
Is there another possible cause? (Put in the run_game.bat for the sake of finding more possible bugs)
My run_game.bat (using wildcards for easier maintainability, and keeps the halite map from being too cluttered):
csc /nologo -out:local\MyBot.exe hlt\*.cs *.cs
csc /nologo -out:local\OpponentBot.exe hlt\*.cs *.cs
.\halite -d "240 160" "MyBot.exe" "OpponentBot.exe Enemy"