berto
Posts: 20708
Joined: 3/13/2002 From: metro Chicago, Illinois, USA Status: offline
|
quote:
ORIGINAL: Spartan7 Modifying a scenario. In the process of modifying the order of battle. When I go into the editor or to play the game it crashes when I go from 3D to 2D. An issue with my admittedly weak skills at modifying an Org? The fundamental problem is that in your modded Chinese 1.scn file, the unit trackids are all screwed up: rober@Rob10rto /cygdrive/i/BACKUP/Games Rob10rto 20180331/Matrix Games/Middle East/middle_east BACKUP 20180316 $ diff Scenarios/'Chinese 1.scn' Mods/'Bug Fix Spartan7'/Scenarios/'Chinese 1 FIX.scn' | head -n 60 22,55c22,55 < 0 0 23 P232048 11004 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 0 23 P232048 11005 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 0 23 P232048 11006 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 0 24 P233004 10908 2 1 3 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 0 24 P234006 11133 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 1 23 P232048 11022 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 1 23 P232048 11023 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 1 23 P232048 11024 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 1 24 P233006 11002 2 1 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 1 24 P234001 14573 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 1 24 P231006 11033 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 22 P230025 11055 2 1 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 22 P230024 11056 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 22 P230024 11057 2 32 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 22 P230024 11058 2 8 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 23 P232062 11031 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 23 P239033 11035 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 24 P232048 11013 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 24 P232048 11014 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 2 24 P232048 11015 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 3 22 P233007 11048 2 1 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 3 22 P234006 11140 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 3 22 P230025 11139 2 2 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 3 23 P230025 11050 2 1 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 3 23 P230024 11051 2 4 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 3 23 P230024 11052 2 32 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 3 23 P230024 11053 2 8 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 11 5 P238031 14582 8 8 3 0 0 100 5 0 0 0 3 3 3 3 0 0 -1 -1 < 0 16 3 P238034 14585 8 8 1 0 0 100 5 0 0 0 3 3 3 3 0 0 -1 -1 < 0 21 3 P238031 14579 8 8 3 0 0 100 5 0 0 0 3 3 3 3 0 0 -1 -1 < 0 21 8 P238032 14581 8 8 2 0 0 100 5 0 0 0 3 3 3 3 0 0 -1 -1 < 0 26 21 P232048 10930 8 8 3 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 26 21 P232048 10931 8 16 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 < 0 26 21 P232048 10932 8 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 --- > 0 0 23 P232048 -1 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 0 23 P232048 -1 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 0 23 P232048 -1 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 0 24 P233004 -1 2 1 3 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 0 24 P234006 -1 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 1 23 P232048 -1 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 1 23 P232048 -1 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 1 23 P232048 -1 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 1 24 P233006 -1 2 1 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 1 24 P234001 -1 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 1 24 P231006 -1 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 22 P230025 -1 2 1 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 22 P230024 -1 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 22 P230024 -1 2 32 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 22 P230024 -1 2 8 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 23 P232062 -1 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 23 P239033 -1 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 24 P232048 -1 2 2 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 24 P232048 -1 2 1 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 2 24 P232048 -1 2 4 4 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 3 22 P233007 -1 2 1 2 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 3 22 P234006 -1 2 4 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 3 22 P230025 -1 2 2 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 > 0 3 23 P230025 -1 2 1 1 0 0 100 4 0 16384 0 3 3 3 3 0 0 -1 -1 ... That highlighted -1, and the fifth field in all lines that follow (in your modded .scn file), all such fields also being -1 -- those are bogus, and will indeed cause the game engine (and scen editor) to crash. And other issues. It's not clear to me how these issues could have come about. Don't ask, don't tell? quote:
All other scenarios work fine. Any quick thoughts as I don't want to consume a lot of your time. Yes, I am afraid that in order to debug this, it would require much back and forth and much time. Which I/we don't have much of (given how we are devoted now to developing CS Vietnam).
_____________________________
|