2791 Commits

Author SHA1 Message Date
TotallyNotElite
3ba855fb34 Autotaunt safety distance
fixes #711
2019-03-22 10:26:39 +01:00
LightCat
ff8f8ba60a Only ignore irc + catbo identified users 2019-03-21 18:38:06 +01:00
LightCat
f334ddb9af Slight changes to chatlog ignore system 2019-03-21 18:32:59 +01:00
LightCat
fdcfecb4ff Catbot and NavBot improvements 2019-03-21 18:24:55 +01:00
LightCat
f07598d48d Fix MM Ban detection 2019-03-21 18:24:33 +01:00
LightCat
43f068c659 Auto party friend 2019-03-21 18:23:38 +01:00
LightCat
8aa3c8765d Merge branch 'master' of https://github.com/nullworks/cathook 2019-03-21 16:00:53 +01:00
Unnamed
1078c6d22f Spam.cpp: fix voice command spam not working after level change 2019-03-21 15:57:15 +01:00
Unnamed
7b4cb7535c tfmm.cpp: better MM ban detection
Call function that verifies if you are banned
2019-03-21 15:57:12 +01:00
LightCat
a1a8569e45
Merge pull request #709 from SylveonBottle/patch-4
Removed cmake(x2)
2019-03-20 06:19:26 +00:00
SylveonBottle
2bb1b36c89
Update install-all 2019-03-19 20:17:16 -05:00
LightCat
96b1d812e5 Clang format 2019-03-19 21:27:40 +01:00
LightCat
597543c44c Add nullgraphics rvar and fix EC printer 2019-03-19 21:26:45 +01:00
TotallyNotElite
e78e1bc9a3
Merge pull request #704 from crwn1337/legitbacktrack
Add legit backtrack to autobackstab
2019-03-19 14:19:44 +01:00
crwn1337
1fc87031e8 Fix formatting 2019-03-19 15:05:38 +02:00
crwn1337
b9ea3f6759 Add legit backtrack to auto backstab 2019-03-18 18:28:52 +02:00
TotallyNotElite
1f660b9117 Merge remote-tracking branch 'origin/master' 2019-03-17 18:50:30 +01:00
TotallyNotElite
8953e21c8a Fix compile errors 2019-03-17 18:50:14 +01:00
Unnamed
72b85aaeca Remove dead code 2019-03-17 18:38:51 +01:00
Unnamed
6d02ae2f97 hack.cpp: very experimental RAM reduce for null graphics
Don't load unnecessary models, textures and particles
Reduces around 100MB per instance + significant load times reduction
2019-03-17 18:37:47 +01:00
TotallyNotElite
2658ad6a51 Add IMDLCache and IFileSystem interfaces 2019-03-17 18:37:40 +01:00
TotallyNotElite
171a3815b8 sv_pure bypass is now separated into module 2019-03-17 18:36:31 +01:00
Unnamed
21a889301e CatBot.cpp: don't overreport player
Reporting on votekick attempt is unnecessary for 2 reasons:
- You might fail to start vote
- Player is reported when vote is caught by votelogger.cpp
2019-03-17 18:35:20 +01:00
TotallyNotElite
9b84271d9d Remove dead code 2019-03-17 18:32:31 +01:00
Unnamed
e5f6abcd8e playerlist.cpp: add player list cleanup command
Removes useless entries from player list to save some RAM
TO DO: Automatically cleanup list
2019-03-17 18:27:45 +01:00
Unnamed
454cfbe023 CatBot.cpp: unify autoteam and join_class commands
Slightly less overhead when automatically joining team and class
2019-03-17 18:27:23 +01:00
Unnamed
e8138bb26b hack.cpp: optimize hack::ExecuteCommand a little
Pass reference to std::string instead of std::string copy
2019-03-17 18:26:54 +01:00
Unnamed
bc8229041d NavBot.cpp: fix possible crash 2019-03-17 18:24:01 +01:00
Unnamed
05c9827f43 Paint.cpp: execute single command from command stack on Paint
Possible workaround for crash that happens with very low amount of free memory available
2019-03-17 18:23:53 +01:00
Unnamed
812e3fc552 CatBot.cpp: don't try to kick unconnected players 2019-03-17 18:23:20 +01:00
Unnamed
ee457638fa Spam.cpp: use UniformRandomInt instead of flooring random 2019-03-17 18:23:09 +01:00
Unnamed
11990956f6 playerlist.cpp: add command that prints all player list entries 2019-03-17 18:22:51 +01:00
TotallyNotElite
44f8ff3b31 HookTools.cpp: add command that lists all registered events 2019-03-17 18:22:32 +01:00
Unnamed
5320496cc7 playerlist.hpp: assert size of rgba_t is same as 4 floats
This assertion is here to ensure in the future we won't have silent incompatibilities between no visual and visual player lists
2019-03-17 18:21:22 +01:00
Unnamed
9899fc55c1 Backtrack.cpp: tiny improvements
Remove unused highesttick array
Don't go through switch evaluation if *slots == 0
Reset BestTick and iBestTarget on each LevelInit
2019-03-17 18:20:45 +01:00
Unnamed
5570c2aeac NavBot.cpp: remove console spam on maps with no health kits 2019-03-17 18:17:47 +01:00
Unnamed
e1cf066dad AutoBackstab.cpp: fallback to rage auto backstab if backtrack disabled 2019-03-17 18:16:02 +01:00
TotallyNotElite
9640858051 Properly ignore geany projects 2019-03-17 18:09:02 +01:00
Unnamed
4dabf5a32f Spam.cpp: improve builtin blanks
More newlines makes chat clear faster
2019-03-17 18:08:33 +01:00
Unnamed
c27027f937 Init parts of several hacks in their respective init functions
Also don't push console commands but issue their init functions directly
2019-03-17 18:06:58 +01:00
Unnamed
6ca2300875 DispatchUserMessage.cpp: fix chat censor crash
During "Sending client info ..." you might start receiving chat messages and LOCAL_E doesn't exist yet
Check if LOCAL_E is bad before trying to censor chat
2019-03-17 18:05:51 +01:00
Unnamed
8135f67396 hack.cpp: execute extra commands from environment variable 2019-03-17 18:04:38 +01:00
Unnamed
67d6e7d54a globals.cpp: retry query for ConVars if not all found
Fixes crash on map load when injected too early (LD_PRELOAD)
2019-03-17 18:04:03 +01:00
Unnamed
8f3b63e61c interfaces.cpp: always load CGlobalVarsBase* from found pointer
It fixes problem with cathook pointing to invalid CGlobalVarsBase when injected too early (through LD_PRELOAD)
2019-03-17 18:03:29 +01:00
Unnamed
3343fe6c89 Key.hpp: workaround SDL symbols being used with no visuals enabled
I'll write a better fix later, this one currently works
2019-03-17 18:01:23 +01:00
Unnamed
c2e227bb93 navparser.cpp: minor refactor 2019-03-17 18:00:02 +01:00
LightCat
3d41a66234 Remove Fake crouch 2019-03-17 17:58:48 +01:00
TotallyNotElite
aef895e4e3 navparser.cpp: add stuck time tweak
Allow user to tweak time after which certain area is considered invalid
2019-03-17 17:58:42 +01:00
LightCat
329662a2fa Fix AntiAIm not workign as expected 2019-03-17 17:57:16 +01:00
Unnamed
7ee77b2f25 Fix compilation failures with cotire being disabled 2019-03-17 17:56:03 +01:00