Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Range and RoF Cheat Detection
[SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464413] Wed, 14 March 2012 11:29 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
This plugin requires scripts 4.0 Beta 4 or higher. THIS PLUGIN IS EXPERIMENTAL AND MIGHT CRASH OR LAG YOUR SERVER, IT MIGHT ALSO GIVE OUT FALSE WARNINGS. I'M NOT RESPONSIBLE FOR WHAT THIS PLUGIN DOES.

This plugin adds detection for Rate of Fire cheats and range cheats (this includes *cheat name removed*spectate shooting in most circumstances) to the FDS, if the plugin detects odd range or Rate of Fire values it will log text to RenLog that looks like these:

Range warnings look like:

[19:57:38] [IRANSTUFF][Range Warning]RebdogFuckingHax (Automatic Rifle) attempted to attack Mel_Gibson from out of range. Distance: 164.42 meters Max Distance: 0.00 meters.

RoF warnings look like:

[19:57:38] [IRANSTUFF][RoF Exceeded]Name: RebdogFuckingHax ID: 2 Ping: 96 Hits: 79 HitMultiplier: 1 DefHits: 10 Allowance: 1 MaxHits: 11 Weapon: Automatic Rifle

To install, place 'RangeRofDetection.dll' in the root FDS folder and add an entry under [Plugins] in SSGM.ini. A BRenBot plugin to output these messages to the IRC admin channel can be found here.

Ported the code from OnOeS made by Hex, pvtschlag and jnz. Thanks to Tiberian Technologies for adding the damage hook to scripts 4.0 Beta 4 and StealthEye in particular for answering my questions. Additional thanks go to rebdog, Blacky and BillieJoe67 for helping me with testing.

Known bugs/limitations:
- Vehicle Rate of Fire isn't checked. (I'll investigate adding it in the future)
- Can trigger the range warning when someone is 'ghosting'.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Wed, 14 March 2012 13:49]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464414 is a reply to message #464413] Wed, 14 March 2012 12:24 Go to previous messageGo to next message
Starbuzz is currently offline  Starbuzz
Messages: 2500
Registered: May 2007
Karma: 2
General (2 Stars)
iRANian wrote on Wed, 14 March 2012 11:29

RebdogFuckingHax


lmao

btw, good job Iran with all these releases!


buzzsigfinal
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464416 is a reply to message #464413] Wed, 14 March 2012 13:38 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Quote:

A BRenBot plugin is in the work but there's been some issues getting the regex hook to work with BRenBot 1.53 and SSGM 4.0.


that was herp derping.

here is a brenbot plugin that outputs those messages to irc.


http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464424 is a reply to message #464413] Wed, 14 March 2012 16:47 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
I thought BITACH / TT was supposed to cover that sort of anit-cheat.......

http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464429 is a reply to message #464413] Wed, 14 March 2012 19:08 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
The thing the public BIATCH lacked for the public was a RoF detector and range detector. Why is that? And is it included in the current 4.0 or still not.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464430 is a reply to message #464429] Wed, 14 March 2012 19:54 Go to previous messageGo to next message
Ani is currently offline  Ani
Messages: 399
Registered: February 2012
Location: New York City
Karma: 0
Commander
Xpert wrote on Wed, 14 March 2012 19:08

The thing the public BIATCH lacked for the public was a RoF detector and range detector. Why is that? And is it included in the current 4.0 or still not.


I'm going to take an educated guess and say it's not currently included with TT. Thats now though, but considering TT has adopted some of Iran's releases previously, I can see this plugin being implemented internally or made as an official plugin or something..
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464459 is a reply to message #464413] Thu, 15 March 2012 20:17 Go to previous messageGo to next message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
One big flaw in this design. What if a player lags? His data gets bottled up on his PC then Bursts to the server. I have had a Ramjet fire 4 shots within a half second because of a lag burst. Seriously without cheats of any type. I have laid a lot of c4 in the wrong position quickly because of lag.

Same thing with these stupid PT hack detectors. I have lag walked to a PT terminal only to find my self half way across the base. I could have been banned for trying to access a terminal from more than 5 meters.

Take into account a laggy-ass game.


http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464461 is a reply to message #464459] Thu, 15 March 2012 21:29 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

halo2pac wrote on Thu, 15 March 2012 22:17

One big flaw in this design. What if a player lags? His data gets bottled up on his PC then Bursts to the server. I have had a Ramjet fire 4 shots within a half second because of a lag burst. Seriously without cheats of any type. I have laid a lot of c4 in the wrong position quickly because of lag.

Same thing with these stupid PT hack detectors. I have lag walked to a PT terminal only to find my self half way across the base. I could have been banned for trying to access a terminal from more than 5 meters.

Take into account a laggy-ass game.

How this is a big flaw? I don't know if you noticed, but all this plugin does is output a message to the log (and the optional BR plugin outputs it to IRC). Did it say anywhere that this is an automated ban system? No. The PT hack detectors have always wonderfully if you don't base a player's legitimacy on a single PT warning. Same with rate of fire. The range thing is actually quite a nice (unique) release.

So what was that point you were making again?


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464474 is a reply to message #464413] Fri, 16 March 2012 06:21 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
There's what Ethenal said and there's a really really small hit allowance built-in, I don't know if lag triggers it, it would be really helpful for me if someone else could test it with high ping. The hit hit allowance is so small that people using RoF cheats designed to give a small advantage will be caught by this. The range detection is similar. http://www.renegadeforums.com/images/message_icons/icon10.gif

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #464490 is a reply to message #464413] Fri, 16 March 2012 09:29 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Is anyone running this on their server? I was planning for Area54 to test it but we're waiting on getting a few things ready before we're done with porting the area54 server to 4.0.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465180 is a reply to message #464429] Sat, 31 March 2012 08:39 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

Xpert wrote on Thu, 15 March 2012 03:08

The thing the public BIATCH lacked for the public was a RoF detector and range detector. Why is that? And is it included in the current 4.0 or still not.

Because it is highly inaccurate. Or at least, our testing showed that RoF can easily be triggered by a high ping or sudden bad connection, so one would have to compensate for that.

Same thing with the range, weapons actually shoot further than the effective range and again, with a lot of lag one can be say up to 20 renemeters from where the guy is on the server. This means that you have to set quite a large margin.

I don't know what countermeasures to this iRANian has (tried to) make, but we deemed it too inaccurate, specifically after we saw how easy some serverowners banned on PT messages, which are also lagsensitive. These reasons were for BlackIntel the reason not to release it.

Edit:
Read all replies before posting EWD.
halo2pac wrote on Fri, 16 March 2012 04:17

One big flaw in this design. What if a player lags? His data gets bottled up on his PC then Bursts to the server. I have had a Ramjet fire 4 shots within a half second because of a lag burst. Seriously without cheats of any type. I have laid a lot of c4 in the wrong position quickly because of lag.

Same thing with these stupid PT hack detectors. I have lag walked to a PT terminal only to find my self half way across the base. I could have been banned for trying to access a terminal from more than 5 meters.

Take into account a laggy-ass game.

Exactly what I wanted to say.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.

[Updated on: Sat, 31 March 2012 08:41]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465181 is a reply to message #464474] Sat, 31 March 2012 08:43 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

iRANian wrote on Fri, 16 March 2012 14:21

There's what Ethenal said and there's a really really small hit allowance built-in, I don't know if lag triggers it, it would be really helpful for me if someone else could test it with high ping. The hit hit allowance is so small that people using RoF cheats designed to give a small advantage will be caught by this. The range detection is similar. http://www.renegadeforums.com/images/message_icons/icon10.gif

Easy enough to try, set your SBBO very low (and make sure the server doesn't put it upwards) and nur to 6 (or was it Cool. This should already help a lot in getting more lag. Additionally you can lower the serverfps to 15 or so.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465782 is a reply to message #464413] Mon, 09 April 2012 02:45 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

I've got the plugin installed on our DM server + the BRenBot plugin that outputs the messages in IRC. It triggers the RoF detection when going from firing weapon A to firing weapon B directly after and if weapon B has a slower rate of fire then weapon A. So for example firing a flamethrower, chemsprayer or voltgun at an object or at the abyss and then switching to almost any other weapon will trigger it. It will prompt it's weapon B that exceeds its default RoF.

Maybe this is something you can account for in a future version? I really like the detection of RoF, but at this point it will probably be giving a lot of false positives. It's of course up to the moderators to know how to interpret what's actually happening when it triggers.


Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink

[Updated on: Mon, 09 April 2012 02:48]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465783 is a reply to message #464413] Mon, 09 April 2012 03:52 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
That isn't supposed to happen, lemme check some things.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465785 is a reply to message #465783] Mon, 09 April 2012 04:00 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

Update: If I shoot at something that can take damage with weapon A I only have to switch to weapon B to trigger it. I don't actually have to fire weapon B. When I do this trick and fire into the abyss (the sky f.e.) it will trigger sometimes, when I fire on an object it will trigger almost all the time.

Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink

[Updated on: Mon, 09 April 2012 04:01]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465786 is a reply to message #464413] Mon, 09 April 2012 04:07 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Could you try out this version? From the looks of it whoever coded it did the check if the weapon being held changed after actually reporting it.

http://dl.dropbox.com/u/21865790/RangeRoFDetection.dll


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465793 is a reply to message #464413] Mon, 09 April 2012 08:50 Go to previous messageGo to next message
reckneya is currently offline  reckneya
Messages: 128
Registered: November 2005
Location: Holland
Karma: 0
Recruit

Iran and I tested it on the server and the 3rd version (not sure if this is the 2nd or 3rd in your last post) seems to not trigger false positives as quickly as the first version. It may still trigger false positives, but we were unable to recreate it the way we could with version 1.

We'll keep an eye out and not ban unless it's blatant. We had a RoF cheater in the server. Would've been nice to see the plugin go wild on his ass.

Thanks Iran. This plugin will keep the server a little safer for none cheating gameplay.


Brandan wrote on Tue, 10 April 2012 07:13

Also what happened to you can change your ISP I doubt you even know what a VPN is or even a remote idea of how the Internet even works.
If I disregard the deficit of cohesion between his statements, and the lack of proper spelling and use of symbols I think I know what he was trying to say, and I lol'd. No hard feelings though Brandan Wink

[Updated on: Mon, 09 April 2012 08:57]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #465794 is a reply to message #464413] Mon, 09 April 2012 09:28 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Here's the latest version:

http://dl.dropbox.com/u/21865790/RangeRoFDetection.dll


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #466427 is a reply to message #464413] Fri, 20 April 2012 13:45 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Small bugfix for an error in the range detection reporting:



Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #471080 is a reply to message #464413] Mon, 09 July 2012 18:39 Go to previous messageGo to next message
Ani is currently offline  Ani
Messages: 399
Registered: February 2012
Location: New York City
Karma: 0
Commander
Does does not work on beta 5? Or is it already included? I get a popup error when the server starts when it comes to loading this plugin.
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #471081 is a reply to message #464413] Mon, 09 July 2012 19:19 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Here, for beta 5. This is my edit of the plugin. I changed the prefix to [BIATCH] so I wouldn't have to change anything in my bot. So don't go blaming biatch for the messages when you see them output.


Might I warn you, please do not rely on the RoF message detection that much. This is still a BETA TEST of the plugin. So don't go thinking off the back someone is cheating.


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder

[Updated on: Mon, 09 July 2012 19:20]

Report message to a moderator

Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #471653 is a reply to message #464413] Fri, 13 July 2012 18:13 Go to previous messageGo to next message
Ani is currently offline  Ani
Messages: 399
Registered: February 2012
Location: New York City
Karma: 0
Commander
How do I make it so the plugin for BRenBot that was released with this plugin works with Xpert's updated version?
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #471657 is a reply to message #471653] Fri, 13 July 2012 18:38 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Animoskity wrote on Fri, 13 July 2012 21:13

How do I make it so the plugin for BRenBot that was released with this plugin works with Xpert's updated version?


I wouldn't call it "updated" since all I did was change the prefix so that it works with my bot. I would just not use the plugin for the time being if you really want to rely on it. There's still false positives with this plugin.


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #471658 is a reply to message #464413] Fri, 13 July 2012 18:50 Go to previous messageGo to next message
Ani is currently offline  Ani
Messages: 399
Registered: February 2012
Location: New York City
Karma: 0
Commander
It helped pick up some guy with 0.0 scripts who had 2.3x the range on a normal railgun that would've slept by if I never looked into the logs. It would've been nice if there was a way for BRenBot to relay [BIATCH] logs. :/
Re: [SSGM 4.0 Plugin] Range and RoF Cheat Detection [message #471659 is a reply to message #464413] Fri, 13 July 2012 18:55 Go to previous messageGo to previous message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Fixed in next 4.0.


Problem was brought up by Iran already.
Here's his quote.

iRANian wrote on Fri, 06 July 2012 17:31

The regex in biatch.xml needs to be updated to:

    <hook event="biatchMessage" regex="\[BIATCH\]"/>


The 4.0 BIATCH messages don't prepend a whitespace to "[BIATCH]", which pre-4.0 BIATCH does. The original regex looks for this whitespace and that's why it didn't trigger.



You should really look into coding. Simple stuff like this, you could easily fix on your own and not have to wait on others. You've been around Renegade too long already (Not insulting you, just a tip).


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Previous Topic: BrenBot Refund Command
Next Topic: Server Crash
Goto Forum:
  


Current Time: Sat Nov 30 17:00:56 MST 2024

Total time taken to generate the page: 0.02228 seconds