| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| TWX 2.05 alpha doesnt save the port info or game info in the https://mail.black-squirrel.com/viewtopic.php?f=15&t=31808 |
Page 1 of 1 |
| Author: | Helix [ Tue Jul 05, 2011 1:48 pm ] |
| Post subject: | 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 |
|
| Author: | Singularity [ Tue Jul 05, 2011 2:32 pm ] |
| Post subject: | 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? |
|
| Author: | Helix [ Tue Jul 05, 2011 2:38 pm ] |
| Post subject: | 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 |
|
| Author: | Singularity [ Tue Jul 05, 2011 2:52 pm ] |
| Post subject: | 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? |
|
| Author: | Helix [ Tue Jul 05, 2011 3:04 pm ] |
| Post subject: | Re: TWX 2.05 alpha doesnt save the port info or game info in |
Thats not what happens on Windows XP H |
|
| Author: | Singularity [ Tue Jul 05, 2011 3:16 pm ] |
| Post subject: | 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. |
|
| Author: | Helix [ Wed Jul 06, 2011 9:11 am ] | |||
| Post subject: | 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
|
||||
| Author: | Singularity [ Wed Jul 06, 2011 12:11 pm ] |
| Post subject: | 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. |
|
| Author: | Helix [ Wed Jul 06, 2011 12:50 pm ] | ||
| Post subject: | Re: TWX 2.05 alpha doesnt save the port info or game info in | ||
Here is the file info
|
|||
| Author: | Singularity [ Wed Jul 06, 2011 1:37 pm ] |
| Post subject: | 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. |
|
| Author: | Helix [ Wed Jul 06, 2011 3:15 pm ] |
| Post subject: | 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. |
|
| Author: | Singularity [ Wed Jul 06, 2011 4:17 pm ] |
| Post subject: | 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. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|