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

AntiCommerce


Post New Thread Reply   
 
Thread Tools Display Modes
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 10-28-2008 , 16:08   Re: AntiCommerce
Reply With Quote #11

Nice plugin, i like it. + karma ;)
__________________


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).


FakeNick is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 10-28-2008 , 16:29   Re: AntiCommerce
Reply With Quote #12

PHP Code:
[ru]
WARN1 Ne delajte reklamu v chate ili v svoem nicke!
WARN2 Maksimalnoe 4islo narushenij dostignuto!
WARN3 Pozalujsta smenite svoj nick!^nNe vstavljate tuda sajtq/servera
INFO_GLOB 
ZapomniTi nedolzen stavit reklamu v nick i pisat v chate!
INFO1 Vremja: %d minut
INFO2 
nakazan za reklamu
INFO3 
Netu nikakih narushenij
WORD_ADVERT 
Reklama
WORD_EXCEPT 
Narushenije
WORD_REASON 
Prichina 
__________________
xPaw is offline
sapir5522
BANNED
Join Date: Mar 2008
Old 10-31-2008 , 13:18   Re: AntiCommerce
Reply With Quote #13

there is a little bug
i put this on ban for 50 mins
and then the advertisers get a message like this :
"Kicked [banned for 50 mins]"
but they dont get banned they are just kicked

EDIT:and can you add a punish of banip?
and a cvar to determent what will be the name change if ac_changename is 1

Last edited by sapir5522; 10-31-2008 at 13:21.
sapir5522 is offline
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 10-31-2008 , 14:29   Re: AntiCommerce
Reply With Quote #14

Ok, thanks for report. I will fix it and add cvar.
Scherzo is offline
sapir5522
BANNED
Join Date: Mar 2008
Old 10-31-2008 , 17:58   Re: AntiCommerce
Reply With Quote #15

ok thanks and you didnt answer one of my questions
can you add punish banip? (if you did answer that then you didnt answer the other), i requested 2 cvars XD
sapir5522 is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 11-01-2008 , 06:57   Re: AntiCommerce
Reply With Quote #16

i dont think is need it a cvar for change the name =/

only u have to change this line:

PHP Code:
server_cmd("amx_nick #%d Player",get_user_userid(id)); 
Change the "Player" to the name that u want
Alucard^ is offline
Send a message via Skype™ to Alucard^
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 11-01-2008 , 08:04   Re: AntiCommerce
Reply With Quote #17

I think there is good syntax of amx_ban, maybe someone can correct it or know why it only kick.
Code:
server_cmd("amx_ban #%d %d %L",uid, bantime, id, "WORD_ADVERT");
It is good idea to add ban/banip switch cvar.
Added: cvar ac_banip

As wrote Alucard you can change it in code. I make it more comfortable now.
Name you can define in header definition - constant NEWNAME.

Line 12
PHP Code:
#define NEWNAME "Player" 
I know there are people, who don`t know how to recompile it, but I suppose name 'Player' is good enough for them.

Last edited by Scherzo; 11-01-2008 at 08:13.
Scherzo is offline
sapir5522
BANNED
Join Date: Mar 2008
Old 11-01-2008 , 09:35   Re: AntiCommerce
Reply With Quote #18

my problem on recompiling is that i got the compiler from the amxx scripting folder and when i compile it dont give me the compiled file
just creates a folder named compiled and theres nothing there

EDIT: ill test it on my server soon
well ill get banip and then change my ip
and did you fix the ban problem? that it only kicks them and says ban?
btw i wont need to change their names since they are banned anyways

EDIT2:tested on my server
when i got kicked of the server i got this message
"kicked: Advertisement [banned for 50 mins]"
i got banip (it works great) if you could just change this message

Last edited by sapir5522; 11-01-2008 at 11:16.
sapir5522 is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 11-01-2008 , 12:47   Re: AntiCommerce
Reply With Quote #19

what u need to change in the message sapir5522?
Alucard^ is offline
Send a message via Skype™ to Alucard^
sapir5522
BANNED
Join Date: Mar 2008
Old 11-01-2008 , 13:12   Re: AntiCommerce
Reply With Quote #20

so it will say he got banip and not banned for 50mins
(or is it banip for 50mins? if so how do i do it permanent?)
sapir5522 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 11:00.


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