WPN Lister

Discuss the world of file sharing, from philosophy to help with applications.

Moderator: CricketMX Forum Moderators

Post Reply
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

KM has released the "Web to Mx" prog he used on the Mxtools site .
WPN Lister

This is a program that connects to the WinMX Network and loads the channel list over and over, saving it to a file as it runs. I have also included a sample php script that produces a web page containing the channel list, and 2Sen's Web Chat applet so users can join the rooms from that listing... enjoy!
Get it from here.

http://www.kingmacro.net/?section=get&file=wpnlist.zip

For those who like a little more detail.
The program generating the web chat listings is a simple program that loops endlessly on 5 secondary connections loading room lists, then it simply saves the file containing any rooms its seen in the last 5 minutes, I found that multiple connections was better listings than a single one (like I assume 2sen uses) and of course the constant looping around was just to keep it as fresh as possable.

Unfortunately its a killer on the servers bandwidth, the constant 6-8k/s download isn't too bad but when someone wants to load the channel list its a good 900k file (thank god for HTTP supporting compression) and the CPU load of loading the list and sorting it etc when the user requested it does cause everything to stop for a few seconds, thats why I decided not to keep it on the new site.

An interesting peice of code KM , thanks to you, (and Nushi) for making it available.
KM
Know-It-All
Know-It-All
Posts: 544
Joined: Sat Sep 11, 2004 9:42 pm
Location: in front of a computer, as usual
Contact:

http://www..cricketmx.com/webchat/

not working yet... :-D
Image

WinMX World.com - The new help website dedicated completely to WinMX. If you cant find help there, you cant find it anywhere!
quicksilver
Helpful Hands
Helpful Hands
Posts: 1926
Joined: Mon Mar 22, 2004 12:12 am

I think Battye likes the forum as it is ,lol
I did read from the above about the bandwidth munching capability, and that alone would probably make the decision. :?
User avatar
battye
Site Admin
Site Admin
Posts: 14422
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Yeah that was kinda my worry Quick, also the CPU usage :(
KM, can you give an estimate figure?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
KM
Know-It-All
Know-It-All
Posts: 544
Joined: Sat Sep 11, 2004 9:42 pm
Location: in front of a computer, as usual
Contact:

CPU usage is mainly an issue with when someone loads it, its not too much but on my 666Mhz server is took about 3-4 seconds for the script included with it to generate the pages (no doubt the script could be made more efficient as well) thats 3-4 seconds of 100% CPU usage... but thats only the php script that did that, the lister program is barely noticed, unless you look at a banndwidth graph anyway, but most people wouldn't notice 10-15k/s of download bandwidth
Image

WinMX World.com - The new help website dedicated completely to WinMX. If you cant find help there, you cant find it anywhere!
Post Reply