www.ClassicTW.com
https://www.classictw.com/

TWGS v2.20 is available
https://www.classictw.com/viewtopic.php?f=52&t=32988
Page 1 of 1

Author:  John Pritchett [ Sun Mar 04, 2012 6:59 pm ]
Post subject:  TWGS v2.20 is available

I just posted TWGS v2.20 at http://wiki.classictw.com/filearchive/apps/TWGS220.EXE

The main reason for this update is to fix a bug where moving a planet with another online player riding the planet will cause the player ship's sector to get out of synch with the player sector. There are other significant bug fixes as well, but I haven't posted the revision history yet. That's coming.

I also put some effort into optimizing the distribution, and I got it down to about 3.4 meg from 4.3 meg. The executables are also smaller because I've moved much of the shared code into DLLs. This should have some impact on memory use when running the games and Gold alien servers. There is still more I can do, so I'll keep working on optimizing the executable size.

Since this is a new distribution package that has better compression and uses a self-extractor, let me know if anyone experiences any issues installing this version.

Author:  T0yman [ Sun Mar 04, 2012 7:24 pm ]
Post subject:  Re: TWGS v2.20 is available

This application has failed to start because vcl40.bpl was not found. Re-installing the application may fix the problem.

Author:  Vid Kid [ Sun Mar 04, 2012 7:39 pm ]
Post subject:  Re: TWGS v2.20 is available

That didn't fix it either , and I tried repair ...

So now what ?

Author:  T0yman [ Sun Mar 04, 2012 7:44 pm ]
Post subject:  Re: TWGS v2.20 is available

I even tried to d/l the runtime lib, still no joy.... rolled back to 2.19

Author:  Vid Kid [ Sun Mar 04, 2012 7:52 pm ]
Post subject:  Re: TWGS v2.20 is available

Rolled back till Programmer is back.

Author:  John Pritchett [ Sun Mar 04, 2012 10:57 pm ]
Post subject:  Re: TWGS v2.20 is available

The only thing I can think that might be going on here is that you installed into a directory that's different than the directory in the TWGS Root setting in the Config screen, Server tab, Root Directory field. It surprises me that we didn't have this problem with the TWGSGate.dll that I added several versions ago, though.

Author:  T0yman [ Sun Mar 04, 2012 11:02 pm ]
Post subject:  Re: TWGS v2.20 is available

I installed over the exact same folder as I have used for the last 3 years. I installed on a Win7 and it worked fine. But my main TWGS server is WinXP Pro. I rolled back to 2.19 and it is working fine again.

Author:  John Pritchett [ Sun Mar 04, 2012 11:09 pm ]
Post subject:  Re: TWGS v2.20 is available

There's no reason why this shouldn't work. I think it's pretty common to run DLLs on WinXP ;)

Try copying the DLL from the TWGS root directory into the TWGS\Game subdirectory. There are programs in both directories that use it, but since TWGS loads it up, it should be available when TW2002 looks for it. But it's worth a try. It didn't make a difference for Vid, but I'd like to know if it does anything for you.

I suppose it could have something to do with running as a service, since you run yours as a service, I believe.

I've tested this on WinXP pro, WinXp 64 and Vista without any problems. Getting ready to test on Win 7.

Author:  T0yman [ Sun Mar 04, 2012 11:11 pm ]
Post subject:  Re: TWGS v2.20 is available

I don't use the service mode since the computer is always turned on. I reload 2.19 and it works fine.. I will try one more time to verify but it has the same directory structure and files as my Win7 machine install.

EDIT: Ok I reinstalled again, and I moved the file into the c:\TWGS\Game folder and it is up and running on WinXP

Author:  John Pritchett [ Sun Mar 04, 2012 11:29 pm ]
Post subject:  Re: TWGS v2.20 is available

This is a workaround, and I would like to figure out the reason behind this issue, but it might get this version running if you put VCL40.BPL into your Windows system directory. For whatever reason, TWGS and/or TW is failing to find the DLL, even though it's located in the same directory TWGS is running from. So putting it in a directory where all applications check for DLLs might get it going.

I also wonder if some OSs are bothered by the fact that it has the extension BPL rather than DLL. I'll do some searches on the net about that.

Author:  John Pritchett [ Sun Mar 04, 2012 11:56 pm ]
Post subject:  Re: TWGS v2.20 is available

Ok, I was able to reproduce this on my Win7 install. I'm not sure what's causing it to do this one some but not on others. I installed this into C:\TWGS, which is what I used on the other installs where it worked fine. But TWGS loaded fine and NONPSERV, TW2002, TEDIT, etc, all failed with the error unable to find VCL40.BPL.

I was able to fix this by copying VCL40.BPL into the game directory so it's in both the TWGS root and TWGS\Game. Vid confirms that this fixed it for hims as well.

I'll fix this on TWGSv220 so that it copies VCL40.BPL to the game directory on install and that will clear it up. There will be no other changes to this update, so if you fix it with the workaround, no need to install the new one.

Author:  John Pritchett [ Mon Mar 05, 2012 2:29 am ]
Post subject:  Re: TWGS v2.20 is available

I've fixed this. The update has been posted, but like I said, if you got it working already, no need to re-install.

Let me know if you find any other issues.

Author:  Helix [ Mon Mar 05, 2012 7:17 am ]
Post subject:  Re: TWGS v2.20 is available

Good install after the fix.

H

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/