|
|
|
|
|
April 28th, 2004, 03:33 PM
|
|
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Quote:
Originally posted by Johan K:
I'll take a look at password protection for God uploading and check if it might be possible to use master password for network games as well.
What is the problem with having more than 15 games running on your old computer? Running out of memory perhaps?
|
Thank you Johan. That would be so extremely helpful. Those two things (stealing positions and being able to change a AWOL player to computercontrolled) is no 1 and 2 on the wishlist, and ones I can't find a good solution for.
Yes, the reason for the low limit was memory considerations. However, I went ahead and actually read the man top, and found out that each dominions II game uses about 20-30Mb virtual memory. Or at least I think so. Between caching, shared libraries and shared memory I get terrible confused about what number to use.
Currently, the server has used about 500Mb virtual memory, while having 256Mb of RAM. I do not consider it wise to push it further.
code:
total used free shared buffers Cached
Mem: 249 239 10 0 43 29
Swap: 1004 255 748
I think perhaps the number of games could be pushed to 20, but as this server is my everything from my email server to my Gentoo repository, I really don't want to test it to the point of destruction. I hope in the future that somebody else will add a server. Otherwise, we'll just have to make do with this one, until I happen to invest in a new computer.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|
April 28th, 2004, 05:22 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: New & raw web based Dominion II game server
I like memstat. I found it handy to use "memstat|sort -n" because it includes librarys and who is using it. Dom2 has improved ALOT in its memory useage and has plugged nearly all the memory leaks. (I think there is a windows-host leak still which has a fix in the next patch)
__________________
-- 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!)
|
April 28th, 2004, 08:59 PM
|
|
Brigadier General
|
|
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
|
|
Re: New & raw web based Dominion II game server
I have taken a look at it now and the master password will be usable for network clients too in the next patch. No password protection for god uploading though, but I have added a warning message that might prevent some people from stealing positions by mistake. Something like "Warning this nation is already controlled by a player. If you overwrite someone else's god Mose Hansen will visit you on next tuesday and beat you up, punk. Are you sure you want to take this risk?".
|
April 28th, 2004, 09:14 PM
|
|
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Quote:
Originally posted by Johan K:
I have taken a look at it now and the master password will be usable for network clients too in the next patch. No password protection for god uploading though, but I have added a warning message that might prevent some people from stealing positions by mistake. Something like "Warning this nation is already controlled by a player. If you overwrite someone else's god Mose Hansen will visit you on next tuesday and beat you up, punk. Are you sure you want to take this risk?".
|
Great news about the master password :-D
I think what I will do, then, is this: When creating no-anonymous game, a new player will only get the port number after stating what nation(s) he wants to play. That should reduce the problem.
Thanks for your effort!
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|
April 29th, 2004, 01:14 AM
|
|
Brigadier General
|
|
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
|
|
Re: New & raw web based Dominion II game server
I'll take a look at password protection for God uploading and check if it might be possible to use master password for network games as well.
What is the problem with having more than 15 games running on your old computer? Running out of memory perhaps?
|
May 1st, 2004, 07:31 PM
|
|
Lieutenant General
|
|
Join Date: Dec 2000
Posts: 2,555
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: New & raw web based Dominion II game server
Just a suggestion:
You could make direct link from starting (logged) players page to games he is playing. It will make checking game status faster and will encourage players to ID themselves in games they are playing.
You did great work with this server and helped MP community greatly. You earned a big THANK YOU from me.
|
May 1st, 2004, 07:49 PM
|
|
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|
May 1st, 2004, 11:33 PM
|
|
Lieutenant General
|
|
Join Date: Dec 2000
Posts: 2,555
Thanks: 5
Thanked 3 Times in 3 Posts
|
|
Re: New & raw web based Dominion II game server
Ahh, sorry. You already have "My games" option that does what I suggested. I thought it only shows games you started.
|
May 1st, 2004, 11:51 PM
|
|
Second Lieutenant
|
|
Join Date: Apr 2004
Location: Ohio
Posts: 402
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
I started another thread where I suggested that you create a small Paypal donation button on your website... or somewhere else.
I would certainly be willing to donate $10-$20 for the purchase of more ram or whatever else you want to add to your game server. If everyone that used your server donated a few dollars it would be a decent amount of money to finance some upgrades.
Quote:
Originally posted by Esben Mose Hansen:
only wish I had 256Mb extra RAM of whatever type my Celeron 300Mhz server uses, so I could run more games simultanosly.
|
|
May 2nd, 2004, 06:57 AM
|
|
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: New & raw web based Dominion II game server
Quote:
Originally posted by Maltrease:
I started another thread where I suggested that you create a small Paypal donation button on your website... or somewhere else.
I would certainly be willing to donate $10-$20 for the purchase of more ram or whatever else you want to add to your game server. If everyone that used your server donated a few dollars it would be a decent amount of money to finance some upgrades.
|
While I really appreciate the sentiment, I really do not wish money for what I do. If I received money, I would feel I had to provide this service, and use the money to buy stuff for the server. That would kill the fun.
However, if anybody knows the type of RAM a Celeron 300Mhz computer would use, and had a 128--256Mb or so block of the stuff lying around, then I wouldn't mind accepting that. I doubt it is worth more than $20 now-a-days, though you never know. If you decide to do this, I'll take the server down, open the box and have a look inside to see how many slots are free.
And my next computer upgrade is probably in a few months in any case. Me & and my wife are getting cramped on our two non-server computers. If that happen, I migh even upgrade the server-to-be to 1Gb RAM --- enough for any number of Dominions2 games.
Again, I really, really appreciate the sentiment. But I do this for fun, and money would kill that fun.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|