|
|
|
|
|
Re: HELP REQUEST TO RON, TURNEX |
Thu, 04 September 2003 21:05 |
|
Ron | | Commander Forum Administrator | Messages: 1239
Registered: October 2002 Location: Collegedale, TN | |
|
Very early in AutoHost development, I merged the 2 Turn Xchange perl files into one big perl file.
Basically, AutoHost runs in a big WHILE loop. At the end of the main loop it updates all the game's web pages, sleeps for 5 minutes or so, then goes through the loop again.
Sorry, I feel that sharing the cgi-bin scripts as they are not would take all the fun out of your learning perl and take away the satisfaction you'll feel when you figure it out on your own.
STARSTAT.EXE is helpful in determining what year a turn file is, what game it belongs to, and the hash value of that game.
Here is STARSTAT.ZIP
I do recall that the TurnXchange zip is missing one of the template .htm files. Look in the perl file that creates the games web pages, it references 2 template files and only one is included in the zip. (Thats the way I received the code.) Suppose I really should fix that someday.
Let me know what file it is and I'll send it to you.
Also, if you need the upload perl script that handles turn uploads, I can send you an early version of the one I got from Alan Beall.
Ron Miller
Stars! AutoHostReport message to a moderator
|
|
|
Re: HELP REQUEST TO RON, TURNEX |
Thu, 04 September 2003 21:06 |
|
Ron | | Commander Forum Administrator | Messages: 1239
Registered: October 2002 Location: Collegedale, TN | |
|
I also suggest you look into using the stars.exe -v command-line option, as it does some error checking on .x files and makes a .chk file that you can parse from your perl script looking for errors.
Ron Miller
Stars! AutoHostReport message to a moderator
|
|
|