[Posting] Proposals
From:AlexanderW
Thread:Proposals
Forum:Talk
Date:Tue, 2013-03-19 07:51 GMT
Edited:Tue, 2013-03-19 08:02 GMT

Hello, After reading some on this Server I has some proposals. 0.) Hmm, I created this like a plain ascii text. But Layout looks a litle bit another. As soon as I know what to do I will change this.

1.) Proposals are no Bugs. So a proposal should not be entered in Bugs. One important difference is that bugs should be fixed asap. (What may take a while as Stefan has a real life with a job and...) So writing proposals into "Bugs" may be would worry Stefan who already invest a lot of time into this server. That is the reason I am writing it here in "Talk". I think it may be better to create a own forum for proposals. 2.) http://planetscentral.com/host/toolinfo.cgi Here are currently 4 groups. Host Versions Master Versions Ship Lists Add-Ons The "Add-Ons" is from my point of view something like "put every thing else here". I think this should be splitted in groups like. Map Creating Tools. Map view Tools. (Like Explore Map) Moving Tools. (for example Wormholes) Starbase Tools. Game creating Tools. (May be including Master and different Map Creating tolls) Game Scoring Tools. I do also not know what solution would be really good. Would I see a good solution, I would (only) probably know this is a good solution. I will think a litle bit about this, if I find a solution I like then I will add it here. 3.) http://planetscentral.com/help.cgi/host -> private games Some days ago I started to think about setting up a own server. My idea for a "common game handling idea" was that there should be a lot of batch files (Or better Unix/Linux Shell scripts). My very first idea was to create some files with my ideas. Below the very first ideas I had for this game batch files. I not wrote this for publishing here. So I hope everyone who is intrested can understand. If not, just ask. More detailed (may be with a example game to download and...) and everybody (who is intrested to start a own game on this) should be able to create/change such batch files, zip them and send to Stefan.

==================== Game-Template Batch Files Batch File includes Dos *.bat and also Scrips for the Host OS. For example Shell-Sripts for Linux or... This ShellScripts must be able to run Dos-Tools for original Master, Host, and another Dos-only Tools. DOSEmu is faster as DOSBOX as DOSBOX emulate CPU) (There is also the option to use Plex86‎ and Bochs) If possible should all tools inside scripts (also init) run on a automatic mode for example genxy <genxy_settings.txt Game specific batch files may use common batch file. === for example run 00000001/init ==== createmap 00000001 (runs a batchfile with map creating and map id randomising) master < 00000001/masterconf.txt host 00000001 updategamedata 00000001 ================================================== Games needs the following Batch Files. 1.) init (Shell Script) Script will run only once for each game. Usage: First create Game dir and copy template for the game into empty dir. Game dir must be named for Number (8 Char for example 00000001) of game. cd GameSdir (dir with all the games) init 00000001 (for example for game 1) Script run the following tools. a.) Chart generator (If needed) b.) Master (Or AMaster or...) c.) A Tool to add the game to the Server-Database and open Game for joining. 2.) prehost (Shell Script) Script run before Host, Call Host and may be also the afterhost. Check that everything is ok for Host run. In case of a game ended by voting are here all votings to end game? If yes then do not call host but call endgame. May be server check for mail problems... Backup of gamedir *_prehost inkl. *.trn. 3.+4.)AUXHOST1.BAT + AUXHOST2.BAT (Should be known) 5.) afterhost (Shell Script) Scrit run after host. calculate score. Backup of gamedir *_afterhost Check for victory conditions. If yes then call endgame update database. send mail. 6.) endgame (Shell Script) update database for changed game- (and player-) status. backup of gamedir *_endgame

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.