[distro 097] bug in spawner

Archive of posts related to former distro versions. Be aware that posts here do not refer to the current distro and may not work.
Locked
Naglfar
New User
Posts: 15
Joined: Mon Apr 09, 2007 6:27 am

[distro 097] bug in spawner

Post 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);
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post 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. :(
User avatar
Tritan
Grandmaster Poster
Posts: 147
Joined: Sat Feb 04, 2006 8:17 am

Post 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.
Locked