Raised This Month: $ Target: $400
 0% 

Solved gather data from game server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 06-21-2021 , 17:52   gather data from game server
Reply With Quote #1

So, I would like to show the server admins on a web page. To do that, I will need to access the users.ini file. I can think of some ways to solve the problem, but I'm not sure which one would be optimal.

The first two options would need a mysql database.

1. Add all users to the database through the plugin itself.
or 2. send a socket post request to the web page. There, parse the data and add to the database.

The third one would be to send a rcon command to the game server which would return the users that are in the file. Would need to search about that one though, but I found this article on the valve developer so it should be possible.
https://developer.valvesoftware.com/..._RCON_Protocol

Let me know if you have any ideas.
__________________









Last edited by CrazY.; 07-02-2021 at 08:57.
CrazY. 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:33.


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