ShoutStats LUA5
 

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

ShoutStats LUA5

Started by bastya_elvtars, 19 August, 2005, 02:58:54

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bastya_elvtars

The long-awaited script is here! Download the PXWSA lib from here and put pxwsa.dll to the folder ptokax.exe resides in. The ASCII is OK, but there are some spaces and a - in the end, thi is a minor annoyance. Enjoy!

Download
Everything could have been anything else and it would have just as much meaning.

(-=TrIp-iN-SuN=-)

the bot with not key it's problam for me u can changed this?

Dessamator

Change this :
frmHub:RegBot(Bot.Name,0,Bot.Desc,Bot.Email)


to this :

frmHub:RegBot(Bot.Name)
Ignorance is Bliss.

(-=TrIp-iN-SuN=-)

=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ 84.95.241.207:65504 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
s=default>Stream is up at 80 kbps with 0 of 100 listeners (0 unique)
   Listener Peak:     -    11
   Avg. Listen Time:     -    15h 17m 31s
   Stream Title:     -    PsYDreaM Radio TrIp-iN-SuN Playing[ Hosted By PsyPoint ]
   Content Type:     -    audio/mpeg
   Stream Genre:     -    Psychedelic / Trance / Goa / Ambient
   Stream URL:     -    dchub://psydream-land2.no-ip.org
   Stream ICQ:     -    http://wwp.icq.com/scripts/contact.dll?msgto=271299086
   Stream AIM:     -    aim:goim?screenname=">
   Stream IRC:     -    http://www.shoutcast.com/chat.phtml?dc=">
   Current Song:     -    Shiva And Guy - Go To School



y it's like that i want this



   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ 84.95.241.207:65504 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
   Server Status:     -    Server is currently up and public.
   Stream Status:     -    Stream is up at 80 kbps with 41 of 100 listeners (0 unique)
   Listener Peak:     -    11
   Avg. Listen Time:     -    15h 17m 31s
   Stream Title:     -    PsYDreaM Radio TrIp-iN-SuN Playing[ Hosted By PsyPoint ]
   Content Type:     -    audio/mpeg
   Stream Genre:     -    Psychedelic / Trance / Goa / Ambient
   Stream URL:     -    dchub://psydream-land2.no-ip.org
   Stream ICQ:     -    http://wwp.icq.com/scripts/contact.dll?msgto=271299086
   Stream AIM:     -    aim:goim?screenname=">
   Stream IRC:     -    http://www.shoutcast.com/chat.phtml?dc=">
   Current Song:     -    Shiva And Guy - Go To School


bastya_elvtars

Best is to use:

frmHub:RegBot(Bot.Name,1,Bot.Desc,Bot.Email)

I will test it in the future, as I mentioned, the HTML parsing is not perfect yet, gonna fix this. And what lag are you talking about?
Everything could have been anything else and it would have just as much meaning.

(-=TrIp-iN-SuN=-)

=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
         SHOUTcast D.N.A.S. Status For:    [ 84.95.241.207:65504 ]
            **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
ss=default>Stream is up at 80 kbps with 0 of 100 listeners (0 unique) <---- u see this it's not need to be like that
   Listener Peak:     -    11
   Avg. Listen Time:     -    15h 17m 31s
   Stream Title:     -    PsYDreaM Radio TrIp-iN-SuN Playing[ Hosted By PsyPoint ]
   Content Type:     -    audio/mpeg
   Stream Genre:     -    Psychedelic / Trance / Goa / Ambient
   Stream URL:     -    http://www.chromanova.de
   Stream AIM:     -    N/A
   Stream IRC:     -    http://www.shoutcast.com/chat.phtml?dc= ">
   Current Song:     -    Shiva - Red Dwarf

changed this plz

bastya_elvtars

Quote=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ wishradio.dyn.hu:8080 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

   Server Status:     -    Server is currently up and public.
   Stream Status:     -    Stream is up at 96 kbps with 7 of 100 listeners (7 unique)
   Listener Peak:     -    16
   Avg. Listen Time:     -    26m 44s
   Stream Title:     -    WishRadio by Bitter
   Content Type:     -    audio/mpeg
   Stream Genre:     -    
   Stream URL:     -    http://wish.rulz.hu
   Stream ICQ:     -    http://wwp.icq.com/scripts/contact.dll?msgto=">
   Stream AIM:     -    aim:goim?screenname=">
   Stream IRC:     -    http://www.shoutcast.com/chat.phtml?dc=">
   Current Song:     -    Belga - Maci

This works better than it did last night. Seems to be an error of the SC server, there may be characters in the stream info/other fields that confuse the HTML parsing. What version of SC server are you using?
Everything could have been anything else and it would have just as much meaning.

(-=TrIp-iN-SuN=-)

my server work with Linux And program what i use
"Nullsoft SHOUTcast Soucre DSP v1.8.2b [dsp_sc.dll]

bastya_elvtars

QuoteOriginally posted by (-=TrIp-iN-SuN=-)
my server work with Linux And program what i use
"Nullsoft SHOUTcast Soucre DSP v1.8.2b [dsp_sc.dll]

I got this:
   
Quote=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ 84.95.241.207:65504 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

   Server Status:     -    Server is currently down.


Maybe replacing the shoutcast DSP will work?
Everything could have been anything else and it would have just as much meaning.


(-=TrIp-iN-SuN=-)

i open now the radio check this and u see and tell me y it's type me like that

bastya_elvtars

Quote=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ 84.95.241.207:65504 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

   Server Status:     -    Server is currently up and private.
   Stream Status:     -    Stream is up at 80 kbps with 1 of 100 listeners (1 unique)
   Listener Peak:     -    11
   Avg. Listen Time:     -    9m 01s
   Stream Title:     -    PsYDreaM Radio TrIp-iN-SuN Playing[ Hosted By PsyPoint ]
   Content Type:     -    audio/mpeg
   Stream Genre:     -    Psychedelic / Trance / Goa / Ambient
   Stream URL:     -    http://www.chromanova.de
   Stream AIM:     -    N/A
   Stream IRC:     -    http://www.shoutcast.com/chat.phtml?dc=">
   Current Song:     -    VA - Singularity-Mixed by DJ TV
   
   
       -    
Everything could have been anything else and it would have just as much meaning.

(-=TrIp-iN-SuN=-)

Msg="\r\n\t=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=\r\n"
  Msg = Msg.."\t\tDOUBLE CLICK--->  http://84.95.241.207:65504/listen.pls  <---DOUBLE CLICK\r\n"
  Msg = Msg.."\t=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=\r\n"
  Msg = Msg.."\t\t\tSHOUTcast D.N.A.S. Status For: \t[ "..ghost..":"..gport.." ]\r\n"
  Msg = Msg.."\t\t\t\t**** Current Stream Information ****\r\n"
  Msg = Msg.."\t=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=\r\n"
  WSA.Close(socket)
end

(-=TrIp-iN-SuN=-)

=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
         SHOUTcast D.N.A.S. Status For:    [ 84.95.241.207:65504 ]
            **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
ss=default>Stream is up at 80 kbps with 0 of 100 listeners (0 unique)
   Listener Peak:     -    11
   Avg. Listen Time:     -    11m 35s
   Stream Title:     -    PsYDreaM Radio TrIp-iN-SuN Playing[ Hosted By PsyPoint ]
   Content Type:     -    audio/mpeg
   Stream Genre:     -    Psychedelic / Trance / Goa / Ambient
   Stream URL:     -    http://www.chromanova.de
   Stream AIM:     -    N/A
   Stream IRC:     -    http://www.shoutcast.com/chat.phtml?dc=">
   Current Song:     -    VA - Singularity-Mixed by DJ TV


And Stell It's Type Me Like That Or It's Type Me Only

   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
         SHOUTcast D.N.A.S. Status For:    [ 84.95.241.207:65504 ]
            **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

bastya_elvtars

QuoteOriginally posted by (-=TrIp-iN-SuN=-)
Msg="\r\n\t=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=\r\n"
  Msg = Msg.."\t\tDOUBLE CLICK--->  http://84.95.241.207:65504/listen.pls  <---DOUBLE CLICK\r\n"
  Msg = Msg.."\t=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=\r\n"
  Msg = Msg.."\t\t\tSHOUTcast D.N.A.S. Status For: \t[ "..ghost..":"..gport.." ]\r\n"
  Msg = Msg.."\t\t\t\t**** Current Stream Information ****\r\n"
  Msg = Msg.."\t=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=\r\n"
  WSA.Close(socket)
end

You will have to change it everywhere it appears. Gonna add a custom.changeable header template.
Everything could have been anything else and it would have just as much meaning.


(-=TrIp-iN-SuN=-)

=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
SHOUTcast D.N.A.S. Status For: [ 84.95.241.207:65504 ]
**** Current Stream Information ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
ss=default>Stream is up at 80 kbps with 0 of 100 listeners (0 unique)
Listener Peak: - 11
Avg. Listen Time: - 11m 35s
Stream Title: - PsYDreaM Radio TrIp-iN-SuN Playing[ Hosted By PsyPoint ]
Content Type: - audio/mpeg
Stream Genre: - Psychedelic / Trance / Goa / Ambient
Stream URL: - http://www.chromanova.de
Stream AIM: - N/A
Stream IRC: - http://www.shoutcast.com/chat.phtml?dc=">
Current Song: - VA - Singularity-Mixed by DJ TV


(((And Stell It's Type Me Like That Or It's Type Me Only))))



=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
SHOUTcast D.N.A.S. Status For: [ 84.95.241.207:65504 ]
**** Current Stream Information ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

(-=TrIp-iN-SuN=-)

bastya_elvtars bro when u finshed this script?

bastya_elvtars

QuoteOriginally posted by (-=TrIp-iN-SuN=-)
bastya_elvtars bro when u finshed this script?

Doing more research on bluebear's socket library, please be patient.
Everything could have been anything else and it would have just as much meaning.


bastya_elvtars

QuoteOriginally posted by (-=TrIp-iN-SuN=-)
?

I was working on it, but I just don't get why it gives that error to you, cause the test riadio i used it with has a shoutstats site that works fine with this script. The WSA lib is still not released yet... patience is a virtue!
Everything could have been anything else and it would have just as much meaning.

Jitway

Ok I have followed the instructions to the letter and usually have no problems getting most scripts tp work. But I am stumped on this one. When I user the cmd +sr this is all I get

<[ShoutCastStats]>  
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ //www.jitsevilgaming.com:8000 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

Any Ideas?
It\'s not what you say but how you get your point across!

witch

Hola, i was waitin for lua 5 version of this script more than 1 year now  :))

but it's not workin yet, that' what i got:

[18:35] Syntax ...PtokaX\![pz]0.3.3.21.nt.dbg\scripts\shoutstats11.lua:38: Cannot load the WSA library!

thx in advince  :))



bastya_elvtars

QuoteOriginally posted by witch
Hola, i was waitin for lua 5 version of this script more than 1 year now  :))

but it's not workin yet, that' what i got:

[18:35] Syntax ...PtokaX\![pz]0.3.3.21.nt.dbg\scripts\shoutstats11.lua:38: Cannot load the WSA library!

thx in advince  :))

Read the comments please.
Everything could have been anything else and it would have just as much meaning.

SMF spam blocked by CleanTalk