View Single Post
  #236  
Old May 12th, 2004, 07:07 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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?
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.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)