Not logged inOpenClonk Forum
Up Topic General / General / C4Masterserver
- - By B_E [de] Date 2010-02-05 09:05 Edited 2011-07-21 09:25
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:

  • 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



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:
Parent - By Newton [de] Date 2010-02-05 12:38
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?
Parent - - By PeterW [de] Date 2010-02-05 18:16
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.
Parent - By B_E [de] Date 2010-02-05 18:18
No, I never had that issue at all. I'll implement it though.
Parent - - By B_E [de] Date 2010-02-05 18:25 Edited 2010-02-05 18:54
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
Parent - - By AlteredARMOR [ua] Date 2010-02-05 18:42
This probably leads us to the necessity of placing masterserver under RCS and bugtracker control
Reply
Parent - - By B_E [de] Date 2010-02-05 18:54
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.
Parent - By Loriel Date 2010-02-05 22:41
You always put code under revision control. It is just what you do with it.
Parent - - By AlteredARMOR [ua] Date 2010-02-05 22:48 Edited 2010-02-05 22:52
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
Reply
Parent - By B_E [de] Date 2010-02-05 23:03
The screens are slightly outdated by now - and the second one will hopefully change sometime to ;)
Parent - - By B_E [de] Date 2010-02-08 17:33
Live demo open for all engines, in case somebody want's to test it or use it till there is an official one.
Parent - - By Newton [de] Date 2010-02-08 17:43
It's also here: http://boom.openclonk.org/
Parent - - By B_E [de] Date 2010-02-08 17:46
Not the current version imho (no version display). But then okay, take yours ;)
Parent - - By Newton [de] Date 2010-02-08 17:52
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
Parent - By B_E [de] Date 2010-02-08 18:08 Edited 2010-02-08 19:18
Hm, sure? Because the version info should be in the footer really. But if it says it in the comments, ok ;)

Edit: Of course, silly me.
Parent - By B_E [de] Date 2010-02-09 10:25 Edited 2010-02-21 22:37
1.1.5 coming this evening/tomorrow, parsing special chars in the frontend and a few other minor changes.
Was away, It'll come tomorrow or so.
Parent - By B_E [de] Date 2010-02-22 00:30
Finally managed the parsing of entities (I never want to have something to do with charsets again!).
Parent - By B_E [de] Date 2010-05-06 14:27
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!
- - By AlteredARMOR [ua] Date 2010-02-08 18:15
What about writing a blog message?
Reply
Parent - By B_E [de] Date 2010-02-09 10:24
Newton (?) still wanted to do that.
- - By Caesar [de] Date 2010-02-08 22:35
Parent - By Sven2 [de] Date 2010-02-09 00:34
Thanks, pushed it.
- - By Newton [de] Date 2010-08-12 16:16
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
Parent - By B_E [gb] Date 2010-08-13 08:46 Edited 2010-08-13 15:47
Looks nice, I'll have a closer Look when I' m back from holiday. Thanks ;)
- By B_E [de] Date 2010-09-27 12:27
The masterserver is now available in the repository in /masterserver. I'll be updating it from there.
Up Topic General / General / C4Masterserver

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill