Raised This Month: $51 Target: $400
 12% 

Get player gender by steamid, possible?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 12-19-2017 , 13:38   Get player gender by steamid, possible?
Reply With Quote #1

I was wondering if that was possible, think not, but the game "Rust" does that, your gender is based on your Steamid, so it must be a way
tarsisd2 is offline
felhasznalo
AlliedModders Donor
Join Date: Aug 2015
Location: Hungary
Old 12-19-2017 , 14:17   Re: Get player gender by steamid, possible?
Reply With Quote #2

You can get the SteamID using this function:
PHP Code:
native get_user_authid(indexauthid[], len
Rust assigns a random gender permanently to your SteamID, as it does not contain your real gender. (It's not even on the Steam user profile page.)

Last edited by felhasznalo; 12-19-2017 at 14:42.
felhasznalo is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-19-2017 , 14:18   Re: Get player gender by steamid, possible?
Reply With Quote #3

Not possible
__________________
Depresie is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-19-2017 , 21:57   Re: Get player gender by steamid, possible?
Reply With Quote #4

What magic do you think exists that can properly guess your gender?
__________________
fysiks is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 12-20-2017 , 03:25   Re: Get player gender by steamid, possible?
Reply With Quote #5

Rust does not determine your actual gender, it merely randomly picks a gender for you using your Steam ID as a seed.
__________________
ddhoward is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 12-20-2017 , 05:38   Re: Get player gender by steamid, possible?
Reply With Quote #6

setinfo "sex" "m or f"

Kappa
siriusmd99 is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 12-20-2017 , 12:09   Re: Get player gender by steamid, possible?
Reply With Quote #7

Quote:
Originally Posted by siriusmd99 View Post
setinfo "sex" "m or f"

Kappa
No, please, nooo, don't use userinfo for this.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-09-2018 , 17:13   Re: Get player gender by steamid, possible?
Reply With Quote #8

Quote:
Originally Posted by PRoSToTeM@ View Post
No, please, nooo, don't use userinfo for this.
Why? Because steam doesn't have sandbox for setinfo ? You mean it could be possible slowhacked by other servers or what did you mean?

Btw, the "sex" key was a joke.
But anyway it could be an idea to set setinfo sex "m" as default, because there are obviously more males in the game and if a girl wanted to "mark" herself as female then she will just write setinfo sex "f". Pretty simple but anyway it's not automatic. Girls have to write something in console.
siriusmd99 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-09-2018 , 17:19   Re: Get player gender by steamid, possible?
Reply With Quote #9

Quote:
Originally Posted by siriusmd99 View Post
Why? Because steam doesn't have sandbox for setinfo ? You mean it could be possible slowhacked by other servers or what did you mean?

Btw, the "sex" key was a joke.
But anyway it could be an idea to set setinfo sex "m" as default, because there are obviously more males in the game and if a girl wanted to "mark" herself as female then she will just write setinfo sex "f". Pretty simple but anyway it's not automatic. Girls have to write something in console.
Weird how no feminist has yet requested this gender thingy to Valve
__________________
edon1337 is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 01-09-2018 , 18:15   Re: Get player gender by steamid, possible?
Reply With Quote #10

Quote:
Originally Posted by edon1337 View Post
Weird how no feminist has yet requested this gender thingy to Valve
I won't be amazed. They request everything except brains.

I bet a feminist would say me "Why 'setinfo sex m' is default? Thats discriminating."
siriusmd99 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 17:19.


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