I tried to figure how to handle banlist from game
engine (
g_UserFilters).
But I have no skills to look right pointers or addresses.
I got this far only:
- Plugin hook
listid command and
GetUserIDString() function.
- Only start look values when listid command is executed.
- Plugin return values like:
float banTime
float banEndTime
char[] *steamid
int **index
*steamid type is formatted by game
** some kind stack index, starting from highest num
output look like this
Code:
listid
ID filter list: 6 entries
- steamid [U:1:246913]
- banTime 10.000000
- banEndTime 593.163269
- index 6
1 [U:1:246913] : 10.000 min
- steamid [U:1:2469]
- banTime 20.000000
- banEndTime 1193.162231
- index 5
2 [U:1:2469] : 20.000 min
- steamid [U:1:24699]
- banTime 30.000000
- banEndTime 1793.161376
- index 4
3 [U:1:24699] : 30.000 min
- steamid [U:1:2475]
- banTime 50.000000
- banEndTime 2993.160400
- index 3
4 [U:1:2475] : 50.000 min
- steamid [U:1:24733]
- banTime 60.000000
- banEndTime 3593.159423
- index 2
5 [U:1:24733] : 60.000 min
- steamid [U:1:24623]
- banTime 5.000000
- banEndTime 293.154724
- index 1
6 [U:1:24623] : 5.000 min
This works now only on
Counter-Strike Source
I have not yet look signatures to other mods