Page 1 of 1

Alt-Distro SpawnSystem

Posted: Thu Jun 15, 2017 5:24 am
by gh0sterZA
Hi
The SpawnSystem on the ALT-distro throws DataType errors to the logs due to an error in the ListStaticsAtLocation function in spawnerUtil.inc.

https://github.com/polserver/poldistro/ ... il.inc#L80

Code: Select all

foreach static in ( ListStaticsAtLocation( x, y, z, realm ))
according to https://docs.polserver.com/pol099/fullf ... AtLocation there should be a "flag"(integer) before the realm(string) parameter.

Small issue but can the line be updated to

Code: Select all

foreach static in ( ListStaticsAtLocation( x, y, z, 0, realm ))
This prevents the SpawnSystem spamming the logs.

regards

Re: Alt-Distro SpawnSystem

Posted: Sun Jun 18, 2017 1:29 am
by Yukiko
Sure and thanks. Not only will it prevent spamming the logs but it will also cause to script to work as in should :)