I use ptx 0.3.3.21c and this script aint stop tagless strongdc (new version). Secondary i have question is it possible to add function that detect tagless ldc++.
thanks anyway...
--Anti rmDC++ script for PtokaX 0.3.3.0 Lua 5.0.2 by PPK
--ADDED: Anti strongDC++ by Pothead
--//Config
AdminNick = "[ML]Northwind" -- PM Reports Goto This Nick
Bot = frmHub:GetHubBotName()
function SupportsArrival(curUser, sData)
if string.sub(sData, 10, 11) == " " then
curUser:SendData( Bot.."We don't support buggy clients")
SendPmToNick(AdminNick,Bot, " rmDC++ from IP: "..curUser.sIP.." koettaa yhdist?? hubiin... heh mutta tuhlaa vain aikaansa ;-)")
curUser:Disconnect()
return 1
elseif string.find(sData, "Supports UserCommand NoGetINFO NoHello UserIP2 TTHSearch QuickList GetZBlock")then
curUser:SendData( Bot.."We don't support multisource clients")
SendPmToNick(AdminNick,Bot, " StrongDC++ from IP: "..curUser.sIP.." koettaa yhdist?? hubiin... heh mutta tuhlaa vain aikaansa ;-)")
curUser:Disconnect()
return 1
end
end
does somebody know what is differences in strngDC rc10 cos this script aint stop it ?
Strong DC rc 10, emulating DC++
$Supports UserCommand NoGetINFO NoHello UserIP2 TTHSearch GetZBlock |
so if i type that $support in that old script will the script stop its or is there other client what supports that. I dont wanna kick clients for a mistake...
Looks a lot like DC++ supports. ?(
Block StrongDC with DCDM++. That's why they made it.
have to test it :)