PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Alexandros on 04 February, 2004, 03:39:14

Title: Problem with script and mldcs
Post by: Alexandros on 04 February, 2004, 03:39:14
I have a script for mldonkeys...now i have this problem..they are showed in the "joins parts" of DC++...so I can't use it anymore...is there any way that ptokax dont let the in after the show ONLINE in the clients?....

sorry for my english

Alex

Title:
Post by: plop on 04 February, 2004, 04:20:03
QuoteOriginally posted by Alexandros
I have a script for mldonkeys...now i have this problem..they are showed in the "joins parts" of DC++...so I can't use it anymore...is there any way that ptokax dont let the in after the show ONLINE in the clients?....

sorry for my english

Alex


it's dc++ who handles that.
but it's posible 2 mod the mldc script 2 do the same, so you can keep it disabled in your client.
post your script here and there must be some1 around willing 2 mod it 2 your needs.

plop
Title:
Post by: Alexandros on 04 February, 2004, 05:47:52
i'm using this:


--// Anti mldonkey by JJay - 29.12.2002
--// Ban the following words: mldonkey, [ws], [replika]
forbiddenWords = { "mldonkey", "mldc client" }
botName="antimldonkey"
--// This function is fired at the serving start
function Main()

end
--// This function is fired when a new user finishes the login
function NewUserConnected(curUser)
for key,checkWord in forbiddenWords do
if strfind(curUser.sMyInfoString, checkWord, 1, 1) then
SendToNick(curUser.sName, "<" ..botName .."> You are using unauthorized client software, please read the Rules section, Thankyou!")
SendToNick(curUser.sName, "<" ..botName .."> Disconnecting...")
curUser:Disconnect()
end
end
end

i think that fixing that problem i will use less upload of the server too... (but the important thing is don't have that ugly shoin parts)
Title:
Post by: nErBoS on 04 February, 2004, 10:40:24
If I understand you want to block the Moglo Clients, you have a option on the Hub Software that says AntiMoglo, i think that blocks also the client.

Best regards, nErBoS

P.S: The script seems OK.
Title:
Post by: plop on 04 February, 2004, 15:15:35
QuoteOriginally posted by nErBoS
If I understand you want to block the Moglo Clients, you have a option on the Hub Software that says AntiMoglo, i think that blocks also the client.

Best regards, nErBoS

P.S: The script seems OK.
no moglo is a search bot, mldc is a p2p app which works on nearly every p2p protocol.

plop
Title:
Post by: nErBoS on 05 February, 2004, 00:27:25
You're right  :P
Title:
Post by: Alexandros on 05 February, 2004, 01:27:39
I think that the flow of mldc start when someone register my hub at http://es.hublist.org/
I'm thinking how to get it out of their hublist...
Anything to make mldc use the less bandwith and CPU time will be very well recieved.

Thanks again, and sorry for my english

Alex
Title:
Post by: plop on 05 February, 2004, 03:23:04
QuoteOriginally posted by Alexandros
I think that the flow of mldc start when someone register my hub at http://es.hublist.org/
I'm thinking how to get it out of their hublist...
Anything to make mldc use the less bandwith and CPU time will be very well recieved.

Thanks again, and sorry for my english

Alex
set the min share 2 @ least 12MB, and another cool trick is 2 use a redirecting hub.
mldc clients don't understand the redirect. lol
as a bonus it solves stealth users who use the option ignore redirects.

plop