Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it still is happening #82

Closed
Lets-game6531 opened this issue Jan 5, 2025 · 4 comments
Closed

it still is happening #82

Lets-game6531 opened this issue Jan 5, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Lets-game6531
Copy link

Lets-game6531 commented Jan 5, 2025

Describe the bug
when someone do '/dvc start' then voice chat stops working

Screenshots
after on my other testing account I do the '/dvc start' it shows this ↓
image

Logs
[12:45:34 INFO]: .Evan1779 joined the game
[12:45:34 INFO]: .Evan1779[/there ip] logged in with entity id 4911 at ([world]1463.5, 93.0, -1961.5)
[12:46:47 INFO]: .Evan1779 issued server command: /dvc start
[12:46:48 INFO]: [voicechat-discord] Started voice chat for .Evan1779 in channel 🔊│Voice Chat 1 with bot with vc_id 1304823759743750217
[12:48:38 INFO]: Lets_game6531 issued server command: /tp .Evan1779 Lets_game6531
[12:48:55 ERROR]: [voicechat] Uncaught exception in thread VoiceChatPacketProcessingThread
java.lang.NoSuchMethodError: 'org.bukkit.craftbukkit.v1_21_R2.entity.CraftEntity net.minecraft.world.entity.Entity.getBukkitEntity()'
at voicechat-discord-paper-3.0.6.jar/dev.amsam0.voicechatdiscord.PaperPlatform.getEntityPosition(PaperPlatform.java:59) ~[voicechat-discord-paper-3.0.6.jar:?]
at voicechat-discord-paper-3.0.6.jar/dev.amsam0.voicechatdiscord.PaperPlatform.getEntityPosition(PaperPlatform.java:84) ~[voicechat-discord-paper-3.0.6.jar:?]
at voicechat-discord-paper-3.0.6.jar/dev.amsam0.voicechatdiscord.DiscordBot.handlePacket(DiscordBot.java:285) ~[voicechat-discord-paper-3.0.6.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.plugins.PluginManager.onListenerAudio(PluginManager.java:126) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.sendSoundPacket(Server.java:383) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.broadcast(Server.java:431) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.processProximityPacket(Server.java:379) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.processMicPacket(Server.java:316) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.onMicPacket(Server.java:303) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server$ProcessThread.run(Server.java:269) ~[voicechat-bukkit-2.5.26.jar:?]

Versions (please complete the following information):

  • Minecraft: 1.21.4
  • Loader (paper, purpur, fabric, quilt, etc): paper
  • Simple Voice Chat: voicechat-bukkit-2.5.26.jar
  • Simple Voice Chat Discord Bridge: voicechat-discord-paper-3.0.6.jar

Additional context
one player was bedrock and used 'dvc start' command
other player was java with the simple voice chat mod

@Lets-game6531 Lets-game6531 added the bug Something isn't working label Jan 5, 2025
@Lets-game6531
Copy link
Author

I tested it again with 2 java accounts and it said this:
[12:59:26 INFO]: Essie_Bella joined the game
[12:59:26 INFO]: Essie_Bella[/there ip] logged in with entity id 529 at ([world]11.5, 67.0, 48.5)
[12:59:26 WARN]: [EssentialsSpawn] <dark_red>That kit does not exist.
[12:59:45 INFO]: [Not Secure] [Owner] Lets_game6531: hello my test account
[13:00:39 INFO]: Essie_Bella issued server command: /dvc start
[13:00:41 INFO]: [voicechat-discord] Started voice chat for Essie_Bella in channel 🔊│Voice Chat 1 with bot with vc_id 1304823759743750217
[13:01:13 ERROR]: [voicechat] Uncaught exception in thread VoiceChatPacketProcessingThread
java.lang.NoSuchMethodError: 'org.bukkit.craftbukkit.v1_21_R2.entity.CraftEntity net.minecraft.world.entity.Entity.getBukkitEntity()'
at voicechat-discord-paper-3.0.6.jar/dev.amsam0.voicechatdiscord.PaperPlatform.getEntityPosition(PaperPlatform.java:59) ~[voicechat-discord-paper-3.0.6.jar:?]
at voicechat-discord-paper-3.0.6.jar/dev.amsam0.voicechatdiscord.PaperPlatform.getEntityPosition(PaperPlatform.java:84) ~[voicechat-discord-paper-3.0.6.jar:?]
at voicechat-discord-paper-3.0.6.jar/dev.amsam0.voicechatdiscord.DiscordBot.handlePacket(DiscordBot.java:285) ~[voicechat-discord-paper-3.0.6.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.plugins.PluginManager.onListenerAudio(PluginManager.java:126) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.sendSoundPacket(Server.java:383) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.broadcast(Server.java:431) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.processProximityPacket(Server.java:379) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.processMicPacket(Server.java:316) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server.onMicPacket(Server.java:303) ~[voicechat-bukkit-2.5.26.jar:?]
at voicechat-bukkit-2.5.26.jar/de.maxhenkel.voicechat.voice.server.Server$ProcessThread.run(Server.java:269) ~[voicechat-bukkit-2.5.26.jar:?]

@Lets-game6531
Copy link
Author

Im giving you the simple voice chat (not simple voice chat discord integration plugin) config maybe that would help

Simple Voice Chat server config v2.5.26

The port number to use for the voice chat communication.

Audio packets are always transmitted via the UDP protocol on the port number

specified here, independently of other networking used for the game server.

Set this to '-1' to use the same port number that is used by the Minecraft server.

However, it is strongly recommended NOT to use the same port number because UDP on

it is also used by default for the server query. Doing so may crash the server!

port=25565

The server IP address to bind the voice chat to

Leave blank to use the 'server-ip' property from the 'server.properties' config file

To bind to the wildcard IP address, use '*'

bind_address=

The distance to which the voice can be heard

max_voice_distance=48.0

The multiplier of the voice distance when crouching

crouch_distance_multiplier=1.0

The multiplier of the voice distance when whispering

whisper_distance_multiplier=0.5

The Opus codec

Valid values are 'VOIP', 'AUDIO', and 'RESTRICTED_LOWDELAY'

codec=VOIP

The maximum size that audio packets are allowed to have (in bytes)

Set this to a lower value if audio packets don't arrive

mtu_size=1024

The frequency at which keep-alive packets are sent (in milliseconds)

Setting this to a higher value may result in timeouts

keep_alive=1000

If group chats are allowed

enable_groups=true

The hostname that clients should use to connect to the voice chat

This may also include a port, e.g. 'example.com:24454'

Do NOT change this value if you don't know what you're doing

voice_host=

If players are allowed to record the voice chat audio

allow_recording=true

If spectators are allowed to talk to other players

spectator_interaction=false

If spectators can talk to players they are spectating

spectator_player_possession=false

If players without the voice chat mod should be kicked from the server

force_voice_chat=false

The amount of time the server should wait to check if a player has the mod installed (in milliseconds)

Only relevant when 'force_voice_chat' is set to 'true'

login_timeout=10000

The range in which the voice chat should broadcast audio

A value less than 0 means 'max_voice_distance'

broadcast_range=-1.0

If the voice chat server should reply to external pings

allow_pings=true

@amsam0
Copy link
Owner

amsam0 commented Jan 5, 2025

SVC config does not help in any way whatsoever. The most helpful thing that you can give me is your Minecraft version and server version and type. Anyways, please try the 3.0.8 release and open a new issue if you still have issues:

Paper: https://modrinth.com/plugin/simple-voice-chat-discord-bridge/version/3.0.8
Fabric: https://modrinth.com/plugin/simple-voice-chat-discord-bridge/version/e80OEQpP

@amsam0 amsam0 closed this as completed Jan 5, 2025
@Lets-game6531
Copy link
Author

SVC config does not help in any way whatsoever. The most helpful thing that you can give me is your Minecraft version and server version and type. Anyways, please try the 3.0.8 release and open a new issue if you still have issues:

Paper: https://modrinth.com/plugin/simple-voice-chat-discord-bridge/version/3.0.8 Fabric: https://modrinth.com/plugin/simple-voice-chat-discord-bridge/version/e80OEQpP

I downloaded it and it works :)
it works for both java and bedrock players :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants