nytmyr
a8f048c4e4
Correct IsValidSpellRange
2024-12-12 22:14:05 -06:00
nytmyr
0081d7673c
Add back !IsBotNonSpellFighter() check to the different CastCheck
2024-12-12 22:14:05 -06:00
nytmyr
88b0e4f15e
Move fizzle message to define
2024-12-12 22:14:05 -06:00
nytmyr
912b6f0a28
cleanup ST_Self logic in CastChecks
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
6c19f3dbda
fully implement ^pull logic to always return, can still be overidden by ^attack
2024-12-12 22:14:03 -06:00
nytmyr
cc5efa4372
holding check at start of ai process
2024-12-12 22:14:03 -06:00
nytmyr
efbf0b1fe9
more pull tweaks
2024-12-12 22:14:03 -06:00
nytmyr
faf372d31d
Implement spell AI pulling, fix throw stone
2024-12-12 22:14:03 -06:00
nytmyr
036b524459
add !commandedspell() check to aggro checks on cast
2024-12-12 22:14:02 -06:00
nytmyr
8c923a6c51
rename BOT_SPELL_TYPE functions
2024-12-12 22:14:02 -06:00
nytmyr
53d4bc4e48
remove unnecessary messages on silence /block for bots
2024-12-12 22:14:02 -06:00
nytmyr
7a68b4d70c
Clean up and fix any melee attacks to line up with clients
2024-12-12 22:14:01 -06:00
nytmyr
c54cb2f423
fix AA loading and expansionbitmask saving/loading
2024-12-12 22:14:01 -06:00
nytmyr
8840ecb221
misc cleanup
2024-12-12 22:14:00 -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
cd3cd9ef1a
commanded spell fixes. All should be working now minus depart
2024-12-12 22:13:26 -06:00
nytmyr
9279eaa767
debug cleanup
2024-12-12 22:13:26 -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
4702d74722
fix resistbuffs and damageshields spell type checks
2024-12-12 22:13:04 -06:00
nytmyr
484b88ddbc
misc cleanup
2024-12-12 22:13:04 -06:00
nytmyr
aa7632d3df
Add AllowBotEquipAnyClassGear to bot trades
2024-12-12 22:13:03 -06:00
nytmyr
dbacd80760
Add more checks to bot names to prevent spacing or invalid characters
2024-12-12 22:13:03 -06:00
nytmyr
abefd1ccce
Add loregroup 0 bypass for lore conflicts for bots like clients
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
161d6b3b66
apply ranged setting on spawn to show correct weapons
2024-12-12 22:13:02 -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
10ddcb0151
passivecheck response
2024-12-12 22:13:00 -06:00
nytmyr
7d670e674d
add passive stance checks to commands and loading/saving. shouldn't be `
2024-12-12 22:12:59 -06:00
nytmyr
77da29f940
Add viral, fear, stun, knockback, gravityeffect support to bots
2024-12-12 22:12:58 -06:00
nytmyr
e73f1259be
bot movement cleanup and tweaks, move casterrange to distanceranged
2024-12-12 22:11:27 -06:00
nytmyr
95bf30740f
more target validation for bots to prevent pets from getting hit with AEs and pets trying to attack invalid targets
2024-12-12 22:11:26 -06:00
nytmyr
1d6d6a0f36
Make rogue/monk evade logic more accurate to players
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
4dcaef65cd
oopsies
2024-12-12 22:11:23 -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
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
5c6e7a8b09
[Cleanup] Convert Event Parses to Single Line ( #4569 )
...
* [Cleanup] Convert Event Parses to Single Line
* Push
* Update spells.cpp
* Update spells.cpp
---------
Co-authored-by: Akkadius <akkadius1@gmail.com >
2024-12-12 00:43:22 -06:00
nytmyr
8e40e5357c
[Bots] Fix AA ranks to account for level ( #4567 )
...
Previously level requirement was only being checked on the initial rank of an AA. If passed, bots would gain all ranks for that AA regardless of level, this will now check for the level requirement for each rank before granting the AA
2024-12-06 23:58:11 -05:00
Chris Miles
0ea47fadee
[Performance] Improvements to ScanCloseMobs logic ( #4534 )
...
* [Performance] Minor improvements to ScanCloseMobs
* Remove timer checks one level up to reduce branching
* Reserve memory in m_close_mobs to avoid frequent re-allocations if not already reserved.
2024-11-08 17:48:39 -06:00
Chris Miles
bcd943a964
[Code Cleanup] Optimization Code Cleanup ( #4489 )
...
* Initial push
* More
* More
* Further simplify
* More cleanup
* More consolidation
* Fix
* Update
* Update npc.cpp
---------
Co-authored-by: Kinglykrab <kinglykrab@gmail.com >
2024-09-30 18:34:42 -04:00
nytmyr
56608e84bd
[Bots] Add attack flag when told to attack ( #4490 )
...
This adds a flag to mobs that are told to attack by their owner to prevent unintended attacks.
Previously, if you were to send your bots to attack a target and then switch targets: before casters land their spell or if melee (especially anyone with pets) hasn't engaged before the target switch, they could switch to your new target and attack.
This adds a flag upon attack and bots will only attack flagged targets.
2024-09-29 17:59:26 -04:00
Alex King
a85f4fb703
[Cleanup] Cleanup Stance Code ( #4368 )
...
* [Cleanup] Cleanup Stance-based Code
* Command
* Update emu_constants.h
* Update stance.cpp
* Cleanup
2024-07-02 21:50:34 -04:00
Alex King
8640776a21
[Cleanup] Cleanup Body Type Code ( #4366 )
...
* [Cleanup] Cleanup Body Type-based Code
* Update bodytypes.cpp
* Final
* Update body_type.cpp
* Cleanup
* Cleanup
* Formatting
---------
Co-authored-by: Akkadius <akkadius1@gmail.com >
2024-06-02 04:25:06 -04:00
Alex King
caa647dc6b
[Cleanup] Cleanup Deity Code ( #4363 )
...
* [Cleanup] Cleanup Deity-based Code
* Final push.
* Update deity.cpp
* Update deity.cpp
* Update deity.cpp
* Cleanup
* Cleanup
* [Cleanup] Cleanup Skill-based Code
* Update deity.cpp
* Update lua_client.cpp
2024-06-01 18:21:26 -05:00
Alex King
76b9ce0ac1
[Cleanup] Cleanup Special Ability Code ( #4365 )
...
* [Cleanup] Cleanup Special Ability-based Code
* Update emu_constants.cpp
* Update emu_constants.cpp
* Update emu_constants.cpp
* Update special_ability.cpp
* Cleanup
* Update emu_constants.cpp
2024-06-01 18:20:43 -05:00