(04-22-2012, 19:55)OzonE Wrote: [ -> ]Yeah, i forgot too say its !plus
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
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
(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
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 ....
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.