• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Easy fix sniper zoom in game

Junior Spellweaver
Joined
Sep 27, 2016
Messages
151
Reaction score
10
This release very easy for NEWBIE (zZzZzZzZz)
Let's Started

Search in Source_Code
ZMyCharacter.cpp

Code:
void ZMyCharacter::OnGadget_Snifer()
    {
    ZMyCharaterStatusBitPacking & zStatus = m_statusFlags.Ref();


    zStatus.m_bSniferMode = !zStatus.m_bSniferMode;


    ZCombatInterface* ci=ZGetCombatInterface();
    if (ci)
    {
        if (zStatus.m_bSniferMode)
        {
            ci->OnGadget(MWT_SNIFER);
        }
        else
        {
            ci->OnGadgetOff();
        }
    }

}

And replace with this code

Code:
[COLOR=#666666]unsigned long g_dwLastSniperUpdate = 0;[/COLOR]

void ZMyCharacter::OnGadget_Snifer()
{
    unsigned long dwTime = timeGetTime();

    if (g_dwLastSniperUpdate == 0 || g_dwLastSniperUpdate <= (dwTime - 200))
    {
        ZMyCharaterStatusBitPacking & zStatus = m_statusFlags.Ref();

        zStatus.m_bSniferMode = !zStatus.m_bSniferMode;

        ZCombatInterface* ci=ZGetCombatInterface();

        if (ci)
        {
            if (zStatus.m_bSniferMode)
            {
                ci->OnGadget(MWT_SNIFER);
            }
            else
            {
                ci->OnGadgetOff();
            }
        }    

        g_dwLastSniperUpdate = dwTime;
    }
[COLOR=#666666]}[/COLOR]

OK End, See very easy let's try SNIPER in Game, you will be surprised
 
Last edited:
I'm retired, I'm already
Banned
Joined
Oct 3, 2011
Messages
832
Reaction score
155
This had been done by Hideasu for decades.
 
Last edited:
Back
Top