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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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
  #7  
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
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 07:28 PM.


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