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

Unbanable Cheater... [resolved]


Post New Thread Reply   
 
Thread Tools Display Modes
Asran
Member
Join Date: Aug 2007
Location: France
Old 08-09-2007 , 10:58   Re: Unbanable Cheater...
Reply With Quote #11

I am not sure but I have noticed it...

I made a vote asking for those who were playong in a cyber and all of them start with those digit numbers...

I would like to try it please Lee.

Thank you for your help.
Asran is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 08-09-2007 , 14:14   Re: Unbanable Cheater...
Reply With Quote #12

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Mass SteamID Ban", "1.0", "Lee"); } public client_authorized(id) {     new userSteamID[20];     get_user_authid(id, userSteamID, 19);     format(userSteamID, 19, userSteamID[10]);         if(strlen(userSteamID) == 8 && (equal(userSteamID, "157", 3) || equal(userSteamID, "156", 3)))     {         server_cmd("kick #%i", get_user_userid(id));     } }

Last edited by Lee; 08-10-2007 at 05:55.
Lee is offline
Asran
Member
Join Date: Aug 2007
Location: France
Old 08-10-2007 , 01:48   Re: Unbanable Cheater...
Reply With Quote #13

Thanks a lot Lee..

Can you rewrite me the same plugin but only for steam ID which start with 0:0:156xxxxx, 0:1:156xxxxx, 0.0:157xxxxx and 0.1:157xxxxx please.

Thank you again.

Last edited by Asran; 08-10-2007 at 04:05.
Asran is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 08-10-2007 , 05:55   Re: Unbanable Cheater...
Reply With Quote #14

Done.
Lee is offline
Asran
Member
Join Date: Aug 2007
Location: France
Old 08-10-2007 , 07:51   Re: Unbanable Cheater...
Reply With Quote #15

Thank you Lee! It works!

I have a last question... Does your plugin kick people with this type of steam ID: STEAM_0:0xx157xx or STEAM_0:0xxxx156
Or only the three first digit numbers are enough?
Asran is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 08-10-2007 , 08:12   Re: Unbanable Cheater...
Reply With Quote #16

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Mass SteamID Ban", "1.0", "Lee"); } public client_authorized(id) {     new userSteamID[20];     //place the full SteamID inside userSteamID     get_user_authid(id, userSteamID, 19);     //remove 'STEAM_0:x:'     format(userSteamID, 19, userSteamID[10]);     //if the SteamID is 8 digits long and the first 3 characters equal "157" or "156"     if(strlen(userSteamID) == 8 && (equal(userSteamID, "157", 3) || equal(userSteamID, "156", 3)))     {         //kick them         server_cmd("kick #%i", get_user_userid(id));     } }
In summary, yes, it is only checking the first three characters.

Last edited by Lee; 08-10-2007 at 10:24.
Lee is offline
Asran
Member
Join Date: Aug 2007
Location: France
Old 08-10-2007 , 09:42   Re: Unbanable Cheater...
Reply With Quote #17

Thank you very much Lee... It works very well! the cheater tried to come back but he has been kicked everytime thanks to your plugin.

Cheers!
Asran is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 08-10-2007 , 20:18   Re: Unbanable Cheater...
Reply With Quote #18

no way..? all new people IDs are 15xxxxxx.....

mine is STEAM_0:1:15364786
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
Roach
Writes love letters to sawce Daily
Join Date: Jul 2006
Location: Internet
Old 08-11-2007 , 01:13   Re: Unbanable Cheater...
Reply With Quote #19

Quote:
Originally Posted by Battousai-sama View Post
no way..? all new people IDs are 15xxxxxx.....

mine is STEAM_0:1:15364786
Read the code. It kicks all users with a steamid that is 8 digits long that begins with the numbers 157 or 156.

So anyone who decides to make a new account after they are banned is SOL as all new steamid's will begin with 157 or 156 and will be 8 digits long.

@ Lee: Smart solution. +Karma
__________________
Quote:
Originally Posted by Brad View Post
That sounds like a really good idea!
Now replace the word "good" with "dumb".
What was your rationale for proposing such a thing?

Last edited by Roach; 08-11-2007 at 01:16.
Roach is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 08-11-2007 , 02:28   Re: Unbanable Cheater...
Reply With Quote #20

Quote:
Originally Posted by Roach View Post
Read the code. It kicks all users with a steamid that is 8 digits long that begins with the numbers 157 or 156.

So anyone who decides to make a new account after they are banned is SOL as all new steamid's will begin with 157 or 156 and will be 8 digits long.

@ Lee: Smart solution. +Karma
a ok cuz i was reading this

Code:
Quote:
Originally Posted by Asran View Post
In banned.cfg? The steam IDs are this type: banid 0.0 STEAM_0:1:15693207 I just got an idea... In using Excel,I can create a continious list like this: banid 0.0 STEAM_0:0:15000001 banid 0.0 STEAM_0:0:15000002 banid 0.0 STEAM_0:0:15000003 etc... Until this one: banid 0.0 STEAM_0:0:15999999 I would do the same for banid 0.0 STEAM_0:1:15000001 banid 0.0 STEAM_0:1:15000002 banid 0.0 STEAM_0:1:15000003 etc...
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
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:42.


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