ItsMods

Full Version: Bad Names Kick Plugin v3.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
(04-22-2012, 19:55)OzonE Wrote: [ -> ]Yeah, i forgot too say its !plus Big Grin Big Grin
thats the bug , says prevented , but it did not, i think all about the servercommand line , i think its a syntax error in there

Ok so the code JariZ sent me messed up the whole plugin... just replaced with ban instead of kick.. hope this works...
No errors when compiled it but when I put it in my plugins folder it didn't even load again!
Ok so now is my final post for the day I think xP... but ya I replaced kick with banclient but it doesn't kick or dropclient or ban anyone b/c it doesn't get the clientnum first it should be that first it finds the clientnum of the player and then kicks/bans the person
(04-22-2012, 20:11)DidUknowiPwn Wrote: [ -> ]
(04-22-2012, 19:55)OzonE Wrote: [ -> ]Yeah, i forgot too say its !plus Big Grin Big Grin
thats the bug , says prevented , but it did not, i think all about the servercommand line , i think its a syntax error in there

Ok so the code JariZ sent me messed up the whole plugin... just replaced with ban instead of kick.. hope this works...
No errors when compiled it but when I put it in my plugins folder it didn't even load again!

My fault didn't compile it as framework 3.0 xP... But still it doesn't kick player on entry it tries but it just fails... Server console shows that "ban playername" i'm guessing client num isn't working.
Use this , should work... (not sure)

Code:
if (fwords.Contains(x))
                    ServerSay("^7BadName Plugin ^1Prevented Connection of A ^5Badname Player!", true);
                ServerCommand("dropclient" + Client.ClientNum + "\"  Bad Name, ^1Fuck Off!\"");
// try this too : clientkick (or kickclient (im not sure about it :P))


EDIT : this works , but it does not show the "Bad name , Fuck Off" message , anybody has any idea?
(04-24-2012, 08:55)OzonE Wrote: [ -> ]Use this , should work... (not sure)

Code:
if (fwords.Contains(x))
                    ServerSay("^7BadName Plugin ^1Prevented Connection of A ^5Badname Player!", true);
                ServerCommand("dropclient" + Client.ClientNum + "\"  Bad Name, ^1Fuck Off!\"");
// try this too : clientkick (or kickclient (im not sure about it :P))


EDIT : this works , but it does not show the "Bad name , Fuck Off" message , anybody has any idea?
Think I know what it is.. Will try it soon it's like 7 AM for me still sleeping Big Grin OMA


(04-24-2012, 15:10)DidUknowiPwn Wrote: [ -> ]
(04-24-2012, 08:55)OzonE Wrote: [ -> ]Use this , should work... (not sure)

Code:
if (fwords.Contains(x))
                    ServerSay("^7BadName Plugin ^1Prevented Connection of A ^5Badname Player!", true);
                ServerCommand("dropclient" + Client.ClientNum + "\"  Bad Name, ^1Fuck Off!\"");
// try this too : clientkick (or kickclient (im not sure about it :P))


EDIT : this works , but it does not show the "Bad name , Fuck Off" message , anybody has any idea?
Think I know what it is.. Will try it soon it's like 7 AM for me still sleeping Big Grin OMA

So replaced the same lines but when I compiled it and put it into my plugins folder no plugin loaded >_>
Fixed my issue will try yours..
Use .Net framework 3.0 .... Fuu
Plugin still doesn't work for me.. getting this error message "bad slot '0'" also add a space after dropclient Wink
Dumb BitchDumb BitchDumb BitchDumb BitchDumb BitchDumb BitchDumb BitchDumb BitchDumb BitchDumb BitchDumb BitchDumb Bitch Y U NO WORK
Quote: (report) iAegle - 24-04 17:09 -- hmmkAYH
(report) iAegle - 24-04 17:09 -- because it cannot kick someone that didn't join just yet
(report) DidUknowiPwn - 24-04 17:09 -- nope
(report) iAegle - 24-04 17:08 -- do you call this OnCheckBan ?

100% fixed! Use this
Code:
ServerCommand("kickclient " + Client.ClientNum);
you dummy >_> you aren't supposed to include anything after ClientNum.. I already tested this and it works[/quote]
I'll upload 2 versions 1 that kicks the player only and 1 that bans the player permanently.
I banned myself from my own MW3 server FUUUUUUUUUUUUUUU RAGE!! I don't know how to unban myself >_>
LOL . =))))
if you have access to your VPS , erase your name and XUID from permanent.ban file in main folder.
i updated the first post , good job. OMA
Pages: 1 2 3 4 5 6 7 8