Page 1 of 1

Type mismatch in distro spawnSystem

Posted: Sun Mar 18, 2007 1:32 pm
by Yazaki
In both of the spawn engines, itemFill and npcFill, there is a case mismatch on line 27;

Code: Select all

	var max_amt := group_settings.max_amt;
	var cur_amount := SS_GetSpawnsInRegionGroup(region_name, group_name).Size();

	for ( cur_amount; cur_amount<=max_amt; cur_amount+=1 )
Where max_amt is returned as a string instead of integer and the following for sentence is completely ignored.

Posted: Sun Mar 18, 2007 6:00 pm
by tekproxy
Added in GetConfigInt, so that should fix the problem. Thanks! :-D

Posted: Sun Mar 18, 2007 6:23 pm
by Yukiko
Yazaki, was that error what was causing the spawn system to not spawn anything? Cause when I tried to use it it wasn't working.

Posted: Sun Mar 18, 2007 10:29 pm
by Yazaki
Yes it was the problem causing it to not spawn anything. Works fine now thoo.

Posted: Mon Mar 19, 2007 10:19 pm
by Yukiko
Oh Goody!!!
*rubs hands together gleefully*
Now atleast folks can have a working spawner.
I however am using a different system now thanks to... well he knows who he is.
*grins*

Posted: Wed Mar 21, 2007 11:28 am
by Haos
Thx guys, the spawns seem to work now.