leighmacdonald / uncletopia Goto Github PK
View Code? Open in Web Editor NEWAnsible playbook for uncletopia server cluster
License: MIT License
Ansible playbook for uncletopia server cluster
License: MIT License
"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" - from #2
Automated alert in chat to ask people to switch teams if the teams become unbalanced
from #2
We found the solution built-in to the game. Reminder: next time take a good look at https://developer.valvesoftware.com/wiki/List_of_TF2_console_commands_and_variables
mp_autoteambalance : 1 : , "sv", "nf" : Automatically balance the teams based on mp_teams_unbalance_limit. 0 = off, 1 = forcibly switch, 2 = ask volunteers
Requested by @qball#8824 on Discord
Approved by @UncleDane
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"]}
This causes TF2 to update before/during we are actually installing it.
Requested by @UncleDane and @PazerOP
https://github.com/sapphonie/StAC-tf2
https://cdn.discordapp.com/attachments/808533106469896252/811128447581421568/stac.cfg
Note that the trial should only notify mods via Discord and in-game of possible cheaters instead of banning
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 -
I've already added us-east-2 to the Uncletopia TF2 Cluster dashboard.
It just needs to be added to the Prometheus data to show up in the panel :)
There's also the TF2 Player Info dashboard which needs to be modified to add the us-east-2 server.
make system
fatal: [as1.uncledane.com]: FAILED! => {"changed": false, "msg": "No package matching 'libcurl4-gnutls-dev:i386' is available"}
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.
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!
Edit the source for votescramble.smx and add a RegCmd for sm_scramble
Things we need:
The web compiler won't work for this because of the required files.
Request by @UncleDane
Requested by @PazerOP
Currently set to dashboard.jttm.us
We have added a DNS entry for dashboard.uncledane.com
Reported by @qball#8824 on Discord
Potential fixes:
Popular demand for a second East server
Still in the "thinking about it" stage
Check for TF2 updates more frequently (maybe every 5 minutes?) instead of every 30 mins
Last server was sorta temporary and ended up being longer term. New server should be permanent.
REMOVE MAPS:
REPLACE MAPS:
pl_badwater_pro -> pl_badwater
koth_product_rcx -> koth_viaduct
ADD MAPS:
KEEP TEMPORARY MAPS:
~ pl_pier
Change badwater pro to normal badwater in the startup config
Remove happy holidays
Set sm_rtv_needed 0.4
in mapconfig/gametype/ctf.cfg
and mapconfig/maps/cp_dustbowl.cfg
Requested by @UncleDane
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.
Update was not applied on these servers so I assume the crontab was not applied via Ansible.
Not sure if I can do this but I assume the repo owner needs to do it
Requested by @qball#8824 on Discord
If we implement this it should not ask the user for a team name and (hopefully) not modify the HUD.
(Video above uses tournament mode)
Qball is working on a new plugin that fixes the team name prompt.
nt_minplayercount set to 23
Bans are probably being overwritten by ansible right now (investigate)
This server specific config should not be in the main uncletopia repo. We need to use a template to generate it for each host from a list in group_vars.
fatal: [dane-us3.jttm.us]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: [email protected]: Permission denied (publickey).", "unreachable": true}
Post uncletopia.com/faq in chat
I'm making a new issue for people who are scheduled to be banned because they are idiots, but we don't currently have a system for universally banning them from Uncletopia.
Check these people off once we have banned them. Evidence is supplied in a comment to this issue.
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
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
Additional context
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.