commit
0724aa4bdc
@ -42,7 +42,7 @@ sudo apt update && sudo apt install git libssl-dev:i386 libc6-dev:i386 gdb libsd
|
|||||||
|
|
||||||
Arch gcc6 & dependencies installation:
|
Arch gcc6 & dependencies installation:
|
||||||
```bash
|
```bash
|
||||||
sudo pacman -Syu && sudo pacman -S gdb gdb-common glew1.10 lib32-glew1.10 rsync --noconfirm && yes | sudo pacman -U https://archive.archlinux.org/packages/g/gcc-multilib/gcc-multilib-6.3.1-2-x86_64.pkg.tar.xz https://archive.archlinux.org/packages/g/gcc-libs-multilib/gcc-libs-multilib-6.3.1-2-x86_64.pkg.tar.xz https://archive.archlinux.org/packages/l/lib32-gcc-libs/lib32-gcc-libs-6.3.1-2-x86_64.pkg.tar.xz
|
sudo pacman -Syu && sudo pacman -S gdb gdb-common glew1.10 glew lib32-glew1.10 rsync --noconfirm && yes | sudo pacman -U https://archive.archlinux.org/packages/g/gcc-multilib/gcc-multilib-6.3.1-2-x86_64.pkg.tar.xz https://archive.archlinux.org/packages/g/gcc-libs-multilib/gcc-libs-multilib-6.3.1-2-x86_64.pkg.tar.xz https://archive.archlinux.org/packages/l/lib32-gcc-libs/lib32-gcc-libs-6.3.1-2-x86_64.pkg.tar.xz
|
||||||
```
|
```
|
||||||
|
|
||||||
If you don't use Ubuntu or Arch (or if Arch script gets outdated), here's the list of what cathook requires:
|
If you don't use Ubuntu or Arch (or if Arch script gets outdated), here's the list of what cathook requires:
|
||||||
|
@ -161,15 +161,9 @@ void SetSafeSpace(int safespace) {
|
|||||||
bool ShouldAA(CUserCmd* cmd) {
|
bool ShouldAA(CUserCmd* cmd) {
|
||||||
if (!enabled) return false;
|
if (!enabled) return false;
|
||||||
if (cmd->buttons & IN_USE) return false;
|
if (cmd->buttons & IN_USE) return false;
|
||||||
if (cmd->buttons & IN_ATTACK) {
|
if ((cmd->buttons & IN_ATTACK) && !(IsTF2() && g_pLocalPlayer->weapon()->m_iClassID == CL_CLASS(CTFCompoundBow)) && CanShoot()) {
|
||||||
IF_GAME (IsTF2()) {
|
return false;
|
||||||
if (g_pLocalPlayer->weapon()->m_iClassID == CL_CLASS(CTFCompoundBow)) {
|
|
||||||
goto i_dont_know_how_to_break_if;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (CanShoot()) return false;
|
|
||||||
}
|
}
|
||||||
i_dont_know_how_to_break_if:
|
|
||||||
if ((cmd->buttons & IN_ATTACK2) && g_pLocalPlayer->weapon()->m_iClassID == CL_CLASS(CTFLunchBox)) return false;
|
if ((cmd->buttons & IN_ATTACK2) && g_pLocalPlayer->weapon()->m_iClassID == CL_CLASS(CTFLunchBox)) return false;
|
||||||
switch (GetWeaponMode()) {
|
switch (GetWeaponMode()) {
|
||||||
case weapon_projectile:
|
case weapon_projectile:
|
||||||
|
@ -405,7 +405,6 @@
|
|||||||
"name": "Miscellaneous",
|
"name": "Miscellaneous",
|
||||||
"list": [
|
"list": [
|
||||||
"events",
|
"events",
|
||||||
"chat_crypto",
|
|
||||||
"airstuck",
|
"airstuck",
|
||||||
"instant_weapon_switch",
|
"instant_weapon_switch",
|
||||||
"name",
|
"name",
|
||||||
|
Reference in New Issue
Block a user