How to test your maps and scripts.

Instructions for using and creating mods.
3 posts Page 1 of 1
JoJoe_Stinky
Mapper
Mapper
Posts: 173
Joined: Thu Oct 24, 2013 3:53 pm


Hi,

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"],
To
"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. :
aos://16777343

Or you can use this batch file to make launching the server and client automatic:
Code: Select all
start run.exe
ping www.google.com
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

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 :
aos://16777343

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 all
start run.exe
ping www.google.com
"C:\open spades\OpenSpades.exe" aos://16777343
taskkill /IM run.exe
pause
You need to change the ("C:\open spades\OpenSpades.exe") part to match where you have openspades installed.
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..
learn_more
Coder
Coder
Posts: 890
Joined: Sun Mar 24, 2013 9:59 pm


Openspades has a connect local 0.75 and connect local 0.76 button on the misc tab of the server browser :)
mananaja


Now copy the map and script you want to test over to the "maps" folder, and run the server.
ผลบอลสด ภาษาไทย
3 posts Page 1 of 1
Return to “Guides / Tutorials”

Who is online

Users browsing this forum: No registered users and 2 guests