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

How to get players inside the server without rcon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tugamars
Member
Join Date: Mar 2014
Old 02-25-2017 , 18:16   How to get players inside the server without rcon
Reply With Quote #1

Hello guys, I need to build a script to get the players inside the server.

I already looked into ServerQuery but either I looked it wrong or it doesnt allow one thing that is really needed: Return the player steamid.

Any ideia how i can do this without having rcon acess ?
Tugamars is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-25-2017 , 20:49   Re: How to get players inside the server without rcon
Reply With Quote #2

Quote:
Originally Posted by Tugamars View Post
[...] or it doesnt allow one thing that is really needed: Return the player steamid.
You won't get the Steam ID of players with any server queries unless it is done via RCON, or that your server somehow else is "opening" a way server-side (e.g. a plugin) that provides the data you need.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Tugamars
Member
Join Date: Mar 2014
Old 02-26-2017 , 07:25   Re: How to get players inside the server without rcon
Reply With Quote #3

Quote:
Originally Posted by arne1288 View Post
You won't get the Steam ID of players with any server queries unless it is done via RCON, or that your server somehow else is "opening" a way server-side (e.g. a plugin) that provides the data you need.
Alright, but as "normal player" you can just type "status" at the console and you get all the infos about the people inside (nick, steamid, ping, rate, etc). Isnt there a way of running this command via script ?

I forgot to mention its for CS:GO.

Thanks in advance.
Tugamars is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 02-26-2017 , 17:20   Re: How to get players inside the server without rcon
Reply With Quote #4

Quote:
Originally Posted by Tugamars View Post
Alright, but as "normal player" you can just type "status" at the console and you get all the infos about the people inside (nick, steamid, ping, rate, etc). Isnt there a way of running this command via script ?

I forgot to mention its for CS:GO.

Thanks in advance.
You need to:

1. Use rcon with sourcequery
2. Wtite a plugin that stores server sessions including players to mysql
__________________
Neuro Toxin is offline
Tugamars
Member
Join Date: Mar 2014
Old 02-26-2017 , 21:56   Re: How to get players inside the server without rcon
Reply With Quote #5

Quote:
Originally Posted by Neuro Toxin View Post
You need to:

1. Use rcon with sourcequery
2. Wtite a plugin that stores server sessions including players to mysql
So, without acess to rcon i can just get the names.

Guess i will need to work with that.

Thanks
Tugamars is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-27-2017 , 00:13   Re: How to get players inside the server without rcon
Reply With Quote #6

Quote:
Originally Posted by Tugamars View Post
Alright, but as "normal player" you can just type "status" at the console and you get all the infos about the people inside (nick, steamid, ping, rate, etc). Isnt there a way of running this command via script ?
Quote:
Originally Posted by Tugamars View Post
So, without acess to rcon i can just get the names.
As a player on the server, you're technically already within the "house" or "car".

If you wanted to take something from my house or car, you would have to break into it - unless you're of course already in...

Functionality from the "outside" is most often very limited, if there is any functionality at all at that stage. ;-)
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL 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 03:40.


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