Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » Questions about Stars! AutoHost » HELP REQUEST TO RON, TURNEX
icon5.gif  HELP REQUEST TO RON, TURNEX Sat, 30 August 2003 17:03 Go to next message
wendopaulo is currently offline wendopaulo

 
Crewman 3rd Class

Messages: 7
Registered: May 2003
Dear Ron

I have Downloaded the turnex script from your site (THXS).
I notice it was written for windows. I was wondering if anyone had managed to pipe stars to *nix. Then the script could be used as it is with a few changes.
Or have you got any suggestions?

Kind Regards

Paul

Report message to a moderator

Re: HELP REQUEST TO RON, TURNEX Sat, 30 August 2003 21:17 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
Currently Stars! AutoHost runs on a Linux box and generates turns using stars.exe running under WINE.


Ron Miller
Stars! AutoHost

Report message to a moderator

Re: HELP REQUEST TO RON, TURNEX Mon, 01 September 2003 15:31 Go to previous messageGo to next message
wendopaulo is currently offline wendopaulo

 
Crewman 3rd Class

Messages: 7
Registered: May 2003
Dear Ron

Thxs could you spare some time helping me set it up.
Progress so far wine installed on debian.
Stars installed into fake dir.
wine /home/wendo/stars/STARS.EXE produces splash screen but i cannot access menus.

Any help would be most appreciated.

By the way this will not be used to compete with you its for friends only.

Kind Regards
Paul

Report message to a moderator

Re: HELP REQUEST TO RON, TURNEX Wed, 03 September 2003 22:05 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
I havn't tried to play turns under WINE, I just use it to generate turns.

In my PERL code (following is all on one line) I execute the following:
cd /c/games/$game_name; wine -winver win31 -debugmsg -all -desktop 800x600 -display yourserver.com:1 \"/c/prog/starsjrc4.exe -g -l c:\\games\\$game_name\\$game_name.hst\" >& /dev/null





Ron Miller
Stars! AutoHost

Report message to a moderator

icon1.gif  Re: HELP REQUEST TO RON, TURNEX Thu, 04 September 2003 10:00 Go to previous messageGo to next message
wendopaulo is currently offline wendopaulo

 
Crewman 3rd Class

Messages: 7
Registered: May 2003
Dear Ron

Thank you, could you tell me which ( newbie alert ) .pl file to enter the line of code into.

Regards

Paul

Shocked P.s If you do not mind could you send me copy's of your cgi-bin files,STARYEAR BAT and EXE, stars.bat and stars.htm.
Thxs

Report message to a moderator

Re: HELP REQUEST TO RON, TURNEX Thu, 04 September 2003 21:05 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
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! AutoHost

Report message to a moderator

Re: HELP REQUEST TO RON, TURNEX Thu, 04 September 2003 21:06 Go to previous message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
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! AutoHost

Report message to a moderator

Previous Topic: best to Ron
Next Topic: Suggestion: Private Forum link on Game Page
Goto Forum:
  


Current Time: Fri Apr 19 17:44:38 EDT 2024