Commit Graph

12279 Commits

Author SHA1 Message Date
nytmyr 81d9ab3dd0 Change char_id to character_id for bot_settings 2025-01-22 15:48:32 -06:00
nytmyr e9d809301c Move SendCommandHelpWindow to SendBotCommandHelpWindow and simplify 2025-01-22 15:11:13 -06:00
nytmyr 2301b91e77 Move bot spdat functions to spdat_bot 2025-01-21 13:13:30 -06:00
nytmyr 37910cf3dc Move mob functions to mob_bot 2025-01-21 12:25:49 -06:00
nytmyr 87bd37429f Move client functions to client_bot 2025-01-21 12:21:06 -06:00
nytmyr e763e0e9a9 Add list option to ^spellpriority commands. 2025-01-20 20:22:37 -06:00
nytmyr 3a25d51095 Consolidate SetBotBlockedBuff/SetBotBlockedPetBuff 2025-01-20 20:17:38 -06:00
nytmyr 46a45679b2 Consolidate AttemptForcedCastSpell 2025-01-20 19:30:26 -06:00
nytmyr 5de72999fe Add GetParentSpellType when checking spelltypes for idle, engaged, pursue CastChecks. 2025-01-20 19:29:57 -06:00
nytmyr 65f3f90819 Add missing Bot Spell Type Checks to log 2025-01-20 16:10:56 -06:00
nytmyr 1c2293e1aa Consolidate GatherSpellTargets 2025-01-20 14:33:01 -06:00
nytmyr f296ff5a50 Consolidate IsInGroupOrRaid 2025-01-20 13:52:28 -06:00
nytmyr 17284ea956 Remove from LogCategoryName 2025-01-20 13:05:35 -06:00
nytmyr 3040d3bc97 Move various Bot<>Checks logging to BotSpellChecks 2025-01-20 13:03:58 -06:00
nytmyr 28fbdc6877 Throw bot_camp_timer behind Bots:Enabled rule 2025-01-20 12:09:30 -06:00
nytmyr 744a1d23c0 Make botOwnerCharacterID snakecase 2025-01-20 11:56:27 -06:00
nytmyr 32a885d177 Add IsPetOwnerOfClientBot(), add Lua and Perl methods 2025-01-20 11:44:21 -06:00
nytmyr dff3af1193 Rename _spellSettings to m_bot_spell_settings 2025-01-20 10:44:22 -06:00
nytmyr b447b45afe Merge branch 'master' into bot-rewrite 2025-01-20 00:29:12 -06:00
nytmyr 9e7c1d841a remove bd. from update queries where it doesn't exist 2025-01-20 00:06:50 -06:00
Alex King 75698a809f [Feature] Add Support for Item Previews (#4599)
* [Feature] Add Support for Item Previews

* Update client_packet.cpp
2025-01-19 19:18:17 -06:00
Mitch Freeman 37a7b7fc41 [Feature] Add Alternate Bazaar Search Approach (#4600)
* Add Alternate Bazaar Search

This adds an alternate bazaar search allowing multinstance bazaar searching and traders above 600.  Allows searches based on Bazaar Shard

* Update worldserver.cpp

---------

Co-authored-by: Mitch Freeman <neckkola@gmail.com>
Co-authored-by: Akkadius <akkadius1@gmail.com>
2025-01-19 19:02:53 -06:00
Mitch Freeman f21cc170df [Feature] Evolving Item Support for RoF2 (#4496)
* basic evolving items framework created

* Implement evolving tab in the inventory window

* Implement experience and number of kills

* Move zone evolving map to a evolvingitemsmanager class

* rework gm commands

* rework GetInventory

* wip

* wip loot testing

* Fix Duplicate Message

* reworked evolving item looting, swapping, etc

* reworked const functions for evolving methods

* Functioning Player Trade of evolving items test item_id is 89550

* First pass of Final Result link working

* First pass of item upgrading when reaching 100%

* Add strings and logic for displaying the evolving item xp transfer window in Corathus

* Prototype of xp transfer window sending items

* WIP for evolve xp transfer

* WIP for evolve xp transfer.  First tests passed

* XP Transfer Cleanup

* XP Transfer Cleanup

* Add Rule for evolving items equip timer/  default is 30 secs

* Add logging and player events

Add logging and player events

* Formatting

* Database updates

* Updates for linux build

* Perl/Cleanup

* Command cleanup

* Lua

* Added a crash condition check if final item id is blank or not found.

* Review Changes

Updates to resolve review comments and a rebase.

* migrate to content_db for items_evolving_details

migrate to content_db for items_evolving_details

* Simplify, don't hit database unless evolving

* Update 2025_01_19_items_evolving_details.sql

* Update client.cpp

* Update manifest with items_evolving_details

* character_id vs char_id

* Remove _Struct from structs

* Remove license header in evolving.cpp

* Move evolving constants from eq_constants.h to evolving.h since it is more specific

* Update database_schema.h

* General cleanup

* Be more specific with `evolving_items` vs `evolving`

---------

Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
Co-authored-by: Akkadius <akkadius1@gmail.com>
2025-01-19 18:10:19 -06:00
Mitch Freeman d47bf687d0 [Fix] Update trader add/remove packets to limits for RoF2 (#4595)
* Update trader add/remove to limit for RoF2

Update trader add/remove to limit for RoF2

* Update for feedback

---------

Co-authored-by: Mitch Freeman <neckkola@gmail.com>
2025-01-19 16:37:09 -06:00
Alex King 035c51944f [Quest API] Add SetAAEXPPercentage to Perl/Lua (#4597) 2025-01-19 16:36:48 -06:00
nytmyr 7e05a6fa6c Add zone specific spawn limits and zone specific forced spawn limits 2025-01-19 14:46:16 -06:00
nytmyr 394d8e3392 Correct slot ranges for inventorygive 2025-01-12 15:42:41 -06:00
nytmyr 8dce4cd9bf Update TODO 2025-01-12 15:38:43 -06:00
nytmyr 4134a30f59 Allow inventory give to specific ID slots 2025-01-12 15:38:00 -06:00
nytmyr e792c97d67 remove completed todo 2025-01-11 16:19:33 -06:00
nytmyr bff1705ba2 linux build fix 2025-01-11 08:15:33 -06:00
nytmyr e02839f4ec Merge branch 'master' into bot-rewrite 2025-01-11 01:47:05 -06:00
nytmyr 01afd68230 Remove bcspells, fix helper_send_usage_required_bots 2025-01-11 01:40:32 -06:00
nytmyr fc527b8077 fix ^cast wirh commanded types 2025-01-11 01:31:17 -06:00
nytmyr f34a9470a8 code cleanup 4 2025-01-10 12:23:40 -06:00
nytmyr 90e95572fd code cleanup 3 2025-01-10 12:10:12 -06:00
nytmyr 95c1bb6883 code cleanup 2 2025-01-10 11:45:00 -06:00
nytmyr 40b676c320 code cleanup 1 2025-01-09 23:01:48 -06:00
Mitch Freeman c2ebc2540a [Fix] Update a few Bazaar RoF2 routines for memory leaks (#4592)
Memory leak repairs
2025-01-08 17:45:03 -06:00
Chris Miles c82f1b9afc [Zone] Implement zone player count sharding (#4536)
* [Zone] Implement zone player count sharding

* Update client.cpp

* Update database_instances.cpp

* You must request a shard change from the zone you are currently in.

* // zone sharding

* You cannot request a shard change while in combat.

* Query adjustment

* Use safe coords

* Changes

* Fixes to instance query

* Push

* Push

* Final push

* Update client.cpp

* Update eq_packet_structs.h

* Remove pick menu

* Comment

* Update character_data_repository.h

* Update zoning.cpp

---------

Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
2025-01-08 17:41:16 -06:00
nytmyr 2fa32d1874 Add HasSkill checks to bot special abilities (kick/bash/etc) 2025-01-08 17:15:04 -06:00
Mitch Freeman 15684567cf [Fix] Add Bazaar BulkSendTrader Limit for RoF2 (#4590)
Add Bazaar BulkSendTrader Limit
2025-01-08 13:28:44 -06:00
nytmyr de053ce8f3 Add zero check for bot spawn limits
If the spawn limit rule is set to 0 and spawn limit is set by bucket, if no class buckets are set, it defaults to the rule of 0 and renders the player unable to spawn bots.

This adds a check where if the rule and class bucket are 0, it will check for the spawn limit bucket
2025-01-08 00:28:53 -06:00
nytmyr 85bd031992 Bots special_attacks.cpp fix 2025-01-08 00:05:36 -06:00
nytmyr 0c62210f90 Bot CampAll fix 2025-01-07 23:59:02 -06:00
nytmyr c47233ee42 Merge branch 'master' into bot-rewrite 2025-01-07 23:52:17 -06:00
nytmyr 67d7413748 move los checks to mob.cpp 2025-01-07 23:45:29 -06:00
Mitch Freeman 533dc997fd [Fix] Repair a memory leak in #summonitem (#4591) 2025-01-07 23:50:34 -05:00
Chris Miles 03b30d5c7a [Database] Change npc_types walkspeed to be of type float (#4589)
* [Database] Change npc_types walkspeed to be of type float

* Update database_update_manifest.cpp
2025-01-07 14:46:32 -05:00
Mitch Freeman d89f9bdcc7 [Fix] Repair an incorrect safe_delete call memory leak. (#4588) 2025-01-07 00:01:49 -05:00