Boys I have a problem in my HUB. Do users often enter with negative share, is there some scripts that it prevents this? Because the share is of 0gb, that I can do??? Thanks...
Address: planetarium.no-ip.org
hey 6Marilyn6Manson6, ...
this should solve your problems =]
function Main()
frmHub:EnableFullData(1)
end
function DataArrival(tUser, sData)
if strsub(sData, 1, 12) == "$MyINFO $ALL" then
local _,_, sUsername, sDescription, sSpeed, sEmail, iShareSize = strfind(sData, "%$ALL ([^ ]+) ([^$]*)%$ $([^$]+)[^$]%$([^$]*)%$(%S*)%$")
local _,_, sTag = strfind(sDescription or "none", "<(.*)>$")
if sUsername ~= tUser.sName then
tUser:Disconnect()
end
if sDescription then if strfind(sDescription, "mldc") then tUser:Disconnect() end end
if (tonumber(iShareSize) or -1) < 0 then tUser:Disconnect() end
end
end
noza
Script working without errors,but users with "none" tag in e-mail and negative share,can still connect.Please tell me where I do mistakes.....ciao!!!
lo crayzon
yea i know the ones hes on about
client version = 2.02 (NMDC 2 , there claiming to be)
share = 0
email and description = None ,none or NoNe
plus there ip start with 38.118.154.*
hope thisinfo helps
yours shad
ps. nice script , keep ptokax alive alive`o