Using engine server's get_player_info
Posted: Fri Feb 26, 2021 12:44 am
First off I think I can use get_player_info
to get the player_info_s/player_info_t structure
Does Source Python define or provide helpers for this structure anywhere? If not how do I go about creating this in my plugin?
It's been a while I've messed with the Source Engine, but this piqued my interest. I would like access to the struct itself, but I'm in particular looking to access the CustomFiles array.
I also looked around in IDA and the SDK for a disclosed function that accesses this array, to maybe just find an offset but I couldn't find anything with source available in a server binary. (I looked at the alliedmodders Source SDK, the Valve Source 2013 SDK and the old VSES repo)
Thanks!
to get the player_info_s/player_info_t structure
Does Source Python define or provide helpers for this structure anywhere? If not how do I go about creating this in my plugin?
It's been a while I've messed with the Source Engine, but this piqued my interest. I would like access to the struct itself, but I'm in particular looking to access the CustomFiles array.
I also looked around in IDA and the SDK for a disclosed function that accesses this array, to maybe just find an offset but I couldn't find anything with source available in a server binary. (I looked at the alliedmodders Source SDK, the Valve Source 2013 SDK and the old VSES repo)
Thanks!