Author Topic: I need help to comprehend a error  (Read 425 times)

Offline Meyow

  • Sergeant
  • **
  • Posts: 10
  • The Derp Queen
    • View Profile
I need help to comprehend a error
« on: April 15, 2025, 12:59:58 am »
Hi, as the title says, I need help to comprehend a error...

So, does anyone with exp on modding have a single idea what does that mean?
"[ERROR]   vector::_M_range_check: __n (which is 30) >= this->size() (which is 20)"
I'm having a hard time with it... I'm no modder or programmer, so I have no idea what this refers to.

Just trying to mess around with some mods and... well, it's not going smooth. Any insights will be welcomed, thanks in advance.
« Last Edit: April 15, 2025, 01:02:00 am by Meyow »

Online Yankes

  • Commander
  • Global Moderator
  • Commander
  • *****
  • Posts: 3485
  • Posts: 421
    • View Profile
Re: I need help to comprehend a error
« Reply #1 on: April 15, 2025, 01:08:49 am »
When it happens?
Errors like this happens when engine try access data but number elements of actual data is smaller that number declared in other place in ruleset.
This mean we need to know what mod it was and last save before game crash.

Offline Meyow

  • Sergeant
  • **
  • Posts: 10
  • The Derp Queen
    • View Profile
Re: I need help to comprehend a error
« Reply #2 on: April 15, 2025, 02:02:38 am »
When it happens?
Errors like this happens when engine try access data but number elements of actual data is smaller that number declared in other place in ruleset.
This mean we need to know what mod it was and last save before game crash.

It happens when I try to load a little submod I made [for piratez], also I think theres no save involved cuz I'm just trying to load it.
I'll post it here, that way you can take a look if you wanna.

I chose to make a topic here on OXCE section cuz I belive it's not direct related to piratez.. but what do I know...
« Last Edit: April 15, 2025, 02:06:18 am by Meyow »

Online Yankes

  • Commander
  • Global Moderator
  • Commander
  • *****
  • Posts: 3485
  • Posts: 421
    • View Profile
Re: I need help to comprehend a error
« Reply #3 on: April 15, 2025, 02:18:09 am »
Code: [Select]
    power: 30
    damageType: 30
There is not damage type `30`, vanilla have only 10 and OXCE expand it to 20.

Offline Meyow

  • Sergeant
  • **
  • Posts: 10
  • The Derp Queen
    • View Profile
Re: I need help to comprehend a error
« Reply #4 on: April 15, 2025, 02:22:44 am »
I misspelled it...

All that basically cuz I'm dumb... *Facepalm*
Thanks and sorry for take your time. *Leaves embarrassed*