.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
  #1  
Old October 25th, 2003, 11:43 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 PBW Emergency Site files v1.51 Finished and fixed.

Se it working, press games here:
PBW
or
NGC3 Emergency Site

Files are here:
Complete ver 1.2
A patch to latest Version is here:
Patch to ver 1.2
The patch updates index.php and adds news.htm and updates readme.txt

-----------------------------------------

You need a http server capable of handling php files.
The starting file is index.php
You can set up as many sites as you wish but each site needs their own directory with a gamefile and turnfiles subdirectories.
You can alter all data in simple textfiles, the configuration.txt set up is before the site is turned on and then shouldn't have to be altered anymore.
The playerdata.txt needs to be altered when players drop and are replaced.
The deadline.txt needs to be altered when the deadline is updated.
Hopefully I'll fix a better deadline handler in the future, and a progress bar for the uplaod turnfile, that script has been giving some players troubles, I'll look into that (Not working for some).


The gamefile that lies in the GAMEFILE directory must be named in PBW standard,
that is:
Gamename_turnnumber.zip
and the gamename the same as in configuration.txt

i e:
NGC3_57.zip

The uploaded turnfiles in TURNFILES directory should be named accrdingly in PBW standard:
Gamename_playernumber(4 numbers).plr

i e:
ngc3_0001.plr


These are the textfiles that needs to be altered:

NEWS.HTM:
Add all news here.

#1. Configuration.txt:
Game name
Site name
Host name
Host e-mail
Info line

i e:
NGC3
Newbie Galactic Combat 3 PBW Emergency Site
Ruatha
[email protected]
Made 2003 by James Johansson aka Ruatha with Wordpad.

#2. Playerdata.txt :
Number of players
Player1
Player1 e-mail
Player1 empire name


---------------------------------------------------------------------------------
If you name the empires without player with player name "-" it won't be marked red and will be displayed with the name "(none)".
If the empire is dead name the player "-" and name the empire for example "Dead" or whatever.

(The " shouldn't be included in the textfile)
--------------------------------------------------------------------------------

i e:
3
Ruatha
[email protected]
Swedish Democracy
James
[email protected]
Storuman Republic
-
-
Dead

#3. Deadline.txt
year
Month
Day
hour

i e:
2003
8
22
20


------------
Good luck.

James aka Ruatha

[ October 31, 2003, 05:34: Message edited by: Ruatha ]
Reply With Quote
  #2  
Old October 26th, 2003, 09:39 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 files v1.51 Finished and fixed.

se it working : PBW Emergency Web site

Cosmetic update.

Patch 1.3

Complete ver 1.3

Fixed:

Changed news.htm to news.html
Changed colour of (none) to green
If deadline is negative it doesnt display it.

ver 1.2 was a critical update
Fixed get turn, now works.
Added mail all button.
Added news.
If name of player is - it's displayed as none, not red.

[ October 26, 2003, 08:08: Message edited by: Ruatha ]
Reply With Quote
  #3  
Old October 26th, 2003, 09:29 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 Emergency Site files v1.51 Finished and fixed.

Is it possible to make a script that will automatically send an email to the game owner when the Last .plr file is uploaded?

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #4  
Old October 26th, 2003, 10:32 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 files v1.51 Finished and fixed.

Updated ver 1.31:
patch 1.31
Complete 1.31

Fixed:
If e-mail of player is - it won't be included in "mail all".

Geo-
Seems possible.
Wait for ver 1.4
(Tonight I hope)

[ October 26, 2003, 20:38: Message edited by: Ruatha ]
Reply With Quote
  #5  
Old October 26th, 2003, 11:50 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 files v1.51 Finished and fixed.

Updated again.
readme isn't fixed.
Complete 1.4

patch 1.4

What is it:
If you add Yes in configuration.txt it will mail the host when all has uploaded if
in MAIL.PHP $mailnotify="yes";

You must in mail.php add the servers SMTP and perhaps the Server owners account.

Good Geo??

Will fix readme tomorrow, nighty!

If it malfunctions you still have ver 1.31 to download.
Reply With Quote
  #6  
Old October 27th, 2003, 02:16 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 Emergency Site files v1.51 Finished and fixed.

Ok, the email doesn't seem to work. Doesn't give me an errors or anything, but I never get an email.

Doesn't the smtp email need a password? Maybe that's what's wrong?

Geoschmo
__________________
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

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 06:49 PM.


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