AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [CS:GO/CSS] Increase HUD limit for money, heath and armor (https://forums.alliedmods.net/showthread.php?t=314962)

gubka 03-15-2019 07:42

[CS:GO/CSS] Increase HUD limit for money, heath and armor
 
For CSS store 17 into Health, Armor, Money to increase hud limit

PHP Code:

public void OnPluginStart()
{
    
// Allow to send new tables
    
FindConVar("sv_sendtables").IntValue 1;

    
// Loads a gamedata configs file
    
Handle hConfig LoadGameConfigFile("plugin.fix");

    
// Load other offsets
    
int iBits               GameConfGetOffset(hConfig,  "CSendProp::m_nBits"))
    
Address g_SendTableCRC  GameConfGetAddress(hConfig"g_SendTableCRC"))
    
Address m_ArmorValue    GameConfGetAddress(hConfig"m_ArmorValue"))
    
Address m_iAccount      GameConfGetAddress(hConfig"m_iAccount"))
    
Address m_iHealth       GameConfGetAddress(hConfig"m_iHealth"))

    
// Memory patching
    
StoreToAddress(m_ArmorValue view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iAccount view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iHealth view_as<Address>(iBits), 32NumberType_Int32);

    
/// 1337 -> it just a random and an invalid CRC32 byte
    
StoreToAddress(g_SendTableCRC1337NumberType_Int32);


PHP Code:

"Games"
{
    
"csgo"
    
{
        
"Offsets"
        
{
            
"CSendProp::m_nBits"
            
{
                
"windows"   "12"
                "linux"     "12"
            
}
        }

        
// Sigs from the lib ( https://forums.alliedmods.net/showthread.php?t=309074 )
        // You can update them only by yourself using tutorial in the link
        
"Signatures"
        
{
           
"ServerClassInit<DT_CSPlayer::ignored>" // Str: "DT_CSPlayer"
            
{
                
"library"   "server"
                "windows"   "\x55\x8B\xEC\x83\xE4\xF8\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x40\x00\x00\x00"
                "linux"     "\x55\x89\xE5\x53\x81\xEC\xE4\x04\x00\x00"
            
}
            
"ServerClassInit<DT_BasePlayer::ignored>" // Str: "DT_BasePlayer"
            
{
                
"library"   "server"
                "windows"   "\x55\x8B\xEC\x83\xE4\xF8\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x34\x0C\x00\x00"
                "linux"     "\x55\x89\xE5\x53\x81\xEC\xA4\x00\x00\x00\x80\x3D\x2A\x2A\x2A\x2A\x00\x75\x2A\xC7\x04\x24\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75\x2A\xC7\x44\x24\x0C\x2A\x2A\x2A\x2A\xC7\x44\x24\x08\x2B\x00\x00\x00"
            
}
            
"SendTable_Init" // Str: "SendTable[%03d] = %s\n"
            
{
                
"library"   "engine"
                "windows"   "\x55\x8B\xEC\x83\xEC\x0C\x83\x3D\x2A\x2A\x2A\x2A\x00\x53"
                "linux"     "\x55\x89\xE5\x57\x56\x53\x83\xEC\x4C\xA1\x2A\x2A\x2A\x2A\x8B\x7D\x08\x85\xC0"
            
}
        }
      
        
// Addr from the lib ( https://forums.alliedmods.net/showthread.php?t=309074 )
        // You can update them only by yourself using tutorial in the link
        
"Addresses"
        
{
            
"m_ArmorValue"
            
{
                
"signature" "ServerClassInit<DT_CSPlayer::ignored>"
                "linux"
                
{
                    
"read"  "2077"
                
}
                
"windows"
                
{
                    
"read"  "2689"
                
}
            }
            
"m_iAccount"
            
{
                
"signature" "ServerClassInit<DT_CSPlayer::ignored>"
                "linux"
                
{
                    
"read"  "1459"
                
}
                
"windows"
                
{
                    
"read"  "1868"
                
}
            }
            
"m_iHealth"
            
{
                
"signature" "ServerClassInit<DT_BasePlayer::ignored>"
                "linux"
                
{
                    
"read"  "565"
                
}
                
"windows"
                
{
                    
"read"  "495"
                
}
            }
            
"g_SendTableCRC"
            
{
                
"signature" "SendTable_Init"
                "linux"
                
{
                    
"read"  "270"
                
}
                
"windows"
                
{
                    
"read"  "205"
                
}
            }
        }
    }



SHUFEN 03-24-2019 11:43

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Client got "Server uses different class tables." error.
How about?

gubka 03-24-2019 18:11

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Quote:

Originally Posted by SHUFEN.jp (Post 2644751)
Client got "Server uses different class tables." error.
How about?

Did you used FindConVar("sv_sendtables").IntValue = 1;?

SHUFEN 03-25-2019 00:55

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Quote:

Originally Posted by gubka (Post 2644808)
Did you used FindConVar("sv_sendtables").IntValue = 1;?

Thanks!
Btw, m_iAccount isn't corrected in Windows. (Health and ArmorValue is working fine) Can you fix it?
Also it is good if you can add Clip and ReservedAmmo values.

SHUFEN 03-25-2019 04:11

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Fmm...
I added "m_iClip1" and "m_iPrimaryReserveAmmoCount".

PHP Code:

public void OnPluginStart() {
    
FindConVar("sv_sendtables").SetInt(1);

    
// Loads a gamedata configs file
    
Handle hConfig LoadGameConfigFile("HUDLimitIncreaser.games");

    
// Load other offsets
    
int iBits                            GameConfGetOffset(hConfig,  "CSendProp::m_nBits");
    
Address g_SendTableCRC                GameConfGetAddress(hConfig"g_SendTableCRC");
    
Address m_ArmorValue                GameConfGetAddress(hConfig"m_ArmorValue");
    
Address m_iAccount                    GameConfGetAddress(hConfig"m_iAccount");
    
Address m_iHealth                    GameConfGetAddress(hConfig"m_iHealth");
    
Address m_iClip1                    GameConfGetAddress(hConfig"m_iClip1");
    
Address m_iPrimaryReserveAmmoCount    GameConfGetAddress(hConfig"m_iPrimaryReserveAmmoCount");

    
// Memory patching
    
StoreToAddress(m_ArmorValue view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iAccount view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iHealth view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iClip1 view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iPrimaryReserveAmmoCount view_as<Address>(iBits), 32NumberType_Int32);

    
/// 1337 -> it just a random and an invalid CRC32 byte
    
StoreToAddress(g_SendTableCRC1337NumberType_Int32);


PHP Code:

"Games"
{
    
"csgo"
    
{
        
"Offsets"
        
{
            
"CSendProp::m_nBits"
            
{
                
"windows"    "12"
                "linux"        "12"
            
}
        }

        
// Sigs from the lib ( https://forums.alliedmods.net/showthread.php?t=309074 )
        // You can update them only by yourself using tutorial in the link
        
"Signatures"
        
{
            
"ServerClassInit<DT_CSPlayer::ignored>" // Str: "DT_CSPlayer"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x83\xE4\xF8\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x40\x00\x00\x00"
                "linux"        "\x55\x89\xE5\x53\x81\xEC\xE4\x04\x00\x00"
            
}

            
"ServerClassInit<DT_BasePlayer::ignored>" // Str: "DT_BasePlayer"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x83\xE4\xF8\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x34\x0C\x00\x00"
                "linux"        "\x55\x89\xE5\x53\x81\xEC\xA4\x00\x00\x00\x80\x3D\x2A\x2A\x2A\x2A\x00\x75\x2A\xC7\x04\x24\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75\x2A\xC7\x44\x24\x0C\x2A\x2A\x2A\x2A\xC7\x44\x24\x08\x2B\x00\x00\x00"
            
}

            
"ServerClassInit<DT_BaseCombatWeapon::ignored>" // Str: "DT_BaseCombatWeapon"
            
{
                
"library"    "server"
                "windows"    "\xA1\x2A\x2A\x2A\x2A\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00"
                
//"linux"        ""
            
}

            
"SendTable_Init" // Str: "SendTable[%03d] = %s\n"
            
{
                
"library"    "engine"
                "windows"    "\x55\x8B\xEC\x83\xEC\x0C\x83\x3D\x2A\x2A\x2A\x2A\x00\x53"
                "linux"        "\x55\x89\xE5\x57\x56\x53\x83\xEC\x4C\xA1\x2A\x2A\x2A\x2A\x8B\x7D\x08\x85\xC0"
            
}
        }

        
// Addr from the lib ( https://forums.alliedmods.net/showthread.php?t=309074 )
        // You can update them only by yourself using tutorial in the link
        
"Addresses"
        
{
            
"m_ArmorValue"
            
{
                
"linux"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "2077"
                
}
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "2689"
                
}
            }

            
"m_iAccount"
            
{
                
"linux"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "1459"
                
}
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "1868"
                
}
            }

            
"m_iHealth"
            
{
                
"linux"
                
{
                    
"signature"    "ServerClassInit<DT_BasePlayer::ignored>"
                    "read"        "565"
                
}
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_BasePlayer::ignored>"
                    "read"        "495"
                
}
            }

            
"m_iClip1"
            
{
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_BaseCombatWeapon::ignored>"
                    "read"        "816"
                
}
            }

            
"m_iPrimaryReserveAmmoCount"
            
{
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_BaseCombatWeapon::ignored>"
                    "read"        "865"
                
}
            }

            
"g_SendTableCRC"
            
{
                
"linux"
                
{
                    
"signature"    "SendTable_Init"
                    "read"        "270"
                
}
                
"windows"
                
{
                    
"signature"    "SendTable_Init"
                    "read"        "205"
                
}
            }
        }
    }


And now working for 'm_ArmorValue' and 'm_iHealth' and 'm_iPrimaryReserveAmmoCount'
But still not working on "m_iAccount" and "m_iPrimaryReserveAmmoCount"

gubka 04-05-2019 17:35

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Quote:

Originally Posted by SHUFEN.jp (Post 2644835)
Fmm...
I added "m_iClip1" and "m_iPrimaryReserveAmmoCount".

PHP Code:

public void OnPluginStart() {
    
FindConVar("sv_sendtables").SetInt(1);

    
// Loads a gamedata configs file
    
Handle hConfig LoadGameConfigFile("HUDLimitIncreaser.games");

    
// Load other offsets
    
int iBits                            GameConfGetOffset(hConfig,  "CSendProp::m_nBits");
    
Address g_SendTableCRC                GameConfGetAddress(hConfig"g_SendTableCRC");
    
Address m_ArmorValue                GameConfGetAddress(hConfig"m_ArmorValue");
    
Address m_iAccount                    GameConfGetAddress(hConfig"m_iAccount");
    
Address m_iHealth                    GameConfGetAddress(hConfig"m_iHealth");
    
Address m_iClip1                    GameConfGetAddress(hConfig"m_iClip1");
    
Address m_iPrimaryReserveAmmoCount    GameConfGetAddress(hConfig"m_iPrimaryReserveAmmoCount");

    
// Memory patching
    
StoreToAddress(m_ArmorValue view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iAccount view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iHealth view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iClip1 view_as<Address>(iBits), 32NumberType_Int32);
    
StoreToAddress(m_iPrimaryReserveAmmoCount view_as<Address>(iBits), 32NumberType_Int32);

    
/// 1337 -> it just a random and an invalid CRC32 byte
    
StoreToAddress(g_SendTableCRC1337NumberType_Int32);


PHP Code:

"Games"
{
    
"csgo"
    
{
        
"Offsets"
        
{
            
"CSendProp::m_nBits"
            
{
                
"windows"    "12"
                "linux"        "12"
            
}
        }

        
// Sigs from the lib ( https://forums.alliedmods.net/showthread.php?t=309074 )
        // You can update them only by yourself using tutorial in the link
        
"Signatures"
        
{
            
"ServerClassInit<DT_CSPlayer::ignored>" // Str: "DT_CSPlayer"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x83\xE4\xF8\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x40\x00\x00\x00"
                "linux"        "\x55\x89\xE5\x53\x81\xEC\xE4\x04\x00\x00"
            
}

            
"ServerClassInit<DT_BasePlayer::ignored>" // Str: "DT_BasePlayer"
            
{
                
"library"    "server"
                "windows"    "\x55\x8B\xEC\x83\xE4\xF8\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x34\x0C\x00\x00"
                "linux"        "\x55\x89\xE5\x53\x81\xEC\xA4\x00\x00\x00\x80\x3D\x2A\x2A\x2A\x2A\x00\x75\x2A\xC7\x04\x24\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75\x2A\xC7\x44\x24\x0C\x2A\x2A\x2A\x2A\xC7\x44\x24\x08\x2B\x00\x00\x00"
            
}

            
"ServerClassInit<DT_BaseCombatWeapon::ignored>" // Str: "DT_BaseCombatWeapon"
            
{
                
"library"    "server"
                "windows"    "\xA1\x2A\x2A\x2A\x2A\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00"
                
//"linux"        ""
            
}

            
"SendTable_Init" // Str: "SendTable[%03d] = %s\n"
            
{
                
"library"    "engine"
                "windows"    "\x55\x8B\xEC\x83\xEC\x0C\x83\x3D\x2A\x2A\x2A\x2A\x00\x53"
                "linux"        "\x55\x89\xE5\x57\x56\x53\x83\xEC\x4C\xA1\x2A\x2A\x2A\x2A\x8B\x7D\x08\x85\xC0"
            
}
        }

        
// Addr from the lib ( https://forums.alliedmods.net/showthread.php?t=309074 )
        // You can update them only by yourself using tutorial in the link
        
"Addresses"
        
{
            
"m_ArmorValue"
            
{
                
"linux"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "2077"
                
}
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "2689"
                
}
            }

            
"m_iAccount"
            
{
                
"linux"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "1459"
                
}
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_CSPlayer::ignored>"
                    "read"        "1868"
                
}
            }

            
"m_iHealth"
            
{
                
"linux"
                
{
                    
"signature"    "ServerClassInit<DT_BasePlayer::ignored>"
                    "read"        "565"
                
}
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_BasePlayer::ignored>"
                    "read"        "495"
                
}
            }

            
"m_iClip1"
            
{
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_BaseCombatWeapon::ignored>"
                    "read"        "816"
                
}
            }

            
"m_iPrimaryReserveAmmoCount"
            
{
                
"windows"
                
{
                    
"signature"    "ServerClassInit<DT_BaseCombatWeapon::ignored>"
                    "read"        "865"
                
}
            }

            
"g_SendTableCRC"
            
{
                
"linux"
                
{
                    
"signature"    "SendTable_Init"
                    "read"        "270"
                
}
                
"windows"
                
{
                    
"signature"    "SendTable_Init"
                    "read"        "205"
                
}
            }
        }
    }



I am not test windows, and i only will check the addresses before next zp update, but i checked the address now and it look correct
https://i.ibb.co/YQF5Z7k/Screenshot-67.png

SHUFEN 04-05-2019 22:05

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Quote:

Originally Posted by gubka (Post 2646472)
I am not test windows, and i only will check the addresses before next zp update, but i checked the address now and it look correct
https://i.ibb.co/YQF5Z7k/Screenshot-67.png

Yep. I also make sure that address is correct.
But seems not working.

gubka 04-09-2019 07:02

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Quote:

Originally Posted by SHUFEN.jp (Post 2646489)
Yep. I also make sure that address is correct.
But seems not working.

it works on linux so i am not sure why windows have that problems

TheDS1337 04-23-2019 12:45

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Just to spare you guys few hours of debugging, like it did to me today... the offsets needs to be updated due to yesterday's update. They keep crashing the client that you don't even know where the problem is.

gubka 05-02-2019 19:00

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Quote:

Originally Posted by TheDS1337 (Post 2648671)
Just to spare you guys few hours of debugging, like it did to me today... the offsets needs to be updated due to yesterday's update. They keep crashing the client that you don't even know where the problem is.

I only update that sig
PHP Code:

             "ServerClassInit<DT_CSPlayer::ignored>" // Str: "DT_CSPlayer"
            
{
                
"library"   "server"
                "windows"   "\x55\x8B\xEC\x83\xE4\xF8\x51\xA1\x2A\x2A\x2A\x2A\x53\x56\x57\xA8\x01\x0F\x85\x2A\x2A\x2A\x2A\x83\xC8\x01\xB9\x2A\x2A\x2A\x2A\xA3\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x20\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x06\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\xC6\x05\x2A\x2A\x2A\x2A\x80\xC7\x05\x2A\x2A\x2A\x2A\x00\x08\x00\x00\xE8\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x40\x00\x00\x00"
                "linux"     "\x55\x89\xE5\x53\x81\xEC\x34\x05\x00\x00\x80\x3D\x2A\x2A\x2A\x2A\x00\x75\x2A\xC7\x04\x24\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x85\xC0\x75\x2A\xC7\x44\x24\x0C\x2A\x2A\x2A\x2A\xC7\x44\x24\x08\x7C\x00\x00\x00"
            




All times are GMT -4. The time now is 00:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.