View unanswered posts | View active topics It is currently Tue May 12, 2026 2:08 pm



Reply to topic  [ 9 posts ] 
 TW2002 Special Commands...Need Help With Ranks 
Author Message
Sergeant

Joined: Sat Jan 01, 2005 3:00 am
Posts: 7
Location: USA
Unread post 
Basically just can't get it to work lol. Don't know if it is me, or not. This is what I know and what I am doing:


Portion of Command.doc located with the TWGS:
To issue a command to TW2002 from the command line, use this format:

TW2002 COMMAND=[Command] DATA=[Datapath]

Where [Datapath] is the path to the game that will process this command. For
example, if TWGS is located at C:\TWGS and you've placed a game in the
default location, the path would be DATA=C:\TWGS\GAME\TW1.


The command I am using is Ranks. I am also specifing the correct datapath (being the tw1 (aka game folder, and there is a TW1 present). As far as I know I am doing everything right lol. Only thing I am unsure on is the words Command Line....Does Command Line = Dos Prompt? And if so, do I need to be at the C: Prompt, or the TWGS folder? Or do I just have the wrong prompt? lol

Anyways, any help with this would be appriciated, as I am wanting to make and keep updated a Rankings page on my website, and this feature would simpilify the process lol.

Thanks in advance.

_________________
Twars By Rowdog

Website: http://www.twarsbyrow.com

Telnet to: twarsbyrow.planetdns.net
Port 23


Mon Jan 31, 2005 12:06 pm
Profile ICQ YIM WWW
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Unread post 
ok , first thing is the path is incorrect.

TWGS is located at C:Program Files\EIS\TWGS\Game\tw#

But the Rank data is stored in Gold folder , eith default one or in TW# (game number) folder under Gold folder there.

I hope this is of some help

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Tue Feb 01, 2005 12:06 pm
Profile WWW
Sergeant

Joined: Sat Jan 01, 2005 3:00 am
Posts: 7
Location: USA
Unread post 
Thanks Vid, didn't solve the problem, but it did correct one thing I was doing wrong lol. For some reason it is saying that tw2002 is non-exisitant, or or the command is bad.

The one thing I am still unsure of is if by Command Prompt they mean Dos prompt, Run Prompt, or what? lol I have tried from both and no luck.

Thanks in advance for any info.


Tue Feb 01, 2005 2:08 pm
Profile ICQ YIM WWW
Staff Sergeant

Joined: Thu Sep 06, 2001 2:00 am
Posts: 13
Location: USA
Unread post 
From what it looks like, the "Command Line" reference is basically telling you to drop to DOS (START/RUN/'CMD'), jump to the folder where TW2002 is located, and excute from there.

If it's a nightly routine, or script, you'll have to create a batch file that will do the above, and point TWGS to the .bat using an absolute path (C:\path\to\batch\file.bat)

Not sure if I'm out in left field here, but that's what I think that you were looking for.

~Sis

_________________
Hellified BBS (f.k.a) 1987 - Los Angeles, CA - running WWIV 4.12
TPCDEV5.dnsalias.net 2002

I remember when you would start the Big Bang and then just go to bed.
None of this create a universe in 7 seconds stuff. Dag Nabbit!


Wed Feb 02, 2005 11:10 pm
Profile ICQ YIM
Staff Sergeant

Joined: Thu Sep 06, 2001 2:00 am
Posts: 13
Location: USA
Unread post 
More specifically, drop to DOS, jump to the ...\TWGS\Game folder. That's where your TW2002.EXE is located, and that's where you would issue your command from. You could use .\TW# to point to your patricular game from that folder, but I believe that an absolute path (C:\...\TWGS\TW#) would be better.

~Sis

_________________
Hellified BBS (f.k.a) 1987 - Los Angeles, CA - running WWIV 4.12
TPCDEV5.dnsalias.net 2002

I remember when you would start the Big Bang and then just go to bed.
None of this create a universe in 7 seconds stuff. Dag Nabbit!


Wed Feb 02, 2005 11:17 pm
Profile ICQ YIM
Sergeant

Joined: Sat Jan 01, 2005 3:00 am
Posts: 7
Location: USA
Unread post 
Hmmm, yeah, that did clarify that I was doing it from the correct prompt, and path (after help from Vulcan). Some reason it still tells me that tw2002 is not an excutable command...may just be something with my particular setup lol In any case thanks for the help none-the-less :)

I might just have to go with the fallback of trying to make a bot program to check each game and dump the info (mainly need trader ranks, and corp ranks) to a text file. If anyone has done this before and could help me with doing so, or some basic ideas on how the code would look (as mode coding skills are weak at best), that would be greatly appricated. Just a thought, but feel free to email or IM any details on that you may have. Thanks in advance :)

Row

_________________
Twars By Rowdog

Website: http://www.twarsbyrow.com

Telnet to: twarsbyrow.planetdns.net
Port 23


Thu Feb 03, 2005 9:11 pm
Profile ICQ YIM WWW
Ensign

Joined: Fri Mar 02, 2001 3:00 am
Posts: 227
Location: USA
Unread post 
This looks like it is not working. Either it is a bug, or JP has this feature turned off.

I too am unable to get either of the two commands to work. And I also tried this with an older version(v1.11.42), with the same results.

So I truely assume that JP has this feature disabled for some reason.

_________________
The WABBIT
ICQ# 12988803


Fri Feb 04, 2005 8:48 am
Profile ICQ
Sergeant

Joined: Sat Jan 01, 2005 3:00 am
Posts: 7
Location: USA
Unread post 
Thanks for the info Wabbit, now I know at least that I am not losing my mind and was doing it right lol. Now it time to move on to Plan B instead I guess lol. Thanks for your help everyone. :)

Row

_________________
Twars By Rowdog

Website: http://www.twarsbyrow.com

Telnet to: twarsbyrow.planetdns.net
Port 23


Fri Feb 04, 2005 2:04 pm
Profile ICQ YIM WWW
Gunnery Sergeant

Joined: Wed Feb 02, 2005 3:00 am
Posts: 26
Location: USA
Unread post 
DOS is simple, forget how windows works.

CD C:\wherevertw2002exeislocated\

\game\tw1\
thru
\game\tw10\

when I try it, I get the message

"Only the Gold game allows more than 5000 sectors"

explain that one to me....

I tried the gold folder also, just says it cant find the file (obviously, since the file isn't in the gold folders)

_________________
I am the original Master Blaster, The Evil Commander but it appears someone has cloned me.


Thu Mar 24, 2005 4:44 am
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

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