Garry's Mod

Garry's Mod

Not enough ratings
TTT Weighted Traitor Selection
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun
File Size
Posted
Updated
9.257 KB
12 Jun, 2015 @ 2:22pm
3 Dec, 2019 @ 10:47am
2 Change Notes ( view )

Subscribe to download
TTT Weighted Traitor Selection

Description
The workshop is currently running version 1.2.0 (12/03/2019), to view the latest updates please visit https://github.com/lzinga/TTTWeightedTraitorSelection

=Description=
Weighted Traitor Selection allows players to be fairly selected to become traitors and have more people become traitors rather then not getting traitor 5 maps in a row. The longer you go with out being traitor the higher chance you have at becoming traitor. Now that might sound like you could determine who the traitor is; However the algorithm is non-deterministic, making it practically impossible to deduce the current traitors (with the exception with only 2 people playing)
10 Comments
Viscus 5 Aug, 2020 @ 7:44am 
Does not work with TTT2
Skye 10 Mar, 2017 @ 3:14pm 
Yeah, I used the one from github. That's odd, then. But I will give it a shot creating the file manually. Thanks!
www.hitamillion.com  [author] 10 Mar, 2017 @ 12:35pm 
Though I would suggest downloading the latest one off of github, and not subscribe, the one on workshop is pretty dated now.
www.hitamillion.com  [author] 10 Mar, 2017 @ 12:34pm 
So SQLite wasn't in by default, someone added it on github, so I haven't used it so not sure on how to implement it. If the template isn't being generated you can just add a text document named database.txt with "{ Host = "[HostName]", Port = 3306, User = "[Username]", Password = "[Password]", DatabaseName = "[DatabaseName]", TableName = "TTT_WeightSystem" }" inside it with the items filled out.
Skye 6 Mar, 2017 @ 10:36pm 
Hi. This looks pretty good! I'm running a lister server for my friends, and I have some questions. When I run the server for the first time I see the addon message pop up in chat, but the database-template file isn't being created. Will it work anyway? What am I doing wrong? Checking the files I can see mention of SQlite. Is it enabled by default? What should I change?
Pinhead Larry 14 Jan, 2017 @ 11:02am 
nice, an addon that makes the gamblers fallacy true
Postino 17 Nov, 2016 @ 5:27am 
I'm certainly going to put this on my server (downloaded the GitHub updated version), thank you. If you want to upload it on the workshop, just make a folder with the addon.json file in it then use gmad.exe and turn the folder into a .gma file, then do "gmpublish.exe update -addon "<path .gma with .gma at the end>" -id "<id of the workshop item, the last numbers you see on this page's URL>" -changes "<any release note you want to put in along with the release>"

If you have extra questions, I'm here to help. This is a really useful addon for TTT servers.
Raptor 15 Sep, 2016 @ 2:05pm 
It was kinda confusing to read.
www.hitamillion.com  [author] 14 Sep, 2016 @ 6:11pm 
Did you read the description? It just makes it so the chances of people becoming traitor is higher the longer you go with out being traitor. if you aren't a traitor in 10 rounds your weight could be 100 while other peoples are like 25 which means you would have a much higher chance at becoming traitor.
Raptor 12 Sep, 2016 @ 1:50pm 
So what does weight do? or is it just a way of checking their chance