LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-07-2015, 07:26 PM   #1
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Rep: Reputation: 32
how to gather data from a game server


I want to pull the raw data that most game servers send when requested. Such as the GameSpy Query. I remember using a command a while back to pull the raw data while I was making a UT Server Query. I needed to figure out what all information the server was broadcasting. I can not seem to remember how I did this now. Any help?
 
Old 05-07-2015, 07:34 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,276

Rep: Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342Reputation: 5342
The command was probably tcpdump. Most people would use wireshark.
 
Old 05-07-2015, 07:52 PM   #3
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Original Poster
Rep: Reputation: 32
I suppose I could install WireShark locally... but what command would I need to enter to get tcpdump to pull specific data from an IP:PORT? Seems when I run tcpdump it pulls EVERYTHING on the local host.
 
Old 05-08-2015, 10:04 PM   #4
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Original Poster
Rep: Reputation: 32
Wireshark isn't capturing the information I am looking for. Not sure why.

Basically I want to send a command to a server that will tell the server to return information. The information I am looking for is a query that tells information about the server. Such as it's name, admin, players, their frags, time played, etc... Normally it's in a long list view separated by a / instead of a comma.

http://wiki.beyondunreal.com/Legacy:UT_Server_Query

Here is a list of commands it will return for a UT server, however I don't know the command/string I need to use to get the server to send that information.

Last edited by Skillz; 05-08-2015 at 10:05 PM.
 
Old 05-12-2015, 12:32 AM   #5
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
I don't know anything about the game, but at the bottom of the page they list an example in Perl for how to retrieve info from the server. I would think you could modify the Perl script to have it query and return the data you need.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: FCC releases Android speed test app to gather data on cell carrier performance LXer Syndicated Linux News 0 11-15-2013 02:30 PM
Ntpd continues to gather ntp data from public server, WHY? LuxLuv Linux - Server 3 04-30-2013 06:40 AM
how can I use snmp to gather data from other network hosts and display on conky? gtludwig Slackware 4 03-17-2013 06:53 PM
how ubuntu can be programmed to gather data serially or usb input darragh Ubuntu 2 02-13-2009 08:20 AM
game not receving game list from master server Rnastyracer Linux - Games 2 04-02-2004 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration