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

How to fetch server data to webmod?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thesense1
New Member
Join Date: Feb 2023
Old 02-05-2023 , 04:42   How to fetch server data to webmod?
Reply With Quote #1

Hi. I was inspecting some old webmods and wan't to make a new one. I couldn't find the how to get fetch data. Old ones use "{c.hostname}, {c_ip}, {c_rcon} etc. But how to find whole list and where it gets that data?
thesense1 is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 02-05-2023 , 17:48   Re: How to fetch server data to webmod?
Reply With Quote #2

SourceQuery?
__________________
bigdaddy424 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-05-2023 , 18:10   Re: How to fetch server data to webmod?
Reply With Quote #3

If you're referring to querying data from a game server, you do that using Valve's Server Query protocol. There are some existing libraries out there for different languages that implement this procotol in a convenient package. For example, SourceQuery is one that I use for PHP.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

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 10:34.


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