Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Scope Cheat Detection ALPHA
[SSGM 4.0 Plugin] Scope Cheat Detection ALPHA [message #464629] Sun, 18 March 2012 13:00
iRANian is currently offline  iRANian
Messages: 4298
Registered: April 2011
Karma: 0
General (4 Stars)
THIS IS AN ALPHA AND MIGHT CRASH YOUR SERVER, IT MIGHT ALSO GIVE FALSE POSITIVES, I'M NOT REPSONSIBLE FOR WHAT THIS PLUGIN DOES.

This plugin outputs messages to the console that look like the following if a player is scoped with a weapon that doesn't have a scope:

[IRANSTUFF][Scope Warning]Iran is scoped in holding Weapon_Pistol_Player.

Note: There's a bug in game that allows a player to scope with non-scoped weapons if they have a weapon with a scope in their weapon bag.

Thanks to Blacky for essential testing and thanks to jonwil for quickly checking if this plugin was possible to make.

To install, place 'ScopeCheatDetection.dll' in the root FDS folder and add an entry for it under the [Plugins] section of SSGM.ini, then add the following to the bottom of SSGM.ini:

[ScopeCheatDetection_ScopedWeaponsList]
;These weapon presets have a scope and therefor players that are scoped holding these weapons shouldn't be flagged as using a scope on a non-scoped weapon
; the '=1' is read but has no meaning
Weapon_RamjetRifle_Player=1
CnC_Weapon_RamjetRifle_Player=1
Weapon_RamjetRifle_Ai=1
Weapon_SniperRifle_Player=1
CnC_Weapon_SniperRifle_Player=1
Weapon_SniperRifle_Ai=1
Weapon_SniperRifle_Ai_GDI=1
Weapon_SniperRifle_Player_Nod=1
CnC_Weapon_SniperRifle_Player_Nod=1


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
Previous Topic: Kambot on TT server
Next Topic: [SSGM 4.0 Plugin] LuaTT
Goto Forum:
  


Current Time: Thu Mar 28 10:51:20 MST 2024

Total time taken to generate the page: 0.00509 seconds