View unanswered posts | View active topics It is currently Sat Apr 25, 2026 5:55 pm



Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
 How can you grab game stats to post 
Author Message
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post 
There has to be a way to grab all those nitty gritty details of the game to post like max corps, planets, alien details, all those things that come up in tedit menus g,h,& i, or the command center game stats. You can't cut and paste from those windows. I need to know this so Chairman doesn't have to message me every time I bang a game for details.
If anybody knows how, please help me out.

_________________
American soldiers don't fight because they hate what's in front of them...they fight because they love what's behind them.
http://www.runawayproton.com <-- Expired
telnet://runawayproton.dyndns.org:223 V2.20b Games <-- Expired
http://www.twsubspace.com <-- Expired
Teamspeak 3 50.23.212.53:4196 <-- Expired
Just a has been now.


Sat Dec 16, 2006 7:02 pm
Profile WWW
Captain
User avatar

Joined: Sat Jun 18, 2005 2:00 am
Posts: 2214
Location: USA
Unread post 
There is Xentropy's Game Settings Exporter...

Click to Download

_________________
Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact!
Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!


Sat Dec 16, 2006 7:55 pm
Profile ICQ WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
There is the command line via the TWGS. Let me explain.

In the /TWGS/game dir there is a tw2002.exe file. You can use this to generate txt format of stats and scores. So here is an example of my batch file I run:
---
:start
e:
cd\twgs\game
goto scores

:scores
tw2002 command=ranks data=e:\twgs\game\tw1
tw2002 command=stats data=e:\twgs\game\tw1
cd tw1\output
copy *.txt w:\kfws\htdocs\outpost-4\tradewars\twgs\scores\game_a\
e:
cd\twgs\game

tw2002 command=ranks data=e:\twgs\game\tw2
tw2002 command=stats data=e:\twgs\game\tw2
cd tw2\output
copy *.txt w:\kfws\htdocs\outpost-4\tradewars\twgs\scores\game_b\
e:
cd\twgs\game
---

You can do this for each game dir you have. I just posted the first two dir to give an example.

By the above batch, I have it running the ranks and stats command. What happens is in the /tw1 dir it creates an Output dir, which is where the files are that I want to post. I then have it copied by my ScoreKeeper to the website. If you go to our page (http://www.outpost-4.com/tradewars) and look at our Game Listing page, I have a column that has these stats for each game. In our Scores/Logs link, the scores are posted there. I only post the txt files, not the ans files. If you have to, you can copy from the text file and paste in the forum. There is the method Rexx mentioned too, and mine is more for those that want to post on their own site. You have to be familiar with forums and codes to effectively post without hassel.

If you need further clarification, I am willing to help out. Darkstar also showed me this and is familiar with the process, as I am sure other SysOps are. I like it because I can run it in a batch anytime to keep my stats/scores current. Ours run every 15 mins.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Sat Dec 16, 2006 8:40 pm
Profile
Lieutenant J.G.

Joined: Mon Sep 22, 2003 2:00 am
Posts: 486
Location: USA
Unread post 
or u can run zoc twx to telnet into the admin port and build ur games from there.
this gives you access to you scroll back buffer and
you can highlight stuff to paste to a txt file.

_________________
C.E.O. Corp Noble House
Sysop - Zentock's Realm TWGS
Co-Sysop - Vulcans Forge TWGS

Admin.
Vulcans Forge Forums
Vulcans Forge TeamSpeak


Sat Dec 16, 2006 9:20 pm
Profile ICQ
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post 
Well, Rexx had the fix that worked for me. I like Thrawn's idea, but I can't seem to get that TW2002 file to run. I'm sure I'm doing something wrong, but for now I got the data I needed for my site.
Now maybe Chairman has the data he needs to trade up from a Pod to a Scout

_________________
American soldiers don't fight because they hate what's in front of them...they fight because they love what's behind them.
http://www.runawayproton.com <-- Expired
telnet://runawayproton.dyndns.org:223 V2.20b Games <-- Expired
http://www.twsubspace.com <-- Expired
Teamspeak 3 50.23.212.53:4196 <-- Expired
Just a has been now.


Sat Dec 16, 2006 11:05 pm
Profile WWW
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post 
Hmm, new development. I'd like to be able to get the gold planet, alien, and ship stats to post as well. Any way to do this?

_________________
American soldiers don't fight because they hate what's in front of them...they fight because they love what's behind them.
http://www.runawayproton.com <-- Expired
telnet://runawayproton.dyndns.org:223 V2.20b Games <-- Expired
http://www.twsubspace.com <-- Expired
Teamspeak 3 50.23.212.53:4196 <-- Expired
Just a has been now.


Sat Dec 16, 2006 11:53 pm
Profile WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
Runaway Proton wrote:
Well, Rexx had the fix that worked for me. I like Thrawn's idea, but I can't seem to get that TW2002 file to run. I'm sure I'm doing something wrong, but for now I got the data I needed for my site.
Now maybe Chairman has the data he needs to trade up from a Pod to a Scout


When you run the command I listed, you must be in the /twgs/game directory. After it runs in a dos prompt window, check to see if there is an /output dir in each tw# you have run it under.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Sun Dec 17, 2006 5:31 am
Profile
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
Runaway Proton wrote:
Hmm, new development. I'd like to be able to get the gold planet, alien, and ship stats to post as well. Any way to do this?


Nothing that I am aware of does this. You would have to add manually.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Sun Dec 17, 2006 5:32 am
Profile
Gameop
User avatar

Joined: Fri Sep 03, 2004 2:00 am
Posts: 2041
Location: Acworth, Georgis USA
Unread post 
There is a way to set up a file for the twgs to automatically post the scores to, but have to look at it again, but you will have to manually put that file into the website.

_________________
Vulcan's Forge
v1 TWGS telnet://vulcansforge.homeip.net:2002
v2 TWGS telnet://vulcansforge.homeip.net:23
Forum and site down for now.
my Email is vulcan219@comcast.net now


Sun Dec 17, 2006 7:21 am
Profile ICQ YIM
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post 
Thrawn wrote:
Runaway Proton wrote:
Well, Rexx had the fix that worked for me. I like Thrawn's idea, but I can't seem to get that TW2002 file to run. I'm sure I'm doing something wrong, but for now I got the data I needed for my site.
Now maybe Chairman has the data he needs to trade up from a Pod to a Scout


When you run the command I listed, you must be in the /twgs/game directory. After it runs in a dos prompt window, check to see if there is an /output dir in each tw# you have run it under.



Well, I can't seem to get into a dos window from the TWGS/game directory. So I can't trigger your batch file. I go to the game directory, find the tw2002 icon and click it, but nothing happens.

_________________
American soldiers don't fight because they hate what's in front of them...they fight because they love what's behind them.
http://www.runawayproton.com <-- Expired
telnet://runawayproton.dyndns.org:223 V2.20b Games <-- Expired
http://www.twsubspace.com <-- Expired
Teamspeak 3 50.23.212.53:4196 <-- Expired
Just a has been now.


Sun Dec 17, 2006 1:08 pm
Profile WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
Runaway Proton wrote:
Thrawn wrote:
Runaway Proton wrote:
Well, Rexx had the fix that worked for me. I like Thrawn's idea, but I can't seem to get that TW2002 file to run. I'm sure I'm doing something wrong, but for now I got the data I needed for my site.
Now maybe Chairman has the data he needs to trade up from a Pod to a Scout


When you run the command I listed, you must be in the /twgs/game directory. After it runs in a dos prompt window, check to see if there is an /output dir in each tw# you have run it under.



Well, I can't seem to get into a dos window from the TWGS/game directory. So I can't trigger your batch file. I go to the game directory, find the tw2002 icon and click it, but nothing happens.


Ok you need to be in a DOS window to run the batch. Are you running Windows? By clicking the tw2002.exe will not do anything unless you have the commands to follow it.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Sun Dec 17, 2006 4:00 pm
Profile
Gameop
User avatar

Joined: Fri Sep 03, 2004 2:00 am
Posts: 2041
Location: Acworth, Georgis USA
Unread post 
Thrawn, I think he wants to know how to get the dos in the right place to make the batch work, I think you have hinted at it in the previous post, I think he wants to know how to get to the right place in the dos window to execute the batch.

_________________
Vulcan's Forge
v1 TWGS telnet://vulcansforge.homeip.net:2002
v2 TWGS telnet://vulcansforge.homeip.net:23
Forum and site down for now.
my Email is vulcan219@comcast.net now


Sun Dec 17, 2006 4:36 pm
Profile ICQ YIM
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post 
yep, that would be correct. I can't even get the dos window open.

_________________
American soldiers don't fight because they hate what's in front of them...they fight because they love what's behind them.
http://www.runawayproton.com <-- Expired
telnet://runawayproton.dyndns.org:223 V2.20b Games <-- Expired
http://www.twsubspace.com <-- Expired
Teamspeak 3 50.23.212.53:4196 <-- Expired
Just a has been now.


Sun Dec 17, 2006 5:34 pm
Profile WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post 
Runaway Proton wrote:
Thrawn wrote:
Runaway Proton wrote:
Well, Rexx had the fix that worked for me. I like Thrawn's idea, but I can't seem to get that TW2002 file to run. I'm sure I'm doing something wrong, but for now I got the data I needed for my site.
Now maybe Chairman has the data he needs to trade up from a Pod to a Scout


When you run the command I listed, you must be in the /twgs/game directory. After it runs in a dos prompt window, check to see if there is an /output dir in each tw# you have run it under.



Well, I can't seem to get into a dos window from the TWGS/game directory. So I can't trigger your batch file. I go to the game directory, find the tw2002 icon and click it, but nothing happens.


Ok first step- What OS are you running? Windows XP, 98?

If you are running Windows XP, click Start, Run and type cmd and click OK. That takes you to the DOS window. A little DOS knowledge is needed for the next steps. You have to change directory to where your TWGS is located.
This is done at the prompt c:> cd e:\twgs\game is my location. Yours may be different. You want to be at:

c:\twgs\game> or whatever your drive letter and directory structure is. Then you type the following:

tw2002 command=ranks data=e:\twgs\game\tw1 press ENTER. This gives the scores or ranks in the /tw1/output directory.

tw2002 command=stats data=e:\twgs\game\tw1 press ENTER. This gives the game stats in the /tw1/output directory.

If you are unfamiliar with DOS, I could create you a batch file. I would need to know the following:

* your TWGS directory and drive letter
* how many games you run (look to see how many TW# dir's you have. I have /tw26, which is 25 game slots.
* directory location you want the scores and ranks copied to. For example in my batch file I copy the text files to my website directory which is in w:\blahblahblah.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Sun Dec 17, 2006 7:04 pm
Profile
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post 
OK, I'll try that. Sounds like I can do it. I was just trying ot hit the icon, expecting a DOS window to open. Didn't happen.

_________________
American soldiers don't fight because they hate what's in front of them...they fight because they love what's behind them.
http://www.runawayproton.com <-- Expired
telnet://runawayproton.dyndns.org:223 V2.20b Games <-- Expired
http://www.twsubspace.com <-- Expired
Teamspeak 3 50.23.212.53:4196 <-- Expired
Just a has been now.


Sun Dec 17, 2006 8:41 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 32 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 73 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.