Anubiset (11-21-2011),draco9110 (02-04-2012),martinez_32 (01-24-2013),RaidenSkull (08-28-2018)
Sauerbraten justice edition hacking guide
meant for educational purposes ..
Here you will see two dirty cheats which are mainly undetectable.
1) Hearing the sauerbraten hit sound when your aiming at an enemy
This improves your natural aiming, you simply have to click when you hear the hit sound. On the other hand you're not using an aimbot/triggerbot, you just
have to click your damn mouse button when you hear the sauerbraten hit sound. It improves your timing and your aiming. You have generally more chance to hit your opponent, it's a matter of practice
Open ~/.sauerbraten/src/fpsgame/fps.cpp
Search for this section:
int selectcrosshair(float &r, float &g, float &b)
{
fpsent *d = hudplayer();
if(d->state==CS_SPECTATOR || d->state==CS_DEAD) return -1;
if(d->state!=CS_ALIVE) return 0;
int crosshair = 0;
if(lasthit && lastmillis - lasthit < hitcrosshair) crosshair = 2;
else if(teamcrosshair)
{
dynent *o = intersectclosest(d->o, worldpos, d);
if(o && o->type==ENT_PLAYER && isteam(((fpsent *)o)->team, d->team))
{
crosshair = 1;
r = g = 0;
}
}
Copy the next line before the int selectcrosshair function:
VARP(triggersound, 0, 1, 1);
Now add the next lines after the int selectcrosshair function:
// Triggersound code
if (triggersound) {
dynent *o = intersectclosest(d->o, worldpos, d);
if (!player1->attacking && o && o->type==ENT_PLAYER && !isteam(((fpsent *)o)->team, d->team))
{
playsound(S_HIT);
}
else if (player1->attacking)
doattack(false);
}
Save your fps.cpp file now.
If you want an aimbot/triggerbot then you should change:
playsound(S_HIT);
to
doattack(true);
Now go to ~/.sauerbraten//data/menus.cfg
Search for:
guicheckbox "teammates" teamcrosshair
guibar
guicheckbox "hits" hitcrosshair 425
Add the next lines under that section:
guibar
guicheckbox "triggersound" triggersound
Now you have to possibility to disable the triggersound in options/game, you could make binds and put them in your autoexec.cfg too.
2) Seeing the flag through a wall
This is generally a kind of a wallhack. People will not accuse you of being a wallhacker, because you're only able to only the flag through a wall.
Open ~/.sauerbratensauerbraten/src/fpsgame/ctf.h
Go to line 598 of this file (you could use nano +598 ctf.h)
There you see this line: if(m_hold)
Simply uncomment it in C++ by using //
So make your line 598 of ctf.h looks like this:
// if(m_hold)
Save the file again. Head to ~/.sauerbraten/src and run "make" and "make install"
Have fun!
Anubiset (11-21-2011),draco9110 (02-04-2012),martinez_32 (01-24-2013),RaidenSkull (08-28-2018)
This was posted before..
I cant make the triggersound work and i dont know how can i compile the sauerbraten? It doesnt play the sound or what is it so can i have a video or something? I just wanna know how to compile the sauerbraten?
If u need Assistant PM me