.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   PBW Emergency Site ver 2 Development (http://forum.shrapnelgames.com/showthread.php?t=10625)

Ruatha November 3rd, 2003 05:59 AM

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 ]

Atrocities November 9th, 2003 03:25 PM

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.

http://forum.shrapnelgames.com/images/icons/icon7.gif

Slynky November 9th, 2003 07:39 PM

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... http://forum.shrapnelgames.com/images/icons/icon12.gif

Ruatha November 9th, 2003 08:31 PM

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.

http://forum.shrapnelgames.com/images/icons/icon7.gif

<font size="2" face="sans-serif, arial, verdana">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... http://forum.shrapnelgames.com/images/icons/icon12.gif
<font size="2" face="sans-serif, arial, verdana">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!).

Taera November 9th, 2003 08:38 PM

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?

Fyron November 9th, 2003 08:40 PM

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. http://forum.shrapnelgames.com/images/icons/icon12.gif "woof" is another sound dogs make, probably related to the "vof" you mentioned.

Fyron November 9th, 2003 08:41 PM

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?
<font size="2" face="sans-serif, arial, verdana">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).

Ruatha November 9th, 2003 11:49 PM

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:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">quote:</font><hr /><font size="2" face="sans-serif, arial, verdana"> 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.
<font size="2" face="sans-serif, arial, verdana">Cookies are a good thing. http://forum.shrapnelgames.com/images/icons/tongue.gif </font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">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
james@visit.se


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 ]

Ruatha November 10th, 2003 02:44 AM

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 ]

Ruatha November 17th, 2003 08:57 AM

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 ]


All times are GMT -4. The time now is 03:24 PM.

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