Skip to content

Offset m_usSolidFlags invalid (fix: 0x11C / 284) #3

@NZKZ1989

Description

@NZKZ1989

Hello,
When starting the map, an error appears:
Offset 0 is invalid in Detour_PhysicsTouchTriggers

In the plugin code, the offset is searched for using FindDataMapInfo, but it's not found.
I checked it in IDA—it shows that m_usSolidFlags is read at offset 0x11C (284).

After I replaced FindDataMapInfo with GameConfGetOffset and added the following to gamedata:
"m_usSolidFlags"
{
"linux" "284"
}

The problem disappeared, the server runs without errors.

Game: CS:GO
SourceMod version: 1.12.0.7223
OS: Ubuntu 20.04.6 LTS (focal)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions