Add Couch plugins
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
"Games"
|
||||
{
|
||||
"cstrike"
|
||||
{
|
||||
"Offsets"
|
||||
{
|
||||
// CBaseEntity::ForceVPhysicsCollide(CBaseEntity *pEntity). Same offsets as PropSpawner.
|
||||
"ForceVPhysicsCollide"
|
||||
{
|
||||
"linux" "160"
|
||||
"windows" "159"
|
||||
}
|
||||
}
|
||||
|
||||
"Signatures"
|
||||
{
|
||||
// CCollisionEvent::ShouldCollide(IPhysicsObject *, IPhysicsObject *, void *, void *).
|
||||
// The vphysics collision filter, detoured for couch bans. Local symbol from .symtab,
|
||||
// so the server binary must be unstripped (as for LagCompensation).
|
||||
"CCollisionEvent::ShouldCollide"
|
||||
{
|
||||
"library" "server"
|
||||
"linux" "@_ZN15CCollisionEvent13ShouldCollideEP14IPhysicsObjectS1_PvS2_"
|
||||
}
|
||||
|
||||
// CBaseEntity::CollisionRulesChanged(). Makes vphysics re-ask ShouldCollide for cached pairs.
|
||||
"CBaseEntity::CollisionRulesChanged"
|
||||
{
|
||||
"library" "server"
|
||||
"linux" "@_ZN11CBaseEntity21CollisionRulesChangedEv"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user