Results 1 to 2 of 2

Thread: Querying Game Server

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Sydney, Nova Scotia
    Posts
    55
    Hello there, I'm looking to perform a few "simple" winsock functions to recieve some data from a gaming server. There have been people successful doing this in both C++ and using mIRC scripts.

    The idea behind it is to check for the server then send udp packet to tell the server your not a player. Then ask for certain information and it will send it back.

    The bytes I can send include:
    U8 = unsigned byte
    U16 = unsigned 16-bit integer
    U32 = unsigned 32-bit integer
    STRING = U8 length U8[length] chars
    STRING = U8 length Huffman-encoded chars
    LONGSTRING = U16 length U8[length] chars

    Master Server Game Types Request
    U8 type = 2
    U8 flags = 0
    U32 query instance id (client-side id used to match responses to queries)

    The Master Server should return a...
    Master Server Game Types Response
    U8 type = 4
    U8 flags
    U32 query instance id
    U32 game type count
    STRING[game type count] game types
    U32 mission type count
    STRING[mission type count] mission types


    If you can help me out please reply............. thanks
    Vince McMullin
    Aka Vam, Vinny Mac

    Its just that simple

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    If you have the mirc script to hand ill port it for you ...
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width