Commit Graph

12315 Commits

Author SHA1 Message Date
nytmyr 347a916bbb Move fizzle message to define 2024-12-06 22:32:34 -06:00
nytmyr 0f3c112972 [Bots] Fix AA ranks to account for level
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 22:29:18 -06:00
nytmyr db26842194 Removed unused BotSpellTypeRequiresLoS 2024-12-06 11:38:59 -06:00
nytmyr 67ff004d61 cleanup ST_Self logic in CastChecks 2024-12-06 11:38:37 -06:00
nytmyr 69f724a2b9 Move HateLine to a better ID 2024-12-05 23:46:37 -06:00
nytmyr 3d4474861c 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-05 07:21:34 -06:00
nytmyr d6df4aae3f fully implement ^pull logic to always return, can still be overidden by ^attack 2024-12-04 20:56:09 -06:00
nytmyr 71bf497803 Update groups.cpp 2024-12-04 20:53:24 -06:00
nytmyr 5f0b999ca9 [Groups] Fix AmIMainAssist incorrectly checking for MainTankName (#4565) 2024-12-04 16:04:34 -05:00
nytmyr b69ac7dc21 holding check at start of ai process 2024-12-02 21:25:06 -06:00
nytmyr f12e597ff3 more pull tweaks 2024-12-02 09:16:11 -06:00
nytmyr 1af85092f7 Implement spell AI pulling, fix throw stone 2024-12-02 07:32:30 -06:00
nytmyr ead31d2cd4 Update cast.cpp 2024-12-01 23:37:39 -06:00
nytmyr 51eb75523e add !commandedspell() check to aggro checks on cast 2024-12-01 23:35:21 -06:00
nytmyr 1d0ca78e2d remove unused functions 2024-12-01 23:34:40 -06:00
nytmyr a22502a13d rename BOT_SPELL_TYPE functions 2024-12-01 23:33:21 -06:00
nytmyr 3034bd5762 fix changes made to mercs by mistake 2024-12-01 23:31:39 -06:00
nytmyr af5dbbe932 remove unnecessary messages on silence /block for bots 2024-12-01 23:05:50 -06:00
nytmyr ea84fd75da Clean up and fix any melee attacks to line up with clients 2024-12-01 20:46:50 -06:00
nytmyr 338985634f Add taunting update on stance change when necessary 2024-12-01 20:46:17 -06:00
nytmyr 962e2d80b9 fix AA loading and expansionbitmask saving/loading 2024-12-01 20:36:27 -06:00
nytmyr 867771e76b add default spawned note to ^cast 2024-11-28 23:35:35 -06:00
nytmyr 08387560b3 implement depart to use spell lists 2024-11-28 23:35:21 -06:00
nytmyr dc0819c2c6 misc cleanup 2024-11-28 22:33:30 -06:00
nytmyr 12f703678e add invalid spell id cleanup to bot spell list inserts 2024-11-28 22:15:34 -06:00
nytmyr ceeb083864 Allow bots to bypass los checks for positioning if no detrimental types allowed 2024-11-28 22:15:02 -06:00
nytmyr d0033d4786 add check for self on isingrouporraid 2024-11-28 00:56:55 -06:00
nytmyr 6846bdc56c commanded spell fixes. All should be working now minus depart 2024-11-27 21:09:51 -06:00
nytmyr 156c928521 debug cleanup 2024-11-27 20:50:56 -06:00
nytmyr df6c6c3ea0 add aehateline spell type 2024-11-27 20:50:21 -06:00
Alex King fe9df46a24 [Bug Fix] Fix EVENT_COMBAT on NPC Death (#4558) 2024-11-27 20:30:29 -05:00
nytmyr f6cb63a89b more command cleanup 2024-11-27 19:02:37 -06:00
nytmyr 10effce2a6 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-11-27 13:51:37 -06:00
nytmyr b200bdd04e implement commanded cast types 2024-11-26 13:17:57 -06:00
nytmyr 1f82e12b34 Command help cleanup 2024-11-26 13:17:57 -06:00
nytmyr bdea548460 fix resistbuffs and damageshields spell type checks 2024-11-26 13:17:56 -06:00
nytmyr d97f691255 misc cleanup 2024-11-26 13:17:56 -06:00
Alex King 3d7cf4235c [Release] 22.60.0 (#4555) v22.60.0 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
Alex King 9938755517 [Bug Fix] Fix Possible Item Loss in Trades (#4554) 2024-11-24 17:29:27 -06:00
Chris Miles 630da0eee6 [Config] Fix World TCP Address Configuration Default (#4551) 2024-11-24 17:27:31 -06:00
Alex King 3158386aa3 [Bug Fix] Fix Issue with Perl EVENT_PAYLOAD (#4545) 2024-11-24 17:19:40 -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
Mitch Freeman a49d1446b7 [Bug Fix] Fix for sending money via Parcel, then changing your mind (#4552) 2024-11-24 17:15:18 -06:00
carolus21rex b2d0fa6a2f [Bug Fix] Fix Strings::Commify bug with #mystats (#4547)
* Fix a formatting bug with #mystats

When using values larger than 1,000, we were calling commify on a string that already had commas. This resulted in the value 1005 looking like 1,,005.

* Update mob.cpp

---------

Co-authored-by: Alex King <89047260+Kinglykrab@users.noreply.github.com>
2024-11-22 16:23:48 -05:00
Mitch Freeman 62ac015fff [Bug Fix] Fix an edge case with augmented items inside parceled containers (#4546) 2024-11-20 21:17:04 -05:00
Mitch Freeman 4977a7c2e0 [Bazaar] Further refinements for instanced bazaar (#4544)
Resolves
- Parcels being delivered with incorrect item
- Inspecting an item from the bazaar window showing the incorrect item
2024-11-16 15:14:17 -06:00
nytmyr e6aeb01ddf update and expand ^itemuse options and add lore checks 2024-11-15 13:26:00 -06:00