Raised This Month: $32 Target: $400
 8% 

[DEBATING LOL] userid...?


Post New Thread Reply   
 
Thread Tools Display Modes
JocAnis
Veteran Member
Join Date: Jun 2010
Old 10-19-2018 , 07:27   Re: userid...?
Reply With Quote #21

Quote:
Originally Posted by edon1337 View Post
Well, you're doing something wrong, are you using %s to print an integer?
nope, im using status in console
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
Kushfield
Member
Join Date: Jan 2017
Location: Estonia
Old 10-19-2018 , 07:29   Re: [DEBATING LOL] userid...?
Reply With Quote #22

Quote:
Originally Posted by JocAnis View Post
@fyksen, i was trying some experiment..like if its possible to catch player leaving and entering again, with userid parameter..but after reading the thread,im not sure its possible haha
Yeah, for something like this, you'd need to use the SteamID and/or IP of the player - those are the only two things that stay the same between connections.
Kushfield is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-19-2018 , 23:01   Re: [DEBATING LOL] userid...?
Reply With Quote #23

Quote:
Originally Posted by Natsheh View Post
What i said that usersid should be indexed with steamid, thats mean each player will have special userid.

For example just like on the forums when you registered you increment members with +1, and you will have constant id.
You'd have to keep track of every player to have ever connected to the server. But, if you extend this logic, you'd want to keep every player in a database. But, that's already what happens, it just so happens that Valve is the one keeping track of every player and each player is assigned a unique ID, the SteamID!

So, your suggestion is redundant.
__________________
fysiks is offline
Reply



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 15:58.


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