Commit Graph

12303 Commits

Author SHA1 Message Date
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
nytmyr 389c861767 Add back hpmanaend update to bot raid, force timer update to prevent spamming 2025-01-23 15:25:52 -06:00
nytmyr 88d3bcfdf5 Correct GetStopMeleeLevel checks for some buff checks 2025-01-23 15:16:30 -06:00
nytmyr b836e78adb Fix BotMeditate to med at proper percentages 2025-01-23 15:14:12 -06:00
nytmyr 6364b00efd More cleanup 2 2025-01-23 13:58:27 -06:00
nytmyr 529d26a132 More cleanup 1 2025-01-23 13:28:12 -06:00
nytmyr 3ac3861007 More alignment fixes 2025-01-23 12:27:06 -06:00
nytmyr fa69e4ac1a Fix alignment issues 2025-01-23 12:21:45 -06:00
nytmyr 400bf12795 Move client commands for bot spells from gm commands to existing bot commands 2025-01-23 11:51:58 -06:00
nytmyr 4ff7e98c68 Set #illusionblock for players to guide access 2025-01-23 11:50:30 -06:00
nytmyr 850e996b71 Cleanup command format changes, remove hardcoded class IDs in examples. 2025-01-22 16:41:48 -06:00
nytmyr 42b4174861 Fix typo on merge conflict 2025-01-22 16:13:47 -06:00
nytmyr dec2eba6e5 Merge branch 'master' into bot-rewrite 2025-01-22 15:56:37 -06:00
nytmyr 37a61e7234 update todo 2025-01-22 15:52:15 -06:00
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
catapultam-habeo 31abaf8016 [Feature] Implement Custom Pet Names (#4594)
* rebase\tidy up to address commends

* I blame git for this one

* last typo

* spaces

* formating fixes I think?

* Repository fixes

* Cleanup

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2025-01-22 03:31:05 -06:00
Chris Miles 0acad18067 [CLI] Add --skip-backup to world database:updates (#4605) 2025-01-21 19:11:58 -06:00
Akkadius 90c37390f1 [Hotfix] CLI help menu from parsing correctly in World 2025-01-21 18:48:02 -06:00
Akkadius dba494cd8e [Hotfix] Update database version to match manifest 2025-01-21 17:39:33 -06:00
Chris Miles 37ced4b003 [Databuckets] Add Account Scoped Databuckets (#4603)
* [Databuckets] Add Account Scoped Databuckets

* Add variation

* Fix Lua after testing
2025-01-21 16:06:18 -06:00
Chris Miles d13c725a74 [Linux] Implement KSM Kernel Samepage Merging with Maps (#4601)
* KSM work

* Windows fixes

* Add KSM logging, cleanup

* Cleanup raycast logging
2025-01-21 15:50:20 -06:00
Chris Miles 25826c6686 [Performance] Client / NPC Position Update Optimizations (#4602)
* Zone optimizations

* More changes

* More

* Update entity.cpp

* Beautiful

* Amazing

* Feature flag all logic

* Broadcast to group

* Update mob.cpp

* Updates

* Update client.cpp

* Update client.cpp

* Add rule Zone:EnableEntityClipping

* Little bit of cleanup

* Don't send update to self while in group

* Remove visibility work and feature flags

* Cleanup

* Logging

* Improve CheckSendBulkNpcPositions

* No need to cast

* Field cleanup

* Build initial list on zone-in
2025-01-21 15:35:19 -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
Akkadius 1a27127c39 [Hotfix] Fix query error in character_evolving_items 2025-01-20 23:21:37 -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