[Release] Sudden Attack Johnson_Code Upgraded to Visual Studio 2019

thanks but i finally manage it and im now getting some error on bomb mode but still the code works well and i change the crash handler and use bugtrap instead so no more problem on windows 10 hope it also work on windows 11. btw do you have discord?
just pm here
 
mnetwork iguinho123 sorry i had to reproduce the issue on my end to find a solution , the black screen issue is due to animation race condition

to fix it you can do it in your own way , but as a quick hotfix you can do it like this , ClientWeapon.cpp CClientWeapon::ReloadClip function :

C++:
    if (!bForce)
    {
        //prevent reload anim if fire anim is still active
        uint32 dwAni = g_pLTClient->GetModelAnimation(m_hObject);
        if (IsFireAni(dwAni) || IsPreFireAni(dwAni) || IsPostFireAni(dwAni))
        {
            return;
        }
       
        // Already reloading...
        if (m_hObject && (W_RELOADING == GetState()))
        {
            return;
        }

       
        //....rest of code
        }
Thanks, it's fixed the black screen issue but the reload now have a delay before the reload animation is playing even not in firing state. I'm still searching the fix for the smooth reload animation
 
Back