NullReferenceException at GetPlayTimeFixed

PlayerRanks is well supported. You can get responses from the author in his discord, or his host site's discord or forum.
However, this issue is with the timing of PTT's data loading.

timeCache is an empty dictionary in Init(), in the old version,
whereas storedData is null untill OnServerInitialized in the new version.

That's what's causing the errors.

Thanks for you answer, so need a fix by author PTT...

insidiousins

PlayerRanks is well supported. You can get responses from the author in his discord, or his host site's discord or forum.
However, this issue is with the timing of PTT's data loading.

timeCache is an empty dictionary in Init(), in the old version,
whereas storedData is null untill OnServerInitialized in the new version.

That's what's causing the errors.

@Wulf Would you be able to fix it since we all know that the Author is not really gonna "be here" ?

Also, if anyone in the meantime would like a version of PlayTimeTracker that Steenamaroo fixed so it doesn't spam console and works as intended with ex. PlayerRanks..., let me know and I can send you a copy.

I posted the discussion link on his forum, he didn't suggest anything :( I'm interested in this fix
mw7GkgsiONvlqVn.png FuelStream

@Wulf Would you be able to fix it since we all know that the Author is not really gonna "be here" ?

Patch system is open for any developer willing and able to contribute a fix. Pastebin links or any other sort of gist also works if someone would like to share the code for me to apply, otherwise I don't have a lot of time to look into fixes for it myself.

mo28BVUztY5CZGy.jpg Wulf

Patch system is open for any developer willing and able to contribute a fix. Pastebin links or any other sort of gist also works if someone would like to share the code for me to apply, otherwise I don't have a lot of time to look into fixes for it myself.

PlaytimeTracker 0.2.2 with fixed data load delay/timing.

Thanks very much FuelStream!

@FuelStream thank you!
Locked automatically