Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Retrieving game server info

Retrieving game server info

Retrieving game server info

Hello, Im wondering if anyone knows how i would go about retrieving information from my server for call of duty 4? im writing this in vc++.net 2003.  I want to retrieve various information like how many players are on the server, names, pb enabled or disabled etc...Im also going to be doing making a part for changing maps and gametypes, but i pretty much know how to do that i just need to know how to send commands to the server thru my program. Any ideas or pointing me in the right direction would be great. Thanks

RE: Retrieving game server info

Just an update. I pretty much found all the variables for call of duty 4 that i need. Like for the hostname display the variable is sv_hostname and if pb is enabled it sets the variable to 1. So i pretty much know which variables to retrieve info from or to send to, i just need to know how i can send and recieve them thru this program. Thanks

RE: Retrieving game server info

Take Call of Duty server-client protocol then implement it with socket i/o library...

RE: Retrieving game server info

yea already been trying that..but nevermind i figured out a new way of solving this problem

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close