"G_FindConfigstringIndex: overflow" Question


(Mateos) #1

Good evening,

I’ve just, I think, finished my map. There were a dark corner, I’ve added a light and a dynamic light. I went through 8049 seconds of Light phase. And the map is unplayable beyond the Warmup /o/

I get the error in the title, G_FindConfigstringIndex: overflow, but thanks to ETPro I have something more precise:

Most of the threads point the remapshaderflush function, but here it’s not it, and a single one talks about lights.

I would like to know if this counter takes in consideration ALL the light entities (corona, light, dlight, lightjunior), so I can for instance just remove some lightjunior, or is it only related to dlight or light or corona (because these are the 3 duplicated ones which made the runtime fail)?

Hope some people who have read the source can answer ^^

Thanks in advance,

Mateos

PS: Will need some testers for the map when it’s fixed, 1944 Nordwind 2.1 (Test 3), 32 slots max I think, recommended to have Double-Jump off for it. FYI, thanks :slight_smile:


(Dragonji) #2

You’re probably over MAX_CS_SHADERS:

#define MAX_CS_SHADERS		32

(Mateos) #3

I discussed last evening with IRATA, I just got over the Dynamic Light limit of 16. I removed few ones, and now it works fine :slight_smile:

See src/game/bg_public.h

Thank you :slight_smile: