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

advanced bans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tedaimlocks
Member
Join Date: Jan 2024
Old 03-15-2024 , 16:46   advanced bans
Reply With Quote #1

how can i make the amx_ban command work for steamids that start with 2 aswell? for example my steamid is like this :

STEAM_2:1:1311997061
If i try and use amx_ban on myself it wont work.


I changed this, but how do i make it so it works with steamids starting with 2
PHP Code:
#define REGEX_STEAMID_PATTERN "^^STEAM_0:(0|1):\d+$" 
->

PHP Code:
#define REGEX_STEAMID_PATTERN "^^STEAM_(0|1):(0|1):\d+$" 

Last edited by tedaimlocks; 03-15-2024 at 16:46.
tedaimlocks is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 03-15-2024 , 19:47   Re: advanced bans
Reply With Quote #2

thats odd. you might be using an ancient version of hlds
at this point id get rid of regex completely
__________________
bigdaddy424 is offline
tedaimlocks
Member
Join Date: Jan 2024
Old 03-15-2024 , 22:52   Re: advanced bans
Reply With Quote #3

Quote:
Originally Posted by bigdaddy424 View Post
thats odd. you might be using an ancient version of hlds
at this point id get rid of regex completely
No its cuz i use rehlds
tedaimlocks is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-16-2024 , 02:48   Re: advanced bans
Reply With Quote #4

What does ReHLDS have to do with SteamIDs? How did you get such a SteamID? Having a 2 there means that it's a "Beta" SteamID according to the documentation.
__________________
fysiks is offline
tedaimlocks
Member
Join Date: Jan 2024
Old 03-16-2024 , 05:30   Re: advanced bans
Reply With Quote #5

well the reunion.cfg file has the configurations of steamid, so thats the manager of steamids. but i solved it
tedaimlocks is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-16-2024 , 15:32   Re: advanced bans
Reply With Quote #6

Non-Steam servers are not supported here. SteamIDs have no meaning if they are not legitimate.
__________________
fysiks is offline
Reply



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 01:40.


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