[FilterScript] [FS] Simple & Accurate Anti-C-bug script
#1

well, i was working on this for like, 30 minutes but from what i can see, it is waaaaay more accurate than the anti c bug's in sa-mp forums ...

What is C-Bug
C-bug or, crouch bug, is a "bug" in san andreas allowing you to shoot walking weapons a bit faster, here is a video of c bug
cbug

What does this script do?
this script will kick anyone who uses the crouch bug.

What makes this anti-c-bug better than sneaky's version?
well, this one is way more accurate.

So how accurate is the script?
it is about 99% accurate, its not perfect, but i have never had it detect a false positive.

Can we see a video of the script in action?
antic

Credits
Sneaky's anti c bug script, http://forum.sa-mp.com/index.php?topic=110613.0

Download
http://pastebin.com/h573VFp6


v1.0 (02/05/2010)
- First release

v1.1 (07/04/2011)
- Fixed the "hold shift and space key and you can use cbug" problem.
- Fixed a couple false detections if you where already crouched
- PVars to regular variables to avoid conflict.
- couple "speed" improvements.

v1.2 (14/05/2011)
- Fixed a work around if a very very specific button combination was used

v1.3 (22/09/2011)
- Fixed a false positive.
Reply
#2

Thank you man, gonna try this
Reply
#3

lol after u cbug you get droped btw good job
Reply
#4

Very accurate, works like the charm. Although I've found a way to exploit this. If you hold shift or alt while crackshooting, it lets you pass :/
Reply
#5

Thanks, thanks a lot man
Reply
#6

very Nice
this is lol
Code:
if(strfind(name, "[___]", true) != -1) return 0;
Reply
#7

Good job
Reply
#8

Try hold pressed shift or space key and you can use cbug.
Reply
#9

Quote:
Originally Posted by BuLLeT[LTU]
View Post
Try hold pressed shift or space key and you can use cbug.
hey man,

thanks for the report first of all, i know its been awhile, when i saw your comment i put it on my to-do list and i guess i just forgot about it, anyway, numerous changes have been implemented

- Fixed the "hold shift and space key and you can use cbug" problem.
- Fixed a couple false detections if you where already crouched
- PVars to regular variables to avoid conflict.
- couple "speed" improvements.

download on the first post.
Reply
#10

awasome
it would be cool if u shoot with minigun or rocket louncher(RPG) when u have this script
Reply
#11

- Fixed a work around if a very very specific button combination was used

link in first post.
Reply
#12

Oh, This is very useful. Would be great for my Anti-Cheat System, thanks!
Reply
#13

This wouldn't work if a player is using a cleo mods though right?

I'm guessing if we made our own modification we could make it easier to detect auto c-bug, because they would be shooting faster then the normal rate and yet they haven't been kicked, am I right?
Reply
#14

Quote:
Originally Posted by azzerking
View Post
This wouldn't work if a player is using a cleo mods though right?

I'm guessing if we made our own modification we could make it easier to detect auto c-bug, because they would be shooting faster then the normal rate and yet they haven't been kicked, am I right?
The thing is, if server got lagcomp enabled there is no way of detecting rapid fire cheats, unless firereate ofc.
because shooting is done on client side. But if lagcomp is disabled, then client sends key states to server, which means, auto c bug would need to send key states too, so - detectable.
Reply
#15

Still being used till now because it's epic.
Reply
#16

Nice Job !
Reply
#17

Nice but you must also create a version in which server don't kick player but warns and also take all weapons from that player uses c-bug
Reply
#18

Not bad!
Reply
#19

Someone can tell me how to enable/unable this anticbug system with a /cmd? for example, /anticbug <- to turn on/off the anticbug system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)