PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
[distro 097] bug in spawner

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion
Display posts from previous:   

Author Message
Naglfar



Joined: 09 Apr 2007
Posts: 12
Location: Poland

PostPosted: Mon Apr 09, 2007 10:33 am    Post subject: [distro 097] bug in spawner Reply with quote

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:
var max_amt := GetConfigInt(group_settings, "max_amt");


Should be replaced with:

Code:
var max_amt := CInt(group_settings.max_amt);

Author Message
tekproxy
Distro Developer


Joined: 06 Apr 2006
Posts: 350
Location: Nederland, Texas

PostPosted: Mon Apr 09, 2007 11:16 am    Post subject: Reply with quote

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. Sad

Author Message
Tritan



Joined: 04 Feb 2006
Posts: 136
Location: Illinois, USA

PostPosted: Sun Jan 13, 2008 1:46 pm    Post subject: Reply with quote

The spawner was not spawning anything until I made these changes to the scripts.

This needs to be done in the itemfill engine also.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty