|
New Ace of Spades Forums: http://buildandshoot.com/ |
|
I thought this might be helpful to someone so I uploaded it. This is a rather simple tool that will help you to Launch a default server from a configuration file. Be Sure to Read the ReadMe for more Information. Or at least be sure to edit server.ini with your own information. Download Open Source Information Permission is granted to anyone to use this software for any purpose, 1. The origin of this software must not be misrepresented; you must not The source is included inside the Source folder. You will need AutoIt3 to edit/view the source. Release Log Release 2 (8-18-2011) Release 1 (8-17-2011) |
#80774 Sandcrawler Member Posted 13 years ago |
In theory this could work with pyspades! It is an executable like the default server. Thanks for doing this for us. We really need a way to cycle maps. In yout thread title you might want to add : How to set up map cycling. or Server launcher +map cycle feature. i am sure the Admins would live to add this :) With your exe files you can have the windows scheduler automate a server :) I was going to do something with batch files like this.: #REM stop running server. #REM delete old config. #REM get new config file from pool. #REM launch server. C:\path\to\AOS\server.exe Then i would have seperate config files in a pool folder that load the various maps and settings for that map. Pyspades provides us with a bunch of CLI commands, so we might be able to load the seperate map files without swapping the custom config files. like this: that would be the easiest route, but i dont know if Pyspades does that or not. |
#81250 JoJoeStinky Stinkious Maximus Posted 13 years ago |
That is a good idea to have a cycle maps feature. I built it into the program now. Just visit the link above and it has the newest version. In the new configuration file you set several maps (could set as many as you want) and it will rotate through them. When it restarts it will go back to the first one and thus start over. Before this new version it would only run the one map, and the only way you could rotate maps would be using the batch files and a cronjob. Now you just set the maps in sever.ini, and set the restart time in hours. If there is interest in it I can tweak this to work with PySpades (I haven't really used PySpades, so I don't know what all would need to change for it.) |
#81377 Sandcrawler Member Posted 13 years ago |
How very very cool!! thank you very much :) pyspades loads the map from whatever is specified in the config.txt file. If you could somehow use GREP, or use your program to edit the text file, and change teh mapname.vtx, it should work out. Pyspades uses a feature called rollback that you can set up to refresh the map. It takes a long time sometimes, and lags the players. It would definitely be faster to just restart the server. What would be cool is if you could somehow echo to the players that the server is changing maps, and to log back in 1 minute. Thanks for doing this :) i am going to give it a test run tonight. |
#81591 JoJoeStinky Stinkious Maximus Posted 13 years ago |
RSS feed for this topic |
You must log in to post.
|
|
Ace of Spades Game Forums is proudly powered by bbPress. // Theme by Mike Lothar |