Cacodemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Why can't I add new monsters to the BOSS_SPAWNER_TYPES block?
 
Author
All times are GMT. The time now is 19:50. Post New Thread    Post A Reply
printz
CRAZY DOOM ZEALOT


Posts: 1784
Registered: 06-06


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.

Old Post 04-06-07 21:13 #
printz is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2200
Registered: 08-00


Please post the relevant EDF code here.

Old Post 04-07-07 17:05 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
printz
CRAZY DOOM ZEALOT


Posts: 1784
Registered: 06-06


Not fixed in EE 3.33.50 RC1

Here's a modified MISC.EDF excerpt. Whatever's bold is added by me:
code:
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:
code:
E_ProcessBossTypes: 12 boss types, 12 boss probs

It doesn't like me adding or taking monsters to the list.

Last edited by printz on 04-08-07 at 12:27

Old Post 04-08-07 10:02 #
printz is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2200
Registered: 08-00


That is truly bizarre. I'll have a look at the code.

Old Post 04-09-07 18:23 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
TheDarkArchon
Forum Staple


Posts: 2047
Registered: 08-04


Have you tried "Cyberdemon" (note the capital letter)?

__________________
* insert completely and utterly useless nonsense here that nobody will ever read ever *

Old Post 04-09-07 22:25 #
TheDarkArchon is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
printz
CRAZY DOOM ZEALOT


Posts: 1784
Registered: 06-06



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.

Old Post 04-10-07 08:18 #
printz is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2200
Registered: 08-00


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.

Old Post 04-10-07 18:24 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
printz
CRAZY DOOM ZEALOT


Posts: 1784
Registered: 06-06



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) ?

Old Post 04-10-07 18:30 #
printz is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2200
Registered: 08-00


code:
// 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

Old Post 04-11-07 14:35 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 19:50. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Why can't I add new monsters to the BOSS_SPAWNER_TYPES block?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory