If you don't have Linux, you can vote for the map cycle on
Otherwise, this script can do that for you.
This is a simple script for casting votes for the map cycle on the DSWP TDM server (dswp.de:22222) without using a browser.
Not as thoroughly tested as dswp.de/postdemo (*cough*), as you can vote only once per week, but it seems to work anyway. :-}
ADVANTAGES:
- Once you are satisfied with your map selection, you can save it
to a file and load it from there on future map votes.
DISADVANTAGES:
- No map screenshots/images are shown. You need to know
the maps behind the map names.
NEEDS:
- GNU/Linux incl. bash and php
- You need to install and run http://dswp.de/postdemo once, then edit DSWPUSER and DSWPPASS in "~/.postdemo/config" to match your forum credentials. Yeah, quick hack, I know. :-}
KNOWN LIMITATIONS: See list "TODOs" in the script.
DOWNLOAD: See attachment.
INSTALLATION and INVOCATION
- download and save as "dswpmapvote.gz"
- gunzip dswpmapvote.gz
- chmod a+rx dswpmapvote
- ./dswpmapvote -h
SUPPORT: There is no guaranteed support of any kind, but if you have
problems, questions or suggestions, you can reply to this
post and hope for someone answering -- after reading the following:
- dswpmapvote -h
- Section containing DSWPUSER and DSWPPASS in $HOME/.postdemo/config (created after first run of postdemo)
ChangeLog:
0.0.2
- add: Implemented batch mode.
- add: Implemented map arguments.
- add: Implemented showing current votes.
- imp: Map list sorted alphabetically
- add: Parameter "--force" to ignore (some) errors.
- chg: After casting a vote, current votes are shown.
- chg: Make --simulate create the files necessary for casting vote.
- FIX: Wrong map count (always 0).
- FIX: Forgot to re-get map page before final analysis.
0.0.1
- First simple, but functional version.