Bot Management Update
With SVN 328 I've made some updates to Angelox's BotCount code.
You need the required sql /utils/sql/svn/328_bot_management.sql This adds a new rule EQOffline:BotCreateCount which allows admins to limit the number of bots a player can create. I've changed the EQOffline:BotCount rule for readability to EQOffline:BotSpawnCount which controls how many bots a player can have spawned at one time. Additionally, i've added code using these rules to reduce the 'Orphaned Bot' issue. There initially will still be orphaned bots, but the player will be unable to spawn already spawned bots in other zones and a list of all spawned bots and the zone they are in will be displayed. Players will now have to make sure and group thier spawned bots so they don't get orphaned in static zones. I've included an optional way of managing bots using the perl quest system with /utils/sql/svn/328_optional_bot_management.sql and it works along with the two new rules above. This adds a new rule EQOffline:BotQuest that when set to true will use a new npc Aediles Thrall in the Bazaar. With this npc, you can make use of a new global variable in the database table quest_globals called bot_spawn_limit. Here's the perl for using this system. It has many changeable global values that can be used to customize the script for your preferences. It is initially set up to allow 0 bots to start and then a new bot at level 10, 15, 20, 25, 30 and 35 for the players group, and then at level 45 the player can begin creating additional raid groups. I have it set up to include trade skills as requirements to gain additional bots plus a platinum cost, but you can customize the script however you like. Code:
############################################ Code:
############################################ |
After I implemented this on my server any characters that previously had bots are unable to spawn them. They show up in #bot list but when they try to summon a previously created bot they get this:
"You cannot spawn any bots." How can this be resolved so they can still use their old equipped bots yet any future bots must be made through the quest giver? Would a visit to the quest giver and running through the quests up to their level give them access to their old bots? Or will this just allow them to create new ones? |
Quote:
I updated here, and my old bots still work fine. |
I ran the update in the peq/updates folder after I pulled down peq rev 330. It looked like it combined both 328 bot updates that were in the utils/sql/svn folder.
Looks like the quest gives a character flag whenever you earn a bot. That may be the problem I am seeing. May have to manually flag my old characters. Code:
if($success > 0) { |
Existing bot armies will still be there, but if you use the EQOffline:BotQuest=true then the players will need to go through the quests to get their spawn count up. If you set it to false it will be as it was or you can manually set their bot_spawn_limit value to 71 for a full raid in the quest_globals table.
|
oops!
I was gonna say, set EQOffline:BotQuest to false , but you beat me to it :-) They must be defaulted to false, and the optional Sql activates it. |
I have it set to true because I would like to use the quest system. I figured there was something like this that was causing the issue. So I basically need to run them through the quests to aquire the proper "character flags" required for them to spawn the bots they currently have.
So this quest does not actually spawn bots for the users dynamically, it just allows them the ability to create an additional bot using the bot commands each time they complete a stage. I take it this does not affect the change made a while back where any character on the same account can use the same bots? This seems to be all about a spawn limit cap. |
Correct, this only adds management to the number of bots createable, spawnable and optionally a questable spawn count.
|
Thank you sir for the clarity!
|
It seems that Dark Rum cannot be made due to the only place you can get Sugarcane is from Crescent Reach so I've changed the rum to Gnomish Spirits.
|
Updated Aediles with a fix to the turn in for extra or with arrows and added text identifying small nock type
|
Greetings,
I was having this exact same issue, thank you for posting the fix. I don't have a userbase for my server yet so I was pretty ticked off to see the "you cannot create any bots" message. haha, onwards and upwards! lax. |
I guess this is getting to the point where it can become live like:
check out http://everquest.allakhazam.com/wiki/EQ:Mercenaries if you haven't already. |
One thing I noticed with Aediles Thrall is that if you give him the items and the required money in platnium he will give you the flag just fine. But if you give him the items and give him some of the money in plat and the rest in say gold he will eat all the items and the money and give you nothing.
I just tried to hand him 4 gnomish spirits 180 plat and 200 gold to get a flag. If I remember correctly 200 gold = 20 plat. |
it shouldn't eat it if you give him the wrong stuff. make sure you have your perl in the plugins folder up to date. The deal is, he doesn't like anything but plat since that is what he asked for. remember that bootstrutter guy only wanted gold and wouldn't accept plat.
|
All times are GMT -4. The time now is 10:37 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.