printz Posted April 6, 2007 Whenever I add new monsters to that block, Eternity halts at startup with this message: "E_ProcessBossTypes: x boss types, y boss probs", even when x equals y, which should be true. What gives? Note that I haven't forgot of BOSS_SPAWNER_PROBS. Also, sorry if this has already been issued and fixed in the Phoenix. 0 Quote Share this post Link to post
Quasar Posted April 7, 2007 Please post the relevant EDF code here. 0 Quote Share this post Link to post
printz Posted April 8, 2007 Not fixed in EE 3.33.50 RC1 Here's a modified MISC.EDF excerpt. Whatever's bold is added by me:boss_spawner_types = { DoomImp, Demon, Spectre, PainElemental, Cacodemon, Archvile, Revenant, Arachnotron, Mancubus, HellKnight, BaronOfHell,cyberdemon } boss_spawner_probs = { 23,23,23, 23,23,23, 23,23,23, 23,24,2 } It stops at startup with:E_ProcessBossTypes: 12 boss types, 12 boss probs It doesn't like me adding or taking monsters to the list. 0 Quote Share this post Link to post
Quasar Posted April 9, 2007 That is truly bizarre. I'll have a look at the code. 0 Quote Share this post Link to post
TheDarkArchon Posted April 9, 2007 Have you tried "Cyberdemon" (note the capital letter)? 0 Quote Share this post Link to post
printz Posted April 10, 2007 TheDarkArchon said:Have you tried "Cyberdemon" (note the capital letter)? Yes. Same result. Even if it would have worked that way (and with a space before), I'd still have pointed it out. 0 Quote Share this post Link to post
Quasar Posted April 10, 2007 Mnemonics are case insensitive anyway. Cyberdemon and CyBeRDeMoN are the same to EDF. There's something clearly wrong with the logic in the boss types processing code. It should only be causing an error if numbosstypes != numbossprobs. Here they're equal, which is correct, and it's exiting anyway. A clear bug, probably something very simple. 0 Quote Share this post Link to post
printz Posted April 10, 2007 Quasar said:It should only be causing an error if numbosstypes != numbossprobs. Here they're equal, which is correct, and it's exiting anyway. A clear bug, probably something very simple. Does it show something like (numbosstypes != 11 || numbossprobs != numbosstypes) ? 0 Quote Share this post Link to post
Quasar Posted April 11, 2007 // haleyjd 11/19/03: allow defaults for boss spawn probs if(!numProbs) useProbs = false; if((useProbs && numTypes != numProbs) || numTypes != 11) { E_EDFLoggedErr(2, "E_ProcessBossTypes: %d boss types, %d boss probs\n", numTypes, useProbs ? numProbs : 11); } Woops. I see the error. The OR falls into the second condition, and it should not do that. Pure simple logic error :P 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.