Convert STEAMID to Steam Community ID
i saw tutor to the sourcemod, maybe someone can do this for amxx ? +karma from me :)
http://forums.alliedmods.net/showthread.php?t=60899 |
Re: Convert STEAMID to Steam Community ID
That's not possible because '76561197960265728' is a long data-type which is a 64-bit signed two's complement integer and pawn doesn't support that. :-(
So it not possible to play with such large number. You can't use above 2^31, so -2,147,483,648 <-> 2,147,483,648. |
Re: Convert STEAMID to Steam Community ID
okay thanks
|
Re: Convert STEAMID to Steam Community ID
i'm looking for something like this too.
does anybody have a working code snipe for it? |
Re: Convert STEAMID to Steam Community ID
Quote:
Quote:
|
Re: Convert STEAMID to Steam Community ID
before you teach somebody about such things you
probably think first next time! it should be no problem to split the 64bit string and doing some seperated calculations to join the sums into one string. |
Re: Convert STEAMID to Steam Community ID
Then educate us. Show us how you, in all of your wisdom, would do this. Because as I recall, you're the one asking for code snippets, not him.
|
Re: Convert STEAMID to Steam Community ID
Danielkza has already done such plugin using "string-based math like in PHP's BCMath" : http://forums.alliedmods.net/showthread.php?t=77361
|
Re: Convert STEAMID to Steam Community ID
oh wow thanks alot arkshine, i was crawling the forum
but did not found it. @Spunky .. stop whining.. |
Re: Convert STEAMID to Steam Community ID
Who's whining? You were being a hypocrite.
danielkza comes up with all sorts of neat things. :o |
| All times are GMT -4. The time now is 03:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.