Results 1 to 6 of 6

Thread: MOHAA Rich Presence for Discord

  1. #1
    Client Beta Testers Appelpitje's Avatar
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    571

    Default MOHAA Rich Presence for Discord

    I have developed an app that will show which server and map you are currently playing on your Discord profile.
    Examples: https://i.imgur.com/kDwciaV.png https://i.imgur.com/fH7sT4u.png
    Info & Download AA: https://github.com/Appelpitje/MOHAA-...-Rich-Presence SH: https://github.com/Appelpitje/MOHSH-...-Rich-Presence

    How it works: The app searches to an active mohaa client and opens up the console. After that clientinfo is sent to the console and is read by the app. The app now has the server IP:PORT and sends a network packet to the server with getstatus to get the servername and map. Then it sends it to Discord to set your status. Enjoy! PS: it might be very buggy so it can crash very often

  2. #2
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    Very cool man! I'm sure many will find this feature useful. What would cause it to crash though? DO you have any thoughts?

  3. #3

    Default

    good work Appel!
    i wonder if could this be added to openmohaa in the future, would be a nice feature to have.
    btw, you can also get the server's ip with cl_currentServerAddress
    Last edited by Zappa; November 30th, 2018 at 08:20 AM.

  4. #4
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    Quote Originally Posted by Zappa View Post
    btw, you can also get the server's ip with cl_currentServerAddress
    That works only if you connect via UI, command line and console connect commands won't change it.

  5. #5

    Default

    Quote Originally Posted by RyBack View Post
    That works only if you connect via UI, command line and console connect commands won't change it.
    just tested connecting via "connect" and command line, and cl_currentServerAddress is still showing the server's ip. at least for AA

  6. #6
    Client Beta Testers Appelpitje's Avatar
    Join Date
    Jan 2012
    Location
    Belgium
    Posts
    571

    Default

    Quote Originally Posted by Zappa View Post
    good work Appel!
    i wonder if could this be added to openmohaa in the future, would be a nice feature to have.
    btw, you can also get the server's ip with cl_currentServerAddress
    Should be easy to implement. We will implement this in mohue

Posting Permissions

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