itokoyamato / tokovoip_ts3 Goto Github PK
View Code? Open in Web Editor NEWTokoVoip is a TeamSpeak plugin used along a FiveM script to add a custom proximity chat and radio system to FiveM
License: Other
TokoVoip is a TeamSpeak plugin used along a FiveM script to add a custom proximity chat and radio system to FiveM
License: Other
Hi, when i launch the plugin , TS3 is starting but nothing installed.
Over time we have radio users unable to hear some other radio users. After they all leave the channel and rejoin the radio channel then everyone can hear again.
I haven't been able to absolutely pin down when this occurs but it happens enough that we have an OOC message specific for this kind of event.
No apparent issues with phone calls initiated with using the same function (addUserToRadio) though they tend to be short and person-to-person.
This has been occurring for at least a month or more now and I only bring it here because I noticed another server having the same kind of issue.
U can still speak after u will die.
Few random people hear everybody at server :(
Hello,
we have ,the problem if someone presses the radio key to talk in a radio, he can hear everbody. What can be the problem?
Je refais un ticket identique au #28 (sry d'avance) en francais pour que tu comprenne mieux le soucis, en gros au bout de 30min voire 1h de jeu, toute les resources utilisant NUI (donc de l'html ou du js) crash instant (exemple le menu ESX et j'en passe). J'essaie de fournir plus d'infos et potentiellement un fix des que je peux.
Everything is working fine until i use the radio, the radio itself works but after talking there my microphone practically stops working in team speak and i cannot speak anymore. Please help
https://pastebin.com/MGg6vk1h
So when has more then 99 players on server , the teamspeak mute all and stop working.
I tried the solution on this issue: #47
By @RRavage
"This is a teamspeak issue. Right click the channel, click "Edit Channel" . Click the advanced tab and change "max users" to unlimited."
But the still problem ocorry, only work if i limit server and channel to 99 players.
We've had some issues with toko voip intermittently cutting out for large groups of people when the server is >= 100 players. It generally happens to clusters of players in groups more than 2.
During this, there seems to a tokovoip resource warning that progressively increases in ms until the server drops back down to 99 slots.
I'm collecting stream clips now so you can see and hear it. I've also asked for more F8 logs from our players.
So here is my code
if CurrentFreq ~= "Aucune fréquence" then if exports.tokovoip_script:isPlayerInChannel(CurrentFreq) == true then exports.tokovoip_script:removePlayerFromRadio(CurrentFreq) end end
when removeplayerfromradio is used, i cant talk on TS, idk whats wrong with this function
After 30 minutes all html base distortion issue continues.
You have plans to extend this script to other platforms such as: alt:v rage:mp?
Tried reinstalling plugin, removing plugin allowed TS to open fine. As soon as plugin is back in Teamspeak will not open.
Attached TS client log
ts3dump_1561657605728.zip
Looks like FiveM released an update and broke us on TwitchRP. Here is a log snippet
[ 77296] TokoVoip: Initialized script (1.3.2)
[ 77296] nui://tokovoip_script/nui/script.js:38, TokoVOIP: attempt new connection
[ 77296]
[ 77312] nui://tokovoip_script/nui/script.js:42, TokoVOIP: connection opened
[ 77312]
[ 77453] EndpointMapper::HandleRequest: GET /cloud/11/cloudservices/titles/gta5/pcros/bgscripts/bg_ng_1604_0.rpf
[ 77531] Error resuming coroutine: @tokovoip_script/src/c_main.lua:110: attempt to index a number value
[ 77531] stack traceback:
[ 77531] @tokovoip_script/src/c_main.lua:110: in function 'clientProcessing'
[ 77531] @tokovoip_script/src/c_TokoVoip.lua:34: in function <@tokovoip_script/src/c_TokoVoip.lua:31>
[ 77562] Mumble_RunFrame: capture device changed in GTA code, changing to index 0 (last -1)
[ 77562] Mumble_RunFrame: this device index is GUID {CF688F61-3100-4A5A-A14E-30311B4A3A17}
[ 77562] Mumble_RunFrame: device should've changed by now!
[ 77562] Returning device Speakers (Logitech G933 Gaming Wireless Headset) for GUID {284773BB-93A7-4F46-B390-D17F104BB41A}
From speaking to one of the devs, looks like the call on line 110 was trying to get Gameplay Camera Rotation to determine the sound orientation. Appears that this was changed to a number and not a vector:
17:57] Rinn: GetGameplayCamRot()
[17:57] Rinn: looks like that is returning a number instead of a vector
We are trying to re-compile Tokovoip on a fresh build environment and we got these errors aside from the usual C++ deprecation warnings:
"C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\TokoVoip.sln" (Build target) (1) ->
"C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\RadioFx.vcxproj.metaproj" (default tar
get) (2) ->
"C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\RadioFx.vcxproj" (default target) (5)
->
(Link target) ->
mod_radio.obj : error LNK2019: unresolved external symbol "void __cdecl outputLog(class std::basic_strin
g<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned long)" (?outputLog@@YAXV?$basic
_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@Z) referenced in function "public: void __thiscall
Radio::onEditPlaybackVoiceDataEvent(unsigned __int64,unsigned short,short *,int,int)" (?onEditPlaybackVoi
ceDataEvent@Radio@@QAEX_KGPAFHH@Z) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\Rad
ioFx.vcxproj]
mod_radio.obj : error LNK2019: unresolved external symbol "void __cdecl sendCallback(class std::basic_st
ring<char,struct std::char_traits<char>,class std::allocator<char> >)" (?sendCallback@@YAXV?$basic_string@
DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: virtual bool __thiscall
Radio::onTalkStatusChanged(unsigned __int64,int,bool,unsigned short,bool)" (?onTalkStatusChanged@Radio@@UA
E_N_KH_NG1@Z) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\RadioFx.vcxproj]
mod_radio.obj : error LNK2019: unresolved external symbol "public: int __thiscall Tokovoip::initialize(c
har *)" (?initialize@Tokovoip@@QAEHPAD@Z) referenced in function "public: __thiscall Radio::Radio(class TS
ServersInfo &,class Talkers &,char const *,class QObject *)" (??0Radio@@QAE@AAVTSServersInfo@@AAVTalkers@@
PBDPAVQObject@@@Z) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\RadioFx.vcxproj]
plugin_qt.obj : error LNK2019: unresolved external symbol "public: void __thiscall Tokovoip::shutdown(vo
id)" (?shutdown@Tokovoip@@QAEXXZ) referenced in function "public: virtual void __thiscall Plugin::shutdown
(void)" (?shutdown@Plugin@@UAEXXZ) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\Rad
ioFx.vcxproj]
C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\Release\RadioFx.dll : fatal error LNK
1120: 4 unresolved externals [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build32\RadioFx.v
cxproj]
"C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\TokoVoip.sln" (Build target) (1) ->
"C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\RadioFx.vcxproj.metaproj" (default tar
get) (2) ->
"C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\RadioFx.vcxproj" (default target) (5)
->
(Link target) ->
mod_radio.obj : error LNK2019: unresolved external symbol "void __cdecl outputLog(class std::basic_strin
g<char,struct std::char_traits<char>,class std::allocator<char> >,unsigned long)" (?outputLog@@YAXV?$basic
_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@K@Z) referenced in function "public: void __cdecl Ra
dio::onEditPlaybackVoiceDataEvent(unsigned __int64,unsigned short,short *,int,int)" (?onEditPlaybackVoiceD
ataEvent@Radio@@QEAAX_KGPEAFHH@Z) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\Radi
oFx.vcxproj]
mod_radio.obj : error LNK2019: unresolved external symbol "void __cdecl sendCallback(class std::basic_st
ring<char,struct std::char_traits<char>,class std::allocator<char> >)" (?sendCallback@@YAXV?$basic_string@
DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: virtual bool __cdecl Rad
io::onTalkStatusChanged(unsigned __int64,int,bool,unsigned short,bool)" (?onTalkStatusChanged@Radio@@UEAA_
N_KH_NG1@Z) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\RadioFx.vcxproj]
mod_radio.obj : error LNK2019: unresolved external symbol "public: int __cdecl Tokovoip::initialize(char
*)" (?initialize@Tokovoip@@QEAAHPEAD@Z) referenced in function "public: __cdecl Radio::Radio(class TSServ
ersInfo &,class Talkers &,char const *,class QObject *)" (??0Radio@@QEAA@AEAVTSServersInfo@@AEAVTalkers@@P
EBDPEAVQObject@@@Z) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\RadioFx.vcxproj]
plugin_qt.obj : error LNK2019: unresolved external symbol "public: void __cdecl Tokovoip::shutdown(void)
" (?shutdown@Tokovoip@@QEAAXXZ) referenced in function "public: virtual void __cdecl Plugin::shutdown(void
)" (?shutdown@Plugin@@UEAAXXZ) [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\RadioFx
.vcxproj]
C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\Release\RadioFx.dll : fatal error LNK
1120: 4 unresolved externals [C:\Users\Administrator\Desktop\git\Tokovoip_TS3\ts3_plugin\build64\RadioFx.v
cxproj]
Using:
It would be possible to force equalizing people's voice by sending the parameters (low_freq, high_freq, fudge, rm_mod_freq, rm_mix, o_freq_lo, o_freq_hi) along with the radioEffect = true parameter that is already sent in the c_main.lua file, and ignoring the setting made by the user on Radio FX. I would like to create a default setting for the radio and with the same voice effect for everyone on my server. If there is already the possibility I ask you to help me how should I send the parameter.
Hello Dylan, again I came here to report a problem that still persists even with the new version.
After a while this error starts on the console and then players stop listening to some in the game and others can perfectly hear the person the other player may not be able to hear.
only returns to normal when I force a manual restart in the console script
There are missing files on /src
Numerous re-installs, restarts and file relocations have proved unsuccessful. TS3 installs and opens just fine, upon installation of TokoVoIP 1_2_2, TS3 crashes immediately upon launch. Once any trace of Toko is removed, TS3 opens fine once again.
Crashes were present in these situations:
Teamspeak3 3.3.0 both 32 bit and 64 bit using Toko 1_2_2
Teamspeak3 3.2.5 both 32 bit and 64 bit using Toko 1_2_1_3
Attached is most recent crash dump from TS3 3.3.0 64 bit with Toko 1_2_2
Contact @Aklaba#2703 on Discord for more information if necessary.
ts will halt for about 10+ mins with this error in log and then will open normally i have tried reinstalling ts and plugin tried on another windows 10 pc and even on a windows 7 rig to no avil same issue across 3 pcs with all three having very different hardware... i have attached a log so you can see what is going on
ts3client_2019-12-18__01_45_41.684063.log
First id like to thank you for putting this out there for us.
ive made a little script to let the police change channels but when I press caps I get a bling noise and nothing happens except its like ts3 changed to continuous activation, anybody close by can hear me as if I'm pressing my ts3 ptt.
in the top left it says
[TokoVoip] normal on radio
[phone] Call with PD radio.
Debug says RadioTalking:false
If I clear the channel I'm in it does not clear the problem. im stuck as if im pressing PTT always.
If I re-join the ts3 server and the channel I get the radio bleeps again.
also Shift + Z has no affect on what channel I'm in.
Please let me know if there is anything else you may need to know.
Thanks again
Can the switch to game channel function be extended to first connect the Teamspeak client to the correct Teamspeak server? This would cut back heavily on the number of Teamspeak server licenses, as players can sit with their Teamspeak clients open but disconnected; FiveM servers with >100 players quickly hit the standard 128 server slot limit if there is a significant player queue.
This would also do away with FiveM players having to configure their Teamspeak server settings.
We'd also need a Teamspeak server password setting
For every player (on slower pc's it's even worse) screen flickers like the script thinks u are not connected to channel or on teamspeak and works after some time and does it again, not sure what does it but for some users it's annoying (slower pc users as the black screen stays longer).
guys there is a one room
and 3 player
how to set this 3 people to 3 different channel ? not to radio.
i do
exports.tokovoip_script:addPlayerToRadio(xx)
but when i do like this . nearest people can hear me. how to add player to channel not to Call with raido. ? like we are far from each other. ?
Hey,
I'm using 2 scripts, one of them is the gcphone and one is a custom police radio.
Whenever I use the radio channel, the player(s) cannot speak normaly in the teamspeak.
The only way they can is in the radio channel or after they reconnect.
I've noticed to someone who posted the same problem on a public tokovoip addon (alcapone-dev/ls-radio#3).
Any help ? thanks !
How can I change to the police channel as an (example) police officer?
Do I have to set the channels first or create a channel?
If I use the radio script (https://github.com/lakilea/esx_croone_walkietalkie) and talk to a channel there and finish it again, then other players will not hear me anymore and in the TS (leaving the game) you will not hear me anymore!
Hello Dylan Thuillier, I'm having problems with this current version.
my players after a while get freeze after opening the chat or any panel inside the game. Do you know what can be my problem? I checked and this problem only happens in the current version.
sorry for my English.
Hi,
Thank you for your support, this system is beautiful and in the future I will be contributed for you improve both for this platform and for others.
I have a question to ask.
Sorry for my English, I'm Brazilian using google translator.
On a FiveM server I have a radio that uses the CapsLock key.
However, if I put Voice Detection on TeamSpeak and use this radio in game, my voice detection no longer works. I'm forced to use Push to Talk on TeamSpeak. I wonder if there is any way to fix this.
Hello, it seems that users that are not included in the lua users table and join the channel after you will not be muted until you are told to do so.
It means that the plugin should mute automatically ALL PEOPLE that join the channel to be certain that they will be unmuted only if needed
bool change_ts_name = json_data["change_ts_name"]; // -- Added Boolean for changing TS name or not
// Set client's name to ingame name if (change_ts_name) { char * newName = new char[localName.size() + 1]; std::copy(localName.begin(), localName.end(), newName); newName[localName.size()] = '\0'; if (strcmp(lastNameSet, newName) != 0) setClientName(newName); delete[] newName; } else { // Do Nothing no need for changing Name }
For the life of me I can not figure out what to enter into this line to get the in game name showing in TS:
I have tried this:
localName = "[" .. GetPlayerName(playerList()) .. "] ", -- If set, this name will be used as the user's Teamspeak display name
I have also tried to just set it to local as well.
Used to use tokovoip perfectly fine, but now it doesn't seem to start correctly with thes server. When I do a manual start or restart of the script I get this:
SCRIPT ERROR: citizen:/scripting/lua/scheduler.lua:878: No such export doSendNuiMessage in resource tokovoip_script
handler (@tokovoip_script/c_config.lua:55)
I cannot seem to figure out what is causing it...
Hello,
i tried a little bit with addPlayerToRadio.
So the thing is, if i join a channel and my mates too, and we press the RadioKey, we can hear us, that works well.
So the thing is now after pressed the key once, we cant talk normal and we always need to press the radio that we can speak to normal players too. Also i need to rejoin the Teamspeak Server to speak again
RegisterCommand('testRadio', function(source, args)
TriggerEvent('chat:addMessage', {
args = { 'Add to Radio' }
})
addPlayerToRadio(2);
end, false)
RegisterCommand('leaveRadio', function(source, args)
TriggerEvent('chat:addMessage', {
args = { 'Remove from Radio' }
})
removePlayerFromRadio(2);
end, false)
thats what i tried.
Hello,
I can hear everyone on the channel, the local mute/unmute is not working!
TS Version: 3.2.2
Plugin Version : 1.2.5
As the title suggests, RadioFX effect does not apply to some users talking through the radio
Wanted to bring this back up as toko actually crashes after hitting 100 players. It starts with the inability to hear each other - I don't know if this is a script issue so much as an issue with the plug in itself.
I show myself speaking with others unmuted but we do not hear each other. Teamspeak eventually crashes, as well as no longer showing the server that toko is working. This happens to ALL players on the server.
Hey i have a problem i am trying to install the new Version of tokovoip and all works perfectly but the i anted to actived the plugin and the my Teamspeack crashes did i do anything wrong?
Newest TS3 update causes TokoVOIP plugin to fail to load
TS3 version 3.3.0 (6/18/2019)
"Api version is not compatible: 22 (minimum 23, current: 23)"
So since using toko we have has the same recurring issue that is random for me but some have it happen permanently the issue is that although i/they have the plugin on ts3 enabled the game will not see it as enabled
This is only 2 refs to toko in the CitizenFX log when it dose not work and 4 when it dose so for some reason its not initialized
{BROKEN}
[tokovoip_script]
Creating script environments for tokovoip_script
{WORKING}
[tokovoip_script]
Creating script environments for tokovoip_script
TokoVoip: Initialized script (1.3.4)
nui://tokovoip_script/nui/script.js:40, TokoVOIP: attempt new connection
nui://tokovoip_script/nui/script.js:44, TokoVOIP: connection opened
I know there is not much info here but im trying
http://prntscr.com/ogj7mk get this error and cant get pass this screen any tips?
Can we set radio volume ?
The Script is not Running anymore
Getting error:
Failed to install Add-On. Do you want to retry as Administrator?
Hit Yes, Get UAC confirmation, hit Yes
Comes back to same error.
Windows 7 64 bit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.