| 
 | 
     
    
    
    
     
    
    
    
 
    
    
 
    
     
    
    
    
     
    
    
    
     
    
    
    
 
    
    
 
    
    
 | 
       | 
      
 
 
	
		  | 
	
	 | 
 
 
		
	
	
	
		
	
	
	
		
		
		
			
			 
			
				November 3rd, 2003, 05:59 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					Location: Linghem, Östergötland, Sweden 
					
					
						Posts: 2,255
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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 ] 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 9th, 2003, 03:25 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2000 
					Location: USA 
					
					
						Posts: 15,630
					 
					 
	Thanks: 0 
	
		
			
				Thanked 31 Times in 19 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 9th, 2003, 07:39 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jan 2003 
					Location: Atlanta, GA 
					
					
						Posts: 3,499
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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)
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 9th, 2003, 08:31 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					Location: Linghem, Östergötland, Sweden 
					
					
						Posts: 2,255
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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!). 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 9th, 2003, 08:38 PM
			
			
			
		  
	 | 
 
	
		
		
		
			
			| 
 
  
			
				
				
				Colonel 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jul 2001 
					Location: Calgary, AB, Canada 
					
					
						Posts: 1,743
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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!
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 9th, 2003, 08:40 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jul 2001 
					Location: Southern CA, USA 
					
					
						Posts: 18,394
					 
					 
	Thanks: 0 
	
		
			
				Thanked 12 Times in 10 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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.  
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 9th, 2003, 08:41 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jul 2001 
					Location: Southern CA, USA 
					
					
						Posts: 18,394
					 
					 
	Thanks: 0 
	
		
			
				Thanked 12 Times in 10 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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). 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 9th, 2003, 11:49 PM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					Location: Linghem, Östergötland, Sweden 
					
					
						Posts: 2,255
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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 
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 ] 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 10th, 2003, 02:44 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					Location: Linghem, Östergötland, Sweden 
					
					
						Posts: 2,255
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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 ] 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				November 17th, 2003, 08:57 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Major General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: May 2002 
					Location: Linghem, Östergötland, Sweden 
					
					
						Posts: 2,255
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				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 ] 
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		  Linear Mode 
		
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		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 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
     |  
 |