EXILED icon indicating copy to clipboard operation
EXILED copied to clipboard

[Exiled::API] Added AccountAge to Features.Player

Open DrInzi opened this issue 1 year ago • 6 comments

DrInzi avatar Feb 04 '24 09:02 DrInzi

Just a thought but shouldn't this be only queried once? Every subsequent request is just an extra network call to fetch the AccountAge when you should only need to call it once and store the result. (Unless i'm stupid and stuff)

creepycats avatar Feb 05 '24 13:02 creepycats

Just a thought but shouldn't this be only queried once? Every subsequent request is just an extra network call to fetch the AccountAge when you should only need to call it once and store the result. (Unless i'm stupid and stuff)

i actually don't feel like we should make an request to a website inside a property but i will let Nao see for it

louis1706 avatar Feb 09 '24 09:02 louis1706

I think w can use directly steam information and don't request any third-party websites. And also convert from account age to creation date to make it more flexible

VALERA771 avatar Feb 12 '24 16:02 VALERA771

The issue is Ive looked through Facepunch Steamworks.NET and there isnt a way to get the account age. If there is some secondary steam API dll we can use then try that but I dont think you can get it natively

creepycats avatar Feb 13 '24 02:02 creepycats

We can access it through xml=1 (https://steamcommunity.com/profiles/{steamId}/?xml=1)

VALERA771 avatar Feb 13 '24 17:02 VALERA771

Still, requesting a website isnt the greatest idea.

Then again not much else you can do.

creepycats avatar Feb 15 '24 01:02 creepycats

This has been refused because of the need of an actual HTTP request and it's conld lead to Lag if used during the gameplay

louis1706 avatar Mar 24 '24 14:03 louis1706