Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

BenjaminUrquhart/Consigliere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

Town of Salem game recorder

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages