I got the spawnzone sorted out, now I am having the same error again.
What happen was, the UFO spawning the Alien base succeeds in spawning it, but when it is leaving, this error keep popping up.
[14-10-2019_22-37-32] [WARN] STR_SOUTH_CHINA_SEA not found in en-US
[14-10-2019_22-37-38] [WARN] STR_TLETH_BASESPAWN not found in en-US
[14-10-2019_22-37-38] [WARN] STR_THE_EAST_SEA not found in en-US
[14-10-2019_22-37-59] [FATAL] A fatal error has occurred: vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 6)
[14-10-2019_22-38-00] [FATAL] 0x58c910 OpenXcom::CrossPlatform::stackTrace(void*)
[14-10-2019_22-38-00] [FATAL] 0x58d780 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[14-10-2019_22-38-00] [FATAL] 0x41e8c0 exceptionLogger()
[14-10-2019_22-38-00] [FATAL] 0xb17700 MPEGaction::MPEGaction()
[14-10-2019_22-38-00] [FATAL] 0xcd0400 void std::iter_swap<__gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > >, __gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > > >(__gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > >, __gnu_cxx::__normal_iterator<OpenXcom::ScriptProcData*, std::vector<OpenXcom::ScriptProcData, std::allocator<OpenXcom::ScriptProcData> > >)
[14-10-2019_22-38-00] [FATAL] 0xcd55d0 OpenXcom::ScriptGlobal::addTagType<OpenXcom::ScriptTag<OpenXcom::RuleItem, unsigned char> >()::{lambda(unsigned long long)#1}::_FUN(unsigned long long)
[14-10-2019_22-38-00] [FATAL] 0xcc4a50 void std::__merge_sort_with_buffer<__gnu_cxx::__normal_iterator<OpenXcom::Soldier**, std::vector<OpenXcom::Soldier*, std::allocator<OpenXcom::Soldier*> > >, OpenXcom::Soldier**, __gnu_cxx::__ops::_Iter_comp_iter<OpenXcom::SortFunctor> >(__gnu_cxx::__normal_iterator<OpenXcom::Soldier**, std::vector<OpenXcom::Soldier*, std::allocator<OpenXcom::Soldier*> > >, __gnu_cxx::__normal_iterator<OpenXcom::Soldier**, std::vector<OpenXcom::Soldier*, std::allocator<OpenXcom::Soldier*> > >, OpenXcom::Soldier**, __gnu_cxx::__ops::_Iter_comp_iter<OpenXcom::SortFunctor>)
[14-10-2019_22-38-00] [FATAL] 0x820be0 OpenXcom::AlienMission::think(OpenXcom::Game&, OpenXcom::Globe const&)
[14-10-2019_22-38-00] [FATAL] 0x699650 OpenXcom::GeoscapeState::time30Minutes()
[14-10-2019_22-38-00] [FATAL] 0x6a28c0 OpenXcom::GeoscapeState::timeAdvance()
[14-10-2019_22-38-00] [FATAL] 0x662100 OpenXcom::Timer::think(OpenXcom::State*, OpenXcom::Surface*)
[14-10-2019_22-38-00] [FATAL] 0x5a3800 OpenXcom::Game::run()
[14-10-2019_22-38-00] [FATAL] 0x41e990 SDL_main
[14-10-2019_22-38-00] [FATAL] 0x932b40 console_main
[14-10-2019_22-38-00] [FATAL] 0x932c60 WinMain
[14-10-2019_22-38-00] [FATAL] ??
[14-10-2019_22-38-00] [FATAL] ??
[14-10-2019_22-38-00] [FATAL] 0x7ff928341fd0 BaseThreadInitThunk
[14-10-2019_22-38-00] [FATAL] 0x7ff928dcef90 RtlUserThreadStart
[14-10-2019_22-38-05] [FATAL] OpenXcom has crashed: vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 6)
Log file: C:/games/XCOM UFO/My Xcom Mod/user/openxcom.log
If this error was unexpected, please report it on OpenXcom forum or discord.
I played around with the operationType from 0 and 2.
Same results. I am not really sure what the error is now. I think it has to do with the terrain it spawn from a rough guess.
Meridian, can you help troubleshoot? I used all the attribute from the link you send me.
From Alienmission.rul
- type: STR_TLETH_BASESPAWN
points: 50
objective: 2
#siteType: STR_TLETH_P0
#siteType: STR_ALIEN_BASE_ASSAULT2
operationType: 0
#spawnZone: 4 #Mission zone for alien bases
operationSpawnZone: 4
operationBaseType: STR_ALIEN_BASE_ASSAULT2
#spawnUfo: STR_DREADNOUGHT
raceWeights:
0:
STR_LOBSTERMAN: 100
waves:
- ufo: STR_DREADNOUGHT
count: 2
trajectory: P6
timer: 2500
interruptPercentage: 0
From missionscript.rul
- type: TlethFinalAlienbase
researchTriggers:
STR_THE_ULTIMATE_THREAT: true
#STR_TLETH_TH_ALIEN_CITY: true
executionOdds: 100
maxRuns: 1
varName: researching
missionWeights:
0:
STR_TLETH_BASESPAWN: 100