cheahjs / palworld-steam-id-to-player-uid

Converts Steam IDs into Palworld's player UIDs, and vice versa

Home Page:https://uid.palservers.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there any function or project in .NET Core to finish the job SteamIDtoUID?

shenzhoukai opened this issue · comments

I've tried to install CityHash in .NET Core but I cannot get the low bits and high bits from the city64 long value.

Or PHP、JS etc. so that I can deploy it as an API like https://api.my-pal-api.com/convert-id?SteamID=xxx and response an UID

CityHash has libraries in most languages. You need to ensure that all operations are done with unsigned integers (ulong/uint in .Net). If the language does not support unsigned integers (like Javascript or Python), then you'll have to figure out how to perform the equivalent arithmetic and bitwise operations in that language.