[REL] Teamspeak Overlay

Discussion in 'Mod Discussions' started by elitedanzel, February 13, 2014.

  1. elitedanzel

    elitedanzel Active Member

    Messages:
    151
    Likes Received:
    137
    Adds a built in TeamSpeak overlay, cause the plugin ones work bad.
    Names appear when people talk and disappear when they be quiet.
    You can drag it around, cause that's cool.

    Screenshot of me talking to myself. #foreveralone
    Capture.PNG


    INSTALL INSTRUCTIONS!!!!
    - Install TeamSpeak3 (obviously)
    - Install the WebSocket plugin http://pamods.github.io/files/ts3_websocket-v1.0.2.ts3_plugin
    - In TeamSpeak, go Settings, Plugins and tick Websocket plugin.
    - Install the TeamSpeak Overlay mod from PAMM.

    Now go on teamspeak and talk and yay!

    This is quickly thrown together based on the code included in the teamspeak websocket plugin, so expect it to break. Hit F5 to refresh the ui if it does.
    If someone wants to style it cooler, please do. https://github.com/pamods/uimod-teamspeak-overlay

    (Done at ZaphodX request, luckily it was easy!)
    The TeamSpeak websocket plugin is from Project Kryptonite, so big thanks to them! https://projectkryptonite.com
    Last edited: February 13, 2014
    mishtakashi, stuart98, darac and 6 others like this.
  2. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Sweet :)
    squishypon3 and stuart98 like this.
  3. cwarner7264

    cwarner7264 Moderator Alumni

    Messages:
    4,460
    Likes Received:
    5,390
    Fantastic work!
  4. zaphodx

    zaphodx Post Master General

    Messages:
    2,350
    Likes Received:
    2,409
    This will really help with my videos. Great work as always man.
    squishypon3 likes this.
  5. brianpurkiss

    brianpurkiss Post Master General

    Messages:
    7,879
    Likes Received:
    7,438
  6. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
  7. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Not working here :(

    upload_2014-2-13_18-34-4.png

    upload_2014-2-13_18-34-36.png
    maxpowerz likes this.
  8. elitedanzel

    elitedanzel Active Member

    Messages:
    151
    Likes Received:
    137
    Thanks, fixed.

    Not sure why it doesn't work for you. Try restart teamspeak?
    Do you have something else listening on port 8666?
    Do "netstat -aon" and check the PID listening on that port matches teamspeak.
  9. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    TCP 0.0.0.0:8666 0.0.0.0:0 LISTENING 7428
    7426 is PID of teamspeak
    Nope doesn't work :(
    Last edited: February 13, 2014
  10. Tripax

    Tripax Member

    Messages:
    67
    Likes Received:
    62
  11. superouman

    superouman Post Master General

    Messages:
    1,007
    Likes Received:
    1,139
    Very useful mod man, especially when you don't remember the voice of each person in the room so you don't need to ask who said what.
  12. elitedanzel

    elitedanzel Active Member

    Messages:
    151
    Likes Received:
    137
    What language is everyones computers that this does/doesn't work for?
    I'm English NZ and it works for me.

    Edit: Might be that you are on a server with strange characters in the channel or users names?
    (https://code.google.com/p/v8/issues/detail?id=761)

    There is an older version of the WebSocket plugin here http://ts3overlay.r-dev.de/download/ (the last file).
    Could someone please try it? (I don't expect it to fix anything, but worth a go)
  13. darac

    darac Active Member

    Messages:
    261
    Likes Received:
    128
    Nice! Downloading...
  14. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Windows Language Is English

    upload_2014-2-14_9-58-52.png
    upload_2014-2-14_10-1-49.png

    Was connected to RLM TeamSpeak hmm maybe some character in the room it didn't like.
    Will retry tonight :)
  15. skipyx

    skipyx New Member

    Messages:
    3
    Likes Received:
    0
    Nice job !
    Do you have to join a TS server / channel before launching the game or does the MOD do that for you ?
    ...Just wondering, wasn't a voice chat planned for PA ? According Features list no....
  16. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Yes you have to join a TS server first :)

    @Danzel still not working tested with RLM Teamspeak server ( channel "Team De Beste") so no funny Chars in that and only I was in the channel so "P Roeleert".

    upload_2014-2-14_17-30-9.png
  17. elitedanzel

    elitedanzel Active Member

    Messages:
    151
    Likes Received:
    137
    Dumb. I tested on RLM server and everything was OK.
    The bug will probably be in the WebSockets plugin for TS3, which is something built by someone else and they haven't released the source AFAIK, so nothing I can do on it sorry :(

    If you extract the plugin (like a zip), there is a test.html
    You could try that in chrome on your computer? If that works, then there is a bug in the webkit version in the PA UI.
  18. maxpowerz

    maxpowerz Post Master General

    Messages:
    2,208
    Likes Received:
    885
    it wouldn't work for me either so i FIXED IT :D
    Replace the Teamspeak.js with the one in my zip file and BAM it'll work for you too :D


    C:\Users\"yourusername"\AppData\Local\Uber Entertainment\Planetary Annihilation\mods\teamspeak\ui\mods\teamspeak

    Attached Files:

  19. cptconundrum

    cptconundrum Post Master General

    Messages:
    4,186
    Likes Received:
    4,900
    What did you change?
  20. maxpowerz

    maxpowerz Post Master General

    Messages:
    2,208
    Likes Received:
    885
    On github..
    The teamspeak.js needs this change to work


    Line 196
    hostname: 'localhost',

    change it to

    hostname: '127.0.0.1',

    TADA
    Last edited: February 15, 2014
    cptconundrum likes this.

Share This Page