View unanswered posts | View active topics It is currently Sun Apr 19, 2026 12:37 am



Reply to topic  [ 4 posts ] 
 Generating Stats 
Author Message
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post Generating Stats
This used to work in V1.03 however I'm not getting any TWSTATS.TXT or TWRANKS.TXT files in the OUTPUT folder in the game directory.


Quote:
@ECHO OFF
:START
SET TW=C:\TWGS
SET TWG=C:\TWGS\Game

:GameT
SET DIR=GameT
SET GAME=%DIR%

ECHO FOUND %DIR%

%TW%\GAME\TW2002 COMMAND=STATS DATA=%TWG%\%GAME%
%TW%\GAME\TW2002 COMMAND=RANKS DATA=%TWG%\%GAME%
ECHO %DIR% STATS COMPLETE

Pause

EXIT



Any ideas??

_________________
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.


Mon Feb 06, 2012 9:13 pm
Profile WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3150
Location: USA
Unread post Re: Generating Stats
Do a command line test to make sure it's working as expected. If your server is in C:\TWGS, go into C:\TWGS\GAME and enter

C:\TWGS\GAME>tw2002 COMMAND=STATS DATA=C:\TWGS\GAME\GAMEA

If I do this on my local test, it works. I get TWSTATS.TXT in C:\TWGS\GAME\GAMEA\OUTPUT

_________________
John Pritchett
EIS
---
Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.


Mon Feb 06, 2012 9:24 pm
Profile WWW
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post Re: Generating Stats
C:\TWGS\Game\GameT>cd..

C:\TWGS\Game>tw2002 COMMAND=STATS DATA=C:\TWGS\Game\GameT

C:\TWGS\Game>cd gamet

C:\TWGS\Game\GameT>cd output

C:\TWGS\Game\GameT\OUTPUT>dir
Volume in drive C is ACER
Volume Serial Number is 68B4-C96E

Directory of C:\TWGS\Game\GameT\OUTPUT

02/06/2012 08:44 PM <DIR> .
02/06/2012 08:44 PM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 94,242,066,432 bytes free

C:\TWGS\Game\GameT\OUTPUT>

_________________
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.


Mon Feb 06, 2012 9:37 pm
Profile WWW
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post Re: Generating Stats
OK John,
I think with some help from T0yman we've figured this out.

tw2002 COMMAND=STATS DATA=C:\TWGS\GAME\GAMEA
actually outputs a file GAMESTAT.LST rather than the TWSTATS.TXT like it used to, and it puts it in the game folder not the OUTPUT folder.

I've still not found what would have been, or should be the twcorp.txt file.
(should look like)
<Ranking Corporations>
< R a n k e d C o r p o r a t i o n s >

Rank C# Name C.E.O.



RP

_________________
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.


Mon Feb 06, 2012 11:58 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 16 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.