looking for new tags...
 

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

looking for new tags...

Started by blackwings, 14 October, 2004, 18:18:16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

blackwings

I'm looking for some new client tags. I already have these = DCGUI,zDC++,StrongDC++,Phantom DC++,iDC++,MS++V,DC++K CDM,rmDC++,DC@fe++,DC++ DCDM,BCDC++,nDC++,CZDC++,ReverseConnect.

example of information that I want to other clients =
Client Name = iDC++
Begining/sequence of the tag: Version info =  V:(0.%d+)


Optimus

Good idea.. Please in this Format as complete as possible
$MyINFO $ALL Test <.P>Tum Di Dum<++ V:0.306,M:A,H:0/1/5,S:4>
$MyINFO $ALL Test <++ V:0.306,M:A,H:0/1/5,S:4,O:4>
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test <++ V:0.306,M:P,H:1/0/0,S:3>
$MyINFO $ALL Test <++ V:0.251,M:A,H:0/1/1,S:1>
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test [URL]http://dc.ketelhot.de[/URL]
$MyINFO $ALL Test  <++ V:0.25,M:A,H:0/0/2,S:1>
$MyINFO $ALL Test 
$MyINFO $ALL Test <[X]DC V:0.4034,M:A,H:1/2/4,S:2>
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 

blackwings

#2
Optimus, could you check if this is correct =

This is what I made of it =
{"
I used these from your post before (not all of them)=
$MyINFO $ALL Test 
$MyINFO $ALL Test  <++ V:0.25,M:A,H:0/0/2,S:1>
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test <[X]DC V:0.4034,M:A,H:1/2/4,S:2>
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 
$MyINFO $ALL Test 


Optimus

You could use this for example to check the tags. And i changed a couple of tags. To make it all work.

Btw in this way you could easly add more tags and check if they work. After that you could do your own thing and build it back in your script.

["
["
and some other small stuff

sBot = "=TumDiDum="

function DataArrival(user, data)
	if (strsub(data, 1, 1) == "<" ) then
		data=strsub(data,1,strlen(data)-1) 
		s,e,cmd=strfind(data, "%b<>%s+(%S+)")

		if (cmd == "!test") then
			local disp,nr = "\r\n",0
			for i = 1,getn(tTest) do
				for sClient,sTag in tClients do
					if strfind(tTest[i], sClient) then
						disp=disp..i..". String: "..tTest[i].." - Client: "..sTag.."\r\n" nr = i
					end
				end
				user:SendData(sBot, disp.."\r\nTotal Strings: "..getn(tTest)..", Passed Strings: "..nr)
			end
		end
	end
end

tClients = {
[""]="Phantom DC++",
["Tum Di Dum<++ V:0.306,M:A,H:0/1/5,S:4>",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test <++ V:0.306,M:P,H:1/0/0,S:3>",
"$MyINFO $ALL Test <++ V:0.251,M:A,H:0/1/1,S:1>",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test  <++ V:0.25,M:A,H:0/0/2,S:1>",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test <[X]DC V:0.4034,M:A,H:1/2/4,S:2>",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
"$MyINFO $ALL Test ",
--"$MyINFO $ALL Test [URL]http://dc.ketelhot.de[/URL]",
--"$MyINFO $ALL Test <++ V:0.306,M:A,H:0/1/5,S:4,O:4>",
}

blackwings

#4
Thanx Optimus, that's a good advice :D

ehm, but what I'm orignally meant to ask, was if I had wrote the right version code (ex=V:([^,]+).) for each client???


Optimus

You could use my code and change it so it checks the minversion to. Then it will display the result when you do !test
You will quickly see if minversions are right or not

blackwings

#6
I had in mind to use the tas for my deny clients script, so I won't check min version of a client.

Maybe I am a little bit stupid here>_<, but I don't see how this script should show if I should use "V:([^,]+)." or "V:(0.%d+)"
or something else.(check my Deny Clients Script and you will what I'm looking for)

This is what your script wrote out. All it did was to copy the lines from table tClients,
put a number infront and in the end write > - Client: oDC.
[21:36] <=TumDiDum=> 
1. String: $MyINFO $ALL Test <.P>Tum Di Dum<++ V:0.306,M:A,H:0/1/5,S:4> - Client: Phantom DC++
2. String: $MyINFO $ALL Test  - Client: oDC
3. String: $MyINFO $ALL Test  - Client: DCGUI
4. String: $MyINFO $ALL Test  - Client: DC:PRO
5. String: $MyINFO $ALL Test  - Client: NMDC
6. String: $MyINFO $ALL Test <++ V:0.306,M:P,H:1/0/0,S:3> - Client: iDC++
7. String: $MyINFO $ALL Test <++ V:0.251,M:A,H:0/1/1,S:1> - Client: DC++K CDM
8. String: $MyINFO $ALL Test  - Client: rmDC++
9. String: $MyINFO $ALL Test  - Client: Strong DC++
10. String: $MyINFO $ALL Test  - Client: DCGUI
11. String: $MyINFO $ALL Test  <++ V:0.25,M:A,H:0/0/2,S:1> - Client: oDC old
12. String: $MyINFO $ALL Test  - Client: RDC++
14. String: $MyINFO $ALL Test  - Client: YETI++
15. String: $MyINFO $ALL Test  - Client: DHDc++
16. String: $MyINFO $ALL Test  - Client: MORIA++
17. String: $MyINFO $ALL Test  - Client: LDC++
18. String: $MyINFO $ALL Test  - Client: SdDC++
19. String: $MyINFO $ALL Test  - Client: Chp++
20. String: $MyINFO $ALL Test  - Client: TiDc++
21. String: $MyINFO $ALL Test  - Client: R2++

Total Strings: 23, Passed Strings: 21


Optimus

tum di dum, i'm done here. I don't get what you are trying to say to me ;)

It's all fine with me, good luck

blackwings

#8
Does anyone know the tag description for = FullDC, BlackDC, italian DC and DCTC(DC Text Client)?


bastya_elvtars

see nightlitch script

btw idc:
DCTC: "
fuldc cannot be detected by desc afaik

blackdc has no tag
Everything could have been anything else and it would have just as much meaning.

bastya_elvtars

"V:([^,]+)." -- detects everything after "V:" that is not "," and lasts till one more charwhich isnt included , so u can detect "1.00 RC8" for strongdc
 or "V:(0.%d+) -- this detects only numbers
Everything could have been anything else and it would have just as much meaning.

blackwings

#11
QuoteOriginally posted by bastya_elvtars
"V:([^,]+)." -- detects everything after "V:" that is not "," and lasts till one more charwhich isnt included , so u can detect "1.00 RC8" for strongdc
 or "V:(0.%d+) -- this detects only numbers
hmm, latest DCTC version is 0.85.9,
so I think that I should use this then(no V: because I'm not sure if DCTC has it) =
(%d+.%d+.%d+)


SMF spam blocked by CleanTalk