Git Product home page Git Product logo

tjbot's Introduction

tjbot spray

A crossplateform TrickJump Bot for Wolfenstein: Enemy Territory 2.60b and ETJump

Features / Commands

  • /+jumpbot, /-jumpbot enable/disable automatic mouve mouse to the perfect angle
  • /+autojump, /-autojump automatic +moveup (jump) activation
  • /originget diplays current origin (similar to viewpos command)
  • /originset <x> <y> sets new desired XY origin
  • /+origin, /-origin start/stop trying to move to desired XY origin
  • /angle <deg> set new horizontal view angle to specified value
  • /startdump <filename>, /stopdump to dump view angles, origin and velocity every frame into a file
  • /+viewhack, /-viewhack rotates view camera by 180 degs for jumping backwards
  • /ms_print, /ms_reset prints/resets horizontal maxspeed
  • /+ps_print, /-ps_print enable/disable printing predicted playerstate view angles, origin and velocity every frame in the console
  • /spray prints tjbot spray

Usage

  • Enable /+sprint to make sure to always sprint, the tjbot does not work while not sprinting

  • Bind a key to enable jumpbot: /bind shift +jumpbot, or if you want a toggle key

    set jmp1 "set jmp vstr jmp2; +jumpbot; echo ^ej^7umpbot ^eon"
    set jmp2 "set jmp vstr jmp1; -jumpbot; echo ^ej^7mpbot ^eoff"
    set jmp "vstr jmp1"
    bind MOUSE2 "vstr jmp"
    
  • Set your FPS to 125 and enable fixed player move

    com_maxfps 125
    set pmove_fixed 1
    
  • TrickJump!

(You can examine example script jump.cfg to see how to script)

Ideas list

  • Move scripting from engine to hack because when the engine is evaluting a script it can not be stopped etc
  • Add relangle (relative angle) command (current angle command can set only absolute view angle)

Bugs

  • There are probably some minor bugs because I did not have time to do complete testing so far
  • Ice calculations are wrong, jumpbot is always one frame late

Linux Dependencies

64 bits only

sudo apt install gcc-multilib
sudo apt install gcc

Build

Windows

Open tjbot.sln with Visual Studio

Linux

cmake .
make

Run

Windows

Inject tjbot.dll to et.exe with the DLL injector of your choice
You can also use tjbot.exe in the Release section, you just need to run it before running ET

Linux

./run.sh

Licence

GPLv2

Credit

setup

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.