Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › Help Some codes

Help Some codes

Posts 1–5 of 5 · Page 1 of 1
01
012g
Help Some codes
Ok ppl i did a workking auto clicker i want it to make it work on combat arms or these kinds of games i cant get it work so here is the program code
Public Class Form1
Private Declare Sub mouse_event Lib "user32" (ByVal dwflags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cbuttons As Long, ByVal dwExtraInfo As Long)
Private Const mouseclickup = 4
Private Const mouseclickdown = 2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Interval = 10000
Timer1.Start()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Stop()
End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
mouse_event(mouseclickdown, 0, 0, 0, 0)
mouse_event(mouseclickup, 0, 0, 0, 0)

End Sub
help me ppl
#1 · 17y ago
No5cope
No5cope
"Timer1.Interval = 10000"

make it Timer1.Interval = 1

the im preety sure it will work, never actual made one of these.. so i might be wrong..
#2 · 17y ago
01
012g
nope it doesnt hlp
#3 · 17y ago
No5cope
No5cope
Quote Originally Posted by 012g View Post
nope it doesnt hlp
dang lol.. i dunno.. ill look it up on google.. see what i can find
#4 · 17y ago
Zoom
Zoom
Code:
Code:
  Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

code to button:

mouse_event(&H2, 0, 0, 0, 1)
                mouse_event(&H4, 0, 0, 0, 1)
set timer1.interval = 50 or it will lagg!
#5 · 17y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • Need help with some codes - Vb8By NatureSkillz in Visual Basic Programming
    9Last post 17y ago
  • [Help] Some other codes/helpBy Mr.Mackey in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    5Last post 16y ago
  • [HELP] Want to add some codes to QCZMBy lolhack8808 in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    18Last post 15y ago
  • [help]Execute some code after typing in chatBy Talamaur in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    4Last post 15y ago
  • Help please injector? (and some code's)By Wizdom-X in WarRock Discussions
    7Last post 15y ago

Tags for this Thread

#codes