MumbleLink (Memory Shared File)

About Monkey 2 Forums Monkey 2 Development MumbleLink (Memory Shared File)

This topic contains 1 reply, has 1 voice, and was last updated by  Hezkore 2 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7048

    Hezkore
    Participant

    I’m trying to get some information from the game Guild Wars 2, things such as player position.
    Apparently the game supports something called Mumble, which is a VOIP application with positional sound.
    And for Mumble to work, Guild Wars 2 creates something called a MumbleLink, which is a shared memory file.
    Now… I’ve found this: https://wiki.guildwars2.com/wiki/API:MumbleLink
    It tells us exactly how the MumbleLink file is structured.
    And here’s some actual code from the Mumble Wiki: http://wiki.mumble.info/wiki/Link

    I’m not very familiar with C++ so this doesn’t really help me a whole lot heh.
    But I do know that Monkey 2 can import external code like that.
    Can I somehow use that code to access the Guild Wars 2 data I need?

    #7277

    Hezkore
    Participant

    I’ve managed to get Mumble working, and this should work with any Mumble supported game.
    You’ll need this mumble.h file:

    And here’s the Monkey 2 wrapper for it:

    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 your avatars/cameras position, rotation, name etc.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.