Raised This Month: $ Target: $400
 0% 

nvault.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-20-2020 , 15:01   Re: nvault.
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
Also, I don't think there's a need to use "#" as a replacement for a whitespace. Just do "%i %i %i" directly. They're all integers, so there shouldn't be any problems.

PS: the max AuthId length is 64, not 35. You probably don't need 33 for a buffer that holds a single integer, the integer itself can't even be that big.
I've been using 34 for ages to hold steam id's. Is the max steam id length documented anywhere? Based on the below valve documentation, the number after the 2nd colon is the persons steam account number. If steam uses an unsigned 64-bit long to store the account number then even a string sized at 34 is overkill.

https://developer.valvesoftware.com/wiki/SteamID

28 characters total with the largest unsigned 64 bit long:
STEAM:0:18446744073709551615
__________________
Bugsy is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode