MumbleLink (Memory Shared File)

About Monkey 2 Forums Monkey 2 Code Library MumbleLink (Memory Shared File)

This topic contains 0 replies, has 1 voice, and was last updated by  Hezkore 1 year, 10 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8796

    Hezkore
    Participant

    Mumble is a VOIP application with positional sound.
    Games that support Mumble creates something called a MumbleLink, which is a shared memory file.
    That file includes lots of information, such as avatar/camera position, rotation, name, map etc.
    Mumble then uses that file to track your location in the game world.
    The following code lets you too read that shared file, and get all the juicy information from it!
    You could use it to create things like external map viewers for your favorite game, or “event schedules” for MMO’s etc.

    For example, Guild Wars 2 uses this to share a lot of player information, like team, profession and all that:
    https://wiki.guildwars2.com/wiki/API:MumbleLink#Usage_in_Guild_Wars_2

    You’ll need this mumble.h file:

    And here’s the Monkey 2 wrapper for it, which I call “mumble.monkey2”:

    You use it by first calling InitMumble()
    Then call UpdateMumble() as you want new information. (every frame)
    You then use the Global link variable to check avatar/cameras position, rotation, name, map etc.

    Super basic example of usage:

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.