![]() |
PBW Emergency game sites server files
[ August 15, 2003, 19:55: Message edited by: Ruatha ] |
Re: PBW Emergency game sites server files
Here comes as requested, if you don't understand what the thread is about just ignore it!
You need a HTTP server with PHP capabilty. You can see it working here Newbie Galactic combat 3 PBW Emergency Site Thanx to Fyron for dragging me into PHP scripting, screaming and kicking all the way though! http://forum.shrapnelgames.com/images/icons/tongue.gif Download all files here: http://forum.shrapnelgames.com/newup...1060967939.zip This is the readme, also included: 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 ith 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 alterd 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: #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 james@visit.se Made 2003 by James Johansson aka Ruatha with Wordpad. #2. Playerdata.txt : Number of players Player1 Player1 e-mail Player1 empire name i e: 2 Ruatha james@visit.se Swedish Democracy James james@storuman.nu Storuman Republic #3. Deadline.txt year Month Day hour i e: 2003 8 22 20 ------------ Good luck. James aka Ruatha [ August 15, 2003, 18:21: Message edited by: Ruatha ] |
Re: PBW Emergency game sites server files
Thanks Ruatha for doing this, I have done as you said, and for some reason I get this error when testing the upload ability.
Warning: Unable to create 'turnfiles/ssff2_0001.plr': Permission denied in /home/httpd/vhosts/astmod.com/httpdocs/ssff2/turnfile.php on line 69 upload failed! Any idea what might be causing it? |
Re: PBW Emergency game sites server files
You might need to fiddle with the chmod permissions of the PHP files and folders (esp. for being able to upload files to the server). The folder where the plr files get uploaded to will need 777 permissions.
[ August 15, 2003, 23:11: Message edited by: Imperator Fyron ] |
Re: PBW Emergency game sites server files
I will check this. Right now there is only the
Read & Write, Read Only, Write, etc options, with Owner Group Public Any suggestions? |
Re: PBW Emergency game sites server files
777 means that read, write and execute are on for all 3 types of Users. The folder for uploads needs to have read, write and execute access turned on for all 3 types of Users, or 777 chmod permissions.
What program are you using to see these? Most FTP programs provide an easy way to set the chmod permissions. [ August 15, 2003, 23:33: Message edited by: Imperator Fyron ] |
Re: PBW Emergency game sites server files
That did it, and thank you very much. I can see why PCP recommends you as one of the more knowledgeable folks on this site. http://forum.shrapnelgames.com/images/icons/icon7.gif
My question now is what happens? The file is uploaded, IE a test, how do I receive it for processing? [ August 15, 2003, 23:42: Message edited by: CNCRaymond ] |
Re: PBW Emergency game sites server files
I think you just have to connect to the folder and download all of the plr files manually.
|
Re: PBW Emergency game sites server files
Yep, tehre is no automatic functions, the purpose of the site is only to ease the transmission of files for the player.
I run it at home on my PC so when all files are here I just execute a turn manually and empty the turnfiles folder, replace the gamefile and update the deadline, mail a massmail to all players with the gamefile. So it's still standard PBEM but with a HTML page as alternative. |
Re: PBW Emergency game sites server files
Ruatha, you need to update the link to the Newbie FAQ in your sig to the new thread number. http://forum.shrapnelgames.com/images/icons/icon12.gif
|
All times are GMT -4. The time now is 03:27 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.