Simple Voice Chat

Simple Voice Chat

31M Downloads

Cant connect to voice chat if not on port 24454 (Ports open at UDP)

MrR341-GER opened this issue ยท 37 comments

commented

Please read the FAQ before submitting a bug report!

Bug description
A clear and concise description of what the bug is.

Cant start it on more server than just one.
I opened ports 24456 - 24460 UDP.
I set every Server on another Port within this range.
Server just starting fine, but the client can't connect to the voice server.

IP is on each properties file:
0.0.0.0

BUT it's working, if I set the port on 24454. But I can't run every server with this port in the voice chat properties

Steps to reproduce the issue

  1. just multiple minecraft servers running

Expected behavior
A clear and concise description of what you expected to happen.

Working voice-Chat

Log files
Please provide log files of the game session in which the problem occurred.
Don't paste the complete logs into the issue.
You can use https://gist.github.com/.

no logs

Versions

  • Minecraft version
  • Forge version
  • Mod version

MC 1.16.5
Fabric 11.3
VC 1.1.1

Other mods
A list of the other mods that were installed when this problem occurred.
It would be ideal if you could test if this problem persists when no other mod is installed.
If not, please narrow down the mod(s) that are causing the problem.
Bungee,
architectury,
carpet,
Fabric-Proxy
lithium,
textile-backup,
worldedit

(none of them should be responsible for this issue (mostly becouse it works with port 24454 only))

Screenshots (Optional)
Screenshots of the issue.

commented

Have you changed the port in the config?
If yes, olease send me the logs of the server and client.

commented

Server (Each one on a different port):

[20:17:57] [VoiceChatServerThread/INFO]: Server started at port 24459

client in a minute

commented

NOT WORKING Server:

[21:06:47] [main/INFO]: Connecting to server: 'mc.minology.de:24459'
[21:06:47] [main/INFO]: Setting sample rate to 48000 Hz, codec to VOIP and frame size to 1920 bytes
[21:06:47] [main/WARN]: Unknown custom packed identifier: carpet:hello
[21:06:47] [VoiceChatAuthenticationThread/INFO]: Trying to authenticate voice connection
[21:06:47] [main/INFO]: Loaded 15 advancements
[21:06:48] [VoiceChatAuthenticationThread/INFO]: Trying to authenticate voice connection

WOKING Server:
[21:08:27] [main/INFO]: Connecting to server: 'mc.minology.de:24454'
[21:08:27] [main/INFO]: Setting sample rate to 48000 Hz, codec to VOIP and frame size to 1920 bytes
[21:08:27] [main/WARN]: Unknown custom packed identifier: carpet:hello
[21:08:27] [VoiceChatAuthenticationThread/INFO]: Trying to authenticate voice connection
[21:08:27] [main/INFO]: Loaded 315 advancements
[21:08:27] [VoiceChatClientThread/INFO]: Server acknowledged authentication

commented
commented

Please also make sure to join with a client in the logs

commented
commented

Please also make sure to join with a client in the logs

jup... its in the comment of the server log gists

commented

That's not the purpose of comments.
I need to be able to view it in raw, which I can't do with comments.

commented

let me edit it
one sec

commented

done

commented

Does this happen without any other mods installed?

commented

jup

commented

Oh I just saw, you are using BungeeCord, right?

commented

Yes

commented

Yeah that's not gonna work. How should the voice chat figure out if it changed the server.

commented

Please do it like the template states and put the FULL logs into a github gist link.

commented

I don't know how to make a new gist... I already have one for VS-Code-Sync and can't create another gist
Obviously I'm too stupid

commented

Oh yeah.. I am... okay gimme some sec

commented

But I'm just posting the client, the working server and just one other not working server

commented

Cant confirm that... If I switch the port from the first server the client connects from 24454 to another one it isnt working...

commented

I don't know what exactly doesn't work, bit I can assure you that BungeeCord is not working with this mod.

commented

Well... testet without bungee.. still not working

commented

Noo... It isn't installed on Bungee... it is installed on every Server on it's own

commented

every server has it's own Voice Chat

commented

I know. That will not work since bingee acts as a proxy.

commented

But it is working wit bungee... but only at port 24454
and bungee doesn't know anything about that... ant still.. it works

commented

Yeah it only works with the first server, the client connects to.
Besides that, the mod uses cistom login packets, that most likely will not work wenn switching a server.

commented

Well...
I dont know what I did...
I just deleted the forewarding rule in my router and set it up again...
It's working now..
But:
EVEN WITH Bungee

commented

Just to clarify why it doesnt matter if Bungee is running:

There isn't just one voice chat server running.

There are 4 different voice chat server running each on a different port.

commented

Yes, but once you switch to another server with bungee, the voice chat will get confused and won't work like it should.
Sure, it might work, but it could lead to weird side effects.

commented

Seems that your port forwarding setup is wrong. Read the wiki for more information.
But even if it would work, it won't work with bungee.

commented

Just tested it... everything works perfect... I made a pic anyways :D

image

And if it is the client which you mean with "confused Voice Chat" then you could just add something to the code like:

If ($newConnection) {
    disable voice Chat
    flush Cache
    enable Voice Chat
}
commented

I can't detect that in the mod, since the minecraft client itself doesn't even know that it moved to another server.
If you run a minecraft server on another machine than your bungee server, it will break too.

So as I already said. I can't guarantee you that it will work all the time.

commented

Dont get me wrong.. Imnot saying that what you say is wrong, I just say: on Server Side all is working perfect. (All servers as well as Bungee running on the same OS/Machine/System)
And I tested it with some other players and everything works as pretended. No Problems at all.. and we switched servers during that test too.

Maybe couse of how I set up the servers and Bungee, maybe becouse of the settings I made in Bungee and on the servers, maybe becouse of Fabric and the needed "FabricProxy" Mod on the Server... IDK