Hi
I see in table npcs data about a particular npc spawn in game. I tried to use information from fields lastXXX (like lastinteraction,lasfeeding,lasteating,lasttamed,etc.), but so far i can't interpret correctly the result.
So far i don't find exposed this data via API (or maybe i miss something). So i select them directly from table. But now come difficult part because i can't correlate the respective value with actual current time (aka how many seconds ago that happen?) or a relation with spawndate (witch is stored as epoch time in miliseconds). From what i see fields lastXXX are stored as miliseconds after some time reference. Any clue how to find that time reference to can actual compare this numbers with to can get actual date or how many seconds elapsed from last changed value?
Thx. in advance for any hints!
Bamse
Hi, I'd guess these time values are based on server ticks (i.e., elapsed ticks since the server started).
Hi, ich tippe mal darauf, dass diese Zeitwerte auf Server-Ticks basieren (also verstrichene Ticks seit Serverstart).