Bypassing 28_4?

Posts 1–11 of 11 · Page 1 of 1
Bypassing 28_4?
I tried to bypass 28_3, but got 38_4 then, searched a lots on mpgh but found nothing, do anyone know how to bypass it?
Thank you
Quote Originally Posted by thedemons View Post
I tried to bypass 28_3, but got 38_4 then, searched a lots on mpgh but found nothing, do anyone know how to bypass it?
Thank you
28_4 or 38_4?
28_4
Code:
void backup(DWORD CShell,DWORD WeaponMgr)
{
    DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr );
    for(int i=0;i<=1600;i++)
    {  
        DWORD Weapon = (*(DWORD*)(pWeaponMgr + (4*i)));
        if (Weapon != NULL)
        {
            Weapons[i] = new WeaponMgrCopy;
            memcpy(Weapons[i], (void*)(Weapon), 0x3000);
        }
    }
}
Quote Originally Posted by dreek1 View Post
28_4 or 38_4?
28_4
Code:
void backup(DWORD CShell,DWORD WeaponMgr)
{
    DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr );
    for(int i=0;i<=1600;i++)
    {  
        DWORD Weapon = (*(DWORD*)(pWeaponMgr + (4*i)));
        if (Weapon != NULL)
        {
            Weapons[i] = new WeaponMgrCopy;
            memcpy(Weapons[i], (void*)(Weapon), 0x3000);
        }
    }
}
How does this code work? Thanks anyway
Edit: where did you get 0x3000?
Quote Originally Posted by dreek1 View Post
28_4 or 38_4?
28_4
Code:
void backup(DWORD CShell,DWORD WeaponMgr)
{
    DWORD pWeaponMgr = *(DWORD*)(CShell+WeaponMgr );
    for(int i=0;i<=1600;i++)
    {  
        DWORD Weapon = (*(DWORD*)(pWeaponMgr + (4*i)));
        if (Weapon != NULL)
        {
            Weapons[i] = new WeaponMgrCopy;
            memcpy(Weapons[i], (void*)(Weapon), 0x3000);
        }
    }
}
http://mpgh.net/forum/showthread.php?t=611836
28_3 ?
Can anyone tell me how to use this code? Im just new
Quote Originally Posted by echo75 View Post
Can anyone tell me how to use this code? Im just new
No .
0x3000 is the size of weapon
in cfvn it is 0x74F0
How to find size weapon? (0x3000)
Quote Originally Posted by 159753cado25 View Post
How to find size weapon? (0x3000)
Code:
CopyMemory(Weapons[i], Pointer(Weapon), SizeOf(Weapon)); //Maybe this will make your life easier... (Or no)
Quote Originally Posted by 159753cado25 View Post
How to find size weapon? (0x3000)
Use the last offset you're changing
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us