Commit Graph

3839 Commits

Author SHA1 Message Date
nytmyr d120b45880 Typo on PetBuffs implement 2024-12-20 09:40:47 -06:00
nytmyr 322f8c5ffd Implmenet PetCures, add some missing types for defaults/chance to cast 2024-12-20 09:38:40 -06:00
nytmyr 54b9825537 Add PercentChanceToCastGroupCure 2024-12-20 09:33:47 -06:00
nytmyr eaa1f67802 cls cleanup 2024-12-20 00:44:49 -06:00
nytmyr e220163153 Implement blocked_buffs and blocked_pet_buffs 2024-12-15 23:09:32 -06:00
nytmyr d144d58abc Remove id from bot_settings, correct types 2024-12-15 23:08:23 -06:00
nytmyr 3009942ca3 Get rid of Bots:BotGroupXP and change logic to support Bots:SameRaidGroupForXP
Bots won't do anything if not in the same group so this should more accurately control only when in the same raid group.
2024-12-13 14:48:59 -06:00
nytmyr 046006cfaa adjust version number for bots 2024-12-12 22:16:23 -06:00
nytmyr 92ba83e308 rewrite GetCorrectSpellType 2024-12-12 22:14:09 -06:00
nytmyr 711100158a add to aelull 2024-12-12 22:14:09 -06:00
nytmyr bf4f2f5623 Add lull/aelull to ^cast 2024-12-12 22:14:08 -06:00
nytmyr c42d84b59a Remove SpellTypeRequiresCastChecks 2024-12-12 22:14:06 -06:00
nytmyr e5c491690f Add priorities to HateLine inserts for db update 2024-12-12 22:14:06 -06:00
nytmyr d919cf26b9 Add PetDamageShields and PetResistBuffs to IsPetBotSpellType() 2024-12-12 22:14:06 -06:00
nytmyr 3b7edc032f Removed unused BotSpellTypeRequiresLoS 2024-12-12 22:14:04 -06:00
nytmyr 625c1fb06b Move HateLine to a better ID 2024-12-12 22:14:04 -06:00
nytmyr 9207be96d3 Rewrite ^pull logic and handling. **MORE**
Add ^setassistee command to set who your bots will assist. Bots will always assist you first before anyone else.

If the rule Bots, AllowCrossGroupRaidAssist is enabled bots will assist the group or raid main assists.

Rewrites logic in handling of pull and returning to ensure bots make it back to their location.
2024-12-12 22:14:04 -06:00
nytmyr faf372d31d Implement spell AI pulling, fix throw stone 2024-12-12 22:14:03 -06:00
nytmyr 6ef444a771 remove unused functions 2024-12-12 22:14:02 -06:00
nytmyr 8c923a6c51 rename BOT_SPELL_TYPE functions 2024-12-12 22:14:02 -06:00
nytmyr 8840ecb221 misc cleanup 2024-12-12 22:14:00 -06:00
nytmyr 7abd67ff26 add invalid spell id cleanup to bot spell list inserts 2024-12-12 22:13:27 -06:00
nytmyr 99926ee102 Allow bots to bypass los checks for positioning if no detrimental types allowed 2024-12-12 22:13:27 -06:00
nytmyr 4bb1fd9dcd add aehateline spell type 2024-12-12 22:13:26 -06:00
nytmyr b2590b5056 Implement more commanded types properly, move shadownight hate to hateline type...
Add incapacitated checks to casting logic and checks.
Add candocombat zone check, summon other's corpse for bot, in/out combat spell checks, mute checks, level restriction
2024-12-12 22:13:24 -06:00
nytmyr ee9651b4f1 implement commanded cast types 2024-12-12 22:13:18 -06:00
nytmyr 3d67009de5 Command help cleanup 2024-12-12 22:13:05 -06:00
nytmyr 4702d74722 fix resistbuffs and damageshields spell type checks 2024-12-12 22:13:04 -06:00
nytmyr ab446138a3 add bot camp timer to prevent /camp exploits 2024-12-12 22:13:02 -06:00
nytmyr f3c0ddd4be correct and tweak all combat positioning and combat range 2024-12-12 22:13:02 -06:00
nytmyr 2042e95163 Add AllowAIMez to allow bot auto mez to be toggled 2024-12-12 22:13:01 -06:00
nytmyr 1c8da32f72 add PercentChanceToCast rules for AE and group spells 2024-12-12 22:13:01 -06:00
nytmyr b0768454c1 adjust spell hold checks to rely on caster and
Implement pet resist buffs and pet damage shields
2024-12-12 22:13:00 -06:00
nytmyr e73f1259be bot movement cleanup and tweaks, move casterrange to distanceranged 2024-12-12 22:11:27 -06:00
nytmyr 1048cb78aa misc command and rule cleanup 2024-12-12 22:11:26 -06:00
nytmyr 63233d11e8 Implement and rewrite stances 2024-12-12 22:11:25 -06:00
nytmyr 0f16601e5d Rewrite ^followd command and remove squared values from command 2024-12-12 22:11:24 -06:00
nytmyr 9b87aaf39b More fixes
TGB, ^cast, group/ae checks, in group/raid checks, inviting others bots to group, group disband fix, prevent rogue bs spam, ^follow fixes and cleanup, follow owner only by default when joining raid/group, group buff fixes for bots, range fixes for group buffs
2024-12-12 22:11:23 -06:00
nytmyr 6574f780db Bot Rework 2024-12-12 22:10:36 -06:00
Alex King e258aaa068 [Bug Fix] Allow Items in ROF2 to Stack to 32,767 (#4556)
* [Bug Fix] Allow Items in ROF2 to Stack to 32,767

* Update rof2.cpp
2024-12-12 16:39:38 -06:00
Paul Johnson 3b779ef301 [Rules] Add rules for requiring custom files from client (#4561)
* rules for enabling requiring custom files

* shorten default

* variable name

* check account status for enforcing client key

* rule for custom files admin level

---------

Co-authored-by: Paul Johnson <Paul@pjohnsomac-6366.digi.box>
2024-12-12 01:47:50 -06:00
Alex King 3f3c0f2fda [Commands] Add #find ldon_theme Subcommand (#4564) 2024-12-12 01:27:25 -06:00
Mitch Freeman 6172c49b08 [Feature] Enable bazaar window 'Find Trader' functionality (#4560)
* First pass to enable trader 'Find Trader' functionality

* Move SendBulkTraders out of zoning routines and send as part of the opening of the bazaar search window.
Add zone instance to SendBulkTraders to support multi-instanced bazaars.
2024-12-12 01:25:12 -06:00
Chris Miles 66a7dd0143 [Databuckets] Improved Reliability and Performance of Databuckets (#4562)
* [Databuckets] Don't broadcast client-scoped updates

* Remove temp feature flag

* Remove distributed caching, only cache for character scoped data, simplify

* Update bot.cpp

* Cleanup

* Update data_bucket.cpp

* Cleanup

* Cleanup

* Remove BulkLoadEntities from LoadNPCTypes

* Update data_bucket.cpp

* Cleanup

* More cleanup

* More cleanup

* BulkLoadEntities to BulkLoadEntitiesToCache

* Add CanCache in DeleteData to gate an unnecessary call
2024-12-12 01:17:08 -06:00
Alex King 3d7cf4235c [Release] 22.60.0 (#4555) 2024-11-25 17:17:03 -06:00
hg 187ee10218 [Tasks] Update tasks in all zones if invalid zone set (#4550)
This allows task elements to update in any zone when it has an invalid
zone id <= 0. This has the same effect as leaving the zones field empty
except "Unknown Zone" instead of "ALL" will be shown in task windows.

Note that Titanium shows "ALL" for a zone id of 0 despite it being an
invalid zone id. This could be manipulated server side to match newer
clients but there isn't much benefit since any other invalid zone id
below 0 can be used to do the same.
2024-11-25 18:02:14 -05:00
Alex King 6bd758b3dd [Rules] Add Rule to Disable NPCs Facing Target (#4543) 2024-11-24 17:30:44 -06:00
Chris Miles 630da0eee6 [Config] Fix World TCP Address Configuration Default (#4551) 2024-11-24 17:27:31 -06:00
hg 12ada57ee8 [Code] Fix build with older C++ libraries (#4549)
This adds a compile time concept to determine if from_chars has
floating-point support and uses fallbacks if not.

This is a C++17 feature but support for floats was only added to
libstdc++ with GCC 11.1 and LLVM libc++ in 20.0 (unreleased).
2024-11-24 17:18:36 -06:00
Mitch Freeman 7a841c11c5 [Bug Fix] Players could become flagged as a Trader when they were not trading (#4553) 2024-11-24 17:17:01 -06:00