Try `bot_data` last as most of the constraints are tied to the `bot_id` column there.
|
Ok so i was able to delete everything from the other tables and then delete the bot_data erasing the bots which is good. I came up with another issue though. Under Rule_values where u can limit the amount of bots people can have up at one time I set it to 1 and it is not working. Set at 1 people are still able to spawn multiple bots at the same time.
|
https://github.com/EQEmu/Server/blob.../bot.cpp#L9722
Make sure that the rule you are changing in the database is named 'Bots:SpawnLimit' exactly - no deviations in spelling. Quote:
The `ruleset_id` also plays a role in this..though, I can never figure out which one is supposed to be active... Code:
SELECT * FROM `rule_sets` LIMIT 1; (Is this why rulesets are so hard to deal with?) |
Mine says Bots:SpawnBotCount
And my rule_set is at 1 |
There's 8 rule name changes starting here: https://github.com/EQEmu/Server/blob...pdate.pl#L1119
You'll need to update the names to match what the server code uses. Code:
if(get_mysql_result("SELECT `rule_name` FROM `rule_values` WHERE `rule_name` LIKE 'Bots:BotAAExpansion'") ne "" && $db){ It sounds like you have the old rule names in place..so, you should be able to just run the 8 UPDATE queries. Still not sure why your install wouldn't register for the updater script. |
Yea it seems my updates are not working very well through the updater for some reason. I have to manually source in everything.
is there a way to copy and paste that code without getting all the numbers |
I got this when doing the query
SQL Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if(get_mysql_result("SELECT `rule_name` FROM `rule_values` WHERE `rule_name` LIK' at line 1 */ |
Remember, you just want the SQL portion of those lines.
Code:
print get_mysql_result("UPDATE `rule_values` SET `rule_name` = 'Bots:AAExpansion' WHERE `rule_name` LIKE 'Bots:BotAAExpansion';"); Code:
UPDATE `rule_values` SET `rule_name` = 'Bots:AAExpansion' WHERE `rule_name` LIKE 'Bots:BotAAExpansion'; The outer 'wrapper' is the perl script - which doesn't run too well in MySQL :) |
ok awesome that updated thanks.
so is this Bots:QuestableSpawnLimit a quest people can do to be able to use bots? |
All times are GMT -4. The time now is 11:58 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.