General > Developers Corner

ULX command to connect to teamspeak

(1/3) > >>

frustratedgamers:
Not sure if this is possible to do since obviously it has to open the program on your computer but if it is possible I think having a command to connect to a servers teamspeak would be pretty cool.

JamminR:
You're correct in your guessing, not possible without a heck-of-a-lot of third party stuffs.
Overall, it COULD be designed by someone wanting to write some third party dlls/libraries, BUT, no developer in thier right mind should ever do this.
All it would take is another malicious person to reverse engineer how it's done, release another dll as thier own, then the whole GMod Lua world becomes virus/worm ridden because it just got access to executables on everyone's computers.

The only limited way I could see it working now was if the Gmod HTML engine allowed non-standard links (like, steam://blah/appid URLs start some multiplayer games from websites).
1, I don't know if the Source/Gmod HTML engine allows for non-standard URLs, and 2) I've no idea if TeamSpeak has such a url protocol for web pages that would start it.

Bite That Apple:

--- Quote from: frustratedgamers on December 06, 2013, 02:51:41 PM ---Not sure if this is possible to do since obviously it has to open the program on your computer but if it is possible I think having a command to connect to a servers teamspeak would be pretty cool.

--- End quote ---

A very small yes and a huge no. You could 'technically' find the dll that runs teamspeak, redo the entire thing so it works for gmod and have it connect to the servers teamspeak ip.

So basically no, that is not possible, AS FAR AS I KNOW.

Bite That Apple:

--- Quote from: JamminR on December 06, 2013, 03:03:50 PM ---I've no idea if TeamSpeak has such a url protocol for web pages that would start it.

--- End quote ---

They do, it's called "ts3server://"

Megiddo:

--- Quote from: JamminR on December 06, 2013, 03:03:50 PM ---The only limited way I could see it working now was if the Gmod HTML engine allowed non-standard links (like, steam://blah/appid URLs start some multiplayer games from websites).
1, I don't know if the Source/Gmod HTML engine allows for non-standard URLs, and 2) I've no idea if TeamSpeak has such a url protocol for web pages that would start it.

--- End quote ---

What JamminR said. This is the only way I could see it working without a module installed on the client. Teamspeak does have a weblink connect ability

Chaos beat me to it...

Navigation

[0] Message Index

[#] Next page

Go to full version