| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Generating Stats https://mail.black-squirrel.com/viewtopic.php?f=15&t=32849 |
Page 1 of 1 |
| Author: | Runaway Proton [ Mon Feb 06, 2012 9:13 pm ] |
| Post subject: | 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?? |
|
| Author: | John Pritchett [ Mon Feb 06, 2012 9:24 pm ] |
| Post subject: | 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 |
|
| Author: | Runaway Proton [ Mon Feb 06, 2012 9:37 pm ] |
| Post subject: | 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> |
|
| Author: | Runaway Proton [ Mon Feb 06, 2012 11:58 pm ] |
| Post subject: | 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 |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|