I have completed an open source Masterserver for Clonk engines, called C4Masterserver which can be used for OpenClonk. It originally was based on a more complex version with league support and a nice few extras, but it was reduced to the needed game handling of normal games. I might add league support again in a later version, and I'll provide updates via the download site, so you could check back in a few weeks time. Originally it also had multilanguage support, but this was also removed. The system is based on PHP and MySQL and should be completely safe by escaping all values.
The masterserver is currently available from the repository in /masterserver.
Here's a list of features:
You can download the complete package at http://ms.betzel.spacequadrat.de/download/.
These packages are no longer maintained. Use the package from the repository for the newest updates.
Here are some screenshots of the frontend and ingame:
The masterserver is currently available from the repository in /masterserver.
Here's a list of features:
- Graphical frontend
- Reusable documented classes
- Configuration via simple config.ini
- Flood protection
- Parsing of coded entities for frontend display
- Full support for Clonk 4 compatible masterserver traffic
- Works with Clonk Rage & OpenClonk
- Licensed under CC-BY 3.0
These packages are no longer maintained. Use the package from the repository for the newest updates.
Here are some screenshots of the frontend and ingame:
Since it's CC-BY 3.0 and related to the OC project, I think it should be committed into our repository under c4ms/ - the masterserver which I'll set up today can be put into the engine as the default materserver.
If you make a patch, I'll push it for you. Also, I think B_E could use a repository access to work on his c4ms (or other OC stuff ;-) ) using the repository. (Developer) opinions?
If you make a patch, I'll push it for you. Also, I think B_E could use a repository access to work on his c4ms (or other OC stuff ;-) ) using the repository. (Developer) opinions?
Do you replace 0.0.0.0 in "Addresses" by the sender's address? This is required because the engine can't guess its internet address in most cases.
Found another issue concerning long round names. Will be fixed with the 0.0.0.0-problem in a few minutes.
[Edit] Ok, the Ini-parser did something weird with comments if there was a ; somewhere in the string. New version is up in a moment.
[Edit²] Done
[Edit] Ok, the Ini-parser did something weird with comments if there was a ; somewhere in the string. New version is up in a moment.
[Edit²] Done
This probably leads us to the necessity of placing masterserver under RCS and bugtracker control
Well, it is quite a hassle updating it for somebody, revision control would be a good idea. On the other hand, it is finished, and there is practically not very much to be done without implementing something new e.g. league, which isn't interesting right now yet.
I personally like how it looks
Edit: Though OC interface will probably be changed (to make it differ from CR's) - and the "second screenshot" as well
Edit: Though OC interface will probably be changed (to make it differ from CR's) - and the "second screenshot" as well
Live demo open for all engines, in case somebody want's to test it or use it till there is an official one.
Not the current version imho (no version display). But then okay, take yours ;)
I had to edit your index.php a bit to put in the header and change the title. Could be that I overwrote the version information. But it is 1.1.4
Was away, It'll come tomorrow or so.
Finally managed the parsing of entities (I never want to have something to do with charsets again!).
If there are any new feature requests or ideas for changing the masterserver communication somewhow please let me know ;)
Also if at some future point there is an interest in a new league system or other special new feature just mention it.
Otherwise feel free to post any bugs, feedback or questions!
Also if at some future point there is an interest in a new league system or other special new feature just mention it.
Otherwise feel free to post any bugs, feedback or questions!
http://bitbucket.org/caesar/openclonk/changeset/c695e783c63f/ <- change default ms
Inofficial update to version 1.1.5_ex:
[+]C4Masterserver frontend can now be easily included into other PHP websites by including the frontend.php and using the template-functions for display of information
[*]Some adjustments on the CSS as well as the index.php (frontend)
[*]Minor string changes on the frontend
[+]C4Masterserver frontend can now be easily included into other PHP websites by including the frontend.php and using the template-functions for display of information
[*]Some adjustments on the CSS as well as the index.php (frontend)
[*]Minor string changes on the frontend
Attachment: c4masterserver_1.1.5_ex_en.zip (11k)
The masterserver is now available in the repository in /masterserver. I'll be updating it from there.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill