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)

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 22:36.

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