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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 27th, 2003, 08:33 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.

Hi.
It depends. Some servers require a password.
Most don't, they only accept mails coming from within their own net.
if we add passwords to the mail.php we need to move it out from the game directory. As I guess Fyron don't want to share his SMTP password with everyone...

Have you set Yes in both mail.php and configuration.txt?
In configuration.txt it should be added as a Last line.

AND it only mails when the Last file is uploaded, it doesn't check if all files already are there!

[ October 27, 2003, 06:56: Message edited by: Ruatha ]
Reply With Quote
  #2  
Old October 27th, 2003, 12:55 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.

No I did not set a yes in the configuration file, only the mail file. I saw that you added an attribute to the config file but I did not see what it was for so I made it a NO just like your example file. I will try that.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #3  
Old October 27th, 2003, 01:00 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.

Yes, it was redundant, but added in case passwords is needed, then mail.php can be moved to another directory.
And both the owner of the server and the game both have an option of turning it off, sorry for that complex way, I'm not proud of it.
This ver 1 is a botch job....


Another update;
patch 1.421

Complete 1.421

What is new?
-Added new readme.
-Autodirects to main page after upload, pauses 5 seconds first.
-Refreshes main page when it's loaded.
-When all has uploaded, if mail notify host is set to Yes in both configuration.txt and mail.php a message will appear saying that the host is being notified.

[ October 27, 2003, 11:12: Message edited by: Ruatha ]
Reply With Quote
  #4  
Old October 27th, 2003, 01:12 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.

Adding the Yes to the config file did it. I got the email. The only odd thing is that the email appeared to come from geoschmo @ s2.ebart.net. Is there a way I can change that? If I can't it's not a big deal. just looks odd.

The only other things I'd really like to see then are two things I think you already have planned. One would be a button to download all the .plr files at once for the host. The other would be a button to upload the new gamefile.zip. This button should remove the current .plr files which will reset the list for the players, replace the gamefile, and email all the players a message that there is a new turn. I think you were planning on doing this from an admin page or something? These two buttons would eliminate the need for my ftp program after I have the game all setup.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #5  
Old October 27th, 2003, 01:39 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.

Sure, I can set the sender to something generic.

Working some on a admin page:
Progress here
Admin page example (work in progress)
Reply With Quote
  #6  
Old October 28th, 2003, 02:21 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.

Well, generic wasn't really what I was looking for. I wanted to be able to set that and make it show my email as the return address. I imagine that's possible right? Maybe another line in the mail.php file?
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #7  
Old October 27th, 2003, 09:47 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.

I've set the Host's e-mail as sender, so you'll send the mail to yourself.
I've finished most of the admin screen.
Now you can:
-Change all data in configuration.txt
-Change all data in deadline.txt including deadline length
-Download all player files zipped into one, clear turnfiles dir.
-upload new turnfile and notify all players that new turn is out.

What to do before I post:
-Ability to change all player data.
-Password protect admin screen.
-Update readme.txt


=will be fixed tomorrow.
Nightie
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 09:15 PM.


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