Git Product home page Git Product logo

Fritz is an experimental Python-based bot designed to eventually rival the existing bots within Counter-Strike: Global Offensive.

At present, he has some basic aiming/hearing/movement capabilities and can automatically buy weapons at the start of a round, shoot at the enemy team, roam around in deathmatch, and look towards gunfire using sound.

Improved logic, pathfinding, audio analysis, and object detection are in the works.

Controls:

  • Press 'HOME' to pause/unpause Fritz.
  • Press 'END' to close Fritz.

Required CS:GO Commands:

  • cl_showpos 1
  • safezonex 0.85
  • safezoney 0.85
  • hud_scaling 0.85
  • cl_hud_background_alpha 1
  • mat_setvideomode 1152 864 1

Dependencies:

  • Python 3.5
  • win32api
  • tensorflow
  • opencv
  • mss
  • PIL/Pillow
  • pytesseract, which further requires the installation of tesseract 3.05.
  • PyAudio_PortAudio, which can be installed using the included .whl file or from the repo.

Notes:

  • Fritz automatically pauses if the game loses focus, press HOME to unpause.
  • You can configure your CS:GO sensitivity and m_yaw on lines 9 and 10 of logic.py.
  • Roaming/sound seeking movement and defuse/deathmatch logic is set on line 28 of main.py.
  • Fritz hears better with HRTF disabled.
  • The current detection model was trained for de_dust2. A significantly improved detection model is in the works.

Fritz is ultimately intended for offline use, so be sure to add -insecure and +sv_lan 1 to the CS:GO launch options before testing Fritz to avoid any complications.

botfritz's Projects

labelimg icon labelimg

:metal: LabelImg is a graphical image annotation tool and label object bounding boxes in images

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.