TJBot (TrickJump Bot) for Enemy Territory 2.60b and ETJump
A crossplateform TrickJump Bot for Wolfenstein: Enemy Territory 2.60b and ETJump
Features / Commands
/-jumpbotenable/disable automatic mouve mouse to the perfect angle
/origingetdiplays current origin (similar to viewpos command)
/originset <x> <y>sets new desired XY origin
/-originstart/stop trying to move to desired XY origin
/angle <deg>set new horizontal view angle to specified value
/stopdumpto dump view angles, origin and velocity every frame into a file
/-viewhackrotates view camera by 180 degs for jumping backwards
/ms_resetprints/resets horizontal maxspeed
/-ps_printenable/disable printing predicted playerstate view angles, origin and velocity every frame in the console
/sprayprints tjbot spray
/+sprintto 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 movements
com_maxfps 125 set pmove_fixed 1
(You can examine example script
jump.cfgto see how to script)
- Move scripting from engine to hack because when the engine is evaluting a
script it can not be stopped etc
relangle(relative angle) command (current
anglecommand can set only absolute view
- 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
64 bits only
sudo apt install gcc-multilib
sudo apt install gcc
tjbot.slnwith Visual Studio
cmake . make
et.exewith the DLL injector of your choice
You can also use
tjbot.exein the Release section, you just need to run it before running ET
et|Setup for the math
Updated to support ETJump 2.2.0
Worked well when I executed the .exe but after that I wanted to build it on my own via Visual Studio - I cloned it via git into an workspace and everything were right, just some deprecated stuff (compile worked) but I cant build it cause everytime I get the " LINK1561 Error". So VisualStudio is missing a Linker (main w/e). I ve to say im new to C and usally work with Java/ Inteli.
Any idea why I fail?
Help would be appreciated:)
This error occurs because it is trying to build a
.exeinstead of a
- Right-click the Project
tjbot(not the Solution) in the Solution Explorer panel.
- Then click Properties → Configuration Properties → General → Configuration Type → Dynamic Library (.dll)
- Right-click the Project
@Annihil thanks now I get a dll. :)
They only "warning" left is "this is no valid WIN32-applicaiton".
But I get a .dll file with same size like urs.
But when I inject it to my et.exe it doesnt work - ur .dll works.
Am I still missing something after executing the release?
This can be du to the fact that the offset
#define CG_OFFSET 0x01DBEAB0in the source code is for ETJump 2.2.0 Alpha.
It won't work for other ETJump versions, you need to find the correct offset yourself...
@Annihil alright. I ll try to figure it out. Thanks :)
qivxet last edited by
Thank you for sharing the source code.
I confirmed that the .dll you built works fine with ETJump 2.2.0 Win32.
But, the .dll built from the GitHub source code does not work with the same condition .
I found that I could not get the playerstate correctly, so I just changed the define of CG_OFFSET to 0x1DA7D58.
But, the +jumpbot still does not work correctly (other commands work fine).
Is there anything else I need to change?
I would appreciate it if you could explain the detail.
Hey @qivxet ,
My pleasure :)
Actually no, it's the only define you need to change, but
0x1DA7D58is not correct.
I would like to help you, but may I ask why you need to recompile it?
If it's to disable the spray every 10 minutes, it's not in my interest to give the correct offset, I hope you understand ...
qivxet last edited by
Thank you for your response.
I have played ET trickjump for several years, and I'm only interested in the theoretical aspect of it (therefore the spray is not the issue for me.).
To better understanding of TJ, I would like to know the source code which works as expected and confirm it.
I'm glad if you'd understand.
Oh okay, then if it's just for that, I can assure you that this is the source code that works for the TJBot, the math are correct :)
qivxet last edited by qivxet
I'm still having the problem, but thank you anyway.
EDIT: I could find the correct CG_OFFSET and confirmed the math.
Thank you again for your valuable comment.
NoName last edited by
The original author of the tjbot calculations is et|Setup.
@NoName that's true, that's why I credited him ;)
it is possible to deactivate the spray?
@zimkoli No it's not, that's a way to credit me :)
@12thmonkey Hello, I hope you had a good weekend!
I was quite busy, sorry for the delay, enjoy!! 🙂
@Annihil Hey there, just donated - looking forward to being added! Thanks!
@thecocain It might be because of the trial version limit! 😅
can any tell me why my et is closing after 1-2 mins or even less?:(