SearchCount-V.1.3 - Page 2
 

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

SearchCount-V.1.3

Started by Dessamator, 15 May, 2005, 14:52:37

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dessamator

lol, aligning the column, well, it can be done the problem is, u can search for a thing with more than 200 characters, and it wont be able to align that it will always come out distorted, if u suggest a maximum characters, ill try to add it :)
Ignorance is Bliss.

jiten

QuoteOriginally posted by XPMAN
Thanx for this usefull script :)

One small request though anyway when you list the hub record:

It can also list the Nick of the user that shares the most in the hub. Other words have  :  share record , users , then also list top sharer.. example:

Top share    XPMAN    550 Gigs


All underneath each other.
Check the Record Bot thread again ;)

Best regards

Dinok

at command !mostwanted - such mistake
Syntax ...Ptokax\0.3.3.0.b17.08.nt.dbg\scripts\SearchCount.lua:185: attempt to compare number with nil

Dessamator

#28
hmm, no errors here, i just tested it a few mins ago,try copying the script again, and erasing the Topsearches.txt, and then starting the script.

QuoteOriginally posted by Oz
hi :) how to align colump???

Done ! post edited
Ignorance is Bliss.

Dinok

QuoteOriginally posted by Dessamator
hmm, no errors here, i just tested it a few mins ago,try copying the script again, and erasing the Topsearches.txt, and then starting the script.

works, thank you

ConejoDelMal

this script is great! i dont know how i didnt come across it sooner...

There is a problem though... it doesnt saves the Type correctly, for instance, if i search for "telelista" once, with type any, i stays normal:

 Times                 Type                       Item

	1		Unknown	           fabio junior
	1		Unknown	           telelista
	1		Video	               sin city ts xvid invfx cd1 avi
	1		Video	               the fifth element divx avi
	1		Unknown		   san andreas
	1		Unknown	           meu dengo

After someone makes another search, the type doesnt moves, just the Item:
- - Times - - 	- - Type - -			- - Item - -

	2		Unknown		   san andreas
	1		Unknown		   fabio junior
	1		Video	               telelista
	1		Video	               the fifth element divx avi
	1		Unknown		   sin city ts xvid invfx cd1 avi
	1		Unknown		   meu dengo

or maybe its just me....still didnt sleep  :P
Rede-DC Comunidade Portuguesa de DC

Dessamator

lol, i did that on purpose, it shouldnt save as "any", because its isnt specific, what type/ category  is "any"??? in other words any == unknown !

hope u understand !

but if u still want that, just change this ::

cat={[1]="Unknown",[2]="Audio",[3]="Compressed",[4]="Document",[5]="Executable",[6]="Picture",[7]="Video",[8]="Directory",[9]="TTH"}


to this:

cat={[1]="Any",[2]="Audio",[3]="Compressed",[4]="Document",[5]="Executable",[6]="Picture",[7]="Video",[8]="Directory",[9]="TTH"}
Ignorance is Bliss.

jiten

If I'm not wrong, [AT]conejodelmal is talking about the tabbing that isn't that accurate.
Maybe you could use nErBoS' DoTabs function. It is almost perfect ;)

Cheers

ConejoDelMal

hmm... i think you didnt understand me  :D

notice the word "Telelista", in the first display, with one search, it's searched as Unknown, after someone searches something else, it changed to Video, but no one searched for "Telelista" with Type Video...

Hope its more understandable now  :P
Rede-DC Comunidade Portuguesa de DC

Dessamator

ooh, i see so theres a bug in the searching, but how can u be so sure it wasnt searched?, either way ill check it out !
Ignorance is Bliss.

ConejoDelMal

I can be sure it wasnt searched as Video, cause in the first time i typed the command, it was there with one search and as unknown, after a few seconds, i typed it again, and still with one search only it changed do Video.

The same with "sin city ts xvid invfx cd1 avi" first it was searched as Video, after it displayed it as Unknown  :(
Rede-DC Comunidade Portuguesa de DC

Dessamator

Fixed, post edited !
Ignorance is Bliss.

ConejoDelMal

(I'm already getting annoying, I know :P)

Still not really perfect.. the last problem looks solved, but right now i searched for " Queens of the Stone Age " as Audio, and it displays it as:

   1      Unknown         queens of the stone age

If its too much work to fix it, I'm considering to remove the Type.. as anyway most people search as Any
Rede-DC Comunidade Portuguesa de DC

Dessamator

i searched for that and it worked perfectly for me, u must have done something wrong either way, post edited, maybe it will solve ur bug :)
Ignorance is Bliss.

Oz

I have error :(

Syntax ...0.3.3.0.b17.08.nt.dbg\scripts\SearchCount-V.1.4b.lua:153: bad argument #1 to `find' (string expected, got nil)

Dessamator

try this :

1.Stop the script
2. delete the file in the txt folder named : TopSearches.txt
3. Start the script !
Ignorance is Bliss.

Oz

Ok, i try :)

big thx

Dessamator

ur welcome(if it works)
Ignorance is Bliss.

SMF spam blocked by CleanTalk