DarkflameServer/dGame/dBehaviors
David Markowitz 3d46d703b2
Remove memory leak in player container and warning in Behavior (#640)
* Add friends list migration

* Change friends to use charID

Update friends table to use charID and not LWOOBJID variant.

* Fix remove friend

Fix remove friend and make the query more readable at a glance.

* Add and remove friends in the container

Properly add and remove friends in the player container

* add enums

* Add best friends and basic GM support V1

* Add more features

* not online / doesnt exist implementation

Implements the not online and invalid character response codes

* Address players not being removed

Fix an issue where players would not be marked as offline in the friends list due to the message not being sent in all circumstances.

Tested changes on 3 clients, switching characters, logging out from character select, switching characters, world transfer and my friends list looked as it was supposed to.

* Implement proper friends system

Remove debug logs

Track count of best friends

Add best friends list cap of 5

Add config option and best friend update

Add a config option and implement the last missing best friend serialization

Added comments and fixed remove best friend bug

Added some comments and addressed an issue where removing best friends would not remove them from your internal count of friends.

properties and logs fixes

whoops, had an issue

send reply if already BFFs

Send the correct objectID

I really need to rename these

Fix white space

goon

* Replace queries with unique ptrs

* remove user from player container on deletion

Remove the user from the player container when they delete their character.

* Bump patch version

* Improvements to PlayerContainer

Resolved a memory leak in the player container, removed commented out code and resolved a warning in Behavior.cpp

* Make it a unique ptr

* Improvements to PlayerContainer

Resolved a memory leak in the player container, removed commented out code and resolved a warning in Behavior.cpp

Make it a unique ptr

* Update PlayerContainer.cpp
2022-07-13 09:11:24 -07:00
..
AirMovementBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
AirMovementBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
AndBehavior.cpp Added Loot Buff Behavior 2022-04-27 12:40:43 -07:00
AndBehavior.h Added Loot Buff Behavior 2022-04-27 12:40:43 -07:00
ApplyBuffBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ApplyBuffBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
AreaOfEffectBehavior.cpp Fix formatting and add comments 2022-01-02 14:00:01 -07:00
AreaOfEffectBehavior.h Fix formatting and add comments 2022-01-02 14:00:01 -07:00
AttackDelayBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
AttackDelayBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BasicAttackBehavior.cpp Skill Tasks changes 2022-04-25 03:25:07 -07:00
BasicAttackBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
Behavior.cpp Remove memory leak in player container and warning in Behavior (#640) 2022-07-13 09:11:24 -07:00
Behavior.h Added caching for behavior parameter table (#621) 2022-07-08 23:07:52 -07:00
BehaviorBranchContext.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BehaviorBranchContext.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BehaviorContext.cpp Added Loot Buff Behavior 2022-04-27 12:40:43 -07:00
BehaviorContext.h Skill Tasks changes 2022-04-25 03:25:07 -07:00
BehaviorSlot.h Implement Precompiled Headers (#591) 2022-07-04 15:24:45 -07:00
BehaviorTemplates.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BehaviorTemplates.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BlockBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BlockBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BuffBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
BuffBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
CarBoostBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
CarBoostBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ChainBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ChainBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ChangeOrientationBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ChangeOrientationBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ChargeUpBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ChargeUpBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ClearTargetBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ClearTargetBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
DamageAbsorptionBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
DamageAbsorptionBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
DamageReductionBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
DamageReductionBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
DurationBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
DurationBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
EmptyBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
EmptyBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
EndBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
EndBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ForceMovementBehavior.cpp Implement Buccaneer Valiant special ability 2021-12-11 11:59:29 +01:00
ForceMovementBehavior.h Implement Buccaneer Valiant special ability 2021-12-11 11:59:29 +01:00
HealBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
HealBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ImaginationBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ImaginationBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ImmunityBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ImmunityBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
InterruptBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
InterruptBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
JetPackBehavior.cpp implement jetpack behavior and remove hardcoded jetpacks (#411) 2022-01-24 14:02:56 -08:00
JetPackBehavior.h implement jetpack behavior and remove hardcoded jetpacks (#411) 2022-01-24 14:02:56 -08:00
KnockbackBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
KnockbackBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
LootBuffBehavior.cpp Added Loot Buff Behavior 2022-04-27 12:40:43 -07:00
LootBuffBehavior.h Added Loot Buff Behavior 2022-04-27 12:40:43 -07:00
MovementSwitchBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
MovementSwitchBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
NpcCombatSkillBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
NpcCombatSkillBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
OverTimeBehavior.cpp Corrected action for OverTimeBehavior 2022-04-25 16:56:40 -07:00
OverTimeBehavior.h Corrected action for OverTimeBehavior 2022-04-25 16:56:40 -07:00
PlayEffectBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
PlayEffectBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ProjectileAttackBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
ProjectileAttackBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
PullToPointBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
PullToPointBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
RepairBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
RepairBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SkillCastFailedBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SkillCastFailedBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SkillEventBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SkillEventBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SpawnBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SpawnBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SpawnQuickbuildBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SpawnQuickbuildBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SpeedBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SpeedBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
StartBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
StartBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
StunBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
StunBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SwitchBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SwitchBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
SwitchMultipleBehavior.cpp Comply with Xiphoseer required changes. 2022-01-12 22:48:27 -05:00
SwitchMultipleBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TacArcBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TacArcBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TargetCasterBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TargetCasterBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TauntBehavior.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TauntBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
VentureVisionBehavior.cpp Add Venture Vision Behavior (#609) 2022-07-04 21:48:56 -07:00
VentureVisionBehavior.h Add Venture Vision Behavior (#609) 2022-07-04 21:48:56 -07:00
VerifyBehavior.cpp Added more missing newline characters 2021-12-28 19:27:46 +00:00
VerifyBehavior.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00