OpenXcom Forum

Modding => Work In Progress => Topic started by: Jstank on March 19, 2015, 07:18:06 am

Title: New terror mission bug - vector::_range_check
Post by: Jstank on March 19, 2015, 07:18:06 am
vector::_range_check

sometimes it won't come up but sometimes it does. I guess it depends on the map

It only shows on terror mission maps

Testing new battle terror missions and expanded urban and rail yard come up with the same error.
Title: Re: New terror mission bug - vector::_range_check
Post by: hellrazor on March 19, 2015, 07:25:28 am
vector::_range_check

sometimes it won't come up but sometimes it does. I guess it depends on the map

It only shows on terror mission maps

Testing new battle terror missions and expanded urban and rail yard come up with the same error.

Well as soon as i load this savegame and let a few minutes pass Openxcom crashes.
But maybe i should use the FMP...
Title: Re: New terror mission bug - vector::_range_check
Post by: Jstank on March 19, 2015, 07:30:23 am
Oh should have mentioned FMP is in use. My bad
Title: Re: New terror mission bug - vector::_range_check
Post by: hellrazor on March 19, 2015, 07:34:16 am
I just downloaded the FMP.... OMG what a mess....

No iam not going do further endure looking at this. (deletes FMP)
Title: Re: New terror mission bug - vector::_range_check
Post by: Hobbes on March 19, 2015, 02:57:53 pm
Testing new battle terror missions and expanded urban and rail yard come up with the same error.

That was supposed to have been fixed for Railyard, unless Solaris didn't update the FMP yet with the latest files of the Terrain Pack. Can you go to the /ROUTES folder and check the modified date of the RAILYARDURBAN19.RMP file? It should be 07-03-2015 04:24

Expanded Urban - is that Luke83's version?
Title: Re: New terror mission bug - vector::_range_check
Post by: Jstank on March 19, 2015, 07:53:35 pm
They all say they were updated yesterday on my machine. BUT the date says 3.7.2015 on the downloaded fmp file. I am running Git 2015-03-08 1940

I cannot attach the .RMP file

I don't see Expanded Urban in the ROUTES folder.
Title: Re: New terror mission bug - vector::_range_check
Post by: Hobbes on March 19, 2015, 08:36:18 pm
They all say they were updated yesterday on my machine. BUT the date says 3.7.2015 on the downloaded fmp file. I am running Git 2015-03-08 1940

That should be the cause of the issue then. You can simply download the Terrain Pack and use it to update all the /MAPS, /ROUTES and /TERRAIN folders to fix that and other bugs that popped up meanwhile.
Title: Re: New terror mission bug - vector::_range_check
Post by: Jstank on March 19, 2015, 08:58:43 pm
Did not fix it. I updated to latest nightly no dice.
Title: Re: New terror mission bug - vector::_range_check
Post by: Hobbes on March 19, 2015, 09:28:00 pm
Did not fix it. I updated to latest nightly no dice.

Do you have a save of the game?

I am assuming that you replaced the files in the /ROUTES folder, right? Just checking.
Title: Re: New terror mission bug - vector::_range_check
Post by: Solarius Scorch on March 20, 2015, 09:30:03 am
I just downloaded the FMP.... OMG what a mess....

No iam not going do further endure looking at this. (deletes FMP)

Your mom's a I would appreciate further comments and suggestions. :) (Preferably in the FMP thread though.)
Title: Re: New terror mission bug - vector::_range_check
Post by: Jstank on March 21, 2015, 02:02:28 am
FMP is tough to look at with the rule set all scrunched into one file
Title: Re: New terror mission bug - vector::_range_check
Post by: Solarius Scorch on March 21, 2015, 10:35:25 am
FMP is tough to look at with the rule set all scrunched into one file

Well, my experience is that splitting the file into several parts leads to problems on the users end. As in, many users not being able to enable all the rulesets at once, even with direct instructions. (Don't ask me why.)
Title: Re: New terror mission bug - vector::_range_check
Post by: Hobbes on March 26, 2015, 02:19:29 am
Just had this bug on Expanded Urban terrain. I couldn't reproduce it afterwards and unfortunately didn't save the mission.
Title: Re: New terror mission bug - vector::_range_check
Post by: chaosshade on March 26, 2015, 02:50:22 am
I've had it occur on alien landings as well as at terror sites, but I don't use FMP, I just use the Terrain pack.
Title: Re: New terror mission bug - vector::_range_check
Post by: Jstank on March 26, 2015, 12:08:30 pm
Try turning terrain pack nightly off. It worked for me.
Title: Re: New terror mission bug - vector::_range_check
Post by: Buscher on March 26, 2015, 09:49:16 pm
Thinking about it, this workaround (https://openxcom.org/forum/index.php/topic,2027.msg41732.html#msg41732) I came up with is no good on the long term.

Hobbes:
If you don't mind using FMP to verify the terrain pack, you could have a look at this post with a savegame (https://openxcom.org/forum/index.php/topic,2027.msg41479.html#msg41479). The FMP mod has the same integrity values (md5 checksums) as your files, I think. Just make sure that you don't activate savescumming while testing with FMP enabled.

I wish there was more debug information to go around. The openxcom.log doesn't tell anything either. Without running the entire engine in debugging mode, it's probably going very hard to fix that issue.

Jstank:
Do you still happen to have the savegame? Could you upload it, please?
Title: Re: New terror mission bug - vector::_range_check
Post by: Hobbes on March 26, 2015, 10:09:39 pm
Thinking about it, this workaround (https://openxcom.org/forum/index.php/topic,2027.msg41732.html#msg41732) I came up with is no good on the long term.

Hobbes:
If you don't mind using FMP to verify the terrain pack, you could have a look at this post with a savegame (https://openxcom.org/forum/index.php/topic,2027.msg41479.html#msg41479). The FMP mod has the same integrity values (md5 checksums) as your files, I think. Just make sure that you don't activate savescumming while testing with FMP enabled.

I wish there was more debug information to go around. The openxcom.log doesn't tell anything either. Without running the entire engine in debugging mode, it's probably going very hard to fix that issue.

Jstank:
Do you still happen to have the savegame? Could you upload it, please?

EDIT: I downloaded the saved file, installed the latest version of the FMP and tested a Railyard Terror Site. Everything worked fine for 10 turns and the RMP nodes were good.
Title: Re: New terror mission bug - vector::_range_check
Post by: chaosshade on March 26, 2015, 11:53:35 pm
Try turning terrain pack nightly off. It worked for me.

Yeah, turning it off works, but then I'm back to landing in the same five bloody corn fields and the same desert map... can't really win w/ this one, lol
Title: Re: New terror mission bug - vector::_range_check
Post by: Hobbes on March 27, 2015, 12:15:14 am
Just looked at the latest FMP ruleset, I think there is an issue with the alienDeployment entry for Terror Sites. The FMP defines 5 item levels but several ranks on alienDeployment only have 4 item levels.

I've also rechecked the Terrain Pack and found issues with some .RMP files of Expanded Urban. I'm going to replace those with the next version of the Terrain Pack. Since Jstank mentioned both this terrain and Railyard as problematic and Railyard's issues have been fixed, I hope that this bug is gone.
Title: Re: New terror mission bug - vector::_range_check
Post by: Jstank on March 27, 2015, 03:31:42 am
Thanks Hobbes. As soon as that update posts (if it hasn't already) I will go ahead and update accordingly and test it out! ;D
Title: Re: New terror mission bug - vector::_range_check
Post by: Hobbes on March 27, 2015, 05:31:11 am
Thanks Hobbes. As soon as that update posts (if it hasn't already) I will go ahead and update accordingly and test it out! ;D

I've posted the updated files on the new version of the Terrain Pack thread. Let me know if you have anymore of those issues. :)