Activation of the new 'Bots' command system

This commit is contained in:
Uleat
2016-03-24 18:50:31 -04:00
parent 747895cbe5
commit b327da7092
48 changed files with 12821 additions and 5616 deletions
@@ -0,0 +1,5 @@
INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES
(1, 'Bots:CommandSpellRank', '1', 'Filters bot command spells by rank (1, 2 and 3 are valid filters - any other number allows all ranks)'),
(1, 'Bots:HealRotationMaxMembers', '24', 'Maximum number of heal rotation members'),
(1, 'Bots:HealRotationMaxTargets', '12', 'Maximum number of heal rotation targets'),
(1, 'Bots:PreferNoManaCommandSpells', 'true', 'Give sorting priority to newer no-mana spells (i.e., \'Bind Affinity\')');
@@ -0,0 +1,102 @@
CREATE TABLE `bot_command_settings` (
`bot_command` varchar(128) NOT NULL DEFAULT '',
`access` int(11) NOT NULL DEFAULT '0',
`aliases` varchar(256) NOT NULL DEFAULT '',
PRIMARY KEY (`bot_command`),
UNIQUE KEY `UK_bot_command_settings_1` (`bot_command`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `bot_command_settings` VALUES
('actionable', 0, ''),
('aggressive', 0, 'agg'),
('attack', 0, 'atk'),
('bindaffinity', 0, 'bind'),
('bot', 0, 'b'),
('botappearance', 0, 'app|appearance'),
('botbeardcolor', 0, 'bc|beardcolor'),
('botbeardstyle', 0, 'bs|beardstyle'),
('botcamp', 0, 'camp'),
('botclone', 200, 'clone'),
('botcreate', 0, 'create'),
('botdelete', 0, 'delete'),
('botdetails', 0, 'details'),
('botdyearmor', 0, 'dyearmor'),
('boteyes', 0, 'eyes'),
('botface', 0, 'face'),
('botfollowdistance', 0, 'followd'),
('botgroup', 0, 'bg'),
('botgroupaddmember', 0, 'bgadd'),
('botgroupcreate', 0, 'bgcreate'),
('botgroupdelete', 0, 'bgdelete'),
('botgrouplist', 0, 'bglist'),
('botgroupload', 0, 'bgload'),
('botgroupremovemember', 0, 'bgremove'),
('bothaircolor', 0, 'hc|haircolor'),
('bothairstyle', 0, 'hs|hairstyle'),
('botheritage', 0, 'her|heritage'),
('botinspectmessage', 0, 'inspect'),
('botlist', 0, 'list'),
('botoutofcombat', 0, 'ooc|outofcombat'),
('botreport', 0, 'report|health|mana'),
('botspawn', 0, 'spawn'),
('botstance', 0, 'stance'),
('botsummon', 0, 'summon'),
('bottattoo', 0, 'tattoo'),
('bottogglearcher', 0, 'archer|togglearcher'),
('bottogglehelm', 0, 'helm|togglehelm'),
('botupdate', 0, 'update'),
('botwoad', 0, 'woad'),
('charm', 0, ''),
('circle', 0, 'cir'),
('cure', 0, ''),
('defensive', 0, 'def'),
('depart', 0, 'dep'),
('escape', 0, 'evac|succor'),
('findaliases', 0, 'alias'),
('follow', 0, ''),
('guard', 0, ''),
('healrotation', 0, 'hr'),
('healrotationadaptivetargeting', 0, 'hradapt'),
('healrotationaddmember', 0, 'hraddm'),
('healrotationaddtarget', 0, 'hraddt'),
('healrotationadjustcritical', 0, 'hrcrit'),
('healrotationadjustsafe', 0, 'hrsafe'),
('healrotationcastingoverride', 0, 'hroverride'),
('healrotationchangeinterval', 0, 'hrinterval'),
('healrotationcleartargets', 0, 'hrclear'),
('healrotationcreate', 0, 'hrcreate'),
('healrotationfastheals', 0, 'hrfastheals'),
('healrotationlist', 0, 'hrlist'),
('healrotationremovemember', 0, 'hrremm'),
('healrotationremovetarget', 0, 'hrremt'),
('healrotationresetlimits', 0, 'hrreset'),
('healrotationstart', 0, 'hrstart'),
('healrotationstop', 0, 'hrstop'),
('help', 0, '?'),
('hold', 0, ''),
('identify', 0, 'lore'),
('inventory', 0, 'inv'),
('inventorygive', 0, 'invgive'),
('inventorylist', 0, 'invlist'),
('inventoryremove', 0, 'invremove'),
('invisibility', 0, 'invis'),
('levitation', 0, 'lev'),
('lull', 0, 'calm|pacify'),
('mesmerize', 0, 'mez'),
('movementspeed', 0, 'sow'),
('pet', 0, 'p'),
('petremove', 0, 'prem'),
('petsettype', 0, 'pset'),
('picklock', 0, 'pl'),
('portal', 0, 'port'),
('pull', 0, ''),
('release', 0, ''),
('resistance', 0, 'resist'),
('resurrect', 0, 'revive'),
('rune', 0, ''),
('sendhome', 0, 'gate'),
('size', 0, ''),
('summoncorpse', 0, 'scorpse'),
('taunt', 0, ''),
('track', 0, ''),
('waterbreathing', 0, 'wb|eb');