• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Bad Names Kick Plugin v3.0
#31
(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!
  Reply
#32
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
  Reply
#33
(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.
  Reply
#34
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?
  Reply
#35
(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 >_>
  Reply
#36
Fixed my issue will try yours..
  Reply
#37
Use .Net framework 3.0 .... Fuu
  Reply
#38
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.


Attached Files
.rar   BanName v2.rar (Size: 5.65 KB / Downloads: 22)
  Reply
#39
I banned myself from my own MW3 server FUUUUUUUUUUUUUUU RAGE!! I don't know how to unban myself >_>
  Reply
#40
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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 3,885 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,341 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 38,158 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,245 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 4,604 10-19-2013, 06:59
Last Post: iRoNinja
  [Request] Anoying and bad names kicker! Misterio 1 2,210 10-15-2013, 09:41
Last Post: Nekochan
  [Release] Yurio Map Plugin Yurio 101 57,440 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 17,342 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,524 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 30,301 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks

Forum Jump:


Users browsing this thread: 1 Guest(s)