.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
  #21  
Old October 31st, 2003, 08:10 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.

NB:

After applying the patch, remember to enter (OR RE-ENTER) manually the data in MAIL.PHP.
i e;
SMTP, account and YES,
if you wish to use auto mail functions.

This file is intended for the server owner and is therefore not accessible from the web with ver 1.

[ October 31, 2003, 12:01: Message edited by: Ruatha ]
Reply With Quote
  #22  
Old October 31st, 2003, 05:28 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.

Ruatha,

I still cannot get any of the admin functions to work. I get the admin page, but nothing I do there has any effect on the files and I get the same errors I was getting before.

TO make sure it wasn't a missing file or somethign I made a new folder and put a fresh install of the 1.51 complete files in it. Same deal. Can't change admin password, or game details, or anything.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #23  
Old October 31st, 2003, 07:20 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.

Ok, I think it's some settings the host must propably do on the server.
You don't seem to have permission to change those files.

I'd think that as uploads of turnfiles is allowed it would be allowed to change the other files aswell.
But ask Fyron to check his settings for the gamedirectory aswell, now it's propably only the turnfiles directory that is open.
As it works on my server it (propably..) has to be that.

Do you still get that 404 error on downloading?
If so I guess it's the same problem, the script isn't allowed to make that file.

I guess ver 2 might be ready sooner than expected, and then the server just needs to open a subdirectory games and all it's subdirectories, not the folder where the scripts are located as in ver 1.
I understand that is no comfort now, but there is nothing I (think) can do about these errors, now it's up to the server owner (I hope).

Thanks Fyron, but here is my pride and joy:
http://pbw.ath.cx/betafiles/new/index.php

Admin password "ett"
Feel free to set up and delete games, but leave the NGC3 game as that is my testgame (It's not the actual NGC3 game but as I can use those plar files it makes things easier for me..)

[ October 31, 2003, 17:38: Message edited by: Ruatha ]
Reply With Quote
  #24  
Old October 31st, 2003, 08:05 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.

That makes sense. I am not going to worry about it then. What you have given me will get me through till PBW is back up. It's not that big a deal to do a little file swapping manually.

Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
Reply With Quote
  #25  
Old November 8th, 2003, 07:25 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: PBW Emergency Site files v1.51 Finished and fixed.

You do realize that you can use linebreaks in echo commands, right? You do not need a separate one for every line of HTML...

Why is it still reading in from text files? What happened to the variables php file to include?

The admin script should NOT instantly auto-redirect to index.php! It should display a dialogue telling whether it was successful or not, and provide a link back to the index! I can not even see the errors it is trying to tell me about.

The Readme needs to mention that you need to set chmod permissions to 646 (allow public write) on all the "configuration" files to be edited by the admin scripts.

Things like "set password" would IMO be better handled as functions in the admin.php, rather than as separate files.

You should look into cookies... it is annoying to have to keep typing in the password over and over and over again...

Your complete Version 15 file has the index.php copied into the gamefile folder.

Please include a blank index.html file in each subfolder so that snooping browsers can't see their contents.

If the email for a player is blank, then the page should not generate a mailto: link for it. It should just display the (none) text, and that is it. No sense making a link that doesn't do anything.

[ November 08, 2003, 06:15: Message edited by: Imperator Fyron ]
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #26  
Old November 8th, 2003, 10:16 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.

Hi.
I'm not going to rewrite ver 1.5, I was clear on that. It's a botch job.

The Version 2 is complete as the PHP is concerned, and it covers most of what you have stated below.

It can be used as a one game site or multi game site.
you can check it out at http://pbw.ath.cx

All is done in PHP and no BATCH files or external exe's is used (so far, the autoturn.exe is still to be done).

What is left to do is the help files, that will be intead of most of the readme file.

And it is much easier to set up and aminister than ver 1, no text files, all is done in web pages and all configuration data is in PHP files.

As PBW ougth to be up soon I won't release ver 2 now as that would mean that all data in the text files would have to be entered into ver 2, instead I'll rout out bugs and finish the autoturn.exe app and have it ready for (may they never come) the next PBW down-time.

Setting up the site should take a minute, and then setting up games is how fast you can enter the player names and e-mails in the text boxes.

Yep, I do realize I can add linebreaks, and I sometime does, but mostly I add a new line to make it easier to read for myself, ver 1 isn't easy to read, that's why I abandonded it and started fresh, writing cleaner and better commented code, now that I know PHP.
When writing ver 1 I learned it along the way.

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.

Edit2:
Removed the index.php in the gamefile in the arrchive 15 complete.

Edit3:
The problem is that I constantly remimber new "features" to add, but it won't become bloatware, as the zip functions is included in the PHP script it ougth to have a lesser size footprint than ver 1.51.

Ver 2 thread

[ November 09, 2003, 07:12: Message edited by: Ruatha ]
Reply With Quote
  #27  
Old November 9th, 2003, 09:02 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: PBW Emergency Site files v1.51 Finished and fixed.

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.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
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:42 PM.


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