PatrickAWlson Posted September 22, 2018 Posted September 22, 2018 This is a popup that has started to appear in PWCG missions. it is kind of vague - just those two words. The player clicks on the message and it goes away. The mission proceeds. Opening the mission file in the ME does not indicate an error. Does it mean that an object link is associated with a non existent object? Does it mean that an object on the ground (building or something like that) is not an in game object?
Murleen Posted September 22, 2018 Posted September 22, 2018 I ran the mission editor "integrity check" on one pwcg mission with this error, and saw some warnings about missing models/scripts, but fixing these didn't resolve the error.
Murleen Posted September 22, 2018 Posted September 22, 2018 If it's any help, here's a mission where the error appears at the very start: Iliya Tolstoy 1942-06-03.zip
PatrickAWlson Posted September 23, 2018 Author Posted September 23, 2018 (edited) 4 hours ago, Murleen said: If it's any help, here's a mission where the error appears at the very start: Iliya Tolstoy 1942-06-03.zip I noticed the same: ndb is incorrectly defined and vehicles have two "\\" separators. Fixed both. The only error that I get now is: Object(2:Olt Agustus Schottel) >> plane has number in formation but doesn't have a target entity! This happens because virtual flights do not have formations. I will put a fix in to see if it helps but this has really been this way f or years. I wonder if a game update changed the rules? Edit: That is not the virtual flight (these are properly set to zero). Agustus Schotte is the commander of my flight. There is a clear OL from the formation back to Agustus Schotte. No idea what the message is trying to say. Edited September 23, 2018 by PatrickAWlson
Murleen Posted September 23, 2018 Posted September 23, 2018 I think that one might mean that formation numbers should count from zero rather than one, but as you say that hasn't changed recently.
PatrickAWlson Posted September 23, 2018 Author Posted September 23, 2018 9 hours ago, Murleen said: I think that one might mean that formation numbers should count from zero rather than one, but as you say that hasn't changed recently. Yep - that must have been an uncaught change from RoF because the code explicitly sets the leader to 1. Changed it. Now no more errors ... and it didn't help the unidentified object error at all. Still worth doing to get the missions clean.
Sketch Posted September 27, 2018 Posted September 27, 2018 Last night when we were flying coop on a dedicated machine, I would get the unidentified object error via the dserver. Once I clicked 'ok' on the error's message box, the mission ran normally. I got the error normally at the start of the mission, and the mission would not continue until I clicked ok. What I mean by 'continue' is that the ATC would not say, "Your flight is clear for take off." Or, objects would be invisible/not enabled until I pressed ok. My teammates were tracking a plane, and then the error occurred, and then the plane disappeared. After I clicked okay, the guys could see the plane again.
Murleen Posted September 28, 2018 Posted September 28, 2018 I think I may have found what in the mission file causes the error, but I'm at work now and not able to do any further testing. In the failed missions I see that there is a train instance like this: Train { Name = "g8"; Index = 388450; LinkTrId = 388449; XPos = 157825.00; YPos = 149.00; ZPos = 43888.00; XOri = 0.00; YOri = 0.00; ZOri = 0.00; Script = "LuaScripts\WorldObjects\trains\g8.txt"; Model = "graphics\trains\g8\\g8.mgm"; Country = 201; Desc = ""; AILevel = 1; Vulnerable = 1; Engageable = 1; LimitAmmo = 1; DamageReport = 50; DamageThreshold = 1; DeleteAfterDeath = 1; Carriages { ""; "LuaScripts\WorldObjects\trains\pass.txt"; "LuaScripts\WorldObjects\trains\gondolab.txt"; "LuaScripts\WorldObjects\trains\platformnb.txt"; "LuaScripts\WorldObjects\trains\tankb.txt"; } } Note that the first carriage, which should be the g8t coal tender, is an empty string, which I suspect is what generates the error. It looks like this was probably introduced in 3b146992f96a44afa1f105436239ec400a6e0620 - I suspect that the makeRandomVehicleFromSet method of TrainCoalCar never gets called.
Murleen Posted September 28, 2018 Posted September 28, 2018 OK, did some testing just now and this looks like the culprit - on a mission I had which errors on takeoff, if I change the blank string to "foo", then the error box that pops up contains "foo", and if I set it correctly to the g8t script, the autopilot can take off without error and I can see the train with Shift+F5. I'm just testing a fix now.
PatrickAWlson Posted September 29, 2018 Author Posted September 29, 2018 (edited) On 9/28/2018 at 1:18 PM, Murleen said: OK, did some testing just now and this looks like the culprit - on a mission I had which errors on takeoff, if I change the blank string to "foo", then the error box that pops up contains "foo", and if I set it correctly to the g8t script, the autopilot can take off without error and I can see the train with Shift+F5. I'm just testing a fix now. I seriously owe you a beer or several ... thanks. Edited September 29, 2018 by PatrickAWlson
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now