.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

Reply
 
Thread Tools Display Modes
  #11  
Old November 3rd, 2003, 05:59 AM
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 Emergency Site ver 2 Development

Ok, I have some ideas how to make that by using batchfiles (The PHP script making a subbatchfile for each gamedirectory and then there is a constant running batch file that runs those), but I hink a exe file would be easier and better.
I'll go for that first.
As I've already planned on how to control the app through the PHP script.

Another way would to be by using PHP only; a constant running script in a browser at the host computer which updates itself once a minute and checks all game directories, but I'll still go with the exe app first.

You can check how ver 2 is looking so far, I'm using the NGC3 game to flush out bugs:
http://pbw.ath.cx

[ November 03, 2003, 07:19: Message edited by: Ruatha ]
Reply With Quote
  #12  
Old November 9th, 2003, 03:25 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: PBW Emergency Site ver 2 Development

Ruatha, just in case it hasn't been said before, thank you very much for doing this for us and the game man.

__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #13  
Old November 9th, 2003, 07:39 PM
Slynky's Avatar

Slynky Slynky is offline
General
 
Join Date: Jan 2003
Location: Atlanta, GA
Posts: 3,499
Thanks: 0
Thanked 0 Times in 0 Posts
Slynky is on a distinguished road
Default Re: PBW Emergency Site ver 2 Development

Yeah, I tried to give him a rating Last week but the dog doesn't have it turned on...
__________________
ALLIANCE, n. In international politics, the union of two thieves who have their hands so deeply inserted in each other's pocket that they cannot separately plunder a third. (Ambrose Bierce)
Reply With Quote
  #14  
Old November 9th, 2003, 08:31 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 Emergency Site ver 2 Development

Quote:
Originally posted by Atrocities:
Ruatha, just in case it hasn't been said before, thank you very much for doing this for us and the game man.

Thanx, if PBW goes down again, next time we'll be prepared!


Quote:
Originally posted by Slynky:
Yeah, I tried to give him a rating Last week but the dog doesn't have it turned on...
Bark, Bark (is it Barf or bark in english? in swedish the sound is vov or as alternative voff, that's how swedish dogs sound!).
Reply With Quote
  #15  
Old November 9th, 2003, 08:38 PM

Taera Taera is offline
Colonel
 
Join Date: Jul 2001
Location: Calgary, AB, Canada
Posts: 1,743
Thanks: 0
Thanked 0 Times in 0 Posts
Taera is on a distinguished road
Default Re: PBW Emergency Site ver 2 Development

is it not easier to just get a copy of the PBW itself and locate it elsewhere while the main server is down/moving?
__________________
Let the game begin!
Green bug from outa space!
Reply With Quote
  #16  
Old November 9th, 2003, 08:40 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: PBW Emergency Site ver 2 Development

"barf" is generally associated with vomitting. "bark" is the sound dogs make, as well as the hard stuff on the surface of trees. "woof" is another sound dogs make, probably related to the "vof" you mentioned.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #17  
Old November 9th, 2003, 08:41 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: PBW Emergency Site ver 2 Development

Quote:
Originally posted by Taera:
is it not easier to just get a copy of the PBW itself and locate it elsewhere while the main server is down/moving?
Not really. PBW has a lot of code, and can only be run on a server that you have root access too (ie: not on any sort of shared web hosting plan).
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #18  
Old November 9th, 2003, 11:49 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 Emergency Site ver 2 Development

Yep, the ver 2 will be able to run both on your home computer where you'll be able to use the autoturn.exe function (Of course you need the SE IV game aswell) or on any PHP capable server, then you'll have to download the files for turn execution at your local computer.
But everything except the autoturn.exe should work everywhere (only PHP and HTML code).

EDIT:


Quote:
Originally posted by Imperator Fyron:
quote:
I won't use cookies, set your browser to auto complete and you'll just have to type the first letter and click the text that shows up.
Cookies are a good thing.
Yes, but to much sugar isn't good for you!

I've made the complete readme.txt for ver 2.0;


PBW Emergency Site 2.0
======================
2003-11-10

To be used when the PBW server at http://seiv.pbw.cc goes offline.

All help files can be accessed through starting the HELP_CONTENT.HTML in the HTML_FILES directory!!

To set up the site unpack the archive with intact directory structure to a folder that is availible from the net.
You must give all Users write permission (It's also called setting chmod permissions to 646 (allow public write)) to the GAMES directory and all it's subdirectories including all files.
No files above the GAMES directory needs to be changed after the site is up and running.

It might be a good idea to check in your PHP.INI file (do a search on your computer for it if you don't know where it is) that MAGIC QUOTES are off, it won't make any errors if it's on but entered news might show a backslash \ infront of apostrophes ' and quotes ".
Also check in the PHP.INI file the allowed size that Users can upload, it could be a good idea to increase that size!

The starting file for the site can be index.html or index.php, by using index.php as starting page the site will load a fraction of a second faster than when using index.html.

For all other info including troubleshooting check the html help files!

Good Luck


Ruatha
[email protected]


Is the part of CHMOD understandable?

Up and running at:
http://pbw.ath.cx

To do:
http://pbw.ath.cx/what_to_do.txt
(a dynamicly changing file...)

[ November 09, 2003, 22:14: Message edited by: Ruatha ]
Reply With Quote
  #19  
Old November 10th, 2003, 02:44 AM
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 Emergency Site ver 2 Development

All PHP to make it a running site is down, what is left to do:

Bug routing.
Error handling with error log.
Hack log.
Help files.
Autoturn.exe

If it's a one game site, it is up to the host to decide if it should bypass the index page and go directly to the game main page or not.

[ November 09, 2003, 12:45: Message edited by: Ruatha ]
Reply With Quote
  #20  
Old November 17th, 2003, 08:57 AM
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 Emergency Site ver 2 Development

Ok, it's coming along well.
Now it runs the turn, backups and mails the players when all has uploaded, now whats left:
Some features to the site, more help files and comments in the code and the deadline checking.

When PBW comes on-line and the emergency site is finished I'll release it so that it can be put up immediatly on any PBW down-time in the future.

http://pbw.ath.cx


EDIT:
I made the script execute the turn when ALPU and manual execution, if host so allows. Now for timed turns...

[ November 17, 2003, 14:15: Message edited by: Ruatha ]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 02:59 AM.


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