Search Spam?
Moderator: Moderators
Search Spam?
Hi there,
I would like to how i can hide the search spam detected message from printing to the main chat?
i have a bot which searches the hub every minute for kid porn and system files and if he find anything then he kicks the suer with a warning!
so every minute there is a message in the main window says
*** Search Spam Detected by [TamilHub Bot] Cyber Cop
Is there any way to hide only this bot's message?
cozz we know this is from our bot but we do not want to hide the search spam detected messages by users or other kind of bots!
I have also searched the forum using the the keyword "Search AND Spam" but no luck.
Hope someone can help me or direct me to the right way so i can find somthing usefull!
RJ
I would like to how i can hide the search spam detected message from printing to the main chat?
i have a bot which searches the hub every minute for kid porn and system files and if he find anything then he kicks the suer with a warning!
so every minute there is a message in the main window says
*** Search Spam Detected by [TamilHub Bot] Cyber Cop
Is there any way to hide only this bot's message?
cozz we know this is from our bot but we do not want to hide the search spam detected messages by users or other kind of bots!
I have also searched the forum using the the keyword "Search AND Spam" but no luck.
Hope someone can help me or direct me to the right way so i can find somthing usefull!
RJ
Note:
Having a friend is easy but maintaining a good friendship is very difficult.
Try to avoind all the misunderstandings!
Having a friend is easy but maintaining a good friendship is very difficult.
Try to avoind all the misunderstandings!
The bot must be sending a search query a lot more often than once per minute - DC++ allows about one search every seven seconds or somesuch before it ignores the searchspammer for a while.
There is no way to "hide" the search from the clients, so you are better of ensuring that it really does not search more often than once every minute.
Sarf
---
"Jesus (briefly) died for your sins" - Daniel Rutter
There is no way to "hide" the search from the clients, so you are better of ensuring that it really does not search more often than once every minute.
Sarf
---
"Jesus (briefly) died for your sins" - Daniel Rutter
well i am sure my timer is set to 60 seconds cozz the message is shown only everyminute.
Any clues? i will check the script to ensure.
you will hear from me soon.
Any one any clues?
RJ
Any clues? i will check the script to ensure.
you will hear from me soon.
Any one any clues?
RJ
Note:
Having a friend is easy but maintaining a good friendship is very difficult.
Try to avoind all the misunderstandings!
Having a friend is easy but maintaining a good friendship is very difficult.
Try to avoind all the misunderstandings!
-
- Posts: 210
- Joined: 2003-01-23 17:24
- Location: Nevada
- Contact:
That's an extract from the readme file that pops up when you select the option entitled "readme / newbie help" from the help menu of the DC++ progie.* Search flood detection (If more than 5 searches are received from the same user within 7 seconds, DC++ will send out a warning)
So, if you're getting a search spam alert every minute from your DC++, saying your script is search spamming, it means that each and every minute, you're sending more than 5 searches with the script (in less than 7 seconds which is normal, because if it took longer for a script to send them, you should really worry about some performance issues).
If you want the message to disapear, there's only one thing to do : send less searches per "batch". Instead of sending them all at once, rotate them, if you want to keep all these searches (i.e. Dim a global counter at script level, and use something like this :
Code: Select all
iCounter = iCounter +1
Select Case iCounter
Case 1 : <send search 1> <send search 2>
Case 2 : <send search 3> <send search 4>
Case 3 : <send search 5> <send search 6>
Case 4 : <send search 7> <send search 8>
Case 5 : iCounter = 0
End Select
-
- Posts: 5
- Joined: 2003-05-29 15:01
Over 7 search requests came from same nick in 5 seconds. This can have many reasons:Living Dead wrote:1. Why is that?
- Somebody's got a laggy connection and all his search requests come suddenly at once
- Hub's got laggy connection and all the searches come suddenly at once
- You've got laggy connection and all the searches come suddenly at once
- Somebody really had quick fingers and he wants all of the files now
- Somebodys client has gone crazy
- It's an evil searchbot
- It's a hub script
Check your dc++ settings so that bot messages are not visible in mainLiving Dead wrote:2. How can i make it stop?
Usually connection problemsLiving Dead wrote:3. What does it means?
GeneralBot sends some search requests if SearchBadFiles is on. Requests are sent with different nicks so those shoulnt trigger search spam alert. Unless you have space character in your bot's name (which is not recommended anyway because NMDC users couldn't use it).Living Dead wrote:I'm useng the general bot from Gadget's Hub Scripts , maybe it's a problem in the scripts?