Log in

View Full Version : Limit number of bots spawned?


Allairus
11-08-2016, 02:28 PM
I am trying to limit the amount of bots a player can have spawned at one time. This seemed simple as there is a setting in the rules for this exact thing. However when I set it it does not seem to make a difference. I have tried various numbers and server restarts after making the change and it never matters. Am I missing something or does this functionality not work as of now?

Thanks in advance.

Mortykins
11-08-2016, 02:45 PM
These are the two rules that are needed for that.

INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Bots:CreationLimit', '7', '');
INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Bots:SpawnLimit', '7', '');


Then set the number as you see fit.

Morty

Allairus
11-08-2016, 03:00 PM
Thanks Mortykins. I already have those values in the database. My problem is that the values do not seem to matter. I have the BotsSpawnLimit set to 11. The reason for eleven is so you can fill a group out and have a heal chain group if you wish. It is letting people spawn as many bots as they want. I was thinking maybe there was something else I had to enable or change a value so that it would enforce these settings.

Thanks again.

Uleat
11-08-2016, 04:48 PM
https://github.com/EQEmu/Server/blob/master/zone/bot_command.cpp#L4984


Did you, by chance, give your people the ability to use #gm?