Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Overhaul BaseAI Movement, AI, Bug Fixes, and Performance #2079

Open
wants to merge 96 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
e38cc52
Update BaseAI.cs - full refactor/overhaul
Bohicatv Jan 19, 2025
a7aa07a
Update BaseAI.cs
Bohicatv Jan 19, 2025
296fa9c
Update BaseAI.cs
Bohicatv Jan 19, 2025
4a66e17
Update BaseAI.cs - Remove custom enum types
Bohicatv Jan 19, 2025
fafd352
Update BaseAI.cs - Restore mobile speed assignments
Bohicatv Jan 20, 2025
cbd0a2a
Update BaseAI.cs - Add combat delay
Bohicatv Jan 20, 2025
8253bc4
Update BaseAI.cs -- ShouldApplyCombatDelay method
Bohicatv Jan 20, 2025
a3f0722
Update BaseAI.cs - Hides invalid mobiles instead of deletion
Bohicatv Jan 20, 2025
43bb57a
Update BaseAI.cs - Adds "invalid" prefix if mobile becomes invalid
Bohicatv Jan 20, 2025
5305c44
Consolidate IsValidTarget method
Bohicatv Jan 20, 2025
d13a3a8
Consolidate CanAttackTarget Method
Bohicatv Jan 20, 2025
1c22536
Add Cliloc in HandleMove method
Bohicatv Jan 20, 2025
1878bfa
bugfix/Fixes mobs from becoming frozen after combat
Bohicatv Jan 20, 2025
a1c6b0d
Refactor IsValidCombatant method
Bohicatv Jan 20, 2025
5811b8b
Refactor/Deprecate DoActionGuard/FindGuardTarget method
Bohicatv Jan 20, 2025
67aae98
Refactor DoOrderNone
Bohicatv Jan 20, 2025
92af0bb
Deprecate IsValidCombatant method
Bohicatv Jan 20, 2025
28893df
Refactor HandleLostMaster method
Bohicatv Jan 20, 2025
ee0bd17
Rafactor HandleComeOrder method
Bohicatv Jan 20, 2025
77f856b
Add RefreshCombatantState method
Bohicatv Jan 20, 2025
2b8e09f
Refactor DoOrderDrop method
Bohicatv Jan 20, 2025
9aa3cb3
Remove comments from CheckHerding method
Bohicatv Jan 20, 2025
1460241
Refactor DoOrderFollow method
Bohicatv Jan 20, 2025
4de2253
Refactor IsInvalidFriendRequest method
Bohicatv Jan 20, 2025
77fe34c
Refactor IsInvalidUnfriendRequest method
Bohicatv Jan 20, 2025
a24647b
Add FindCombatant method
Bohicatv Jan 20, 2025
1206e42
Refactor FindNewCombatant, Deprecate other methods
Bohicatv Jan 20, 2025
2ba3247
Refactor DoOrderTransfer
Bohicatv Jan 20, 2025
2ec72bc
Refactor IsInCombatState
Bohicatv Jan 20, 2025
c7f047a
Refactor HandleLostProvoker
Bohicatv Jan 21, 2025
daa05ff
Refactor HandlelostProvokeTarget method
Bohicatv Jan 21, 2025
76c86d7
Deprecate ResetBardState method
Bohicatv Jan 21, 2025
1b146eb
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
Bohicatv Jan 21, 2025
ed7a7a1
Revert OnTick changes
Bohicatv Jan 22, 2025
4e1b1b1
Increase timer pooling
Bohicatv Jan 22, 2025
0bbd420
Cleanup Debug strings
Bohicatv Jan 22, 2025
0da8df5
Deprecate CheckLeash method
Bohicatv Jan 23, 2025
49a6014
Rebalance Basic Pet Orders
Bohicatv Jan 23, 2025
8304b13
Rafactor Gaurd Order
Bohicatv Jan 23, 2025
4813276
Add Dynamic Pet Follow (Mobile Speed Thething)
Bohicatv Jan 23, 2025
115b4b3
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
kamronbatman Jan 24, 2025
552bae6
Merge branch 'Refactor/BaseAI-Movement-Bugfixes' of https://github.co…
Bohicatv Jan 24, 2025
bec7641
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
Bohicatv Jan 24, 2025
14bd5bc
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
Bohicatv Jan 24, 2025
bb64a53
refactor: Consolidate command actions
Bohicatv Jan 24, 2025
0f0b95e
prep: Add Rename command type/menu entry
Bohicatv Jan 24, 2025
3b716a7
fix: Simplify logic for invalid summon target check
Bohicatv Jan 24, 2025
c37b8b1
fix: Update localized messages for pet command restrictions
Bohicatv Jan 24, 2025
0559ca8
refactor: Simplify combatant state refresh logic
Bohicatv Jan 24, 2025
d6e0505
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
Bohicatv Jan 25, 2025
36338ad
fix: Update pet transfer messages for clarity during combat
Bohicatv Jan 25, 2025
91cec72
Merge branch 'Refactor/BaseAI-Movement-Bugfixes' of https://github.co…
Bohicatv Jan 25, 2025
803fff6
fix: Speech handling for NPCs and streamline command actions
Bohicatv Jan 25, 2025
a950073
fix: Speech commands for pets
Bohicatv Jan 25, 2025
cb14ff8
feat: Implement mobile leash behavior for AI to return home when out …
Bohicatv Jan 25, 2025
311b1aa
fix: HandlesOnSpeech for vendors
Bohicatv Jan 25, 2025
7019186
fix: Refactor pet transfer logic to handle trade states and improve c…
Bohicatv Jan 25, 2025
e5f3df8
feat: Adds Rename system notice
Bohicatv Jan 25, 2025
1721f28
Hold: Comment out CheckLeashed method (testing needed)
Bohicatv Jan 25, 2025
f91476e
balance: Adjust combat delay for pets to improve gameplay consistency
Bohicatv Jan 25, 2025
12662e0
Remove unnecessary method for combat delay check
Bohicatv Jan 25, 2025
bfb9100
refactor: Improve door and destroyable item validation logic
Bohicatv Jan 25, 2025
1825ec1
refactor: Split OnSpeechPet into two methods
Bohicatv Jan 26, 2025
6fd30b5
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
Bohicatv Jan 26, 2025
6dc9c55
Merge branch 'Refactor/BaseAI-Movement-Bugfixes' of https://github.co…
Bohicatv Jan 26, 2025
501b5e4
Cleanup
Bohicatv Jan 26, 2025
c698433
Remove unused RefreshCombatantState method
Bohicatv Jan 26, 2025
58242e5
Remove unused DebugSayMessage method
Bohicatv Jan 26, 2025
189a1c7
Refactor methods to be static
Bohicatv Jan 26, 2025
1a8a968
Remove unused TryTeachSkill method
Bohicatv Jan 26, 2025
6bc3e94
Remove unused HandleCommands and HandleSpecificCommands methods
Bohicatv Jan 26, 2025
5b02999
Make SendOrderMessage method static
Bohicatv Jan 26, 2025
7afc78f
Refactor/Remove IsYoungPlayer methods
Bohicatv Jan 26, 2025
6c4c522
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
Bohicatv Jan 27, 2025
f11deb1
fix: Prevents unnecessary speed updates in AI order handling
Bohicatv Jan 27, 2025
e31c4f2
fix: Prevents redundant action assignments in AI behavior
Bohicatv Jan 27, 2025
084cce3
fix: Enhances null checks and movement conditions in AI logic
Bohicatv Jan 27, 2025
12d4160
refactor: Remove redundant debug logging in DetectHidden method
Bohicatv Jan 27, 2025
226d7a0
refactor: Simplify bad state checks
Bohicatv Jan 27, 2025
f15e2eb
refactor: Optimize target validation checks in AcquireNewFocusMob method
Bohicatv Jan 27, 2025
b3628df
refactor: Improve interval update logic and streamline OnTick method
Bohicatv Jan 27, 2025
f87f5f0
refactor: Remove unused CheckLeashed method and clean up OnTick logic
Bohicatv Jan 27, 2025
7a664ea
refactor: Simplify action handling logic in BaseAI class
Bohicatv Jan 27, 2025
000f68b
refactor: Enhance order handling by adding conditional checks for sta…
Bohicatv Jan 27, 2025
da84888
refactor: Add conditional checks to reset mobile control properties i…
Bohicatv Jan 27, 2025
2712c9b
refactor: Add conditional checks to reset mobile properties in order …
Bohicatv Jan 27, 2025
7ab865d
Merge branch 'main' into Refactor/BaseAI-Movement-Bugfixes
Bohicatv Jan 28, 2025
4fad46d
fix: Remove unused DebugSay method from BaseAI class
Bohicatv Jan 28, 2025
c913207
fix: Adjust GuardNothing method to set CurrentSpeed only if not alrea…
Bohicatv Jan 28, 2025
9892047
Comment Cleanup
Bohicatv Jan 28, 2025
67d94cc
revert: Debugsay method (removed by mistake)
Bohicatv Jan 28, 2025
73294c8
fix: Include maxReduction parameter and streamline speed calculations
Bohicatv Jan 31, 2025
6fdb609
refactor: Simplify CheckFlee
Bohicatv Jan 31, 2025
5260c7f
balance: Reduce mobile movements when idle/wander
Bohicatv Feb 1, 2025
80bb749
chore: Remove development disclaimer
Bohicatv Feb 1, 2025
200b98d
balance: Adjust the rest of the random movement parameters for AI
Bohicatv Feb 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading