Raised This Month: $ Target: $400
 0% 

Catch advertisement bind


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
9evill
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 09-29-2009 , 15:27   Catch advertisement bind
Reply With Quote #1

Hello, is it posible to catch witch key player presed, then he made advertising through say command? Am asking because some servers bind players config to advertise themselves in other servers. I thought if is posible to catch those bind, give player a menu with sugestion to bind that key to default value.
9evill is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-29-2009 , 18:33   Re: Catch advertisement bind
Reply With Quote #2

There are plugins that can catch if a player is advertising through chat or in their name.
You don't have to check a player's binds.
Search for Anti-Commerce and Don't Say IPs.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
9evill
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 09-30-2009 , 02:29   Re: Catch advertisement bind
Reply With Quote #3

Anti-commerce plugin just filters text and replaces it, or punishes players.
My idea is to monitor some frequently by other servers binded keys (like tab, z, x, c) and if notice any say text with these keys presed, popup player a meniu with something like: "Server noticed, what your %key% is binded with advertisements. Would you like to unbind %key% to default value? And player can accept/refuse, if he refuse kick him from server, if accepts bind him default value for that key.
Of course i could use existing autobind plugin which bind keys with menu, just entered into server, but in that case other people, who dont advertise anything, also would have menu to bind their keys.

Last edited by 9evill; 09-30-2009 at 05:52.
9evill is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-30-2009 , 09:10   Re: Catch advertisement bind
Reply With Quote #4

You can't.
__________________
xPaw is offline
9evill
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 09-30-2009 , 10:16   Re: Catch advertisement bind
Reply With Quote #5

What about cheking what is binded to players key? For example, check if players key(z) not equals to +radio1, give him menu with bindings sugestion.
9evill is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-30-2009 , 10:26   Re: Catch advertisement bind
Reply With Quote #6

You can't.
__________________
xPaw is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 09-30-2009 , 10:34   Re: Catch advertisement bind
Reply With Quote #7

It's not possible to see a player's binds, or what key they are pressing, or the files in their cstrike folder.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
9evill
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 10-05-2009 , 06:53   Re: Catch advertisement bind
Reply With Quote #8

If use client_cmd(player, "bind tab") it would print current bind in players console, is it posible for server to read it too?
9evill is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-05-2009 , 08:53   Re: Catch advertisement bind
Reply With Quote #9

No.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 10-05-2009 , 09:07   Re: Catch advertisement bind
Reply With Quote #10

No, you only can catch some binds like "use" (IN_USE), etc.. but the key pressed, no.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
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 22:38.


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