.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   New & raw web based Dominion II game server (http://forum.shrapnelgames.com/showthread.php?t=17837)

Norfleet May 6th, 2004 02:51 PM

Re: New & raw web based Dominion II game server
 
Quote:

Originally posted by Esben Mose Hansen:
And perhaps one could imagine gamers who would avoid game creators with many games that have been restarted? I would, at least.
<font size="2" face="sans-serif, arial, verdana">Except that it's not really THEIR fault that the game had to be restarted, the blame can be squarely placed on the unknown individual who accidentally or deliberately started the game without permission, or the guy who uploaded his pretender over somebody else....

Esben Mose Hansen May 6th, 2004 07:54 PM

Re: New & raw web based Dominion II game server
 
Quote:

Originally posted by Norfleet:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">quote:</font><hr /><font size="2" face="sans-serif, arial, verdana">Originally posted by Esben Mose Hansen:
And perhaps one could imagine gamers who would avoid game creators with many games that have been restarted? I would, at least.

<font size="2" face="sans-serif, arial, verdana">Except that it's not really THEIR fault that the game had to be restarted, the blame can be squarely placed on the unknown individual who accidentally or deliberately started the game without permission, or the guy who uploaded his pretender over somebody else.... </font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">Before those statistics kicks in, both of those problems will be solved, somehow. Actually, I just had an idea on how to make sure that only the game owner can start the game: Just make --noclientstart a game option. Then the game owner could have it on in the beginning, and then turn it off from the change game option page before start. How does that sound?

The problem with pretender overwrites, on the other hand, HAS to be solved. This is what I am currently contemplating:

1. When creating a game, the port is NOT selected by the creator, but generated (in secret) by the server.
2. Then the players select what nation they want to play. This is recorded, and the port is displayed (to those players)

Not perfect --- I can't see how it can be without password protected slots on the server itself --- but pretty close, no?

Esben Mose Hansen May 7th, 2004 01:21 AM

Re: New & raw web based Dominion II game server
 
Quote:

Originally posted by Norfleet:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">quote:</font><hr /><font size="2" face="sans-serif, arial, verdana">Originally posted by Esben Mose Hansen:
I prefer to avoid the latter, since it would mess up my plans for making statistics, but some sort of "hidden", "not relevant" and/or "aged" flag+filter would be nice.

<font size="2" face="sans-serif, arial, verdana">I'm not sure why you would want to keep statistics on dead games, such as the ones that failed to ever actually start, though. Given that a game will likely have at least one false start, wouldn't it better if the failed game could just be completely expunged, freeing the port as well? </font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">Freeing up the port is a non-issue. I'll have a port-reclaiming feature ready way before we use up the 200 ports currently allocated.

I would like the statistics --- for fun. (Yes, I'm a mathematician, can't help it). And perhaps one could imagine gamers who would avoid game creators with many games that have been restarted? I would, at least.

Esben Mose Hansen May 12th, 2004 06:16 PM

Re: New & raw web based Dominion II game server
 
Hmmm. Are you aware that there is empty new game slots on the server?

Anyways, I work from the feedback principle. If noone cares to comment on my suggestions, I'm certainly not going to implement any. So I've canned the suggestions posted below, and now go to work on other stuff (than the server)

Graeme Dice May 12th, 2004 06:39 PM

Re: New & raw web based Dominion II game server
 
Quote:

Originally posted by Esben Mose Hansen:
The problem with pretender overwrites, on the other hand, HAS to be solved. This is what I am currently contemplating:
<font size="2" face="sans-serif, arial, verdana">What you've described is probably the best way to do it without creating a web-based upload interface.

Gandalf Parker May 12th, 2004 07:07 PM

Re: New & raw web based Dominion II game server
 
Quote:

Originally posted by Esben Mose Hansen:
1. When creating a game, the port is NOT selected by the creator, but generated (in secret) by the server.
2. Then the players select what nation they want to play. This is recorded, and the port is displayed (to those players)

Not perfect --- I can't see how it can be without password protected slots on the server itself --- but pretty close, no?

<font size="2" face="sans-serif, arial, verdana">Sounds good.
how about a cron that watches for file uploads and copies them to a save dir? If man.2h is there then 2Man.2h is put into the save dir. That way you can always restore.

In fact maybe the cron could always restore? A new Man.2h file is saved as 2man.sh but the original Man.2h is copied back. if a player meant to replace his god he would need to request a manual deletion of the...

OK new thought. Have the cron watch the upload directorys and remove the write priveleges on uploaded god files. Would that work?

*sigh* Im still thinking a php drag-n-drop might answer things. You could put all the checks and balances in then. I need to get off my ascii and try to get my own working. http://forum.shrapnelgames.com/images/icons/icon7.gif

Norfleet May 12th, 2004 07:44 PM

Re: New & raw web based Dominion II game server
 
I still say web-based upload interface is best: This will also allow you to implement an element of accountability, so that people go AWOL from games can thus be blacklisted from joining future games automatically.

Esben Mose Hansen May 12th, 2004 10:52 PM

Re: New & raw web based Dominion II game server
 
I may implement all 3 things, then. THEN we'll see who is right ;-)

Thanks for commenting again. I go strange without feedback, as you see http://forum.shrapnelgames.com/images/icons/blush.gif

The upload thing is very simple to do. I'll look into that first. As for the cron script, that would be simple too, though a bit worse (harder to test). I don't even need a cron script; the domwatcher script sees every upload. The main problem with that approach is no feedback. Still, it may not be too bad.

Graeme Dice May 12th, 2004 11:26 PM

Re: New & raw web based Dominion II game server
 
Quote:

Originally posted by Norfleet:
I still say web-based upload interface is best: This will also allow you to implement an element of accountability, so that people go AWOL from games can thus be blacklisted from joining future games automatically.
<font size="2" face="sans-serif, arial, verdana">I think it would be much simpler to just have the game owner confirm whether each applicant can join.

Norfleet May 13th, 2004 02:24 AM

Re: New & raw web based Dominion II game server
 
Perhaps, but most of the time, it's generally implicit that people can join unless they have a history of not upholding their commitments. That, and it's always fun to blacklist people.


All times are GMT -4. The time now is 11:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.