GithubHelp home page GithubHelp logo

leighmacdonald / uncletopia Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 11.0 149.59 MB

Ansible playbook for uncletopia server cluster

License: MIT License

Makefile 0.06% Shell 0.29% Jinja 3.91% Python 0.21% SourcePawn 88.25% Pawn 1.32% C++ 2.69% ReScript 0.03% Lua 3.23% Dockerfile 0.01%

uncletopia's People

Contributors

crescentrose avatar gcommer avatar jack-avery avatar jonttm avatar leighmacdonald avatar rtldg avatar xnanochip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uncletopia's Issues

Fix this so it doesn't update plugin.cronjobs.cfg every single time

changed: [eu1.uncledane.com] => {"changed": true, "cmd": "/usr/bin/rsync --delay-updates -F --compress --delete-after --archive --no-owner --no-group --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --out-format=<<CHANGED>>%i %n%L /home/jonttm/git/uncletopia-prod/roles/tf2/files/tf/cfg/sourcemod [email protected]:serverfiles/tf/cfg/", "msg": ".d..t...... sourcemod/\n<f..t...... sourcemod/nativevotes.cfg\n<f..t...... sourcemod/plugin.cronjobs.cfg\n<f..t...... sourcemod/sourcemod.cfg\n", "rc": 0, "stdout_lines": [".d..t...... sourcemod/", "<f..t...... sourcemod/nativevotes.cfg", "<f..t...... sourcemod/plugin.cronjobs.cfg", "<f..t...... sourcemod/sourcemod.cfg"]}

make system is not executing on us3

make system is failing at the first task on us3 causing things like restart times to not update

More info:

TASK [system : apt upgrade] *************************************************************************************************************************************************************************************
fatal: [us3.uncledane.com]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: "}

Execute sudo apt update on us3

tf2server@localhost:~$ sudo apt update
Hit:1 http://mirrors.linode.com/ubuntu bionic InRelease
Hit:2 http://mirrors.linode.com/ubuntu bionic-updates InRelease
Hit:3 http://mirrors.linode.com/ubuntu bionic-backports InRelease
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
Get:5 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:7 https://deb.nodesource.com/node_12.x bionic InRelease
Hit:8 http://archive.ubuntu.com/ubuntu bionic InRelease
Err:5 https://dl.yarnpkg.com/debian stable InRelease
  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
Fetched 17.1 kB in 1s (22.1 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.

Google search yields
yarnpkg/yarn#7866

Fixed by curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

Original list of stuff to do

  • Automated alert in chat to ask people to switch teams if the teams become unbalanced [pazer]
  • Move “extend map” to the first option on the voting menu
  • Put together a “moderator’s guide” for using the admin tools
  • Recruit some moderators
    ✅ Dane
    ✅ Jon
    ✅ Squirrely
    ✅ Roto
    ✅ Camper
    ✅ Pazer
    ✅ Comet
    ✅ b4nny
  • Integrate the server IP into UDCD using UncleBot
  • Add subdomains to uncledane.com (us1.uncledane.com, etc)
  • Update motd (make simpler?)
  • Update the message that is displayed to people who are kicked due to high latency to make it easier for dummies to understand what happened lol
  • Rules list for uncledane.com/servers
  • Mods have different name color
  • Custom team balance plugin? (balance teams based on previous round score)

Update the tags

Right now there are only three tags: "uncletopia", "norandomcrits", and "payload". I think adding every map type we run to the tags might attract more players who aren't going to just vote for the payload map every time. It might help with that at least. Seems kinda weird that payload is the only map tag in there when we run a bunch of map types.

Change motd.txt

Welcome to Uncletopia! If you enjoyed your time here, please add this server to your favorites via the server browser!

This is Uncle Dane’s custom community server. The experience on this server is intended to be very similar to Casual Mode TF2. The settings, ruleset, and featured maps are essentially just what Uncle Dane likes. This includes things like the removal of random crits and random bullet spread, as well as a class limit of three each. If you’d like to read the full list of settings and the map list, visit -- uncledane.com/servers.

If teams are unbalanced, type !vscramble in chat to vote to scramble the teams. If you would like to change the current map, you can nominate a map with !nominate and rock the vote with !rtv. Feel free to give feedback or discuss the Uncletopia servers in the Uncle Dane Community Discord (link is on the website). Thanks for playing!

Add !scramble alias

Edit the source for votescramble.smx and add a RegCmd for sm_scramble

Things we need:

  • votescramble.sp
  • morecolors.inc
  • nativevotes.inc (fixed version)

The web compiler won't work for this because of the required files.

Request by @UncleDane

Update SSL certificate for Grafana

Currently set to dashboard.jttm.us

We have added a DNS entry for dashboard.uncledane.com

  • Add dashboard.uncledane.com to the certificate

Add a second US East server

Popular demand for a second East server

Still in the "thinking about it" stage

  • Waiting on Dane's decision

Fix Grafana / Prometheus

Last server was sorta temporary and ended up being longer term. New server should be permanent.

Update map pool

REMOVE MAPS:

  • pd_snowville_event
  • ctf_snowfall_final
  • pl_enclosure_final
  • cp_powerhouse
  • koth_harvest

REPLACE MAPS:
pl_badwater_pro -> pl_badwater
koth_product_rcx -> koth_viaduct

ADD MAPS:

  • koth_ suijin

KEEP TEMPORARY MAPS:
~ pl_pier

Fix extend map option

We should do something similar to casual where it changes map to the current map instead of just adding rounds/time.

This will fix several issues that have been happening including the recent addition of end of match music.

Synchronize bans across servers

Bans are probably being overwritten by ansible right now (investigate)

  • We should eventually synchronize bans (pull from server, upload to others) (maybe use a plugin?) (ignore bans file with ansible)

Don't copy entire addons folder during deploy

We should move the original task to pre.

- name: Copy Source Mods
  synchronize:
    src: tf/addons/
    dest: serverfiles/tf/addons/
    owner: false
    group: false
    recursive: true
    delete: true

We should add 2 new entries to deploy for now. More can be added in the future when needed.

- name: Copy source mod configs
  copy:
    src: tf/addons/sourcemod/configs/
    dest: serverfiles/tf/addons/sourcemod/configs/
    owner: tf2server
    group: tf2
    mode: 0664
- name: Copy source mod plugins
  copy:
    src: tf/addons/sourcemod/plugins/
    dest: serverfiles/tf/addons/sourcemod/plugins/
    owner: tf2server
    group: tf2
    mode: 0664

Edit: Try removing addons/sourcemod/logs from synchronize instead of just updating plugins/configs

Add competitive fixes plugins

Is your feature request related to a problem? Please describe.
Hello! The competitive fixes plugin has a series of quality of life fixes that don't just target competitive tf2, but rather would fix oversights / bugs that valve hasn't fixed for years. These quality of life fixes would add a ton of value for the Uncle Topia server.

Specifically, these are quality of life issues that users have been noting and that the competitive fixes plugin can fix when added:

  • Deterministic Fall Damage
    The random variable in fall damage calculation will be removed.

  • Fixes Ghost Crossbow Bolts
    Crossbow bolts will no longer pass through teammates when in close range.

  • Fixes Slope Bugs
    Players won't stop while sliding on slopes anymore.

  • Fixes Sticky Delay
    Stickies will no longer fail to detonate when swapping weapons.

Describe the solution you'd like

  • Add the plugin to the server. This is the github for the competitive fixes plugin: https://github.com/ldesgoui/tf2-comp-fixes. Steps to add the plugin to your server are within the readme.
  • There are more issues that the plugin addresses, you can choose to add more from the list if you'd like

Additional context

  • The competitive fixes plugin is used by all main competitive scenes in TF2 and on the creators.tf servers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.