Results 1 to 12 of 12
  1. #1
    edrsvc's Avatar
    Join Date
    Sep 2007
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0

    Smile [Help]WarRock injector doesn't work

    Hello MPGH!

    Ohh please help me !

    I've tried to make a injector for WarRock but it doesn't inject the .dll.
    Here is the code of the inject part of the whole script:
    Code:
    Private Sub Inject()
            On Error GoTo 1 ' If error occurs, app will close without any error messages
            Timer1.Stop()
            Dim TargetProcess As Process() = Process.GetProcessesByName("WarRock")
            TextBox2.Text = (time + "Process found!!")
            TargetProcessHandle = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, TargetProcess(0).Id)
            pszLibFileRemote = Application.StartupPath & "\" + ExeName + ".dll"
            pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA")
            TargetBufferSize = 1 + Len(pszLibFileRemote)
            Dim Rtn As Integer
            Dim LoadLibParamAdr As Integer
            LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, MEM_COMMIT, PAGE_READWRITE)
            Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0)
            CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0)
            CloseHandle(TargetProcessHandle)
    
    
    1:      TextBox1.Text = ("Error:")
    
            TextBox2.Text = (time + ": Please run as Administrator")
        End Sub
    Yes, the script is NOT from me. But I'm trying to get better skills in BASIC.

    Please help me with that problem.
    Greeting
    edrsvc

  2. #2
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by edrsvc View Post
    Hello MPGH!

    Ohh please help me !

    I've tried to make a injector for WarRock but it doesn't inject the .dll.
    Here is the code of the inject part of the whole script:
    Code:
    Private Sub Inject()
            On Error GoTo 1 ' If error occurs, app will close without any error messages
            Timer1.Stop()
            Dim TargetProcess As Process() = Process.GetProcessesByName("WarRock")
            TextBox2.Text = (time + "Process found!!")
            TargetProcessHandle = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, TargetProcess(0).Id)
            pszLibFileRemote = Application.StartupPath & "\" + ExeName + ".dll"
            pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA")
            TargetBufferSize = 1 + Len(pszLibFileRemote)
            Dim Rtn As Integer
            Dim LoadLibParamAdr As Integer
            LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, MEM_COMMIT, PAGE_READWRITE)
            Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0)
            CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0)
            CloseHandle(TargetProcessHandle)
    
    
    1:      TextBox1.Text = ("Error:")
    
            TextBox2.Text = (time + ": Please run as Administrator")
        End Sub
    Yes, the script is NOT from me. But I'm trying to get better skills in BASIC.

    Please help me with that problem.
    Greeting
    edrsvc
    Why is this in the C++ section?
    Last edited by Auxilium; 08-07-2010 at 05:06 AM.

  3. #3
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Get your VB shit out of here.

  4. The Following User Says Thank You to Void For This Useful Post:

    NextGen1 (08-10-2010)

  5. #4
    edrsvc's Avatar
    Join Date
    Sep 2007
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    OHHH SORRY!!!! I'll delete it!

  6. #5
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by edrsvc View Post
    OHHH SORRY!!!! I'll delete it!
    ...you can't

  7. #6
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Just wait for Wes to move it.

  8. #7
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    ya know.. its understandable... VB is the same shit as C++
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  9. The Following User Says Thank You to 'Bruno For This Useful Post:

    NextGen1 (08-10-2010)

  10. #8
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    Quote Originally Posted by Brinuz View Post
    ya know.. its understandable... VB is the same shit as C++
    I'm glad I know that you know better.. if not i'd so get ur ass banned D:

    ~moved to VB~
    Ah we-a blaze the fyah, make it bun dem!

  11. The Following 2 Users Say Thank You to Hell_Demon For This Useful Post:

    'Bruno (08-07-2010),NextGen1 (08-10-2010)

  12. #9
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    It's because that "script" fails.

    You need to use a newer copypastable source, or write your own.

    Theres a search button for a reason.

  13. The Following User Says Thank You to Lolland For This Useful Post:

    edrsvc (08-07-2010)

  14. #10
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Try this

    Code:
            Timer1.Stop()
            Dim TargetProcess As Process() = Process.GetProcessesByName(ProcessName.Text)
            TargetProcessHandle = OpenProcess(PROCESS_CREATE_THREAD Or PROCESS_VM_OPERATION Or PROCESS_VM_WRITE, False, TargetProcess(0).Id)
            pfnStartAddr = GetProcAddress(GetModuleHandle("Kernel32"), "LoadLibraryA")
            TargetBufferSize = 1 + Len(pszLibFileRemote)
            Dim Rtn As Integer
            Dim LoadLibParamAdr As Integer
            LoadLibParamAdr = VirtualAllocEx(TargetProcessHandle, 0, TargetBufferSize, MEM_COMMIT, PAGE_READWRITE)
            Rtn = WriteProcessMemory(TargetProcessHandle, LoadLibParamAdr, pszLibFileRemote, TargetBufferSize, 0)
            CreateRemoteThread(TargetProcessHandle, 0, 0, pfnStartAddr, LoadLibParamAdr, 0, 0)
            CloseHandle(TargetProcessHandle)
    No I do not make game hacks anymore, please stop asking.

  15. The Following User Says Thank You to flameswor10 For This Useful Post:

    edrsvc (08-07-2010)

  16. #11
    edrsvc's Avatar
    Join Date
    Sep 2007
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Thank you verry much for your fast answers! I'm trying to solve my problem with your answers.
    You two got a thanks from me.
    I'll post a message if it works or not.

  17. #12
    /b/oss's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    13,651
    Reputation
    795
    Thanks
    3,547
    look, there's TUT from blub: https://www.mpgh.net/forum/33-visual-...jector-os.html
    but please, don't post anythink there (bump)

Similar Threads

  1. injector doesn't work
    By grypery in forum CrossFire Help
    Replies: 4
    Last Post: 03-05-2011, 06:43 AM
  2. Need some help. Hack/Injector won't work.
    By Vexatiion in forum Combat Arms Help
    Replies: 6
    Last Post: 10-01-2010, 11:09 PM
  3. [Help] My Made Injector Doesn't Work
    By Evil-Pancake in forum Combat Arms EU Help
    Replies: 0
    Last Post: 08-17-2010, 10:06 AM
  4. [Help] Warrock Hacks Doesn't work (very detailed)
    By harelori in forum WarRock Discussions
    Replies: 6
    Last Post: 06-28-2010, 07:13 AM
  5. My Injector doesn't Work
    By iRaid in forum WarRock Help
    Replies: 2
    Last Post: 04-10-2010, 08:39 PM