Commit Graph

8299 Commits

Author SHA1 Message Date
nytmyr f99c19d3ee Allow duplicate casts of same spell on target for heals and cures 2025-01-28 23:11:00 -06:00
nytmyr db00064028 Make struct BotSpellSettings snake case 2025-01-28 23:04:13 -06:00
nytmyr 626b7fd028 Add comment to CheckLosCheat/CheckLosCheatExempt 2025-01-28 22:10:05 -06:00
nytmyr 548e3ca81b Cleanup some commands 2025-01-28 22:08:20 -06:00
nytmyr 60d96d6ac6 Give ^copysettings/^defaultsettings more options, cleanup. 2025-01-28 22:08:07 -06:00
nytmyr 989c6a43d6 Reimplement secondary colors to BotSendCommandHelpWindow 2025-01-28 21:30:48 -06:00
nytmyr 56a9853e63 todo 2025-01-27 23:42:42 -06:00
nytmyr b5a200554b Fix ^cast summoncorpse 2025-01-27 23:33:16 -06:00
nytmyr 69d5d1a883 todo 2025-01-27 22:47:09 -06:00
nytmyr 249fb0f5dd hardcode BotCommandHelpWindow colors 2025-01-27 22:46:09 -06:00
nytmyr ef0ff104cf Rename _assistee to bot_assistee 2025-01-27 19:46:54 -06:00
nytmyr 49ad193dcc Remove unused variables 2025-01-27 19:46:06 -06:00
nytmyr 421e590a3d Merge branch 'master' into bot-rewrite 2025-01-27 12:14:34 -06:00
nytmyr 2c78803137 Enable recastdelay support for clients 2025-01-27 00:46:53 -06:00
nytmyr 65b2fa3533 Remove unnecessary return in CanBuffStack, cleanup 2025-01-26 22:40:57 -06:00
nytmyr b84ccab24a Rename spawn/create status bypass rules, fix return for spawn limit 2025-01-26 22:36:29 -06:00
nytmyr b3a550f193 Rename BotSpells_Struct/BotSpells_Struct_wIndex 2025-01-26 22:27:15 -06:00
nytmyr 323f144984 Cleanup BlockedBuffs logic in SpellOnTarget 2025-01-26 22:23:55 -06:00
nytmyr 3dfa099718 Wrap bot setting loading for clients in bots enabled rule 2025-01-26 21:56:25 -06:00
Chris Miles d1f368ab7f [Databuckets] Implement Nested Databuckets (#4604)
* WIP

* Fixes

* Fin

* Update data_bucket.cpp

* Update data_bucket.cpp

* Cleanup

* Update data_bucket.cpp

* Update data_bucket.cpp

* NESTED_KEY_DELIMITER
2025-01-26 21:13:31 -06:00
nytmyr 975af5ee9c Remove comment 2025-01-26 21:11:42 -06:00
nytmyr 187665f7b6 Wrap SaveBotSettings in Bots Enabled check 2025-01-26 21:11:37 -06:00
nytmyr f51d13ee7c Add bot check to IsAttackAllowed for GetUltimateOwner to skip entity list where possible 2025-01-26 21:09:06 -06:00
nytmyr 41b8cb3e71 Remove _Struct from struct declarations 2025-01-26 20:05:36 -06:00
Mitch Freeman 7a226ca4ef [Bazaar] Improve Bazaar Search Performance (#4615)
* Create Alternate BazaarSearch Routine

Establishes an alterative to the in memory bazaar search routine and instead uses a db query process.  For large Bazaars (with 1000s of items) this is much faster.  Testing with 30k items produced a search in ~1sec version 2.7sec for the in memory version.
Default is false - Do not use this version.

* Indexes for trader and items

* Set query-based bazaar search the default

* Update database_update_manifest.cpp

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2025-01-26 19:04:56 -06:00
nytmyr fbb2341fca Correct DoLosChecks 2025-01-26 10:21:56 -06:00
nytmyr 764715f625 New lines 2025-01-25 23:19:09 -06:00
Akkadius 119151c0e3 [Hotfix] Delete later in RemoveItem second case 2025-01-25 14:04:57 -06:00
nytmyr d5be066fee update todo 2025-01-25 07:24:29 -06:00
nytmyr abaefc8e7f Add bot and bot pet checks to various spells, auras and targeting checks that were missing. 2025-01-25 07:01:39 -06:00
nytmyr 2df4a4e436 Move toggleranged, togglehelm and illusionblock to new help window. Add actionable support 2025-01-25 07:01:21 -06:00
nytmyr b82ed57cd4 Add bots to UseSpellImpliedTargeting 2025-01-24 20:29:16 -06:00
nytmyr 41f362ce61 Add bot pet check for AIYellForHelp 2025-01-24 20:26:48 -06:00
nytmyr fbaa09569e Add bot pet pvp damage to tune 2025-01-24 20:25:18 -06:00
nytmyr 22121b7419 Make bot pets only do half damage in pvp 2025-01-24 20:10:42 -06:00
nytmyr 58a7d25899 Line fixes 2025-01-24 15:42:25 -06:00
nytmyr f50b64cb11 Linux test? 2025-01-24 12:56:20 -06:00
nytmyr f8ff6794c1 Missing p_item, s_item in CombatRangeInput 2025-01-24 12:45:20 -06:00
nytmyr cec1dbda94 Add GetBuffTargets helper 2025-01-24 12:23:54 -06:00
nytmyr 8b863f4402 Move melee distance calculations to better function 2025-01-24 12:23:54 -06:00
Chris Miles faa8a492f7 [Memory Leak] Fix leak in Client::RemoveDuplicateLore (#4614) 2025-01-24 13:22:58 -05:00
nytmyr 9134516847 Add check in distance calculations to stay at range if set even if no ammo or ranged 2025-01-24 11:01:39 -06:00
nytmyr e1925d1b13 Cleanup ranged and ammo calculations - Adds throwing check for match 2025-01-24 11:01:16 -06:00
nytmyr aea4b1f201 Remove log 2025-01-24 10:27:13 -06:00
Chris Miles 2926b4df78 [Memory Leak] Fix memory leak in Client::Handle_OP_MoveMultipleItems (#4613)
* [Memory Leak] Fix memory leak in Client::Handle_OP_MoveMultipleItems

* Update client_packet.cpp
2025-01-24 02:59:08 -06:00
Chris Miles 986eda44aa [Memory Leak] Fix leaks in Client::Handle_OP_AugmentItem (#4612)
* [Memory Leak] Fix leaks in Client::Handle_OP_AugmentItem

* Update client_packet.cpp
2025-01-24 02:58:58 -06:00
Chris Miles b2f71f16fc [Memory Leak] Fix leak in NPC::RemoveItem (#4611)
* [Memory Leak] Fix leak in NPC::RemoveItem

* Update loot.cpp
2025-01-24 03:10:06 -05:00
Chris Miles 861eac3660 [Memory Leak] Fix leak in QuestManager::varlink (#4610) 2025-01-24 02:56:22 -05:00
Chris Miles a376bc4471 [Memory Leak] Fix leak in BuyTraderItemOutsideBazaar (#4609) 2025-01-24 02:56:15 -05:00
nytmyr 389c861767 Add back hpmanaend update to bot raid, force timer update to prevent spamming 2025-01-23 15:25:52 -06:00