GitXplorerGitXplorer
B

Consigliere

public
4 stars
0 forks
1 issues

Commits

List of commits on branch master.
Verified
aa7cc516240a5d43b1a8e8a6973278151f405d7a

It's been a good one

BBenjaminUrquhart committed a year ago
Unverified
48aed9f6a48d79a3dec9b9fa111a21d886619053

Account Flags

BBenjaminUrquhart committed 2 years ago
Unverified
410130884805983ae24e959a83e63c2d08dd07a7

Text coloring cleanup

BBenjaminUrquhart committed 3 years ago
Unverified
5c172b263caa3dd93b76ad98201c32c457e254ff

Make ipv6 domain lookups work

BBenjaminUrquhart committed 3 years ago
Unverified
d310eaac50a53564c88e67056ade1e75755dd89e

Update TOS server addresses + misc tweaks

BBenjaminUrquhart committed 3 years ago
Unverified
a76bbf9804bcdd8f105a9e6b0f8ebff2379dc017

Fixed players being incorrectly marked as disguised

BBenjaminUrquhart committed 4 years ago

README

The README file for this repository.

This project has been discontinued. TOS2 uses a different protocol (with LiteNetLib iirc) and I can't be bothered to reverse it.

Consigliere

Record your Town of Salem (original, not 2) sessions for post-game analysis.

This program requires a TrueColor compatible terminal:

  • On MacOS/OSX, I recomend iTerm
  • On Windows, MingW64 or similar (Git Bash for example)
  • On Linux, your terminal should already support it

Run with no arguments for live capturing of sessions:

java -jar Consigliere.jar

Run with the --file argument to load a capture file for analysis:

java -jar Consigliere.jar --file path/to/mycapture.pcap[ng]

Dependencies

Note: I am working on packaging these dependencies into the program so you don't need to install them manually.

This project relies on libpcap for capturing packets. You will need to install it in order to use Consigliere:

  • Windows: Follow these installation instructions. You may need administrative rights in order to start capturing.
  • MacOS: The preinstalled version is enough to read data. To capture traffic, you will need the ChmodBPF package packaged with Wireshark. Download Wireshark and run the Install ChmodBPF package.
  • Linux: Use your package manager to install libpcap-dev. Then, run sudo setcap cap_net_raw,cap_net_admin=eip /path/to/java to grant non-root users permission to capture data.

Help Needed

Note: when capturing data for these roles, it is recommended to run Wireshark or a similar tool alongside Consigliere to avoid data loss if Consigliere crashes. If a crash occurs, send the stack trace along with the capture from Wireshark.

I would greatly appriciate game captures for the following roles:

Classic:

  • Jailor (Executed Townie only)
  • Vigilante (Death from guilt only)

Coven DLC:

  • Pirate - there are some strange things happening with duels

Known Bugs

  • Retributionist's secondary message will not inherit the action verb of their zombie (defaults to "target")