PtokaX forum

PtokaX => Support => Topic started by: raindrop94 on 27 June, 2006, 07:51:05

Title: Inbuild client kick is disabled. . .
Post by: raindrop94 on 27 June, 2006, 07:51:05
Hi Everyone - I am not sure where this post needs to be posted, in here or in the scripting section as I am not sure what is really causing the problems.

I just updated to the Newest Version of PtokaX 0.3.5.0 and I have always used and liked RoboCop for Scripting. Currently I have RoboCop version 10.021 installed.

Everything is working wonderfully accept when I search for users that I want to kick, ie. people with files that are agaist the rules. Within the Search menu, I right click on a user that has a bad file and when I Right Click with my Mouse on that user, 1. I don't get the RoboCop Menu and 2. when I click KICK USER I get this message in Main Chat, " *** Inbuild client kick is disabled, use !kick instead!" I have been through RoboCop, I have been through PtokaX and I can't find anything. Could someone give me some suggestions???

Thanks,

Joshua ???
Title: Re: Inbuild client kick is disabled. . .
Post by: Thor on 27 June, 2006, 08:29:29
Read the RoboCop's changelog: (10.02Beta)
- Disabled inbuildkick i just hate that one ;)
I really don't understand why, but Optimus disabled, so if you want to fast kick users, make a simply usercommand:
!kick %[nick] %[line:Reason]
Thats all...
Title: Re: Inbuild client kick is disabled. . .
Post by: raindrop94 on 27 June, 2006, 09:34:59
Hi - Thank you for the information but when I put this in my Client, and found a user breaking the rules, I tried my new command and nothing happened. It didn't post anything in the main chat, the user didn't get kicked, nothing. Anymore suggestions??
Title: Re: Inbuild client kick is disabled. . .
Post by: Thor on 27 June, 2006, 09:50:20
Check the syntax, maybe something wrong. My settings:
(http://www.kepfeltoltes.hu/060627/uc_www.kepfeltoltes.hu_.jpg)
Title: Re: Inbuild client kick is disabled. . .
Post by: raindrop94 on 27 June, 2006, 10:04:35
Thank you Thank you Thank you!!!!!!

I click on Raw Commands instead of Chat. It works wonderfully now!!

Thanks,
Joshua
Title: Re: Inbuild client kick is disabled. . .
Post by: bastya_elvtars on 27 June, 2006, 22:14:52
The inbuilt kick of DC++ is really crap - it's sent to every user who has a key.
Title: Re: Inbuild client kick is disabled. . .
Post by: Pothead on 28 June, 2006, 01:12:06
Quote from: bastya_elvtars on 27 June, 2006, 22:14:52
The inbuilt kick of DC++ is really crap - it's sent to every user who has a key.
Even to non-keyed users.
// Add NMDC standard op commands
static const char kickstr[] =
"$To: %[userNI] From: %[myNI] $<%[myNI]> You are being kicked because: %[line:Reason]|<%[myNI]> %[myNI] is kicking %[userNI] because: %[line:Reason]|$Kick %[userNI]|";
addUserCommand(UserCommand::TYPE_RAW_ONCE, UserCommand::CONTEXT_CHAT | UserCommand::CONTEXT_SEARCH, UserCommand::FLAG_NOSAVE,
STRING(KICK_USER), kickstr, "op");
Suppose a patch could be submitted, to stop it spamming main chat. :)
Title: Re: Inbuild client kick is disabled. . .
Post by: bastya_elvtars on 28 June, 2006, 06:28:08
Damnit, I am really confused these days. s/sent/available
Title: Re: Inbuild client kick is disabled. . .
Post by: raindrop94 on 30 June, 2006, 16:40:14
I have the User Command for Kick, Ban, and Drop working just fine now. Thank you again for suggesting this to me. But I do have one more question if you could help me. Is this way to create a user command for Time Ban???

Thanks,
Joshua
Title: Re: Inbuild client kick is disabled. . .
Post by: Thor on 30 June, 2006, 17:25:00
Command type: Chat
Context: User menu
Name: What you want :D
Command: !tempban %[nick] %[line:Time (m/h/d/w/M/y)] %[line:Reason]
Where: where you want to use :P