Negative SHARE
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Negative SHARE

Started by 6Marilyn6Manson6, 02 July, 2004, 07:34:34

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

6Marilyn6Manson6

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

Corayzon

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

juda

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!!!
juda

((UKSN))shad_dow

#3
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
creator of Therapy-X? bot

SMF spam blocked by CleanTalk