Giter VIP home page Giter VIP logo

tokovoip_ts3's Introduction

Introduction: TokoVOIP

TokoVOIP is a TeamSpeak plugin used along a FiveM script to add a custom proximity chat and radio system to FiveM

It includes radio effects thanks to the integration of the RadioFX plugin

Downloads are available on the releases page

If you like TokoVOIP, give it a star ! It'd be much appreciated <3

We have a Discord server to discuss, or if you need help !
Discord

You can support my work:
Patreon Donate

Table of Contents

Setting up TokoVOIP

You can download the ws-server, fivem-script & ts3-plugin on the release page

(players) Setting up the ts3-plugin

Every player must install Teamspeak 3 and the TokoVOIP plugin

  • Install the plugin downloaded on the release page
  • Connect to the fivem server
  • Connect to the TS3 server
  • Join the right TS3 channel

The TS3 Plugin will connect only if you are already in-game
The TS3 Plugin will try to connect if you join a TS3 channel containing 'tokovoip' in it's name
You can use the buttons in Plugins->TokoVoip to manually connect/disconnect the TS3 Plugin

(servers) Setting up the ws-server and fivem-script

Step 1: Setting up the ws-server

  • Download ws-server from the release page
  • Extract it in your fivem resources folder
  • Open ws_server/config.js
  • Change "TSServer" to your Teamspeak server IPv4
    Note: domain names are currently not supported. Please open an issue if that's something you would like to see available
  • start ws_server in your fivem server console
  • Copy the IP:PORT in the console after Listening on and save it for Step 2: Setting up the fivem-script

Step 2: Setting up the fivem-script

A documentation for the FiveM script is available here

(servers) Setting up ws-server as Standalone

It can be run as a standalone NodeJS application, on the same machine as your fivem server, or on a completely different machine

  • Download Node.js
  • Open config.js
    • Change "TSServer" to your Teamspeak server IPv4
    • If the ws-server is hosted on a separate machine:
  • Open ws-server folder in cmd / terminal
  • Execute npm i
  • After its done run node index.js
    A module such as pm2 can be used to run the ws-server in the background

(servers) Onesync Infinity

Onesync infinity is supported with TokoVOIP 1.5.0+
By default, Teamspeak servers silence everyone when more than 100 users are in a channel
Make sure your teamspeak server is configured properly:

  • Right click your teamspeak server
  • Press Edit virtual server
  • Press more
  • Open tab Misc
  • Change the value of Min clients in channel before silence

How does it work ?

The system is based on websockets
In-game data is sent through websockets to the TS3 plugin
FiveM blocks websockets running on the local network, we must use a remote ws-server

TS3 has no way to know on which fivem server you are currently on locally, a handshake system is required
A master server is used to register handshakes
That is it's only purpose, everything else is run on your own self-hosted ws-server and fivem-script

  • Phase 1 - Handshake:
    • fivem-script -> ws-server -> register for handshake (master server)
    • ts3-plugin -> look for handshake (master server) -> ws-server

Once the fivem websocket & ts3 websocket successfully handshaked, the master server is not used anymore

  • Phase 2 - Communicate:
    • fivem-script -> ws-server -> ts3-plugin
    • fivem-script <- ws-server <- ts3-plugin

Why do I need a ws-server ?

Read the following:

TROUBLESHOOTING (only 1.5.2)

FiveM websocket keeps saying Not connected:

  • FiveM didn't successfuly connect to the websocket server.
  • Make sure your websocket port is open
  • Make sure firewall isn't blocking your port

Ts3 websocket keeps saying Not connected:

  • Make sure your waiting channel has tokovoip in the name
  • FiveM and Ts3 didn't successfuly handshake
  • Make sure your websocket has proper teamspeak, fivem and ws ip
  • Try manually using the connect button in Plugins -> TokoVoip -> Connect

Could not find dependency yarn for resource ws_server:

Terms and conditions

A 'TokoVOIP' watermark must be visible on screen. You can move it, change it's design however you like.
Just keep one somewhere. Thanks
For the rest, refer to the license

Contributing

I am open to pull requests, feel free to build upon my work and improve it Mind you, this is my only project done in C++ and have only done low level C projects, so I am certain a lot of improvements can be made

Building the TS3 plugin

You will need the following installed:

Clone the repo and don't forget to initialize the submodules:

git submodule update --init --recursive

Then move to the ts3_plugin folder, and generate the Visual Studio solution: (set the correct path to Qt)

mkdir build32
cd build32
cmake -G "Visual Studio 15 2017" -DCMAKE_PREFIX_PATH="<PATH_TO>/Qt/5.12.7/msvc2017" ..
cd ..
mkdir build64
cd build64
cmake -G "Visual Studio 15 2017 Win64"  -DCMAKE_PREFIX_PATH="<PATH_TO>/Qt/5.12.7/msvc2017_64" ..

The visual studio solutions are available in their platform specific folders. You're ready to go !

Packaging the TS3 plugin

Making a TS3 plugin package is very easy, you can use the template in ts3_package if you want. You will need:

  • package.ini file which gives some info about the plugin
  • .dll files in a plugin folder

The .dll should have a suffix _win32 or _win64 matching their target platforms.

Then, archive the whole thing as a .zip file, and rename it to .ts3_plugin.

It's that simple.

Archive tree example:

.
+-- package.ini
+-- plugins
|   +-- tokovoip
|       +-- walkie_talkie16.png
|       +-- mic_click_off.wav
|       +-- mic_click_on.wav
|   +-- plugin_win32.dll
|   +-- plugin_win64.dll

Dependencies and sources

tokovoip_ts3's People

Contributors

cryptogenics avatar dependabot[bot] avatar flawwsx avatar floppypancakes4u avatar fragaverage avatar frazzie avatar holfz avatar itokoyamato avatar kak-s avatar konscyence avatar mkafrin avatar pichotm avatar poggicek avatar slasher2099 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tokovoip_ts3's Issues

TokoVOIP stuck on Initializing after 7/8/2019 FiveM Update

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

Freeze in game

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.

Unable to compile due to unresolved external symbols

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]

Screenshot of the build environment

Using:

  • Qt 5.12.2
  • MSVC 2017 Build Tools

versions

You have plans to extend this script to other platforms such as: alt:v rage:mp?

Voip consistency >= 100 players

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.

#29

Api

How do i fix this

ts3client_win64_yJM04cPN1l

Voip consistency >= 100 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.

Not able to talk on TS after used removePlayerFromRadio

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

Update Check

Can i close update check. Because i do not want to update it and a popup notification opening while i am in role play. This notification minimizing the game.
?
Toko

Api version is not compatible

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)"

Some clients are not able to communicate with the ts3 plugin

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

0e7b59e9ac8a96cd5aee62ccbc8f3b41

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

Problem with a 100+ players

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.

Unresolved Externals - Building Solution

Hi

I'm quite new to c++/c so sorry if this is a basic mistake.

When I try to build the plugin solution in VS I get the following errors:

image

Any idea what I am doing incorrectly?

Thanks,
Jamie

HTML crash apres 1h de jeu

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.

Push to Talk vs Voice Activation Detection

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.

Script Erro

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

image

force equalizing people voice sending parameters

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.

After die

U can still speak after u will die.

Unable to do a pull request :(

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 }

Create channel and plugins?

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!

unable to get radio working.

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

Immediate crash on TS3 3.3.0 with TokoVoIP 1_2_2 on Windows 10 Pro 1803

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

ts3dump_1561637942895.zip

Contact @Aklaba#2703 on Discord for more information if necessary.

Radio usage blocks your abillity to speak

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 !

optimizations ??

is optimizations planned, my server is so laggy with this script and the ms.. o_o

image

doSendNuiMessage error

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...

Auto-connect to Teamspeak server on initialize

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

add a channel not to Call with radio.

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. ?

Radio users stop being able to hear other radio users over time

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.

Unable to install update 1.2.2, Win7

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.

Screen goes "black" as the info thing pops up some times.

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).

TS 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.

addPlayerToRadio and Leave

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.

Crash

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?

"Hear everyone issue" how to fix it

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

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.