dswp.de
http://www.dswp.de/old/

[dswp] map voting engine for download
http://www.dswp.de/old/forum-gameserver-support/map-voting-engine-for-download-t7493.html
Page 1 of 1

Author:  wurst [ 09.22.14 ]
Post subject:  [dswp] map voting engine for download

I got a request for the map voting system, thought it might be a good idea to share this in public...

1.)
attached a phpbb_dir.zip with the needed files and directories in phpbb:
Attachment:
phpbb_dir.zip [5.96 KiB]
Downloaded 1143 times

ask if you have questions, its including a php script within template, maybe you must change some html in ./styles/....
2.)
u need maps images, thats here:
images/map_pics.zip
it must be inflated in ./images/maps_pics/
3.)
last but not least theres some tables, its attached sql.zip:
Attachment:
sql.zip [3.54 KiB]
Downloaded 1147 times

4.)
Theres a cron job that launch a shuffle-and-upload script via FTP to B3 on the game server.
Code:
30 5  *   *   *     php /my_directory_for_script_execution/mapcycle_cron.php >> /var/www/virtual/dswp.de/php_crons/mapcycle.log

Heres that script:
Attachment:
upload_cron.zip [4 KiB]
Downloaded 1159 times


now it can be, that the machine includes matched users.
if so, we will have error and something very useful to do... (:

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/