Chris Miles
5fcc83b4b6
[Database] Implement native database migrations in server ( #2857 )
...
* [Database] Implement native database updates in server
* Cleanup
* Delete db_update_manifest.txt
* Bots updates
* Final tweaks
* Revert manifest
* Tweaks
* Remove code from eqemu_server.pl
* Update database_update.cpp
* Add user prompt update skipping with timeouts
* Add termcolor IS_TTY is check
* Update database_conversions.cpp
* Remove large migrations
* Push
* fix headers.
* Remove last of non-bot large migrations
* Update database_update_manifest.cpp
* More purging
* Tweaks
* Bot migrations
* More work
* Tweaks
* Implement multi-statement query execution only for migrations
* Add CLI database:updates
* Add bootstrap commands
* Upload bootstrap sql's
* Update bot_tables_bootstrap.sql
* Update bot_tables_bootstrap.sql
* Add mercs:bootstrap and bots:bootstrap
* Update bot_tables_bootstrap.sql
* Update database.cpp
* Update bot_tables_bootstrap.sql
* More cleanup
* Add mercs:disable and bots:disable
* Update eqemu_server.pl
* Update eqemu_server.pl
* Update eqemu_server.pl
* Test cases
* Update eqemu_server.pl
* Delete 2023_05_08_character_tribute_primary_key.sql
* Post rebase fixes
* Post rebase tweaks
* Delete errant files
* Rebase files from master
* More adjustments
* Delete files no longer used
* Add missing migrations
* bots:bootstrap is now bots:enable
---------
Co-authored-by: Aeadoin <109764533+Aeadoin@users.noreply.github.com>
2023-06-19 01:31:07 -05:00
Aeadoin
ca2072e7bf
[Bots] Remove Bot Groups Functionality ( #3165 )
...
* [Bots] Remove Bot Groups Functionality
* in-class initializers for member variables.
2023-03-31 21:37:52 -04:00
Aeadoin
afaa8f4100
[Bots] Add Caster Range Command, and IsValidSpellRange Checks ( #2942 )
...
* [Bots] Add Caster Range Command, and IsValidSpellRange Checks
* remove/add exceptions where makes sense like buffs
* fixes
* fixes
2023-02-23 02:36:17 -06:00
Aeadoin
293f79268d
[Bots] Fix Slow Query in QueryNameAvailablity ( #2781 )
2023-01-22 18:26:57 -05:00
Alex King
3335cacac1
[Bots] Cleanup and remove preprocessors. ( #2757 )
...
* [Bots] Cleanup and remove preprocessors.
- Removes every `#ifdef BOTS` we have and locks bots behind `Bots:AllowBots` rule.
- Bot updates are now done by default similar to regular database updates.
- Modify `CMakeLists.txt`, `.drone.yml`, and `BUILD.md` to match the removal of `EQEMU_ENABLE_BOTS`.
* Cleanup
- Add SQL for enabling bots for servers with bots.
- Add message that tells players/operators bots are disabled.
* Suggested changes.
* Bot injection stuff
* Change SQL to bot SQL.
* Tweaks
* Remove `is_bot`
* Update version.h
* Update main.cpp
* Update database.cpp
* Fix name availability crash
* Remove bots from update script
Co-authored-by: Akkadius <akkadius1@gmail.com>
2023-01-20 12:35:33 -06:00
Aeadoin
7e0fe93039
[Bots] Save Bot Toggle Archer Setting between Loads. ( #2612 )
...
* [Bots] Save Bot Toggle Archer Setting between Loads.
* [Bots] Save Bot Toggle Archer Setting between Loads.
* Typo
2022-12-04 13:23:25 -05:00
Aeadoin
80fffb57b1
[Bots] Cleanup Spell Settings Commands ( #2607 )
...
* [Bots] Cleanup Spell Settings Commands
* Update Bot DB version
* typo
2022-12-03 19:49:45 -05:00
Aeadoin
61b91d92c3
[Bots] Expanded Bot Spell Settings List. ( #2606 )
...
* [Bots] Expanded Bot Spell List Settings
* [Bots] Expanded Bot Spell List Settings
* Fixes/formatting
* typo
* Formatting & update SpellInfo Command
* Spelling
* Typo
2022-12-03 12:15:57 -05:00
Alex King
2d364e2fd1
[Bots] Add Bot-specific Spell Settings. ( #2553 )
...
* [Bots] Add Bot-specific Spell Settings.
# Notes
- Allows players to set `priority`, `min_level`, `max_level`, `min_hp`, `max_hp`, and `is_enabled` settings per spell based on targeted bot.
- Lets players disable spells they don't want their bots casting or change the criteria they cast them at if they want.
* Update botspellsai.cpp
* Update 2022_11_19_bot_spell_settings.sql
* Typo.
* Update botspellsai.cpp
* Cleanup and add Reload Methods to Perl/Lua.
2022-11-27 14:46:36 -05:00
Kinglykrab
730cd3f28a
[Bots] Add Expansion Bitmask Quest APIs. ( #2523 )
...
* [Bots] Add Expansion Bitmask Quest APIs.
- Add `$bot->GetExpansionBitmask()` to Perl.
- Add `$bot->SetExpansionBitmask(expansion_bitmask)` to Perl.
- Add `bot:GetExpansionBitmask()` to Lua.
- Add `bot:SetExpansionBitmask(expansion_bitmask)` to Lua.
- Adds `expansion_bitmask` column to `bot_data` table.
- Allows server operators to limit expansion settings on a bot-by-bot basis.
- Allows limiting or allowing of AAs in `Bot::LoadAAs()` based on expansion bitmask.
- Default value is `-1` which just defaults to the `Bots:BotExpansionSettings` rule value.
- Setting bitmask saves to database and reloads AAs so bots automatically recalculate bonuses.
* Add save parameter.
* Typo.
2022-11-16 07:29:50 -06:00
Kinglykrab
fca99bb274
[Bots] Hotfix for possible crash. ( #2539 )
...
* [Bots] Hotfix for possible crash.
Possible crash due to 4 nullable columns in `bot_spells_entries` table.
* Update 2022_11_13_bot_spells_entries.sql
2022-11-13 20:44:07 -05:00
Aeadoin
7e7358e9b6
[Bots] Add Data Bucket support to Bot Spell Entries. ( #2505 )
...
* [Bots] Add Data Bucket support to Bot Spell Entries.
* Cleanup Formatting and Functions
* Consolidated "CheckDataBucket" Functions
* Remove unneeded CastToClient
* Add choice to format data buckets as either "character-id" or "bot-id" to Bot spells
* Fix Formatting
* Clean up.
* Update npc.h
* Fix Bot Casting issues
* Formatting
Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
Co-authored-by: Kinglykrab <89047260+Kinglykrab@users.noreply.github.com>
2022-11-06 17:06:01 -05:00
Kinglykrab
0c01872608
[Bots] Cleanup ^inventoryremove, ^inventorylist, and ^list Commands and bot groups. ( #2273 )
...
* [Bots] Cleanup ^inventoryremove, ^inventorylist, and ^list Commands.
* Bot group cleanup, bot group auto spawning.
* Compile fix.
* Require SQL.
2022-07-02 21:46:00 -05:00
Alex
c3456ebea0
[Bots] Remove hardcoded race-class combinations from bots. ( #1375 )
...
* [Bots] Remove hardcoded race-class combinations from bots.
- Allows server operators to directly influence via a database table the classes a specific bot race can be.
- Previously this was hardcoded and required a source modification to do.
- Allowed races, classes, and genders have been removed due to redundancy at this point.
* Remove const cast and modify saylink definition.
2021-06-11 13:30:56 -05:00
Uleat
99c1c826a8
Fix for bots guild-related view query issue
2020-03-30 08:02:45 -04:00
Uleat
79db824a3c
Fix for bots update reporting errors on server start-up after newer update applied [skip ci]
2020-01-15 02:56:00 -05:00
Uleat
8a26eaabf3
Oops! Gotta have the sql too... [skip ci]
2019-09-09 19:53:34 -04:00
Uleat
a73df6aa09
Rework of Bot Owner Options
2019-09-09 19:52:41 -04:00
Uleat
f837d423ef
Added bot owner option 'spawn message'
2019-08-27 20:06:07 -04:00
Uleat
6c73fee075
Added bot command 'petgetlost' to dismiss summoned pets
2019-06-27 19:00:02 -04:00
Uleat
2e9cf7dbd7
Added bot owner option 'stats update'
2019-06-22 22:53:35 -04:00
Uleat
146e28f708
Updater criteria fix [ci skip]
2019-02-07 22:13:58 -05:00
Uleat
3cffe5f7ef
Put merc and bot classes on the same stance standard (mercs)
2019-02-07 22:09:31 -05:00
Uleat
43aaaf7f26
Implemented bot owner options
2018-10-09 22:04:47 -04:00
Uleat
feb4cc37c6
Rework of 'invsnapshot' command and implementation of automatic inventory snapshots
2018-09-03 20:57:20 -04:00
Uleat
509a2b30a5
Inventory possessions beta testing
2018-08-13 22:32:36 -04:00
Uleat
053c35c59b
Added optional rules for bot class/race/gender values
...
- run the optional script '2018_08_10_bots_allowed_criteria_rules.sql' if you want to change db values
2018-08-10 21:39:56 -04:00
Uleat
fb7362c092
Added bot command 'BotStopMeleeLevel'
2018-04-12 20:14:02 -04:00
Uleat
2ed185aa2c
Forgot unversioned script file...
2018-02-02 18:26:01 -05:00
Uleat
1b2316ad1f
Update for bot_spells_entries [ci skip]
2018-02-02 18:25:01 -05:00
Uleat
39a94dba0d
Fix for installer script bot schema failures
2018-01-18 22:34:23 -05:00
Uleat
8f9ac2c9ba
Fix for bots db update circular reference in manifest [skip ci]
2017-03-28 19:11:20 -04:00
Uleat
940f3b03e8
Fix for bot shadowknights casting ranger spells
2017-03-26 16:19:53 -04:00
Uleat
e8a8647424
Fix for bots db update 9015 not triggering where update 9011 has not applied
2017-03-22 03:45:50 -04:00
Uleat
b1be667884
Update bot spell casting chances table and implemented 'pre-combat' mode for all bots (only bard is actively coded atm)
2017-02-26 22:13:41 -05:00
Uleat
ec9af74dc9
Update bot spells entries for new npc spells id values
2017-02-26 07:00:24 -05:00
Uleat
a49e3d6471
Update for saved bot data to use new spells id values
2017-02-26 06:26:59 -05:00
Uleat
9ae585dd81
Moved bot npc spells entries to the 3000 + class id range
2017-02-26 05:47:10 -05:00
Uleat
c61c275221
Added position update packet in out-of-combat movement code when movement occurs (rule-based; default: false) - appears to help with rubber-banding effect
2017-02-25 09:02:20 -05:00
Uleat
7a6d5d46f4
Added node pathing to the bot movement dilemma...
2017-02-25 03:48:02 -05:00
Uleat
4e8a03f7b4
Migrated bot spell casting chance data to the database
2017-02-23 19:16:36 -05:00
Uleat
8f67df1f4f
Oops! (Won't affect any changes up to this point) [skip ci]
2017-02-20 22:50:43 -05:00
Uleat
d9633dfee4
Bard bot song twisting update
2017-02-20 21:41:15 -05:00
Uleat
8177f7d9bb
Activation of bot_spells_entries table
2017-02-15 19:04:36 -05:00
Uleat
6994157184
Added optional bots rule 'CasterStopMeleeLevel'
2016-12-09 20:12:08 -05:00
Uleat
a5d79b25db
Grr...
2016-06-28 16:56:42 -04:00
Uleat
3d6fe8acba
Fix for bot inventory save failure involving items with unlimited charges
2016-06-28 07:58:38 -04:00
Uleat
951f3239f1
Added rule Bots:AllowCamelCaseNames
2016-06-23 22:25:57 -04:00
Uleat
3ef98c9411
Added bot command 'inventorywindow'
2016-04-12 16:46:45 -04:00
Uleat
6e11128cbc
Added HealRotation HOT methodology (Heal Override Target) and load/save/delete capabilities
2016-04-08 20:58:17 -04:00