Roblox icon indicating copy to clipboard operation
Roblox copied to clipboard

A way to get data of an offline user

Open Kampfkarren opened this issue 6 years ago • 9 comments

Perhaps DataStore2.FromUserId?

Kampfkarren avatar Aug 24 '19 19:08 Kampfkarren

Will this be added any time soon?

catgirlinspace avatar May 06 '20 00:05 catgirlinspace

I've been working on a lot of projects other than DataStore2, so probably not from me.

Kampfkarren avatar May 06 '20 01:05 Kampfkarren

Ok. I'll attempt to add it sometime in the near future and send in a PR.

catgirlinspace avatar May 06 '20 02:05 catgirlinspace

@Dog2puppy Have you made any progress on this?

DeepBlueNoSpace avatar Oct 24 '20 13:10 DeepBlueNoSpace

Nope. I completely forgot about this. Not sure when I'll try implementing it. I've been busy with school.

catgirlinspace avatar Oct 24 '20 13:10 catgirlinspace

I might be able to add it, not sure.

lucasmz-dev avatar Feb 21 '21 20:02 lucasmz-dev

What about integrating it into the ds2.__call() call? Then just do it differently, like needing to clean up the cache with a function. Maybe a function / parameter to check if it's offline player data?

lucasmz-dev avatar Feb 21 '21 20:02 lucasmz-dev

There's a lot of gotchas that come with offline data that make me not want to pack it on top of the main method. Saving only works if they're not in game. If you save while the player is in game, then when they leave your data will be overridden.

Kampfkarren avatar Feb 21 '21 21:02 Kampfkarren

Is there any update on this? I have use cases that need some data from offline users and I would love to be able to use DS2 for it to keep my codebase consistent.

boatbomber avatar Jul 27 '21 03:07 boatbomber