Commit Graph

8198 Commits

Author SHA1 Message Date
nytmyr 95c1bb6883 code cleanup 2 2025-01-10 11:45:00 -06:00
nytmyr 40b676c320 code cleanup 1 2025-01-09 23:01:48 -06:00
nytmyr 2fa32d1874 Add HasSkill checks to bot special abilities (kick/bash/etc) 2025-01-08 17:15:04 -06:00
nytmyr de053ce8f3 Add zero check for bot spawn limits
If the spawn limit rule is set to 0 and spawn limit is set by bucket, if no class buckets are set, it defaults to the rule of 0 and renders the player unable to spawn bots.

This adds a check where if the rule and class bucket are 0, it will check for the spawn limit bucket
2025-01-08 00:28:53 -06:00
nytmyr 85bd031992 Bots special_attacks.cpp fix 2025-01-08 00:05:36 -06:00
nytmyr 0c62210f90 Bot CampAll fix 2025-01-07 23:59:02 -06:00
nytmyr c47233ee42 Merge branch 'master' into bot-rewrite 2025-01-07 23:52:17 -06:00
nytmyr 67d7413748 move los checks to mob.cpp 2025-01-07 23:45:29 -06:00
Mitch Freeman 533dc997fd [Fix] Repair a memory leak in #summonitem (#4591) 2025-01-07 23:50:34 -05:00
Alex King d95b64e0b8 [Cleanup] Fix GM Flag Spell Restriction Bypasses (#4571)
* [Cleanup] Fix GM Flag Spell Restriction Bypasses

* Update spells.cpp
2025-01-06 00:18:25 -06:00
Alex King 1ed282f6ff [Inventory] Add GetInventorySlots() Method (#4566)
* [Inventory] Add GetInventorySlots() Method

* Update client.cpp

* Push
2025-01-05 23:48:39 -06:00
Chris Miles a3a498634f [Maps] Fix broken Map MMFS implementation (#4576) 2025-01-05 23:48:09 -06:00
Chris Miles c44596b38a [Network] Prune / disconnect TCP connections gracefully (#4574) 2025-01-05 23:48:00 -06:00
Mitch Freeman fe43d26dd6 [Fix] Guild creation to propagate across zones (#4575)
Fix guild creation to propagate across zones
2025-01-05 23:47:22 -06:00
Mitch Freeman c82dee575a [Fix] Guild Membership Update Fix (#4581)
When the guild membership was large (1k+) the client would studder for half a sec when a guild member would login or logout.  This was reproduceable with a guild size of 2k members though floor would be client dependent most likely.
2025-01-05 23:46:19 -06:00
Mitch Freeman 33db85f2ee [Fix] Repair a EQEMUConfig Memory Leak (#4584)
Co-authored-by: Mitch Freeman <neckkola@gmail.com>
2025-01-05 23:45:28 -06:00
Mitch Freeman 20ff325013 [Fix] Repair a LoadNPCEmote MemoryLeak (#4586) 2025-01-05 23:44:51 -06:00
nytmyr e994d14418 Move spelltype names, spell subtypes, category names and setting names to maps. 2024-12-30 22:58:37 -06:00
nytmyr 61a3987d25 Remove plural on ^spelltypeidsand ^spelltypenames 2024-12-30 22:54:00 -06:00
nytmyr 8c3058034d Merge branch 'master' into bot-rewrite 2024-12-30 13:10:59 -06:00
nytmyr 4d7ac703fd todo list 2024-12-30 13:08:32 -06:00
nytmyr f182294648 Add BotGroupSay method 2024-12-30 13:06:40 -06:00
nytmyr d13a48fc93 cleanup 2024-12-30 13:02:06 -06:00
nytmyr d3ccff2d65 remove this for a separate PR 2024-12-30 01:16:36 -06:00
nytmyr 2d7d58b4ef remove ^aggressive/^defensive 2024-12-29 20:18:12 -06:00
nytmyr a0c2abfedf Implement ^discipline 2024-12-29 20:01:18 -06:00
nytmyr 1c01b716d5 Move spell range check to proper location 2024-12-29 20:01:01 -06:00
nytmyr 8ed6dece34 more raid optimizations, should be final.
10 clients, 710 bots, 10 raids, ~250 pets sits around 3.5% CPU idle
2024-12-28 22:58:07 -06:00
nytmyr e652bc02b9 Allow pet types to ^cast, prevent failure spam, add cure check 2024-12-24 08:56:23 -06:00
nytmyr 8b7ffd7117 Add pet option to ^taunt
No longer has toggle, required on/off option and an optional "pet" option to control pets' taunting state
2024-12-24 08:07:13 -06:00
nytmyr 5a000f1259 Cleanup ^copysettings command and add new commands 2024-12-23 23:50:37 -06:00
nytmyr 9b5eca3b2d Fix client spell commands from saving the wrong setting 2024-12-23 23:44:48 -06:00
nytmyr 25ff56ca23 Remove unnecessary checks in bot process (closescanmoving timer, verify raid, send hp/mana/end packet 2024-12-23 23:28:49 -06:00
nytmyr f438650e86 TempPet owned by bots that get the kill will now give exp like a client would 2024-12-23 23:28:07 -06:00
nytmyr 6ced4e6a9c Fix missing raid assignment for GetStoredRaid in IsInGroupOrRaid 2024-12-23 23:27:42 -06:00
nytmyr ef983c3d47 Move bot_list from std::list to std::unordered_map like other entities 2024-12-23 20:50:36 -06:00
nytmyr c7741efbe5 todo 2024-12-22 22:39:39 -06:00
nytmyr 69b4c3a5a4 Add _tempSpellType as placeholder for any future passthru 2024-12-22 22:39:27 -06:00
nytmyr 83d41f00d2 Implement AIBot_spells_by_type to reduce looping when searching for spells 2024-12-22 22:38:52 -06:00
nytmyr 998f34842b Missing IsInGroupOrRaid cleanup 2024-12-22 00:35:29 -06:00
nytmyr 39b1f57ef3 comment out precheck, delays, thresholds, etc logging
missed some in "organize some checks in IsImmuneToBotSpell"
2024-12-22 00:29:58 -06:00
nytmyr f6fa28681b Move GatherSpellTargets and Raid to stored variables.
Missing some in "organize some checks in IsImmuneToBotSpell"
2024-12-22 00:29:15 -06:00
nytmyr 0c0fee1c67 Change GetPrioritizedBotSpellsBySpellType to vector
Some slipped through in "organize some checks in IsImmuneToBotSpell"
2024-12-22 00:26:01 -06:00
nytmyr 2a149f2949 Move GatherSpellTargets to mob 2024-12-22 00:24:31 -06:00
nytmyr e6081e0d2c Fix GetRaidByBotName and GetRaidByBot checks to not loop unnecessarily 2024-12-22 00:22:27 -06:00
nytmyr e4e7a30e71 organize some checks in IsImmuneToBotSpell 2024-12-22 00:22:10 -06:00
nytmyr 2460f78015 more name checks and add proper soft deletes to bots 2024-12-22 00:05:45 -06:00
nytmyr 600376274f correct name checking to match players 2024-12-21 23:47:30 -06:00
nytmyr d05dcb5d60 raid optimizations 2024-12-20 21:21:14 -06:00
nytmyr c02259aceb move IsValidSpellRange further down castchecks 2024-12-20 21:20:38 -06:00