Results 1 to 3 of 3
  1. #1
    Law's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    2,432
    Reputation
    174
    Thanks
    4,620
    My Mood
    Amused

    Maplestory Memory Reducer

    Been using this to make sure my Bots don't dc as much. Credits to DurrHurr [GK]


    How to use:

    - If you are using the simple Bypass by Chubbz simply place it into the maplestory folder

    * If you are using another bypass just inject it into maplestory *

    Simple Bypass: https://www.mpgh.net/forum/showthread...9#post10926129

    Injector: https://www.mpgh.net/forum/showthread.php?t=1002531

    Source code:

    Code:
    format PE DLL
    entry DllMain
    
    include 'win32a.inc'
    
    struct PROCESS_MEMORY_COUNTERS
      cb dd ?
      PageFaultCount dd ?
      PeakWorkingSetSize dd ?
      WorkingSetSize dd ?
      QuotaPeakPagedPoolUsage dd ?
      QuotaPagedPoolUsage dd ?
      QuotaPeakNonPagedPoolUsage dd ?
      QuotaNonPagedPoolUsage dd ?
      PagefileUsage dd ?
      PeakPagefileUsage dd ?
    ends
    
    section '.text' code readable executable
    
    proc PoliceMemory param
      local   lpMemInfo PROCESS_MEMORY_COUNTERS
      invoke  GetCurrentProcess
      mov     edi, eax
      lea     esi, [lpMemInfo]
      mov     dword [esi], sizeof.PROCESS_MEMORY_COUNTERS
    .loop:
      invoke  K32GetProcessMemoryInfo, edi, esi, sizeof.PROCESS_MEMORY_COUNTERS
      test    eax, eax
      jz      .done
      cmp     [esi + PROCESS_MEMORY_COUNTERS.WorkingSetSize], 0x4000000
      jbe     .done
      invoke  SetProcessWorkingSetSize, edi, -1, -1
    .done:
      invoke  Sleep, 5000
      jmp     .loop
    endp
    
    proc DllMain hModule, fdwReason, lpvReserved
      cmp     [fdwReason], DLL_PROCESS_ATTACH
      jnz     .done
      invoke  CreateThread, 0, 0, PoliceMemory, 0, 0, 0
      test    eax, eax
      jz      .done
      invoke  CloseHandle, eax
      invoke  DisableThreadLibraryCalls, [hModule]
    .done:
      mov     eax, TRUE
      ret
    endp
    
    section '.idata' import data readable writeable
    
      library kernel, 'kernel32.dll'
      import kernel, \
        K32GetProcessMemoryInfo, 'K32GetProcessMemoryInfo', \
        DisableThreadLibraryCalls, 'DisableThreadLibraryCalls', \
        CreateThread, 'CreateThread', \
        SetProcessWorkingSetSize, 'SetProcessWorkingSetSize', \
        GetCurrentProcess, 'GetCurrentProcess', \
        Sleep, 'Sleep', \
        CloseHandle, 'CloseHandle'
    
    section '.reloc' fixups data readable discardable
    Virus Scans:

    1: https://virusscan.jotti.org/en-US/fi...job/7i5b4622w8

    2: https://www.virustotal.com/en/file/5...is/1441744080/
    <b>Downloadable Files</b> Downloadable Files

  2. The Following 3 Users Say Thank You to Law For This Useful Post:

    jremix160 (07-19-2016),lzhxwmr (09-12-2015),Malphas01 (10-22-2015)

  3. #2
    People aren't against you;
    They are for themselves

    Former Staff
    Premium Member
    Kevin's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Home
    Posts
    12,471
    Reputation
    2145
    Thanks
    1,894
    My Mood
    Tired
    Looks clean /approved
    Please contact me through PM, I rarely check MPGH IM


    MPGH Minion+ 2/5/2019 - 12/1/2020
    Call of Duty Minion 12/23/2017 - 12/1/2020
    MPGH Minion 12/23/2017 - 2/5/2019
    MPGH Minion+ 2/2/2016 - 8/9/2016
    NewsForce Writer 1/1/2016 - 8/9/2016
    CockSucker 7/24/2015 - 7/25/2015
    Other Semi-Popular FPS Hacks Minion 12/27/2015 - 8/9/2016
    Combat Arms Minion 11/4/2015 - 8/9/2016
    Maplestory Minion 6/1/15 - 8/9/2016
    League of Legends Minion 6/1/2015 - 8/9/2016
    Other FPS Hacks Minion 5/31/2015 - 8/9/2016
    Minecraft Marketplace Minion 6/18/2015 - 9/15/2015
    Combat Arms Marketplace Minion 4/05/2015 - 6/2/2015
    Marketplace Minion 8/1/2014 - 6/2/2015
    MPGH Minion 8/1/2014 - 2/2/2016

    Pharaoh (#7) 5/01/2014 - 5/31/2014
    Premium Member 2/1/2014 - Current
    Official Middle Man 12/12/2013 - 6/2/2015
    Member 11/15/2009 - Current

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

    Law (09-08-2015)

  5. #3
    accelrateboosting's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0
    looks good man thanks for the release.

Similar Threads

  1. maplestory hack
    By juzo in forum Hack Requests
    Replies: 12
    Last Post: 01-27-2006, 09:25 AM
  2. MapleStory
    By SimpleAs in forum General Game Hacking
    Replies: 5
    Last Post: 01-26-2006, 04:16 PM
  3. maplestory hack
    By juzo in forum General Game Hacking
    Replies: 7
    Last Post: 01-26-2006, 09:06 AM
  4. Replies: 3
    Last Post: 01-04-2006, 09:52 PM
  5. Direct Memory Access (DMA) to Static Memory Addresses
    By Dave84311 in forum Game Hacking Tutorials
    Replies: 0
    Last Post: 12-31-2005, 08:18 PM