Integrating a discord chat into PA

Discussion in 'PA: TITANS: General Discussion' started by NikolaMX, May 17, 2018.

  1. NikolaMX

    NikolaMX Active Member

    Messages:
    139
    Likes Received:
    141
    As many of you already know, due to a recent changes in Ubernet and Playfab, Community chat has been shut down. While I sincerely hope this is only temporary, we still need an active in-game way of direct communication. That's why i'm putting up a prize of 20$ for whoever manages to get a discord integration into PA, with an optional extra 10$ if the integration also supports restricted lobby voice chats.

    The prize will be transferred to the OC team as soon as the mod is published for open distribution on community mods
    lulamae likes this.
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
  3. NikolaMX

    NikolaMX Active Member

    Messages:
    139
    Likes Received:
    141
  4. flubbateios

    flubbateios Active Member

    Messages:
    103
    Likes Received:
    240
    Discord integration with PA is a little tricky for a few reasons.
    • Players do not already have discord accounts if they have a PA account.
    • Linking PA and Discord accounts would be quite hacky.
    • No microphone support in PA through COUI.
    • Not easy to obtain a Rich Presence license thingy if you're not Uber.
    • We don't really know Discord's stance on custom clients. Rich presence is for more detailed presence information, not custom clients.
  5. river39

    river39 Active Member

    Messages:
    165
    Likes Received:
    111
    you should steal how its done in zero k.
  6. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    As far as I can tell after reading the API docs for a bit, the Rich Presence would allow Discord users to invite other Discord users to play or spectate more easily. That should be doable, no?
  7. flubbateios

    flubbateios Active Member

    Messages:
    103
    Likes Received:
    240
    Rich Presence is indeed doable and there is a js wrapper somewhere on NPM. However, I think what Nik is referring to is a custom client that allows in-game text chat.
  8. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Ah, I see. Yeah, that will be a lot more difficult.
  9. flubbateios

    flubbateios Active Member

    Messages:
    103
    Likes Received:
    240
    Alright. I've done some testing with discord-rpc. Looks like it will be a sizable amount of work since we either need to make existing libraries work with pa (babel & polyfill targeting chrome 28 does not work unfortunately) or write a new RPC library.
  10. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    How's it done in zero-k? Last I checked they still use an IRC integration.
  11. river39

    river39 Active Member

    Messages:
    165
    Likes Received:
    111
    what i nothised is a bot on discord putting in chat what was said in local chat and displaying text from discord with discord usernames in game chat.

Share This Page