Raised This Month: $ Target: $400
 0% 

Retriving keyvalues


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zynda
Member
Join Date: Jul 2011
Old 02-09-2016 , 20:27   Retriving keyvalues
Reply With Quote #1

Hello,

First of all, this is what i would like to accomplish:
  • Retrive keyvalue pairs from an entity directly
The way i've been handling keyvalues in the past is by hooking FM_KeyValue and storing keyvalue data as they are being set by the engine.

Now, in a new project for Sven Co-op, there is a loophole where keyvalue data can be changed through certain entities native to Sven Co-op. Such as:During my testing, triggering these entities can successfully change keyvalues of other entities without the FM_KeyValue forward being triggered.
Should such an entity be triggered i become blind to the fact that the keyvalue data of its target is different from when i last retrieved it; as my local cache of the target entity is now different from reality.

Now i am asking for your help. Is there another way of retrieving keyvalues, maybe directly from the engine?
Could it be possible to hook the function these entites use to change keyvalue data?

Even getting just the value when you already know the key would be somewhat useful.

Thank you for your time.

Last edited by Zynda; 02-10-2016 at 00:37.
Zynda is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode