OpenXcom Forum

Modding => Work In Progress => Topic started by: SIMON BAILIE on March 04, 2015, 04:06:48 pm

Title: CRASH DURING TERROR MISSION
Post by: SIMON BAILIE on March 04, 2015, 04:06:48 pm
In my current game I'm playing the game crashes to the desktop during the aliens 1st turn, it's a terror mission using the new terrains fr v3.1.4 in the south Atlantic (Trinade Island). It has the error message "invalid vector<T> subscript". The following is the openxcom log:

[04-03-2015 13:56:51]   [INFO]   Data folder is:
[04-03-2015 13:56:51]   [INFO]   Data search is:
[04-03-2015 13:56:51]   [INFO]   - C:\Users\user\Documents\OpenXcom\data\
[04-03-2015 13:56:51]   [INFO]   - C:\Users\user\Desktop\OPEN XCOM 100%\CG - Commendations\data\
[04-03-2015 13:56:51]   [INFO]   - C:\Users\user\Desktop\OPEN XCOM 100%\CG - Commendations\data\
[04-03-2015 13:56:51]   [INFO]   User folder is: C:\Users\user\Documents\OpenXcom\
[04-03-2015 13:56:51]   [INFO]   Config folder is: C:\Users\user\Documents\OpenXcom\
[04-03-2015 13:56:51]   [INFO]   Options loaded successfully.
[04-03-2015 13:56:51]   [INFO]   SDL initialized successfully.
[04-03-2015 13:56:52]   [INFO]   SDL_mixer initialized successfully.
[04-03-2015 13:56:52]   [INFO]   Attempting to set display to 1920x1080x8...
[04-03-2015 13:56:53]   [INFO]   Display set to 1920x1080x8.
[04-03-2015 13:56:53]   [INFO]   Loading ruleset...
[04-03-2015 13:56:56]   [INFO]   Ruleset loaded successfully.
[04-03-2015 13:56:56]   [INFO]   Loading resources...
[04-03-2015 13:56:56]   [INFO]   Loading extra resources from ruleset...
[04-03-2015 13:56:58]   [INFO]   Resources loaded successfully.
[04-03-2015 13:56:58]   [INFO]   Loading language...
[04-03-2015 13:56:58]   [INFO]   Language loaded successfully.
[04-03-2015 13:56:58]   [INFO]   OpenXcom started successfully!
[04-03-2015 13:56:58]   [INFO]   Playing flx, 320x200, 890 frames
[04-03-2015 13:56:58]   [INFO]   Using software scaling routine. For best results, try an OpenGL filter.
[04-03-2015 13:57:10]   [INFO]   SDL_mixer initialized successfully.
[04-03-2015 13:58:22]   [FATAL]   invalid vector<T> subscript

Attached also is the .sav file. Is there any way round this?
Title: Re: CRASH DURING TERROR MISSION
Post by: Hobbes on March 04, 2015, 06:22:10 pm
There's a bad route connection on the .sav file, I'm not entire sure if it is the reason for causing the crash, but it means that I need to fix Industrial's routes. Can you please take a pic of the entire battlefield to help spot the maps with issues?

If that's the issue, then it will be needed to edit the save file to remove the bad links.
Title: Re: CRASH DURING TERROR MISSION
Post by: SIMON BAILIE on March 04, 2015, 06:33:33 pm
Pics attached, 1st 4 are covering the battlescape that's visible, last pic covers the in game mapview.
Title: Re: CRASH DURING TERROR MISSION
Post by: Hobbes on March 04, 2015, 06:38:39 pm
Those pics doesn't help since they don't show the entire battlefield. You need to do this: go to Video and choose Battlescape to full display. Then hit CTRL-D to reveal the entire map and take a pic.
Title: Re: CRASH DURING TERROR MISSION
Post by: SIMON BAILIE on March 04, 2015, 07:14:32 pm
Sorry about that, here u go, levels 0-3 inclusive.
Title: Re: CRASH DURING TERROR MISSION
Post by: Hobbes on March 04, 2015, 07:31:40 pm
Thanks a lot, I had already an idea of the map blocks responsible and with the image I can confirm them.

Try the attached saved file and see if the game still crashes.
Title: Re: CRASH DURING TERROR MISSION
Post by: SIMON BAILIE on March 04, 2015, 07:57:44 pm
Thanks that seems to have done the trick, will let u know if there r any further probs.
Title: Re: CRASH DURING TERROR MISSION
Post by: Hobbes on March 04, 2015, 08:10:50 pm
Thanks that seems to have done the trick, will let u know if there r any further probs.

Please do. I think I've finally figured out the occasional crash issues with the Railyard terrain from this bug.
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 20, 2015, 07:27:45 pm
Hey!
I have the same Problem, by searching i have found this forum and thread.
No wait, it is a similar Problem, there is a terror mission and when i want to start it i get the error vector::_M_range_check and the game crashes.
I don't even get to the map.

And i can't figure out, how to "use" your file "BATTLESCAPE TWO_FIXED.sav".

I have found no .sav files so i don't even know where to put it.

Please, help me, otherwise i can't finish this awesome mod (ignoring the terror site is not so cool for the council :-D)

I forgot, i am playing openxcom_git_master_2015_03_17_2139 and the latest Final Mod Pack.


Thank you!!
Armin
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 20, 2015, 09:32:07 pm
oh, now i have found the .sav files.
Anyway, this one you have posted causes an instant crash, as far as i understand this happens because i have another mod/settings.
 
I upload my safegame, can anyone help me please? The skymarshall is heading to an alien base in africa, just redirect him towards the terror site into the pacific (there is an alienbase beside).

Thank you very much!
Armin
Title: Re: CRASH DURING TERROR MISSION
Post by: Hobbes on March 20, 2015, 10:08:04 pm
oh, now i have found the .sav files.
Anyway, this one you have posted causes an instant crash, as far as i understand this happens because i have another mod/settings.
 
I upload my safegame, can anyone help me please? The skymarshall is heading to an alien base in africa, just redirect him towards the terror site into the pacific (there is an alienbase beside).

Thank you very much!
Armin

What is the terrain issue with the save game file you posted?
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 20, 2015, 10:40:26 pm
What is the terrain issue with the save game file you posted?

When you go to the terror site on hawaii the game crashes when you want to start the mission, at least on my computer. I have played further and there was a landed ufo (i don't know, if it was a terror mission, i don't get every time the terror-warnig!) and it happened again...
Title: Re: CRASH DURING TERROR MISSION
Post by: Hobbes on March 20, 2015, 10:58:05 pm
I see. Well you better ask about it on the Final Mod Pack thread since your version is probably outdated.
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 20, 2015, 11:06:13 pm
oh, i am sorry, thank you for the answer!

Is there a spescial fmp thread? I find only experimental threads.

armin
Title: Re: CRASH DURING TERROR MISSION
Post by: Solarius Scorch on March 20, 2015, 11:18:46 pm
I'm just fixing the terror stuff for the FMP, should work properly with 1.0.3.
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 20, 2015, 11:53:35 pm
I'm just fixing the terror stuff for the FMP, should work properly with 1.0.3.

Cool, thank you! And all the developers as well, this is a whole new experience!

Btw., what the hell do i have to do to get the hyperwave-dwcoder? I have already interrogatet aprox 5 navigators. The hwd would be nice to know where a terror site happens.

Thank you again!
Title: Re: CRASH DURING TERROR MISSION
Post by: Jstank on March 21, 2015, 02:09:44 am
Thanks for all your help solarius. Your going to save my LP once this terror mission gets fixed



PS I am not a lurker. I have a problem with excessive posting. The doctor says I'm doomed for life.
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 21, 2015, 04:41:18 am
Thanks for all your help solarius. Your going to save my LP once this terror mission gets fixed



PS I am not a lurker. I have a problem with excessive posting. The doctor says I'm doomed for life.

Jstank, did you get a hyperwave- decpder already? I also captured a sectoid-leader (with some casualities) and there is still no psi-labor. This mod is truly the lpngwar for xcom classic.
Title: Re: CRASH DURING TERROR MISSION
Post by: Jstank on March 21, 2015, 05:07:59 am
I have gotten a hyper wave decoder in my play test version. You have to capture a lot of live aliens to unlock it. To get the psi amp, you need either a sectoid officer, any cerebral, or any etheral. I think the same holds true for the psi lab but one does not unlock the other. Basically capture all the live aliens and research every one every time because you never know what your going to unlock.
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 21, 2015, 09:28:01 am
ok, thank you! Same thing with the plasma weapons?
Title: Re: CRASH DURING TERROR MISSION
Post by: Solarius Scorch on March 21, 2015, 10:37:45 am
I don't want to spoil it too much, but here's the hint for the Hyper-Wave Decoder:

Code: [Select]
    dependencies:
      - STR_ALIEN_CODES
      - STR_ALIEN_OPTICAL_PROCESSOR
      - STR_DELTA_RADIATION

:)
Title: Re: CRASH DURING TERROR MISSION
Post by: machinehater on March 21, 2015, 01:41:11 pm
lol, i think i have none of them :-D. So, let's do some kidnapping  8)