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"
            



TheDS1337 05-02-2019 19:02

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Thanks for the share! will try it out tomorrow

Oylsister 07-24-2020 05:47

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
The latest csgo update breaks this plugin. and every time when people join the server, it's forcing people out from the server.

Only the line of the Address of m_iHealth that has a problem, the rest of the addresses are working fine.

PHP Code:

StoreToAddress(m_iHealth view_as<Address>(iBits), 32NumberType_Int32); 


mikcla 08-08-2020 13:30

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
I dont know how to use the php code you sent.
I use the first part to make a smx and the 2nd part to make a txt.
The smx was sent to plugin and the txt was sent to translation.

In CS:GO you cant get more than 32k hp without it glitching, and does this code fix this?

Please help me use this code!

Ilusion9 08-14-2020 03:31

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

Originally Posted by mikcla (Post 2713547)
I dont know how to use the php code you sent.
I use the first part to make a smx and the 2nd part to make a txt.
The smx was sent to plugin and the txt was sent to translation.

In CS:GO you cant get more than 32k hp without it glitching, and does this code fix this?

Please help me use this code!

the second one belongs to gamedata folder.

magenest 08-14-2020 04:18

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

Originally Posted by Ilusion9 (Post 2714155)
the second one belongs to gamedata folder.

Ok i fount it

mikcla 08-15-2020 06:36

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

Originally Posted by Ilusion9 (Post 2714155)
the second one belongs to gamedata folder.

I have done so, but it doesn't do anything, i want health to go above the 32k gap, i belived this plugin whould fix my problem, but it seems to do nothing. This is on CS:GO btw. Can you tell me does this fix my problem or not?

If yes can someone give me a clear guide on what to do, because nothing is changeing with me?

Oylsister 08-25-2020 14:47

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
1 Attachment(s)
Quote:

Originally Posted by mikcla (Post 2714280)
I have done so, but it doesn't do anything, i want health to go above the 32k gap, i belived this plugin whould fix my problem, but it seems to do nothing. This is on CS:GO btw. Can you tell me does this fix my problem or not?

If yes can someone give me a clear guide on what to do, because nothing is changeing with me?

The latest update csgo, change the address of signature of m_iHealth. but gubka already updated it on his ZP plugin

You can see it here on his github : https://github.com/qubka/Zombie-Plag...1e53259c33627e

I took signature from his github and replaced it in this file. you can try

mikcla 08-29-2020 11:20

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
This plugin doesn't seem to work stil

Entity 02-06-2021 09:17

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
how to use for cs:s, please give an example?

Oylsister 09-11-2021 08:11

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

Originally Posted by Entity (Post 2735928)
how to use for cs:s, please give an example?

The css doesn't encounter this issues like csgo, You really don't need it for css

Sappykun 10-17-2021 18:28

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
2 Attachment(s)
Does this still work for CS:GO?

I've been trying to adapt gubka's code for a similar purpose in TF2 (modifying the netprop of an env_sprite entity to remove the maximum value from the scale property). https://forums.alliedmods.net/showthread.php?p=2760534
However, I'm not entirely sure what offset he's modifying in the SendTable_Init method to get the server to recognize the datatables have changed and update them accordingly.

Would anybody be able to help me out?

Oylsister 10-26-2021 04:18

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

Originally Posted by Sappykun (Post 2760884)
Does this still work for CS:GO?

I've been trying to adapt gubka's code for a similar purpose in TF2 (modifying the netprop of an env_sprite entity to remove the maximum value from the scale property). https://forums.alliedmods.net/showthread.php?p=2760534
However, I'm not entirely sure what offset he's modifying in the SendTable_Init method to get the server to recognize the datatables have changed and update them accordingly.

Would anybody be able to help me out?

It's still work on CS:GO, the author updates these offset and signature for Zombie-Plague plugin which can be found here: https://github.com/qubka/Zombie-Plag...mbieplague.txt

poggu 02-04-2023 08:05

Re: [CS:GO/CSS] Increase HUD limit for money, heath and armor
 
Gamedata after 2/2/23 update

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\x56\x53\x81\xEC\x50\x05\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\x54\x0C\x00\x00"
                "linux"     "\x55\x89\xE5\x56\x53\x83\xEC\x70\x80\x3D\x2A\x2A\x2A\x2A\x00\x75\x2A\x83\xEC\x0C\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x10\x85\xC0\x75\x2A\x68\x2A\x2A\x2A\x2A\x6A\x2B"
            
}
            
"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\x1C\x8B\x1D\x2A\x2A\x2A\x2A\x85\xDB\x0F\x85\x2A\x2A\x2A\x2A"
            
}
        }
      
        
// 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"  "1237"
                
}
                
"windows"
                
{
                    
"read"  "2689"
                
}
            }
            
"m_iAccount"
            
{
                
"signature" "ServerClassInit<DT_CSPlayer::ignored>"
                "linux"
                
{
                    
"read"  "909"
                
}
                
"windows"
                
{
                    
"read"  "1868"
                
}
            }
            
"m_iHealth"
            
{
                
"signature" "ServerClassInit<DT_BasePlayer::ignored>"
                "linux"
                
{
                    
"read"  "346"
                
}
                
"windows"
                
{
                    
"read"  "495"
                
}
            }
            
"g_SendTableCRC"
            
{
                
"signature" "SendTable_Init"
                "linux"
                
{
                    
"read"  "236"
                
}
                
"windows"
                
{
                    
"read"  "205"
                
}
            }
        }
    }




All times are GMT -4. The time now is 19:31.

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