Community Mods / Community Servers & palobby.com Games Browser / Stats / Unit Database / Wiki

Discussion in 'PA: TITANS: General Discussion' started by mikeyh, June 28, 2015.

  1. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    Community Mods is now explicit opt-in.

    Community Chat is no longer active and the Community Chat mod is no longer automatically installed by Community Mods.

    For the list of functionality removed see: https://forums.uberent.com/threads/...-unit-database-wiki.69168/page-7#post-1146516

    https://palobby.com/ provides a web version of the following from PA:
    The games browser is bandwidth intensive so a full screen semi-responsive chat only version is available at https://palobby.com/community-chat/

    You can show games for PTE and private builds using the build query parameter:

    Web Based Community Chat and PlayFab / Ubernet Logins

    Chat is optional and uses your PA linked PlayFab / Ubernet login on https://palobby.com/.

    Community Chat is a great place to ask questions, find a game, etc.

    You'll find many of the top players, mod developers, moderators and Uber staff logged into Community Chat via palobby or in game with Community Chat (sometimes both).

    The chat colours are:

    • orange: room owners
    • blue: room moderators
    • hot pink: your messages
    • red background: mentions (to mention type part of a name then press tab to auto complete)
    Chat desktop notifications can be enabled or disabled using the notifications checkbox in the top right of the window. Desktop notifications for mentions override the notifications settings and will stay open on screen.

    For privacy on a technical level we proxy all logins, API calls and XMPP chats directly via Nginx to the PlayFab/UberNet servers with no processing or logging of data.

    Browser Support

    At this time Google Chrome or Chromium based browsers provide the best experience and are required for chat only.

    Cross browser support is a painful work in progress with the way tables, flex, bootstrap and panels are all used together in the PA HTML5/JavaScript user interface with Coherent UI which is based on Chromium.

    Experimental support is enabled for the following browsers:
    • Safari 9+ on OS X
    • Mobile Safari 9+ on iOS
    • Firefox latest
    • Microsoft Edge / IE11 latest (no chat)
    History

    Community Chat is a big refactor of the PA Chat internals to use the new Community Chat server based on web sockets with an improved user interface that is cross browser, scales better and can be shared easily between https://palobby.com/ and the Community Chat mod.

    The previous PA Chat was a big refactor of the original PA Stats chat client mod with /chat reworked to make chat only responsive for at least Chrome or Chromium based browsers.

    https://palobby.com/ was originally based on my Faster Server Browser client mod changes added to the server browser HTML5/JavaScript user interface with lots of tweaks to fake out the PA engine and Coherent UI in a web browser.

    Reset

    Use the RESET button on https://palobby.com/ to clear cached data and reload.

    Stack for Community Mods / Community Chat / Community Servers / PA Lobby


    Nginx / NodeJS are the dev stack for all new projects.
    • Nginx 1.12.x / http2 (latest)
    • NodeJS 9.x (community chat / community mods / custom servers feed)
    • Percona MongoDB 3.2.x (community chat)
    • Debian 8.x
    • Linode (8GB / 4 cores / 96 GB SSD / 4TB transfer / 40Gbit network in / 1Gbit network out / KVM)
    Legacy Services
    • Apache 2.4 / PHP 7.x (legacy games feed, stats and ranks)
    • Percona MySQL 5.7.x
    No longer using:
    • DynECT Anycast DNS
    • NSONE Anycast DNS
    • NewRelic server monitoring
    PA Stats has now been decommissioned. The stack for PA Stats was:
    • Tomcat 8 / Java 1.7 (for PA Stats using Scala until compatible with 1.8)
    • PostgreSQL 9.4
    • Linode KVM (12GB / 6 cores / 192 GB SSD / 8TB transfer / 40Gbit network in / 1Gbit network out)
    We currently serve around 20 million requests and 1.5TB per month for the Community Mods and Community Servers feeds.
    Last edited: May 20, 2018
    tracert, g0hstreaper, Nicb1 and 7 others like this.
  2. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    The palobby frameworks were updated last week to use the same (or newer) versions of shared libraries from the current PA builds.

    One of the fixes was high CPU when chat was open inside the Google Chrome process (not the web page process)... at least on OS X.

    The weird cause was a combination of CSS used in the chat windows:

    Code:
    border: 2px solid rgba(255,255,255,.1);
    background: linear-gradient(to top, #111 0%, #000 100%);
    Removing this css resolved the high CPU and it looks like this was an issue within Chrome that is not reproducible within PA / Coherent.

    It does look like opacity over OpenGL views can impact low end and integrated GPUs.
    Clopse likes this.
  3. ikickasss

    ikickasss Active Member

    Messages:
    349
    Likes Received:
    114
    Question about palobby.com So when I go to that website in the upper right hand corner I see 178 players , 200 games, and 410 steam. What do those categories mean . Does it mean there are 178 players using the uber launcher in pa game, 200 games currently being playerd , and a additional 410 players playing pa from steam, giving the online totals of total pa players currently to 588? Just curious since seems like less and less are playing.
  4. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    The first two numbers are from the Uber games feed which used to show the number of players and games using server resources (private, friends, public, etc). @jables can confirm as that may have changed.

    Steam is the number of players from the Steam API and will include both online and offline players.
  5. andrehsu

    andrehsu Active Member

    Messages:
    366
    Likes Received:
    120
    If the steam api includes both online and offline players, then how is it possible for the number for decrease
  6. dom314

    dom314 Post Master General

    Messages:
    892
    Likes Received:
    1,190
    I think he means online and local 'offline' but currently playing players.
  7. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    Added info on build query parameter to show PTE builds.
    proeleert likes this.
  8. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    PA Chat has been updated on https://palobby.com with the following:
    • single listing in rooms for multiple logins (PA / PALOBBY, etc)
    • 1v1 rank league images fade over time once you go inactive
    • web icon for people logged in outside of PA
    • revised help system:
      • shows only commands available to current user
      • specific help for PA vs PA Lobby
    • rank and web status in friends list
    • right click to clear red mention when minimised
    • improved command error messages
    • major refactor of internals
    To Do:
    • (re)join buttons when room is closed (I still misspell halcyon at least once a week)
    • /setcolor and /resetcolors
    • /leftalign
    • show last ranked match info
    • uber session timeout handling
    • title bar command links when space available eg /help or /live
    • fix ghost tooltips when user list updates
    • enable friend requests when logged into PA Lobby
    • html help (maybe)
    After some more testing the PA Chat code will be ready to split out of PA Stats into a separate client mod that will share identical code with PA Lobby.
    tracert, andreasgg and proeleert like this.
  9. mkrater

    mkrater Uber Alumni

    Messages:
    1,349
    Likes Received:
    1,830
    Let me guess: halycon? :p
    stuart98 likes this.
  10. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    PA Chat has been updated on https://palobby.com with the following:
    • time breaks in chat (variable spacing up to 15 minutes then separator over 15 minutes)
    • right click context menu mention for hard to autocomplete names
    • messages are no longer duplicated when reconnecting
    • improvements to handling of network issues (still more to do on this)
    Under the hood
    • improved and throttled ubernet requests for user tag map (no double update on refresh, etc)
    • PA: uberbar scene can safely be reloaded in most scenarios
    • PA: automatic ajax for ubernet requests (no need for separate setting)
    • PA: automatic optimise user tag map (separate mod no longer required)
    To Do
    • add timestamps, time breaks and URL handling to PA private chats
    • show last ranked match info
    • uber session timeout handling
    • title bar command links when space available eg /help or /live
    • fix ghost tooltips when user list updates
    • enable friend requests when logged into PA Lobby
    • html help (maybe)
    proeleert, tracert, tunsel11 and 4 others like this.
  11. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
  12. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    moved to titans forums on request
  13. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    PA Chat is now a separate client mod on PAMM which is also loaded by PA Stats.

    You can safely enable both mods at the same time as they load the same version of chat and check for duplicates.
    Quitch likes this.
  14. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Fun thing: Use chromes webapp feature to make it look like a native application:

    [​IMG]

    To do that simply go menu > extra tools > add to taskbar to get a link in your taskbar for that "application".
  15. Elate

    Elate Active Member

    Messages:
    116
    Likes Received:
    109
    yeyes.gif
  16. dom314

    dom314 Post Master General

    Messages:
    892
    Likes Received:
    1,190
    My plea for help/request for footage has been immortalised forever. +1
  17. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    PA Chat is now using Titans ranks.
    Clopse and andreasgg like this.
  18. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    Clopse and Remy561 like this.
  19. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    After some nginx debugging I've hopefully fixed the issue that would cause playfab logins to stop working periodically.

    Upstream keep-alive connections were not closing correctly :-(
    Clopse and proeleert like this.
  20. mikeyh

    mikeyh Post Master General

    Messages:
    1,882
    Likes Received:
    1,535
    The outage yesterday from 19:00 - 22:00 UTC was caused by XMPP server issues and we lost the room configurations.

    If any friend lists disappeared during the outage you can use /tryfixfriends in PA which was broken and is now fixed.

    I'll be adding outage handling and system messages to prevent constant reconnects when there are known XMPP server issues.

Share This Page