GithubHelp home page GithubHelp logo

alexemanuelol / team-detector Goto Github PK

View Code? Open in Web Editor NEW
15.0 4.0 3.0 758 KB

A program that detect teams on games available at Battlemetrics and Steam by comparing names in Battlemetrics player list and suspect friend list.

License: GNU General Public License v3.0

Python 100.00%
battlemetrics detector friends games players python3 rust steam team

team-detector's Introduction

Team-Detector

Team detection program for games on BattleMetrics and Steam. The program goes through the player list on the BattleMetrics server page and saves all player names in an array. Then it goes through the Steam profile of the player you want to inspect and compares the friend list names and profile comments with the BattleMetrics player array to find out which friends are currently on the server. If the program found any matches, it will then continue to go through the friend list of those friends and so on. What you end up with is a table of all the players that might be part of the same team as the player you provided the Steam Profile. It will also create a .html file that visualize the friends network to see who is friends with who etc...

Clone and Setup

Tested with Python version: 3.12.1
To clone and setup the repository:

$ git clone https://github.com/alexemanuelol/team-detector.git
$ cd team-detector
$ pip install -r requirements.txt

Usage

Argument Description
-h, --help Display help message.
-b, --battlemetrics-id ID BattleMetrics Server ID.
-s, --steam-id ID SteamID(s) of the person(s) you want to inspect (Separated by space).
-r, --recursive-depth NUMBER How deep can the recursive search go? (Default 5)
-c, --comments Search through profile comments (Default False).
-p, --comment-pages PAGES The number of comment pages to go through per profile (Default 1 page).
-d, --debug Enables debug print (Default False).

When you run the program once, the Battlemetrics Server ID and SteamID will be saved in team_detector.json. That means that next time you want to run the program, if you don't provide the -s or -b flags, the values in the json file will be used.

Image of the command output for a Rust Server

Image of the network

You can download the windows executable from releases page and run the .exe file like so:

$ team_detector.exe -b 11378166 -s 76561198114074446

Notes

The program will only find players that are currently online on the server that is displayed in the BattleMetrics Server Page. If the server have streamer mode on, this program won't work. Also, if you try to run the script on a person that have the friend list private and comments private, this program won't work.

team-detector's People

Contributors

alexemanuelol avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

Forkers

laugem rafathasan

team-detector's Issues

how to fix this error ?

Could not find a version that satisfies the requirement networkx==2.8.5 (from -r requirements.txt (line 1)) (from versions: 0.34, 0.35, 0.35.1, 0.36, 0.37, 0.99, 1.0rc1, 1.0, 1.0.1, 1.1, 1.2rc1, 1.2, 1.3rc1, 1.3, 1.4rc1, 1.4, 1.5rc1, 1.5, 1.6rc1, 1.6, 1.7rc1, 1.7, 1.8rc1, 1.8, 1.8.1, 1.9rc1, 1.9, 1.9.1, 1.10rc2, 1.10, 1.11rc1, 1.11rc2, 1.11, 2.0, 2.1, 2.2rc1, 2.2)
No matching distribution found for networkx==2.8.5 (from -r requirements.txt (line 1))

pip install -r requirements.txt

Collecting networkx==2.8.5 (from -r requirements.txt (line 1))
Could not find a version that satisfies the requirement networkx==2.8.5 (from -r requirements.txt (line 1)) (from versions: 0.34, 0.35, 0.35.1, 0.36, 0.37, 0.99, 1.0rc1, 1.0, 1.0.1, 1.1, 1.2rc1, 1.2, 1.3rc1, 1.3, 1.4rc1, 1.4, 1.5rc1, 1.5, 1.6rc1, 1.6, 1.7rc1, 1.7, 1.8rc1, 1.8, 1.8.1, 1.9rc1, 1.9, 1.9.1, 1.10rc2, 1.10, 1.11rc1, 1.11rc2, 1.11, 2.0, 2.1, 2.2rc1, 2.2)
No matching distribution found for networkx==2.8.5 (from -r requirements.txt (line 1))

dont work

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.