1. Pinoy Hideout is the Ultimate Pinoy Chat, Mobile and PC Community
    We have been leading the scene for over 7 years and currently offer:
    • latest and updated game cheats and softwares
    • internet tricks for your android phone, mobile network, and computer
    • a staff team who helps protect its members from malware while enforcing a great community

    • You must register an account before you can post, download files, and see any advanced features or content.

  2. How to avail PHO VIP hack/s?
    Click here for more Info!
    [PHO] VIP Hacks Price

      SF1 VIP|ROS VIP

    • 7 Days = php 150
    • 15 Days = php 200
    • 1 Month = php 300

      SF2 VIP

    • 7 Days = php 200
    • 15 Days = php 250
    • 1 Month = php 500
    Dismiss Notice
Dismiss Notice
Announcement!
Gusto mo bang makakuha ng VIP subcription ng libre? CLICK HERE<

Source ROS No Recoil

Discussion in 'Rules of Survival Source Code and Tutorial' started by Linux2, Feb 21, 2019.

  1. Linux2

    Linux2 Sage

    Reputations:
    136
    Joined:
    Dec 17, 2013
    Posts:
    1,736
    Likes Received:
    30
    Trophy Points:
    35

    Here's my old no recoil source code

    I quit playing ROS

    Code:
    DWORD FindPattern(DWORD dwStart, DWORD dwLen, BYTE* pszPatt, char pszMask[])
    {
        unsigned int i = NULL;
        int iLen = strlen(pszMask) - 1;
        for (DWORD dwRet = dwStart; dwRet < dwStart + dwLen; dwRet++)
        {
            if (*(BYTE*)dwRet == pszPatt || pszMask == '?')
            {
                if (pszMask[i + 1] == '\0') return(dwRet - iLen); i++;
            }
            else i = NULL;
        } return NULL;
    }
    
    void Patch(void *adress, void *bytes, int size)
    {
        DWORD dwProtect;
        VirtualProtect((void*)adress, size, PAGE_EXECUTE_READWRITE, &dwProtect);
        memcpy((void *)adress, (PBYTE)bytes, size);
        VirtualProtect((void*)adress, size, dwProtect, &dwProtect);
    }
    void NoRecoil()
    {
        DWORD    DwStartAddress , DwSize , recoil , DwSpeed;
        Sleep(50);
                DwStartAddress = (DWORD)GetModuleHandle("ros.exe");
                do {
                    DwStartAddress = (DWORD)GetModuleHandle("ros.exe");
                    Sleep(50);
                } while (!DwStartAddress);
                DwSize = 0xF0000000;
        recoil = FindPattern(DwStartAddress, DwSize, (PBYTE)"\xF2\x0F\x5E\x05\x00\x00\x00\x00\x83\xEC\x08\xF2\x0F\x11\x04\x24", (PCHAR)"xxxx????xxxxxxxx");
        Patch((void*)(recoil), (int*)(PBYTE)"\xF2\x0F\x5E\x0D", 4);
    }
     
    #1 Linux2, Feb 21, 2019
    Last edited: Feb 22, 2019
    WhiteBeard likes this.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Share This Page

Pinoy Hideout