From: Iowan in MD/DC
I'm trying to track down what might be a database issue.
Some time ago, I got the following error message when loading a turn in Tracker:
Can't find device 1122.
Can't find device 1165.
These device numbers, in scenario 1, correspond to USA Mech Cav Squad (1122) and M8 Armored Car (1165).
I checked a couple of my LCUs that might have these. I found one that has the M8 in its TOE, but instead it has "Lt Armored Car".
This error wasn't around at the beginning of the game, and the game itself gives me no errors.
That's in some code I added for the Turn loading sequence related to updating the armament pool information. It's when there are devices in the pool, but it wasn't in any device initially read in when the database was started.
Could there have been a scenario change mid-game?
There shouldn't have been? I only get the error on my home computer. When I load turns at work, I don't get it. I've tried copying the scenario files from the SCEN directory of my other Scen 1 game, but it persists. So...something with the save file? I really don't know.
It can't be computer-specific. It happens when a device's pool is non-empty or a device was used from the pool.
Are devices 1122 and 1165 defined in the scenario? The devices become available in 12/42 according to Scenario 2.
Well, that's why I find it so strange. At work, I load up on a Win7 64-bit machine now so there's no OS or different in Java. And at work, I don't get this message. At home I do. The game is a Scen 1 game, but I assume that it's the same availability date. So I don't need to worry about it quite yet...
Perhaps re-applying Andy's database changes might fix something. I'll post here again if I can't fix it by messing around with it that way.
FWIW, in my game with Bullwinkle I can look up the device in the Devices data set in Tracker. In the game where this happens, there are no devices for 1122 and 1165. So it's like Tracker is trying to read information for 1122 and 1165 but can't find the information in the SCEN files?