Mmmh. I can't reproduce this error here
The first 4 lines of the BAT should not be edited.
Only the last but one ... that's the true call,
the 3 above it are examples of usage.
The first is just to stop echoing commands to console.
The last is to open the notepad with the stdout.txt file.
I tried 42 as number of loops, it worked fine.
You can also try to call the BAT from a command line yourself,
via START / Run ... / "cmd"
in the window you get (a (faked) DOS prompt) change to the sauerbraten folder and type
use_servermonitor.bat
to run.
You can send me your BAT via email, I'll take a look at it.
Also - good news : I think I've found a way to be more cross platform with the waiting loop!
@GUI : the whole idea was to stay away from GUI stuff :)
Anyway - this would mean forking the development for both Windows & Linux OSes ... something I'm not really willing to take on.
Only solution I'd agree to think about would be a GUI-wrapper written in Python (using boa-constructor).
Since aard implemented his "Debug Message" I've been unable to compile the windows version without commenting out those lines in source :-/
Maybe your issue is somewhow connected to this, but I don't think so.
I can give you the source to the servermonitor if you're interested, it's not very pretty that's why I haven't publicized it yet.