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] Why Won't my Program Work on Full Screen?

[Help] Why Won't my Program Work on Full Screen?

Posts 1–9 of 9 · Page 1 of 1
QW
qwertySkill
[Help] Why Won't my Program Work on Full Screen?
I'm just trying to make a simple auto typer for League of Legends that uses hot keys. It works on all other full screen games except LoL, why?

Code:
    Public Const MOD_ALT As Integer = &H1 'ALT key

    Public Const WM_HOTKEY As Integer = &H312


    Public Declare Function RegisterHotKey Lib "user32" (ByVal hwnd As IntPtr, ByVal id As Integer, ByVal fsModifiers As Integer, ByVal vk As Integer) As Integer

    Public Declare Function UnregisterHotKey Lib "user32" (ByVal hwnd As IntPtr, ByVal id As Integer) As Integer


    Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)

        If m.Msg = WM_HOTKEY Then
            Dim id As IntPtr = m.WParam
            Select Case (id.ToString)
                Case "9"

                    SendKeys.Send("+{enter}")
                    SendKeys.Send("      GGGGGGG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("    GG            GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("  GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("GG          ")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("  GG             GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("    GG           GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("      GGGGGGG")
                    SendKeys.Send("{Enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("      GGGGGGG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("    GG            GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("  GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("GG          ")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("  GG             GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("    GG           GG")
                    SendKeys.Send("{enter}")
                    SendKeys.Send("+{enter}")
                    SendKeys.Send("      GGGGGGG")
                    My.Application.DoEvents()

            End Select
        End If
        MyBase.WndProc(m)
    End Sub

    Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing

        Call UnregisterHotKey(Me.Handle, 9)
        Call UnregisterHotKey(Me.Handle, 10)

    End Sub

    Private Sub GG_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Call RegisterHotKey(Me.Handle, 9, MOD_ALT, Keys.G)
        

    End Sub
#1 · 13y ago
'Bruno
'Bruno
Because you can't send input to a d3d game with sendkeys.

Try SendInput function (Windows) for example, or http://msdn.microsof*****m/en-us/libr...=vs.85%29.aspx .
#2 · 13y ago
JA
jaberus
Why don't you just make Macro's
#3 · 13y ago
LI
LilGho$t
Quote Originally Posted by 'Bruno View Post
Because you can't send input to a d3d game with sendkeys.

Try SendInput function (Windows) for example, or PostMessage function (Windows) .
You can actually I used that for my first combat arms external spammer i released. I just used:
Code:
SendKeys.Send("{ENTER}") ' opens text box
SendKeys.Send(<message>)
SendKeys.Send("{ENTER}")
#4 · 13y ago
'Bruno
'Bruno
Quote Originally Posted by LilGho$t View Post
You can actually I used that for my first combat arms external spammer i released. I just used:
Code:
SendKeys.Send("{ENTER}") ' opens text box
SendKeys.Send(<message>)
SendKeys.Send("{ENTER}")
oh well, yea, for spamming only tho.
#5 · 13y ago
LI
LilGho$t
Quote Originally Posted by 'Bruno View Post


oh well, yea, for spamming only tho.
I would think you could use it for anything so long as you're able to access that area by a set of key presses. Or, you go old school and force some mouse clicks But, best option is to go pro & just mod the value on the static address.
#6 · 13y ago
QW
qwertySkill
Does SendInput work in VB.NET? It says it's undefined.
#7 · edited 13y ago · 13y ago
'Bruno
'Bruno
Quote Originally Posted by qwertySkill View Post
Does SendInput work in VB.NET? It says it's undefined.
pinvoke.net: sendinput (user32)
#8 · 13y ago
DJ
djkrisnka
I know this has nothing to do with regarding this thread but i felt it needed to be stated.....

Every single member of MPGH.NET has once in their life has leech'd something so their should be nothing said against any member asking for help regarding someone elses code cause you can name any member on this site and i know for a fact every programmer/developer here has leech'd someone elses work...

so haters gonna hate so let them hate ,,!,,^-^,,!,,
#9 · 13y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • Why won't combat arms work?By wello in Combat Arms Help
    12Last post 15y ago
  • Why won't combat arms work?By wello in Combat Arms Help
    5Last post 15y ago
  • Why won't my Trainer work?By im_a_banana in Call of Duty Modern Warfare 3 Help
    1Last post 14y ago
  • external hack works in full screen.By SofaKingH4rd in Call of Duty Modern Warfare 2 Discussions
    2Last post 16y ago
  • WHy won't Rar work?By patsfan39 in WarRock - International Hacks
    3Last post 17y ago

Tags for this Thread

None