.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEIV

Reply
 
Thread Tools Display Modes
  #171  
Old June 7th, 2004, 07:35 PM
Roanon's Avatar

Roanon Roanon is offline
Second Lieutenant
 
Join Date: Mar 2003
Location: Germany
Posts: 575
Thanks: 0
Thanked 0 Times in 0 Posts
Roanon is on a distinguished road
Default Re: PBW status

PHP/mySQL is definitely more standard for web applications than Pearl now, having at least the same power and is easy to learn too. Java is nice too, but more complex to learn for beginners.
Pure C++ is great for professional developing, but it requires very good style and education to programm in a way where you can read the code after half a year and still recognize what it does - or should do. Most amateurish C++ can be thrown away if it ever malfunctions and the guy writing the original application isn't available any more. Yes, you CAN do unreadable programs in any language, but most of the time it takes effort where in C++ it takes effort to do clear programming.
Reply With Quote
  #172  
Old June 8th, 2004, 01:15 AM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW status

The PBW code is currently in Java. The server uses Apache and Tomcat for servlet control and has a MySql database.

As far as making the Java code open-source, that's not our call. I can ask Admiral about it. It's his code.

Tesco is going to be taking over the hosting of the server, and he has mentioned to me the possibility of working on a next-generation PBW that might be in a different language. As far as the possibility of making that an open-source project, that sounds interesting to me, but I am not a programmer. Either way it would have to be his call.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #173  
Old June 8th, 2004, 01:18 AM
Grauzone's Avatar

Grauzone Grauzone is offline
Private
 
Join Date: Aug 2003
Location: Germany
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Grauzone is on a distinguished road
Default Re: PBW status

Quote:
Originally posted by Cipher7071:
The good thing about Perl ...
i would prefer perl too. this language is a very powerfull tool, which is used in many successfull applications (many code examples for us).

Pro:
scripting language (usability)
simple to learn
many code libraries

Contra:
scripting language (performance)
Reply With Quote
  #174  
Old June 8th, 2004, 01:58 AM

Mark the Merciful
Guest
 
Posts: n/a
Default Re: PBW status

I think this discussion is really important, but we are on the "PBW status" thread. As it has a useful service function, we ought not to spam it too much.

So I'm posting a new topic. See you all there.

Mark
Reply With Quote
  #175  
Old June 8th, 2004, 04:55 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: PBW status

Is it possible to reset the server.
i e start with a blank database.
Everybody signs in again and we set up the games anew.

Can it be tested on a clean disk with only the server software and no data: no turnfiles, no shipsets, empty SQL database, no Users, no forums... etc

If we restarted it could be convenient to have 20 dummy players that hosts can use to fill in the empty slots when rebuilding the games at pbw, and then kick when the game is restarted.
If the server works with blank data, give everyone 2-3 weeks to save e-mail adresses and player names etc and then reset.


Just an idea, it might be a bad idea, but still an idea.

[ June 08, 2004, 16:07: Message edited by: Ruatha ]
Reply With Quote
  #176  
Old June 8th, 2004, 05:37 PM

AMF AMF is offline
Lieutenant Colonel
 
Join Date: Dec 2000
Posts: 1,254
Thanks: 0
Thanked 0 Times in 0 Posts
AMF is on a distinguished road
Default Re: PBW status

Personally, I'd much rather not see that as the course of action, simply because I think many games would just cease, hosts would be unavailable, etc...I reccomend from now on game hosts backup the turn files each turn (on their local machines). That way if the server goes totally on the fritz then they can run the games as PBEM until the server is back Online. I plan on doing this from now on for the games I am hosting. NOTE: I am knocking on wood right now, to avoid jinxing the darn thing by even bringing up the topic. I'm just playing it safe...

Alarik

Quote:
Originally posted by Ruatha:
Is it possible to reset the server.
i e start with a blank database.
Everybody signs in again and we set up the games anew.

Can it be tested on a clean disk with only the server software and no data: no turnfiles, no shipsets, empty SQL database, no Users, no forums... etc

If we restarted it could be convenient to have 20 dummy players that hosts can use to fill in the empty slots when rebuilding the games at pbw, and then kick when the game is restarted.
If the server works with blank data, give everyone 2-3 weeks to save e-mail adresses and player names etc and then reset.


Just an idea, it might be a bad idea, but still an idea.
Reply With Quote
  #177  
Old June 8th, 2004, 06:04 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: PBW status

Right now no one can sign up to PBW as new players.
Mails doesn't go out.
passwords aren't being sent out.
Yes, some games would cease and soem would take time to get going again.
Perhaps two servers running paralell, a new with the same software but no data, and the old one as it is but moved to another adress?
Reply With Quote
  #178  
Old June 8th, 2004, 06:20 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW status

Your idea isn't a bad one Ruatha, it's actually something like what I am going to attempt. But it's not the end, only a step in the process of rebuilding the server to hopefully get things working the way they are supposed to. The hardest part of the whole things I think is going to be getting the basic template of the server setup with no data. Once I get there it should be no problem to copy the current user, mod and game data into the places it belongs. It should not be neccesary to make everybody start from scratch and setup all there games over again. Although, if it becomes neccesary that would be certainly preferable to no PBW at all.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #179  
Old June 8th, 2004, 06:37 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: PBW status

Is it the database that is corrupted? Or the code that accesses it? I have copies of the old code if that will help for comparison. And maybe bits of the database can be extracted. In any case it should be copied before a new one is started.

And I guess maybe a scheduled copy-to-backup needs to be included in the code (this Version or new project)
__________________
-- 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!)
Reply With Quote
  #180  
Old June 8th, 2004, 06:40 PM
geoschmo's Avatar

geoschmo geoschmo is offline
National Security Advisor
 
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
geoschmo is on a distinguished road
Default Re: PBW status

Part of the problem is we really don't know if it's the database or not. That's one of the things that this rebuild process will help to determine.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:59 AM.


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