It is sort of a trick to test your maps, so i thought I would make a quick guide.
First off you need PySnipe, https://code.google.com/p/pysnip/
unzip the dist package to your desktop. Open the Config.txt file and change the line :
"maps" : ["pygen", "random"],
"maps" : ["map", "map"],
Now copy the map and script you want to test over to the "maps" folder, and run the server.
For the original AoS client just type this into your browser address bar. :
Or you can use this batch file to make launching the server and client automatic:
Code: Select allSave it as TestMap.bat or whatever you want, just as long as it ends in .BAT or .CMD. Make sure it is in the server folder next to the Run.exe
start run.exe ping www.google.com aos://16777343 taskkill /IM run.exe pause
For OpenSpades (The preferred method of getting those awesome screenshots!):
make a shortcut to OpenSpades.exe anywhere you want.
Rightclicky, and select Properties.
In the Target: field add a space and :
It should look something like this:
"C:\open spades\OpenSpades.exe" aos://16777343
To make it automated make a batch file with this in it:
Code: Select allYou need to change the ("C:\open spades\OpenSpades.exe") part to match where you have openspades installed.
start run.exe ping www.google.com "C:\open spades\OpenSpades.exe" aos://16777343 taskkill /IM run.exe pause
Save it as TestMap.bat or whatever you want, just as long as it ends in .BAT or .CMD. Make sure it is in the server folder next to the Run.exe
Happy map and script testing!!
Remember that you may need to manually kill the server when you are done, if you try to run 2 servers you will get an error and it will crash the second instance..