![]() |
getspldscr: bad splnr (solved by lch)
So I've been playing with very large mods and I've been hitting a bug that I don't understand. I get a crash with 'getspldscr: bad splnr' when I click for spell description in research on spells added by mods. I'm pretty sure it isn't a bug in the mod because I can get the crash with spells from two different mods.
My first guess is that there is a hard limit on #newspell calls although I can't find it in the documentation I have. The crashing mod calls it 157 times. Can someone confirm this or tell me a different direction to pursue. I have also gotten a crash with a 'bad splnr' during hosting (different method than 'getspldscr' though, can't remember exactly). Re-hosting the turn would sometimes finish with no errors. If it would help I could post the mod and a .trn but it would be very large ~3M zipped. |
Re: getspldscr: bad splnr
Perhaps two same mods are trying to use the "alter orginal dom3 spell to a onebattlespell you want" - trick on the same spell?
|
Re: getspldscr: bad splnr
Quote:
|
Re: getspldscr: bad splnr
There's a hard limit of 999 spells in the game in total. Getting over that triggers the error in this function. As of 3.21, there are already 855 spells in the base game.
|
Re: getspldscr: bad splnr (solved by lch)
P.S.: 3.23 added eight new spells, so there are now 863 spells in base game. 136 slots left for mods.
|
All times are GMT -4. The time now is 06:31 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.