Page 1 of 1
[HL2:DM] join to Teamspeak
Posted: Mon Jan 09, 2017 2:25 pm
by Painkiller
Hello,
There were formerly different plugins to join via a chat command in the game into teamspeak.
But for many years, nothing works.
Is there a solution as it might work again?
Thanks in advance
Re: [HL2:DM] join to Teamspeak
Posted: Mon Jan 09, 2017 3:12 pm
by Kill
Launch Teamspeak with an ingame command? That sounds dangerous.
Re: [HL2:DM] join to Teamspeak
Posted: Mon Jan 09, 2017 3:17 pm
by Painkiller
Why does it sound dangerous?
Re: [HL2:DM] join to Teamspeak
Posted: Mon Jan 09, 2017 6:05 pm
by Kill
Painkiller wrote:Why does it sound dangerous?
Because simply with a command, You have the ability to launch an external application.
Re: [HL2:DM] join to Teamspeak
Posted: Mon Jan 09, 2017 6:06 pm
by decompile
You were able to do that back in the days, mostly to connect to another server with 1 click through the steambrowser. AFAIK its completly blocked now.
Re: [HL2:DM] join to Teamspeak
Posted: Mon Jan 09, 2017 7:29 pm
by Painkiller
Would it be feasible via webshortcut?
Re: [HL2:DM] join to Teamspeak
Posted: Tue Jan 10, 2017 12:13 am
by La Muerte
Its pretty much 99.9% certain this won't work but feel free to try it out anyhow (after replacing <IP> with your ts3 IP).
Syntax: Select all
from messages import VGUIMenu
from commands.say import SayCommand
def motd(index, title, site, show=True):
name = 'info'
subkeys = {'title': title, 'type': '2', 'msg': site}
VGUIMenu(name, subkeys=subkeys, show=show).send(index)
@SayCommand('!ts3')
def _rules_say_command(command, index, team):
motd(index, 'rules', 'ts3server://<IP>')
In fact, I sort of hope this sort of thing isn't possible, before people start sending eachother torrents through magnet links hehe.
Re: [HL2:DM] join to Teamspeak
Posted: Tue Jan 10, 2017 9:30 am
by Painkiller
Unfortunately, nothing happens, there are no errors in the log.
Syntax: Select all
@SayCommand('!ts')
def _rules_say_command(command, index, team):
motd(index, 'rules', 'ts3server://ts.rocks-clan.de')
Re: [HL2:DM] join to Teamspeak
Posted: Tue Jan 10, 2017 7:52 pm
by decompile
Good to know that server operators can't do fishy stuff on their users anymore.
So theres pretty much nothing left than letting your users know about your teamspeak with a simple chat message. They need to manually connect to your teamspeak or paste the "open teamspeak url and connect" into their browser.