Post: GTA_V ONLINE_SCRIPT_MOD_BYPASS by Bucho
04-27-2015, 05:50 PM #1
bunbun888
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); You must login or register to view this content.
    
#pragma warning(disable:4996)
#include <windows.h>
#include <stdio.h>
#include <string>
#include <psapi.h>
#include <stdint.h>
using namespace std;


DWORD64 GetModuleBase(HANDLE hProc, string &sModuleName)
{



HMODULE *hModules;
hModules = 0;
char szBuf[50];
DWORD cModules = 0;
DWORD64 dwBase = 0;

EnumProcessModules(hProc, hModules, 0, &cModules);
hModules = new HMODULE[cModules / sizeof(HMODULE)];

if (EnumProcessModules(hProc, hModules, cModules / sizeof(HMODULE), &cModules)) {
for (int i = 0; i < cModules / sizeof(HMODULE); i++) {
if (GetModuleBaseName(hProc, hModules[i], szBuf, sizeof(szBuf))) {
if (sModuleName.compare(szBuf) == 0) {
dwBase = (DWORD64)hModules[i];
break;
}
}
}
}

delete[] hModules;

return dwBase;
}


void bypass_online()
{
__int64 Address = GetModuleBase(GetCurrentProcess(), string("GTA5.exe"));
INT i, p;
CHAR *MemoryBuff = new CHAR[512];
int ok = 0;
HANDLE hProcess = GetCurrentProcess();
BYTE bytes[] = { 0x48, 0x8B, 0x88, 0x10, 0x01, 0x00, 0x00 };
BYTE bytes2[] = { 0x4C, 0x8D, 0x8A, 0xC4, 0x00, 0x00, 0x00 };
BYTE jmp[] = { 0xEB, 0x1B };
BYTE nop2[] = { 0x90, 0x90 };
int count = 0;
int adc = 0;
for (int i = 0; i < 0x9FFF9840; i++)
{
ReadProcessMemory(hProcess, (LPVOID)Address, (LPVOID)MemoryBuff, 512, NULL);
for (p = 0; p < 512; p++)
{
Address++;
MemoryBuff++;
if (ok == 0)
{
if (memcmp(MemoryBuff, bytes, 7) == 0)
{
count++;
if (count == 2)
{
WriteProcessMemory(hProcess, (LPVOID)(Address + 0x2D), nop2, 2, 0);
ok = 1;
count = 0;
}
}
}
if (ok == 1)
{
if (adc == 0)
{
Address = GetModuleBase(GetCurrentProcess(), string("GTA5.exe"));
adc = 1;
}

if (memcmp(MemoryBuff, bytes2, 7) == 0)
{
count++;
if (count == 4)
{
WriteProcessMemory(hProcess, (LPVOID)(Address -0x27Cool Man (aka Tustin), jmp, 2, 0);
goto endfunc;
}
}
}

}
MemoryBuff = MemoryBuff - 512;
}
endfunc:;
}

//if u use alex's script hook it.

void ScriptMain()
{
bypass_online();//this function bypass create_vehicle and other function. and fix to crash when change animal of model in online
}
Last edited by bunbun888 ; 04-28-2015 at 02:05 AM.

The following user thanked bunbun888 for this useful post:

lwick
04-27-2015, 07:51 PM #11
bunbun888
Do a barrel roll!
No.      

fffff
    
04-27-2015, 07:55 PM #12
Yes it is, the exact same You must login or register to view this content.
04-27-2015, 08:00 PM #13
bunbun888
Do a barrel roll!
Originally posted by oRezzah View Post
Yes it is, the exact same You must login or register to view this content.

WTF!? I find out this code and assembly. lol
your source from?
04-27-2015, 08:01 PM #14
lo777lov
Save Point
Load compile dll pls
04-27-2015, 08:03 PM #15
directdanny
Save Point
Originally posted by oRezzah View Post
Yes it is, the exact same You must login or register to view this content.


Could you provide a download to this bypasser? thank you
04-27-2015, 08:10 PM #16
This is in the source of the already released native trainert and script hook xD
04-27-2015, 08:11 PM #17
Originally posted by oRezzah View Post
This is in the source of the already released native trainert and script hook xD


??? what??
04-27-2015, 08:12 PM #18
bunbun888
Do a barrel roll!
It's mine code... lol... have release url?
04-27-2015, 08:12 PM #19
Originally posted by bunbun888 View Post
It's mine code... lol... have release url?


Bun bun make a new thread with the download of the asi file with the bypass because i need to download alot of things to do it

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo