Page 1 of 1

[distro 097] bug in spawner

Posted: Mon Apr 09, 2007 6:33 am
by Naglfar
Spawner doesn't spawn because of bug at line 27 in

\pkg\systems\spawnSystem\engines\itemFill\spawnCycle.src

and

\pkg\systems\spawnSystem\engines\npcFill\spawnCycle.src


Code: Select all

var max_amt := GetConfigInt(group_settings, "max_amt");
Should be replaced with:

Code: Select all

var max_amt := CInt(group_settings.max_amt);

Posted: Mon Apr 09, 2007 7:16 am
by tekproxy
Thanks for the post. The use of GetConfigInt() was actually a fix for a previous bug and people said it worked (at least no one complained). Hmm. GetConfigInt() -should- return an integer... Is the spawner working for anyone else? I can't test right now, at work. :(

Posted: Sun Jan 13, 2008 9:46 am
by Tritan
The spawner was not spawning anything until I made these changes to the scripts.

This needs to be done in the itemfill engine also.