Results 1 to 3 of 3

Thread: C# MOHAA Server Query Sample Application

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default C# MOHAA Server Query Sample Application

    Hi All,

    I received a request from someone asking for the code that queries MOHAA servers that is in use by Query Launcher. So, I packaged it up as a standalone dll that you can import into your project.

    You can use it like so:

    Add a reference to the DLL.
    Add to your using statements:

    Code:
    using MOH = MOHAAQueryHelper;
    Code to query a server:
    Code:
    MOH.MOHAAServer Server = MOH.MOHAAQueryHelper.QueryServer("192.1.1.1:12203"); // IP:PORT combo go here.
    Obviously, this is not threaded (unlike Query Launcher). I've attached a sample application showing you how to use the attached DLL. Let me know if you have any questions. Didn't detail this thread very much... sorry.
    Attached Files Attached Files
    Browse MOHAA Servers Post GameSpy Era

    VISIT MOHREBORN.COM FOR LATEST INFORMATION



    Medal of Honor: Game Server Browser Fixer - Patches your MOHAA, MOHSH, and MOHBT game binaries to allow you to retrieve a list of game servers within the multi-player menu in-game even after GameSpy ceases operation!

    Medal of Honor: Query Launcher - Find, browse, organize, join, get your ping, and get more information regarding all Medal of Honor (AA, SH, & BT) servers from your PC at any time!
    Medal of Honor: Web Server Master List - Find and browse all Medal of Honor servers online using your browser!
    Add your Medal of Honor Server to the Master List
    YouTube Video for Medal of Honor: Query Launcher and MOHAASERVERS.TK!



    MOHAA Mods and Utilities
    OwN-3m-All's Mods
    Make Me Stock - A program that allows you to easily move-in and move-out non-stock mods and other files at the click of a button. Automates adding / removing mods without having to copy / move files manually.



    Quality Game Servers

    Rent dedicated Dallas Texas, Kansas City, Las Vegas Nevada, Chicago, Pennsylvania, and Sofia Bulgaria MOHAA and other game servers from We Be HostiN starting at $10 a month.


Posting Permissions

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