|
Post by Aves Dominari on Oct 17, 2012 20:09:30 GMT -5
Well, you have my game; the only changes I've made so far are a few tweaks to the weapon damage ;p Just run it and try to end your turn; as far as I can see, the AI always gets stuck and never does anything.
|
|
|
Post by Kyzrati on Oct 17, 2012 20:11:51 GMT -5
Ah, ok then, I'll check it out.
|
|
|
Post by Kyzrati on Oct 17, 2012 20:30:05 GMT -5
Ok, first thing I did was run your game using the -noAI switch, so I could see how many humans you had on the other team, and... the game couldn't even switch to the next faction, so the problem is somewhere there.
The faction system is a hack right now because you're eventually going to be able to define all your own factions externally, but that ties into the real map generation system, which I have yet to get to, so I'll have to once again update this existing hack... I'll definitely do an update for whatever's causing this soon (I need to dig up some old source and figure it out).
So far nice work! Your mod is looking good. Noticed that one of your 2x1 W-E buildings has a brick wall where it should have a stone wall, btw. Also checked a few random maps, and suggest you use repel groups in cataclysm_areas.xt to keep your watchtowers away from each other--makes more sense, anyway.
|
|
|
Post by Aves Dominari on Oct 17, 2012 20:35:16 GMT -5
Maybe it has something to do with the lack of an Alien faction? I'll try changing all the humans to that and see if it helps. And if you didn't already notice, I just copied all of your houses and switched the tiles around, so thanks for catching that ;
EDIT: Ha! That did it! You just have to have an Alien entity in place for the AI to work properly.
|
|
|
Post by Kyzrati on Oct 17, 2012 20:44:47 GMT -5
Ah, perhaps... if you lack any alien faction members but do *not* have that as a success condition that might do it. I should still fix that problem, though.
Looking at cataclysm_scenario.xt, I see you've removed the ALIENS_DEAD success trigger. Shouldn't the mission automatically end if the raiding party kills all the humans? Also, you have a typo in your [FAILURE_TEXT] ("myabe").
|
|
|
Post by Aves Dominari on Oct 17, 2012 20:47:00 GMT -5
Thanks for catching that, and yeah, it probably should; no idea why I didn't do that in the first place ;p
|
|
|
Post by Kyzrati on Oct 17, 2012 20:50:01 GMT -5
Excellent, so now all your humans can be "aliens" 
|
|
|
Post by Kyzrati on Oct 17, 2012 21:03:56 GMT -5
Just tested that theory, and yep no aliens w/success trigger off = infinite loop the turn processing code. Seeing as how you'll be turning it back on, I won't release the fix for this yet. It'll be in 8.1, though.
|
|
|
Post by Aves Dominari on Oct 17, 2012 21:04:57 GMT -5
Good to hear I'm of service ;p
|
|
|
Post by Kyzrati on Oct 17, 2012 21:22:52 GMT -5
Very much so. In all the the time I've worked on X@COM, no one's really helped debug the game before. It takes luring in modders to get this kind of support 
|
|
|
Post by Aves Dominari on Oct 20, 2012 10:27:20 GMT -5
Only somewhat related, but I got another crash when playing Aggression.
**************************************************** *** A Programm Fault occured: *** Error code C0000005: ACCESS VIOLATION **************************************************** *** Address: 0046E840 *** Flags: 00000000 **************************************************** *** CallStack: ****************************************************
Fault Occured At $ADDRESS:0046E840 with 18 00 68 02 06 00 00 00 00 00 00 00 40 E7 8D 03 00 00 00 00
*** 0 called from $ADDRESS:00436DBF with 4C 35 F6 A9 00 00 16 01 00 00 00 00 00 00 16 01 16 00 00 00
*** 1 called from $ADDRESS:00437CD3 with 30 3C F6 A9 D4 FA 12 00 60 35 F6 A9 E4 F5 12 00 CC F9 12 00
*** 2 called from $ADDRESS:004A9BE7 with 1C 3F F6 A9 D4 FA 12 00 A0 06 65 77 D4 77 66 76 BC A6 90 03
*** 3 called from $ADDRESS:004D9E75 with 00 D3 16 01 38 E2 16 01 01 00 00 00
*** 4 called from $ADDRESS:0041BBD0 with 38 E2 16 01
*** 5 called from $ADDRESS:0042CC2B with 38 E2 16 01 F0 DE 16 01 00 00 00 00
*** 6 called from $ADDRESS:0041BBD0 with F0 DE 16 01
*** 7 called from $ADDRESS:0041E3F0 with 50 64 58 00
*** 8 called from $ADDRESS:004195AC with 04 00 00 00 BC FA 12 00 50 64 58 00 BC FA 12 00 06 00 01 00
*** 9 called from $ADDRESS:004199B4 with E0 FE 12 00 D8 0E 18 01 D8 0E 18 01 D8 0E 18 01 00 00 00 00
*** 10 called from $ADDRESS:00502453 with 02 00 00 00 D0 FE 12 00 00 00 40 00 58 43 4F 4D 52 4C 00 00
*** 11 called from $ADDRESS:0052C715 with 02 00 00 00 D0 FE 12 00 E0 FE 12 00 EC FE 12 00 00 00 00 00
*** 12 called from $ADDRESS:0052C7CE with 00 00 40 00 00 00 00 00 44 1A 29 00 0A 00 00 00 38 3A F6 A9
*** 13 called from $ADDRESS:0052BC39 with 00 60 FD 7F
*** 14 called from $ADDRESS:76663823 with 00 60 FD 7F 38 AC 12 00 00 00 00 00 00 00 00 00 00 60 FD 7F
*** 15 called from $ADDRESS:7762A9BD with
*** 16 called from $ADDRESS:00000000 ************************************************************ I can confirm 100% that it's caused by the Hatred projectile destroying a Barricade.
|
|
|
Post by Kyzrati on Oct 20, 2012 10:28:57 GMT -5
EDIT: draxis did you delete your post or something? I just replied and yours is gone, replaced by Andrew's  Hm, looking at the code now, and the game is apparently crashing because it can't find any valid directions to rotate your area in. That should be impossible! But that's how these things always go...  How are you trying to rotate that area?
|
|
|
Post by draxis on Oct 20, 2012 10:31:12 GMT -5
NONE -- Yes I did delete, I forgot to attatch the data folder and was trying to re-add it. Here is the log again: **************************************************** *** A Programm Fault occured: *** Error code C0000005: ACCESS VIOLATION **************************************************** *** Address: 0051698B *** Flags: 00000000 **************************************************** *** CallStack: ****************************************************
Fault Occured At $ADDRESS:0051698B with 40 D4 12 00 1F 22 E9 EC 80 E5 F5 01 00 00 00 00 28 00 00 00
*** 0 called from $ADDRESS:0047B912 with 09 00 00 00 74 68 F8 01 00 00 00 00 40 DC 12 00 3C DD 12 00
*** 1 called from $ADDRESS:00484879 with 58 F1 12 00 A8 F0 12 00 EF 0C E9 EC F4 FA 12 00 D4 E6 12 00
*** 2 called from $ADDRESS:0049E3CF with 3C 00 00 00 3C 00 00 00 04 00 00 00 43 0D E9 EC 00 00 00 00
*** 3 called from $ADDRESS:004AE53B with 01 00 00 00 00 FF 12 00 C8 3E 00 C8 3E 00 C8 3E 00
*** 4 called from $ADDRESS:0050243B with 02 00 00 00 F0 FE 12 00 00 00 40 00 58 43 4F 4D 52 4C 00 00
*** 5 called from $ADDRESS:0052C715 with 02 00 00 00 F0 FE 12 00 00 FF 12 00 0C FF 12 00 00 00 00 00
*** 6 called from $ADDRESS:0052C7CE with 00 00 40 00 00 00 00 00 1C 23 15 00 0A 00 00 00 A3 09 E9 EC
*** 7 called from $ADDRESS:0052BC39 with 00 00 00 00 00 00 00 00 00 D0 FD 7F 05 00 00 C0 C8 FF 12 00
*** 8 called from $ADDRESS:7C817077 with
*** 9 called from $ADDRESS:00000000 ************************************************************
|
|
|
Post by Kyzrati on Oct 20, 2012 10:38:06 GMT -5
Only somewhat related, but I got another crash when playing Aggression. **************************************************** *** A Programm Fault occured: *** Error code C0000005: ACCESS VIOLATION **************************************************** *** Address: 0046E840 *** Flags: 00000000 **************************************************** *** CallStack: ****************************************************
Fault Occured At $ADDRESS:0046E840 with 18 00 68 02 06 00 00 00 00 00 00 00 40 E7 8D 03 00 00 00 00
*** 0 called from $ADDRESS:00436DBF with 4C 35 F6 A9 00 00 16 01 00 00 00 00 00 00 16 01 16 00 00 00
*** 1 called from $ADDRESS:00437CD3 with 30 3C F6 A9 D4 FA 12 00 60 35 F6 A9 E4 F5 12 00 CC F9 12 00
*** 2 called from $ADDRESS:004A9BE7 with 1C 3F F6 A9 D4 FA 12 00 A0 06 65 77 D4 77 66 76 BC A6 90 03
*** 3 called from $ADDRESS:004D9E75 with 00 D3 16 01 38 E2 16 01 01 00 00 00
*** 4 called from $ADDRESS:0041BBD0 with 38 E2 16 01
*** 5 called from $ADDRESS:0042CC2B with 38 E2 16 01 F0 DE 16 01 00 00 00 00
*** 6 called from $ADDRESS:0041BBD0 with F0 DE 16 01
*** 7 called from $ADDRESS:0041E3F0 with 50 64 58 00
*** 8 called from $ADDRESS:004195AC with 04 00 00 00 BC FA 12 00 50 64 58 00 BC FA 12 00 06 00 01 00
*** 9 called from $ADDRESS:004199B4 with E0 FE 12 00 D8 0E 18 01 D8 0E 18 01 D8 0E 18 01 00 00 00 00
*** 10 called from $ADDRESS:00502453 with 02 00 00 00 D0 FE 12 00 00 00 40 00 58 43 4F 4D 52 4C 00 00
*** 11 called from $ADDRESS:0052C715 with 02 00 00 00 D0 FE 12 00 E0 FE 12 00 EC FE 12 00 00 00 00 00
*** 12 called from $ADDRESS:0052C7CE with 00 00 40 00 00 00 00 00 44 1A 29 00 0A 00 00 00 38 3A F6 A9
*** 13 called from $ADDRESS:0052BC39 with 00 60 FD 7F
*** 14 called from $ADDRESS:76663823 with 00 60 FD 7F 38 AC 12 00 00 00 00 00 00 00 00 00 00 60 FD 7F
*** 15 called from $ADDRESS:7762A9BD with
*** 16 called from $ADDRESS:00000000 ************************************************************ I can confirm 100% that it's caused by the Hatred projectile destroying a Barricade. And it happens every time you do that? If so then great I'll look into it and get it fixed. We don't want that big bug floating around... NONE -- Yes I did delete, I forgot to attatch the data folder and was trying to re-add it. Oh my, okay, that helps a lot. I apparently forgot to add the "NONE" case for rotation... and because the entire Cataclysm mod was a quick hack, I didn't follow my standard practice of always checking for unrecognized cases, so it gave a nasty crash instead of a nasty but a least informative error message. It will crash every time. Use RANDOM for now, and I'll put the fix in 8.1. Never even used NONE before myself, oops...
|
|
|
Post by Aves Dominari on Oct 20, 2012 11:11:14 GMT -5
No, it isn't every time; I can destroy Barricades normally with the spell, but that's the only time I've seen it crash.
|
|