Closed Snah79 closed 2 months ago
I've tested the changes to inventory that you've pushed. They work fine and work as intended. I've not tested the wounding changes yet as it will require a second person to test them with.
Please rebase your fork and reopen the PR
Revert disabling movement when inventory is opened Modified PlayerComponent
OnBehaviorInitialize Only used inventories are deserielized from db (optimization) Check even entiies with scripts which deriver from PE_InventoryEntity. (like myownscript:PE_InventoryEntity will include myownscript also) Fixed error that no entitie was tied if chest wasnt from db (drag drop problem still working on distances grater then 10 for chests only)
OnMissionTick Check distance from entity on server, if grater then 4f then run close inventory on server and force client to close opened inventory view.
Reworked code so server only code now is withing #if SERVER tag and client only code is withing #if CLIENT
Added regions for base class overrides, communication handlers and other functions.