Post: ★ [Release] HitmanModz - Black Ops 2 Button Monitoring C# Library/DLL ★
07-11-2014, 12:12 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Skype: @druss016

I will release my development for Black Ops 2 Button Monitoring C# Class Library. The library is used to detect button combinations and patterns pressed by clients locally and in online multiplayer. This can be use to assist in developing mod menus or RTM tools.

You may setup multiple callback functions as an action when a client successfully completes a button combination or pattern. Callbacks take the place of a loop that you may have written to recursive do an action or set a mod. For example, if a client presses L1 + R1, your callback function may activate a fair aimbot for that client.

Button detection support for local and multiplayer:

Local: X, Square, Triangle, Circle, L1, L2, L3, R1, R2, R3, Start, Select, Crouch, Prone, DPad Up, DPad Down, DPad Left, DPad Right

Multiplayer: X, Square, Triangle, Circle, L1, L2, L3, R1, R2, R3, Crouch, Prone, Toggle ADS, DPad Up, DPad Down, DPad Left, DPad Right

Changelog & main features that make this class useful:

Since 1.0.0

  • Supports button combination detection (Buttons pressed at the same time).
  • Allows you to specify multiple callback functions for each group of clients being monitored. You will not have to create your own loop for detecting buttons.
  • This class runs on a thread different than your main class, this way you can implement two things at once.
  • Easily manage the clients being monitored. Allows you to dynamically add and remove clients from monitoring sets.
  • Supports local and multiplayer button detection.
  • Button values are globally accessible which allows you to manually change the values. A scenario may be when an official update to the class library has not yet been made or you would like to test other button values for debugging reasons.

Since 1.1.0

  • Supports anti button abuse. This will prevent clients from abusing button combinations. There will be a delay between activating a specific button combination for each client. This means when a client presses a button combination, they will have to wait interval milliseconds before they can press it again. This can prevent your program or game from freezing from rapid callback calls.

Since 2.0.0

  • Supports all button layouts (Default, Tactical, Lefty, Nom4d & Charlie).
  • Improved anti button abuse detection.
  • Supports button pattern detection (Buttons pressed in sequential order).

Since 2.1.0

  • Faster and more efficient methods to read memory & detect buttons
  • Monitoring, for each client of each monitoring set, is ran on a single thread separate from all others. This allow for quicker button detection for each client.
  • Developers are now able to edit an XML file that determines what mods the program will use as actions for when a client presses a button combination or pattern.


Examples and Documentation

For examples and usage view the project on You must login or register to view this content.. For complete documentation visit: You must login or register to view this content..

You must login or register to view this content. You must login or register to view this content.


The official RTM Demo program

This program is provided as a demo to give you an example of what can be done with button monitoring. It has dynamic features which allow you to choose which client has access to a button combination or pattern and allows you to select what the combination or pattern will be.

You can edit an XML file provided to change what mods the program will use for actions when a client presses a button combination or pattern. It initially comes with simple mods like: Godmode, Infinite Ammo, VSAT, Freeze Player, Third Person, Perks, Invisibility, Drug/Poison Vision and Player Speed.

Program overview:


  • Start loop: Starts the timer/thread for each client.
  • Stop loop: Stops the timer/thread for each client.
  • Button combo: Adds a new button combination set. A button combination is a set of buttons are all pressed at the same time. Each combination set has its own set of clients to manage.
  • Button pattern: Adds a new button pattern set. A button pattern is a set of buttons that are pressed sequentially, or one after another in order. Each set has its own set of clients to manage.
  • Button layout: Allows you to change the button layout for button detection. Supports: Default, Tactical, Lefty, Nom4d and Charlie.
  • Anti-abuse: Allows you to set the interval between each completion of a button combination or pattern. For example, when a client presses a button combination and a mod is set, that client will have to have a certain amount of time before they can activate that mod again. This prevents the client from lagging or freezing you RTM program/menu.
  • Loop interval: Allows you to change the interval between calls to callback functions and detection. The smaller the number/interval the faster the program can detect a button press.
  • Add button: Adds the selected button to the detection button list for that combination or pattern set.
  • Delete button: Removes the last occurrence of the selected button from the detection button list for that combination or pattern set.
  • Action: This determines what the program will do when a client presses a button combination or pattern. In this demo, these actions are the callbacks.
  • Add client: Adds the selected client to the list of clients to monitor for that set.
  • Delete client: Removes the selected client from the list of clients to monitor for that set.
  • Reset all clients: Removes all clients from the list of clients to monitor for that set.
  • Add all clients: Adds all clients to the list of clients to monitor for that set.
  • Remove combo/pattern: Removes the entire monitoring set and all clients being monitored for that set.


Quick start guide:


  1. Connect, Attach and Force Host if needed.
  2. Press the "Get clients" button.
  3. Add a button combination, pattern or both.
  4. Choose the buttons to detect for that combination/pattern set.
  5. Choose the action to do when a client presses/activates a combination or pattern.
  6. Choose the clients that will have access to the button combination/pattern.
  7. Press Start loop to begin detecting buttons and calling actions.


You must login or register to view this content.


View all GitHub Version Releases

You must login or register to view this content. You must login or register to view this content. [URL="https://bm.hitmanmodz.info/wp-content/themes/HitmanModz/[HitmanModz]%20Black%20Ops%202%201.18%20-%20RTM%20Button%20Monitoring%20Official%20Demo.rar"]You must login or register to view this content.[/URL]

RTM Demo Program v1.4.15
SHA256: d18e2446969e9c25e0d8567ffc3d76b05e2c538846122e5a8cb15cff6e77c0a6
File name: [HitmanModz] Black Ops 2 1.18 - RTM Button Monitoring Official De...
Detection ratio: 0 / 54
Analysis date: 2014-07-16 16:18:37 UTC

Virus scan .dll version 2.1.0
SHA256: b141be9409f0e68aa23aeb11431e84b3f80a5c204f780140f5ce0b4eca967c7c
File name: ButtonMonitoring.dll
Detection ratio: 0 / 54
Analysis date: 2014-07-11 10:15:46 UTC

Virus scan .dll version 2.0.0
SHA256: 552f747f8429b2eeff3084a8fc8fbdb3d47185092ca1c63f5c493fa6e4220d76
File name: ButtonMonitoring.dll
Detection ratio: 0 / 54
Analysis date: 2014-07-11 10:07:12 UTC

Contact me for support

GitHub: You must login or register to view this content.
Skype: @druss016
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to MrHitman for this useful post:

BaSs_HaXoR, Geo, iRoyal // MoDz
07-11-2014, 02:57 PM #2
Geo
Don't Believe The Title
Good Work!
07-11-2014, 08:31 PM #3
Originally posted by GeoSe7enModding View Post
Good Work!


Thanks, the library is really efficient at detecting and is very helpful for developers once they learn to use it correctly.

And the demo will be great for developers to test and for modders to understand how it works. You can add your own mods to the RTM Demo program, its dynamic and kool.
07-18-2014, 10:51 AM #4
A Friend
League Champion
Originally posted by MrHitman View Post
Thanks, the library is really efficient at detecting and is very helpful for developers once they learn to use it correctly.

And the demo will be great for developers to test and for modders to understand how it works. You can add your own mods to the RTM Demo program, its dynamic and kool.

Maybe think about making your own project such as a menu with all this C# knowledge Winky Winky
07-18-2014, 11:04 AM #5
Originally posted by A
Maybe think about making your own project such as a menu with all this C# knowledge Winky Winky


I've thought about that, but seeing that Enstone is pretty far along his development for a while now, it would be like making whats already out there. I usually think of unique projects to develop or something different than what our there.

I think what I really want is to work with someone or a group or developers on a huge or long term project.
07-18-2014, 11:08 AM #6
A Friend
League Champion
Originally posted by MrHitman View Post
I've thought about that, but seeing that Enstone is pretty far along his development for a while now, it would be like making whats already out there. I usually think of unique projects to develop or something different than what our there.

I think what I really want is to work with someone or a group or developers on a huge or long term project.

BUT, Enstone's menus aren't free + you aimbot is better than his trust me
07-18-2014, 11:27 AM #7
Originally posted by A
BUT, Enstone's menus aren't free + you aimbot is better than his trust me


Thanks, and yea I always make free content. If I can find developers to work with I think I would give it a go, you know just to speed up the process. More ideas is better than one.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo