Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Bad Names Kick Plugin v3.0
04-22-2012, 20:11 (This post was last modified: 04-22-2012 21:46 by DidUknowiPwn.)
Post: #31
RE: Bad Names Kick Plugin
(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!
Related links
Find all posts by this user
Add Thank You Quote this message in a reply
04-22-2012, 21:47 (This post was last modified: 04-22-2012 23:00 by DidUknowiPwn.)
Post: #32
RE: Bad Names Kick Plugin
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
Find all posts by this user
Add Thank You Quote this message in a reply
04-23-2012, 22:10
Post: #33
RE: Bad Names Kick Plugin
(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.
Find all posts by this user
Add Thank You Quote this message in a reply
04-24-2012, 08:55 (This post was last modified: 04-24-2012 08:58 by OzonE.)
Post: #34
RE: Bad Names Kick Plugin
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?
Related links

Find all posts by this user
Add Thank You Quote this message in a reply
04-24-2012, 15:10 (This post was last modified: 04-24-2012 16:45 by DidUknowiPwn.)
Post: #35
RE: Bad Names Kick Plugin
(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 >_>
Find all posts by this user
Add Thank You Quote this message in a reply
04-24-2012, 16:49
Post: #36
RE: Bad Names Kick Plugin
Fixed my issue will try yours..
Find all posts by this user
Add Thank You Quote this message in a reply
04-24-2012, 16:56
Post: #37
RE: Bad Names Kick Plugin
Use .Net framework 3.0 .... Fuu

Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to OzonE for this post:
DidUknowiPwn (04-24-2012)
04-24-2012, 16:58 (This post was last modified: 04-24-2012 17:33 by DidUknowiPwn.)
Post: #38
RE: Bad Names Kick Plugin
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.
Related links


Attached File(s)
.rar  BanName v2.rar (Size: 5.65 KB / Downloads: 12)
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to DidUknowiPwn for this post:
OzonE (04-24-2012)
04-24-2012, 18:00
Post: #39
RE: Bad Names Kick Plugin
I banned myself from my own MW3 server FUUUUUUUUUUUUUUU RAGE!! I don't know how to unban myself >_>
Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to DidUknowiPwn for this post:
OzonE (04-24-2012)
04-24-2012, 19:02 (This post was last modified: 04-24-2012 19:07 by OzonE.)
Post: #40
RE: Bad Names Kick Plugin
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

Find all posts by this user
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to OzonE for this post:
DidUknowiPwn (04-24-2012)
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Release] For Plugin Developers yamraj 4 1,187 Yesterday 17:55
Last Post: Jone Calerone
  [Release] Chat plugin for permissions SgtLegend 8 286 Yesterday 11:21
Last Post: SgtLegend
  [Release] God Plugin v4.0 [Ingame Rcon Tool] OzonE 311 37,331 05-18-2013 16:31
Last Post: OzonE
  [Release] Waypoint plugin for users 8q4s8 0 130 05-16-2013 13:10
Last Post: 8q4s8
  [Release] NoKnife Plugin zxz0O0 85 11,055 05-14-2013 21:46
Last Post: Diskretor
  [Release] Bunker Plugin 1.3 archit 56 3,072 05-09-2013 14:13
Last Post: M4cbook
  [Release] Speed Plugin hillbilly 25 3,602 05-06-2013 18:19
Last Post: Hallla
  [Release] Votemap plugin zhp0083 82 11,397 04-12-2013 02:46
Last Post: .sepultura.
Brick [Release] Flag plugin for developers [Z00MBY] Alex 17 1,418 04-06-2013 17:52
Last Post: Dr3am95
Smile [Release] Map & Game Type Changer Plugin (Fixed) 30mba 30 2,747 04-05-2013 02:27
Last Post: BenderB

Forum Jump:


User(s) browsing this thread: 1 Guest(s)
Media Embeding by Simple Audio Video Embeder