multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.38k stars 422 forks source link

Voice system improvements #327

Open oaojmiguel opened 6 years ago

oaojmiguel commented 6 years ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like Enable both features or create them.

Mantis: https://bugs.mtasa.com/view.php?id=7168

qaisjp commented 6 years ago

Sounds reasonable. Please can you split this into two separate issues? Thanks!

Einheit-101 commented 6 years ago

I already created 3D voice but it was complete garbage because of how silent MTA voice chat is (we might just delete voice entirely)

Addlibs commented 6 years ago

I’m pretty sure the second point is already implemented; setSoundVolume takes a player or sound element (this extends to most, if not all, sound-related functions) so you can interpolate the volume based on 3D distance.

And indeed, the voice chat is very quiet for some reason.

PlatinMTA commented 6 years ago

I don't know if it's only for me, but activating the voice chat sometimes crashes the client. I used the default voice resource so I don't think that was the problem, but i don't have any more information or idea why this happends.

And yes, the voice chat is really quiet.

fusiion commented 6 years ago

@PlatinMTA that also happened to me and all of my friends, activating the voice chat sometimes crashes the client, so it's not only you that's having this problem.

botder commented 5 years ago

Voice freezing the client has been fixed in 39c1ba00ae122f0393cf5f185033b17c10b392da

PlatinMTA commented 4 years ago

It would be nice if someone could work a little update to fix the voice sound issue.

Dutchman101 commented 4 years ago

It would be nice if someone could work a little update to fix the voice sound issue.

I think it's better to wait with individual improvement points until @Jusonex is done working on PR #895 which can solve multiple issues at once and offer new possibilities.

Besides that, possibly due to a combination of 39c1ba0 and various BASS library updates (or other unknown changes) over the past year, apart from the freezes we haven't observed a voice-related crash in crash stats for a long time. Although that may be a result of servers barely using it due to its reputation as unreliable and bad.

PlatinMTA commented 4 years ago

I think it's better to wait with individual improvement points until @Jusonex is done working on PR #895 which can solve multiple issues at once and offer new possibilities.

Besides that, possibly due to a combination of 39c1ba0 and various BASS library updates (or other unknown changes) over the past year, apart from the freezes we haven't observed a voice-related crash in crash stats for a long time. Although that may be a result of servers barely using it due to its reputation as unreliable and bad.

I can assure you the crashes stopped when the update rolled up (at least none of my users crashed again for no apparent reason). I was asking cuz I'm working on a server that uses the voice system (TTT), but because it is really, really quiet and, as far as I know, you can't turn up the volume via resource some of my users can't really hear anything the other players are saying, so most of them use discord as an alternative, but this creates some problems.

I didn't search the code about the issue, but I guess it isn't that hard to just turn up a lil bit the volume, we already have an voice slider on the audio configuration anyway. Maybe I'm wrong, I don't really know.

At the state the voice is right now, yes, it can be used, it does not crash but some players can't hear anything, and that kinda sucks.

Dutchman101 commented 4 years ago

I was asking cuz I'm working on a server that uses the voice system (TTT), but because it is really, really quiet and, as far as I know, you can't turn up the volume via resource some of my users can't really hear anything the other players are saying, so most of them use discord as an alternative, but this creates some problems.

I didn't search the code about the issue, but I guess it isn't that hard to just turn up a lil bit the volume, we already have an voice slider on the audio configuration anyway. Maybe I'm wrong, I don't really know.

I see now.. if we can't expect the voice overhaul anytime soon, I would agree it's worth looking into the sound volume issue for who uses it in the meanwhile.

qaisjp commented 4 years ago

Principally I would say it should wait on #895, but practically I don't think it's going to happen anytime soon, and it's not worth waiting for it. Also, these features don't seem too difficult to implement.

Einheit-101 commented 4 years ago

I implemented proximity voice long ago and removed it a week later, you cant even hear something when the player is close to you and it gets worse when they move a few meters.

PlatinMTA commented 4 years ago

setSoundVolume kinda fixes the issue, however i needed to put like 6.0 so players can really listen to each other well.

Allerek commented 3 years ago

https://github.com/multitheftauto/mtasa-blue/issues/1146