Kinsie wrote:Oh, for the love of... it's never easy, is it?
Gez wrote:The only place this specific error message appears in is in the GiveInventory function. I'd suggest making sure the code doesn't suffer from some missing #library shenanigans.
Both of the LOADACSed scripts (samsara and kinsara) have #library and #include stuff present.
A quick check of the devbuilds tells me that the last ZDoom version not plagued by this was on zdoom-2.9pre-986-gfc25a74.7z. I'll file a bug and see what happens.
EDIT: Judging by the "ForceCheck" section, I'm guessing it's getting angry at the weapon pickup info arrays in samsaraWeps.h, which are a strange and arcane place that I haven't fully looked at yet. Any ideas?
you're gonna need to search for ' == "ForceWep"' in the code. I used that as a kludge to force a weapon pickup in certain cases (can't even remember which cases, probably related to the SO as usual), and being 2.3.1 (and, what, four years ago), I did a direct comparison because strcmp didn't exist. at the time they actually would always point to the same string in the string table, so it never occurred to me that making a manual version using GetChar would be a good idea. I did do that eventually... for other mods.
but yeah obviously that's not the case anymore so you're gonna need to use strcmp (same deal for the "" stuff)
(man my old code is shit)
on another note I thought term already made corvus the best in DM :^)