Editor Crashes - Parent Unit Invalid

This forum is for official support and troubleshooting FAQs.

Moderators: JAMiAM, ralphtricky

Post Reply
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

Editor Crashes - Parent Unit Invalid

Post by Telumar »

Has this occured to anyone before? What have i done wrong?

I modified an existing scenario and did the following: I selected clear map. Now all units have been removed from the map as a consequence and i began to redraw the map as i intended. I saved the scenario, but didn't redeploy any unit (the map wasn't finished yet).
When i wanted to open the scenario again the editor crashed with the following message, followed by a windows termination of the programm:

Image
Attachments
ParentUnitInvalid.jpg
ParentUnitInvalid.jpg (24.16 KiB) Viewed 244 times
JAMiAM
Posts: 6127
Joined: Sun Feb 08, 2004 6:35 am

RE: Editor Crashes - Parent Unit Invalid

Post by JAMiAM »

Just as a guess, I would say that there were subdivided units that were deployed, and when all the pieces got picked up, the OOB went into a tizzy.
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: Editor Crashes - Parent Unit Invalid

Post by Telumar »

ORIGINAL: JAMiAM

Just as a guess, I would say that there were subdivided units that were deployed, and when all the pieces got picked up, the OOB went into a tizzy.

That would explain it, but it isn't. I edited the OOB (renamed some units) just before i deleted the map.

Hm. I made some hexes unplayable - maybe it is related with entry points now probably being in unplayable hexes. Could that be?

Maybe it simply got corrupted by the evil windows while saving.

Fortunately it's a very small one - and i still have the unedited version.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Editor Crashes - Parent Unit Invalid

Post by ralphtricky »

ORIGINAL: Telumar
ORIGINAL: JAMiAM

Just as a guess, I would say that there were subdivided units that were deployed, and when all the pieces got picked up, the OOB went into a tizzy.

That would explain it, but it isn't. I edited the OOB (renamed some units) just before i deleted the map.

Hm. I made some hexes unplayable - maybe it is related with entry points now probably being in unplayable hexes. Could that be?

Maybe it simply got corrupted by the evil windows while saving.

Fortunately it's a very small one - and i still have the unedited version.
Can you post the editied version?
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
nemo69
Posts: 326
Joined: Wed Feb 18, 2004 11:31 am
Location: Nowhere to be seen
Contact:

RE: Editor Crashes - Parent Unit Invalid

Post by nemo69 »

Do you per chance have two or more units with identical names, with one or some of them in the reinforcements schedule?
Fais ce que dois
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: Editor Crashes - Parent Unit Invalid

Post by Telumar »

Thank you for answering.

Ralph, i am currently not at home, but i will post it tomorrow (my time).

Nemo, this is indeed the case. Two identical named units in the same formation, both in the reinforcements schedule. Mince!
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: Editor Crashes - Parent Unit Invalid

Post by Telumar »

Here it is - probably the smallest toaw scenario ever. Converted from Vol.I to III.
Attachments
Florina41T.zip
(25.84 KiB) Downloaded 10 times
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Editor Crashes - Parent Unit Invalid

Post by ralphtricky »

Somehow the unit called I/LSSAH is marked as being on the map, but it isn't on the map<g>.

It was on hex 8,4. I'd guess that when you cleared the map, you managed to do that somehow.

Ralph
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Raindem
Posts: 697
Joined: Sat Jul 15, 2000 8:00 am
Location: Arizona

RE: Editor Crashes - Parent Unit Invalid

Post by Raindem »

I saw&nbsp;this error a couple years ago&nbsp;in COW, but not in the editor. It was during a game.&nbsp; As Ralph said the program thinks a unit is on the map (you can even "select" it and manipulate the pathfinding arrow) but it's not really there.
Grab them by the balls. Their hearts and minds will follow.
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: Editor Crashes - Parent Unit Invalid

Post by Telumar »

Okay, the mystery is solved. Thanks Ralph. Will have to redoe the few tiles i did in the editor then.

Raindem - Nemo and I encountered this some weeks ago in a PBEM game, it happened in an overcrowded (unit-wise) area.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Editor Crashes - Parent Unit Invalid

Post by ralphtricky »

ORIGINAL: Telumar

Okay, the mystery is solved. Thanks Ralph. Will have to redoe the few tiles i did in the editor then.

Raindem - Nemo and I encountered this some weeks ago in a PBEM game, it happened in an overcrowded (unit-wise) area.
Let me know if you can reproduce it.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
nemo69
Posts: 326
Joined: Wed Feb 18, 2004 11:31 am
Location: Nowhere to be seen
Contact:

RE: Editor Crashes - Parent Unit Invalid

Post by nemo69 »

ORIGINAL: ralphtrick

ORIGINAL: Telumar

Okay, the mystery is solved. Thanks Ralph. Will have to redoe the few tiles i did in the editor then.

Raindem - Nemo and I encountered this some weeks ago in a PBEM game, it happened in an overcrowded (unit-wise) area.
Let me know if you can reproduce it.
It was in a CoW game, with a Bioed-ed executable. I'll dig out the save file and try to reproduce it (we were able to by then).
Fais ce que dois
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: Editor Crashes - Parent Unit Invalid

Post by Telumar »

I found my file, a turn 20 .sal file. Go to hex 35/50 (Nijmegen) - there is the "invisible" unit. Yet no crashes, but iirc it should crash on the turn end. You can also ask for nemo's password and open the allied turn 20 pbl. It should crash when you select the unit from the german side.

Argh - it's 16 (!) KB too big as a .rar file with the best compression!!

Okay, i split the archive and attach it as two separate .txt files. Here's part one.

Attachments
ABTF20.part1.rar.txt
(195.31 KiB) Downloaded 7 times
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: Editor Crashes - Parent Unit Invalid

Post by Telumar »

And here is part two. [:)]
Attachments
ABTF20.part2.rar.txt
(20.32 KiB) Downloaded 8 times
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Editor Crashes - Parent Unit Invalid

Post by ralphtricky »

I see it, and if it was an ongoing game, I could fix it, but I'm not sure what caused it.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
User avatar
Telumar
Posts: 2334
Joined: Tue Jan 03, 2006 12:43 am

RE: Editor Crashes - Parent Unit Invalid

Post by Telumar »

ORIGINAL: ralphtrick

I see it, and if it was an ongoing game, I could fix it, but I'm not sure what caused it.

You need not to - i did the turn again and it never occured in this scenario again. We've progressed up to turn 33.


Post Reply

Return to “TOAW III Support”