Raised This Month: $12 Target: $400
 3% 

listid [cstrike]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-06-2022 , 21:48   listid [cstrike]
Reply With Quote #1

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
Attached Files
File Type: txt ListId.test.txt (1,007 Bytes, 58 views)
File Type: sp Get Plugin or Get Source (ListIdtest.sp - 56 views - 2.1 KB)
__________________
Do not Private Message @me
Bacardi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:18.


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