View unanswered posts | View active topics It is currently Sun Apr 26, 2026 4:00 pm



Reply to topic  [ 12 posts ] 
 TWX 2.05 alpha doesnt save the port info or game info in the 
Author Message
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post TWX 2.05 alpha doesnt save the port info or game info in the
I found that Sing's last compile of TWX 2.05 alpha doesnt save the port info or game info in the dat file, I have to choose both when restarting twx. Otherwise it works great

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Tue Jul 05, 2011 1:48 pm
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
You mean the TCP port info, not in-game port info, right? From the settings tab? Hasn't it always done that (atleast the old compile I was using never saved that, either)?

For the game info, is it just not saving the last known game? Or is it not preloading the data when you select a DB?

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Tue Jul 05, 2011 2:32 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Singularity wrote:
You mean the TCP port info, not in-game port info, right? From the settings tab? Hasn't it always done that (atleast the old compile I was using never saved that, either)?

For the game info, is it just not saving the last known game? Or is it not preloading the data when you select a DB?


You can answer those questions just by deleting your dat file with 2.05a.

There is only one place to save the port info, it defaults to 23, just as there is only 1 place for the TWX database.

H

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Tue Jul 05, 2011 2:38 pm
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Right, but that's not what I see at all on my end. Running the ver I put up on 6/27/2011, it keeps the "listen for connections on port" as 2000 (altho I've had a lot of problems with that) and remembers the last game I selected and all of the name/server/port/sector/etc info along with it. I select a new game, it all shows up with it.

So I'm trying to understand what it is you're seeing, because that's not what occurs locally.

Are you only getting the problem when you delete the twxsetup.dat file? If so, that's to be expected. The dat file contains the current selected database and other info from the menu. If you delete that, you will need to reset your settings.

When I delete my twxsetup.dat file, then restart the program, then set my settings, then exit, it remembers them when I reload the program (it also recreates the dat file). Make sure it is recreating your dat file, if it isn't, that's probably the reason you're having a problem. Are you running XP or 7?

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Tue Jul 05, 2011 2:52 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Thats not what happens on Windows XP

H

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Tue Jul 05, 2011 3:04 pm
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Ok. I'm using XP SP3. I have it installed in c:\tradewars\twxproxy. I've got the TWXproxy exe from 6/27/2011 which is 959kb in size. If I delete TWXSetup.dat without the program loaded then load TWXproxy it prompts me w/ the usual message and removes all of the default menu info.

I click thru all that, setup the new data. Select a DB from the pulldown. Put a new port in (it says 0, I put in 2000). Then I click ok, close the menu. Then right-click and exit the program. Now I bring TWXproxy back up, and hit F5 in the c:\tradewars\twxproxy explorer window. There's a new TWXsetup file, and all of the data is now there.

This is XP SP3, running a user w/ admin rights.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Tue Jul 05, 2011 3:16 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Windows XP sp3, TWX in C:\TW2002\2004
(the directory is the port number I use)

I set the port to 2004, the game db was set up, I right-clicked the tray icon and exited. Started it back up and the following 2 screens show port defaults to 23 and the db has to be selected


Attachments:
205a.JPG
205a.JPG [ 22.37 KiB | Viewed 7351 times ]
205.JPG
205.JPG [ 22.81 KiB | Viewed 7351 times ]

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?
Wed Jul 06, 2011 9:11 am
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Weird. I've had similar problems before, but I'm not seeing them in the latest release. Things behave perfectly on my end. Are you getting a new twxsetup.dat file created? What's the date on that? Maybe there's some kind of file write bug that needs addressed.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Wed Jul 06, 2011 12:11 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Here is the file info


Attachments:
205b.JPG
205b.JPG [ 10.92 KiB | Viewed 7339 times ]

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?
Wed Jul 06, 2011 12:50 pm
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Hrm, delete the dat file and see if that helps. Maybe it's corrupt? See if it makes a brand new one. If you change the settings, does it update the dat file date? It might not be writing the file for some reason, or may be unable to read from it when it tries to.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Wed Jul 06, 2011 1:37 pm
Profile ICQ WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
Singularity wrote:
Hrm, delete the dat file and see if that helps. Maybe it's corrupt? See if it makes a brand new one. If you change the settings, does it update the dat file date? It might not be writing the file for some reason, or may be unable to read from it when it tries to.


That worked.

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Wed Jul 06, 2011 3:15 pm
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: TWX 2.05 alpha doesnt save the port info or game info in
So it works as expected now? If so, then I'm guessing the twxsetup.dat file was corrupt. Program needs to reset/rewrite the file if it's corrupt, then.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Wed Jul 06, 2011 4:17 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

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