Coder Social home page Coder Social logo

Comments (24)

magneticflux- avatar magneticflux- commented on May 30, 2024 1

Can you clone this repo https://github.com/magneticflux-/java-mumble-link and run ./gradlew test and show the full log? You'll need a version of the JDK on your path variable.

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

You have to enable "Link to game and transmit position" in Mumble.

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

You have to enable "Link to game and transmit position" in Mumble.

I already did, as well as the option in audio output

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

@magneticflux- https://hastebin.com/raw/exomoroqux

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

You cloned this repo, which doesn't have any tests (it's just a wrapper for Minecraft). Clone the one I linked above which does tests for shared memory.

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

@magneticflux- Oh sorry, I completely missed the java part of the URL, hold on

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

Also, can you show the output of uname -a?

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

https://hastebin.com/raw/duyusudeso

Linux jumping 5.8.18_1 #1 SMP Sun Nov 1 14:25:13 UTC 2020 x86_64 GNU/Linux

And just for sanity's sake, here's the options set in Mumble:
image
image

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

Can you run ipcs -a and cat /proc/sysvipc/shm while you're connected to a server in Mumble and in Minecraft and show the output?

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

https://hastebin.com/raw/vucukobapi
https://hastebin.com/raw/ucugewibax
@magneticflux-

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

In the same way, can you run ls /dev/shm lsof /dev/shm while everything is connected? (lsof might need a package installed)

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

[webb@jumping ~]$ ls /dev/shm
MumbleLink.1000 jack_db

https://hastebin.com/raw/opaheledul

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

I've double-checked the code and my implementation exactly mimics the implementation in Mumble's code.

My code: https://github.com/magneticflux-/jvm-shared-memory/blob/6b17a5bf925e56093720c413e448bb91ee08102d/src/main/java/com/skaggsm/sharedmemory/posix/SharedMemoryPOSIX.java#L32

Mumble code: https://github.com/mumble-voip/mumble/blob/3d7f8cc4e5f502652f6660822eb791cec79a61f7/plugins/link/link-posix.cpp#L141

The logs you gave indicate that my code is correctly opening up the shared memory object called "MumbleLink.1000" (1000 being your UID). Mumble hasn't opened anything. Is Mumble running as the same user? What version of Mumble are you using?

The relevant part of the log:

COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
java      19830 webb  mem    REG   0,23    10580 2729322 /dev/shm/MumbleLink.1000

Also, is the "Link v1.2.0" plugin enabled in the plugins list?

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

image
So that probably explains that.

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

Ah, something is very wrong with that! This is what it looks like on Windows:
image

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

To be fair a lot of those are Windows-specific, but I'll probably need to bring it up with the Void maintainers. Thank you for the help.

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

No problem, glad we figured this out!

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

@magneticflux- I'm testing, and it doesn't seem to be working. Neither of us can hear a difference. Should I refetch my shared memory stuff again?

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

I got the link plugin enabled, and it reports in chat that it's enabled. I just double checked his settings were correct.

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

(It's entirely possible that it's a Mumble issue)

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

You also might have to adjust the positional audio settings in Mumble. Try checking the "headphones" box maybe?

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

You also might have to adjust the positional audio settings in Mumble. Try checking the "headphones" box maybe?

Did this, still no effect. Is there some sort of indicator for positional audio because I don't see any.

from fabric-mumblelink-mod.

magneticflux- avatar magneticflux- commented on May 30, 2024

If it says Linked to "Minecraft MumbleLink Mod" in the Mumble chat it's working and receiving data, so there must be some misconfiguration of audio device output. Are you using mono-channel sound?

from fabric-mumblelink-mod.

w3bb avatar w3bb commented on May 30, 2024

Hmm, then yeah it's probably Mumble. I'll probably end up opening a bug report there. Thanks for the help as always.

from fabric-mumblelink-mod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.