tolsen64 on 7/6/2011 at 14:03
Quote Posted by fxdwg
Continuing on...
Now that my FM archives collection is behaving, I thought I would bring up my next experience, the "Unhandled Exception".
The mission manager works great for loading and playing the few T2 missions that I've tried so far. The following exception gets thrown every time when exiting from from Thief2:
************* Exception Text **************
System.InvalidCastException: Conversion from string "The_saves.zip" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
product.
What T2 Missions are you playing? Give me the zip file names so I know I've got the correct file. So it does this whenever T2 missions are exited but not when any other games are exited? What is the file "The_saves.zip" and what folder is it in?
We had tornado's last night so I didn't get to work on it at all. I'll take a look tonight and see if I can find anything.
tolsen64 on 7/6/2011 at 14:08
Quote Posted by fxdwg
I just noticed more odd behavior. I don't know when this started, but I no longer get the "install Mission" button on the lower right corner of the Fan Mission Files tab. Even the Install Mission on a right-click is disabled. I've synchronized the file list a few times and even re-did the Get Selected Missions Info on the right-click. I'm currently using version 11.6.5.1. When using an older version (11.6.4.1), the Install button makes an appearance normally.
Correct me if I'm wrong, but when upgrading, I've been simply replacing all files and folders except the mdb to avoid filling in the initial setup information. And I was assuming that your DB structure wasn't changing between versions.
Later...
So I tried replacing the mdb as well. The install button now shows up again. I guess this is okay since nothing too important is really stored except perhaps the games settings (so far). Just thought I would share.
The thing that changed between the two versions you mention is that I changed the dot in the folder (created from the zip file name) to an underscore. This would have altered the detection of currently installed missions. But the format of the MDB file has never changed.
The other thing that changed was the formatting of the numbers in the file size column to support non-US number systems.
Renault on 7/6/2011 at 14:24
Tolsen - I think your mission loader need a catchy title. :cool:
fxdwg on 8/6/2011 at 00:44
Quote Posted by tolsen64
What T2 Missions are you playing? Give me the zip file names so I know I've got the correct file. So it does this whenever T2 missions are exited but not when any other games are exited? What is the file "The_saves.zip" and what folder is it in?
We had tornado's last night so I didn't get to work on it at all. I'll take a look tonight and see if I can find anything.
A tornado in Billings? Hope things are OK. Got to keep you busy with this mission loader.
I've got 3 T2 FM's installed, which all exhibit the aforementioned behavior:
being_thief_v1.0.zip (just noticed v1.1 is available)
alch11.zip (alchemic allusions)
2479_vc_angel.zip (when angels refuse to die)
I had 1 TG mission installed, "bluestar.zip", which initially had the same issue but instead the string was "hush sweet harlot.zip" vice the_saves.zip. But after uninstalling and re-installing, it no longer throws the exception. And no other T1/TG mission does either. But T2 missions persist.
Both my T1 and T2 games started out set to the original games in darkloader first.
I have a clean patched backup copy of both T1 and T2 program folders with which I can cleanly "install" them anytime in seconds.
I don't have any idea what "the_saves.zip" is. I searched my entire hard drive with no results.
tolsen64 on 8/6/2011 at 02:11
Quote Posted by Brethren
Tolsen - I think your mission loader need a catchy title. :cool:
Originally I was thinking of Thief Loader II, but I didn't want to step on any toes.
tolsen64 on 8/6/2011 at 02:15
fxdwg: Give me a week or so. I'm re-working a few things and then i'll re-enable the download link. I'll try to reproduce your issue during that time to see if I can figure out what's happening. Honestly, I don't have the faintest idea. I have the loader installed on three laptops and three desktops and haven't had that issue pop up on any of them.
fxdwg on 8/6/2011 at 02:55
Quote Posted by tolsen64
fxdwg: Give me a week or so. I'm re-working a few things and then i'll re-enable the download link. I'll try to reproduce your issue during that time to see if I can figure out what's happening. Honestly, I don't have the faintest idea. I have the loader installed on three laptops and three desktops and haven't had that issue pop up on any of them.
Cool. No problem with the time frame. I'll continuing with what I've got and see what else might come up. I hadn't thought about it until you mentioned, but I too have other family PC's I could try it out on as well. If you need anymore bits of info, just let me know.
tolsen64 on 8/6/2011 at 04:33
I remembered why the install button stopped showing up after that last update. It was because I took out the "test zip file" routine and changed the "show install button" check to look for an empty "File Status" column instead of it saying "Zip File Okay". So when you reloaded your database, the column is now empty except when there was an error encountered when trying to get the mission info. So... empty file status column, Install Button appears.
tolsen64 on 8/6/2011 at 04:39
Quote Posted by fxdwg
Cool. No problem with the time frame. I'll continuing with what I've got and see what else might come up. I hadn't thought about it until you mentioned, but I too have other family PC's I could try it out on as well. If you need anymore bits of info, just let me know.
I wouldn't load any T3 games just yet. The loading of T3 will totally change in the next version. No more patching a different T3Main.exe for each mission. No more registry entries, period. It'll be sweet. thanks to a very smart taffer who came up with a patch to fix the dot bug and eliminate reliance on the registry to find its own files. Of course, he will be given full credit, in case anyone is wondering....
fxdwg on 9/6/2011 at 00:48
I tried two experiments.
First I copied my archived pristine thief2 program folder onto another PC, setup your mission manager (v11.6.5.1), then loaded up the 7th Crystal. Once in the game, I had to make a mouse sensitivity adjustment, then I created a save, and then exited Thief. After Thief closed, a msgbox popped up to tell me "user.bnd" has been modified. I clicked OK and the mission manager did not throw an exception. So I was wondering what some of the things your code might be doing after Thief exits. What types of "canned" messages are displayed after Thief exits, and are they necessary?
My second experiment involved copying my working copy of the Thief2 program folder from my PC (the one with the problem) to my testing PC. It worked without crashing. So that leads me to believe there is something about my computer that is involved.
Which reminds me, in your program setup, I didn't see where it was possible to edit or remove an existing entry for Thief executables without clearing all setup information. I could only add another location (I copied it to a differently named folder). I had to edit the entry in the DB table instead.