Type mismatch in distro spawnSystem

Open discussion forum. For topics that do not fit anywhere else.
Locked
User avatar
Yazaki
New User
Posts: 4
Joined: Sun Mar 18, 2007 1:23 pm

Type mismatch in distro spawnSystem

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

Post by tekproxy »

Added in GetConfigInt, so that should fix the problem. Thanks! :-D
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
User avatar
Yazaki
New User
Posts: 4
Joined: Sun Mar 18, 2007 1:23 pm

Post by Yazaki »

Yes it was the problem causing it to not spawn anything. Works fine now thoo.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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*
Haos
New User
Posts: 25
Joined: Thu Mar 01, 2007 4:50 pm

Post by Haos »

Thx guys, the spawns seem to work now.
Locked