PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: bastya_elvtars on 19 August, 2005, 02:58:54

Title: ShoutStats LUA5
Post by: bastya_elvtars on 19 August, 2005, 02:58:54
The long-awaited script is here! Download the PXWSA lib from here (http://www.thewildplace.dk/site/download.php) 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 (http://ptxscriptdb.psycho-chihuahua.net/download.php?view.87)
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 08:31:24
the bot with not key it's problam for me u can changed this?
Title:
Post by: Dessamator on 19 August, 2005, 09:24:59
Change this :
frmHub:RegBot(Bot.Name,0,Bot.Desc,Bot.Email)

to this :

frmHub:RegBot(Bot.Name)
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 09:41:38
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      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
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 09:43:03
it's same lag if u see
Title:
Post by: bastya_elvtars on 19 August, 2005, 10:20:26
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?
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 10:30:07
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
         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
Title:
Post by: bastya_elvtars on 19 August, 2005, 12:17:46
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?
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 15:34:20
my server work with Linux And program what i use
"Nullsoft SHOUTcast Soucre DSP v1.8.2b [dsp_sc.dll]
Title:
Post by: bastya_elvtars on 19 August, 2005, 16:42:13
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?
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 17:46:34
yep i know i closed this now
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 17:49:34
i open now the radio check this and u see and tell me y it's type me like that
Title:
Post by: bastya_elvtars on 19 August, 2005, 17:51:59
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
   
   
       -    
Title: i changed this like that and it's not doing problam me???
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 17:58:27
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
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 18:15:18
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
         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 ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
Title:
Post by: bastya_elvtars on 19 August, 2005, 18:16:17
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.
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 18:21:55
yep i know
Title:
Post by: (-=TrIp-iN-SuN=-) on 19 August, 2005, 18:23:20
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
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 ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
Title:
Post by: (-=TrIp-iN-SuN=-) on 20 August, 2005, 18:58:11
bastya_elvtars bro when u finshed this script?
Title:
Post by: bastya_elvtars on 20 August, 2005, 19:51:38
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.
Title:
Post by: (-=TrIp-iN-SuN=-) on 30 August, 2005, 16:59:29
?
Title:
Post by: bastya_elvtars on 30 August, 2005, 17:04:44
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!
Title:
Post by: Jitway on 05 September, 2005, 21:03:54
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?
Title:
Post by: witch on 10 September, 2005, 18:37:06
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  :))
Title:
Post by: bastya_elvtars on 10 September, 2005, 18:44:51
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.
Title:
Post by: bastya_elvtars on 29 September, 2005, 23:24:27
[23:21:41] <[ShoutCastStats]> Getting info from server. Please wait.
[23:21:41] <[ShoutCastStats]>
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
SHOUTcast D.N.A.S. Status For: [ localhost:8000 ]
**** Current Stream Information ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

Server Status: - Server is currently up and public.
Stream Status: - Stream is up at 80 kbps with 2 of 32 listeners (2 unique)
Listener Peak: - 2
Avg. Listen Time: - 0m 01s
Stream Title: - Unnamed Server
Content Type: - audio/mpeg
Stream Genre: -
Stream URL: - [URL]http://www.shoutcast.com[/URL]
Stream AIM: - N/A
Stream IRC: - [URL]http://www.shoutcast.com/chat.phtml?dc=%23shoutcast[/URL]
Current Song: - System Of A Down - Revenga


-

This is with the latest SC/W32 source and winamp plugin, both on my box. The script is the one that can be found on the database. Please post HERE if you have something different.
Title:
Post by: -=(L.s.D)=- on 30 September, 2005, 13:58:21
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
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

it's trip-in-sun nathing is changed is doing me problam now i get only
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
SHOUTcast D.N.A.S. Status For: [ 84.95.241.207:65504 ]
**** Current Stream Information ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
Title: whats wrong with it ?
Post by: UwV on 01 October, 2005, 03:02:38
1 download script from BE's link..
2 openscrip and find on line 101:
       if string.sub(code,1,4)~= "HTTP" then
     change it to :
       if string.sub(code,1,4)== "HTTP"

change absolutley nothing else (yet) test it run it and you will find it works fine...

 then change the things you feel you need to  and ...
   
Quote=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
      RED DWARF 17 supports  :      Psychedelic DJ D-Noiser's -Radio
      Live in Trancemission @ :   ? http://relay1.d-noiser.com:1280/listen.pls ? ***
         **** Now playing & Broadcasting ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
      -= Stream info =-
   Server Status:     -    Server is currently up and public.
   Stream Status:     -    Stream is up at 160 kbps with 49 of 300 listeners (46 unique)
   Listener Peak:     -    300
   Avg. Listen Time:     -    5h 53m 00s
   Stream Title:     -    DJ D-Noiser goa psy radio 24h nonstop djmixes
   Content Type:     -    audio/mpeg
   Stream Genre:     -    Goa Psy Trance
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
      -= Links =-    -    if urlhandler enabled CLICK else copy&paste to browser
   Stream URL:     -    http://www.trance-radio.com
   Stream ICQ:     -    http://wwp.icq.com/scripts/contact.dll?msgto=6451311
   Stream AIM:     -    N/A
   Stream IRC:     -    http://www.shoutcast.com/chat.pht ml?dc=shoutcast
   
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
    **Now Playing**      -    DJ Tripsun - Dancing Dwarfs
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=


or ...

[02:40:25] Getting info from server. Please wait.
[02:40:26]
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
      Space-Network Supports :      S.S.S. Psychedelic-Radio
      Trancemeeting now from :   ? http://s-s-s.ch:80/listen.pls ? ***
         **** Now playing & Broadcasting ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
      -= Stream info =-
   Server Status:     -    Server is currently up and private.
   Stream Status:     -    Stream is up at 48 kbps with 2 of 128 listeners (2 unique)
   Listener Peak:     -    8
   Avg. Listen Time:     -    41m 30s
   Stream Title:     -    SECRET - SOUND - SERViCE (www.s-s-s.ch) indispensable sounds *****
   Content Type:     -    audio/mpeg
   Stream Genre:     -    Lounge Downtempo Jazz Ambient Chillout Trip-Hop
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
      -= Links =-    -    if urlhandler enabled CLICK else copy&paste to browser
   Stream URL:     -    http://www.s-s-s.ch
   Stream AIM:     -    N/A
   
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
    **Now Playing**      -    Innerzone Orchestra - Blakula
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=

maaaan i love this script :0) ... .

great work on putting the socketlib to use BE :0)
i  can't wait for the next one and to see what you and "mowgli" will do with that .. ..
Title:
Post by: witch on 01 October, 2005, 11:00:00
yessssssssssssssssssssss@last now it's works fine!!!!

thx a lot bastya_elvtars and UwV for fix  :D
Title:
Post by: (-=TrIp-iN-SuN=-) on 01 October, 2005, 14:37:17
[15:35] <[ShoutCastStats]> Getting info from server. Please wait.
[15:35] <[ShoutCastStats]>
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ 212.112.241.88:8000 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

   Server Status:     -    Server is currently up and public.
   Stream Status:     -    

now it's type me all time this
Title:
Post by: bastya_elvtars on 01 October, 2005, 15:39:29
I will do HTML code comparisons when I get back, since it works like a dream on most machines.
Title:
Post by: (-=TrIp-iN-SuN=-) on 01 October, 2005, 16:06:29
i tell u it's not work it's type me like that

[15:35] <[ShoutCastStats]> Getting info from server. Please wait.
[15:35] <[ShoutCastStats]>
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
SHOUTcast D.N.A.S. Status For: [ 212.112.241.88:8000 ]
**** Current Stream Information ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

Server Status: - Server is currently up and public.
Stream Status: -
Title:
Post by: UwV on 01 October, 2005, 16:28:47
yup that one remains ..
 but here only once in 15 or 20  times (from same server),

i think it have something to do with the data transfer not with the html
(i have compared the html's  and they where exactly the same)

so my guess is the error comes because of a error in data transfer.. maybe if the html comes in to slow it dont wait ?
like..  does it wait with the parsing (stringsubbing) untill all data is recieved ? ..

although i think to read in the code it should report some error then or is that only if host unreachable ?
Title:
Post by: bastya_elvtars on 01 October, 2005, 17:28:45
QuoteOriginally posted by UwV
yup that one remains ..
 but here only once in 15 or 20  times (from same server),

i think it have something to do with the data transfer not with the html
(i have compared the html's  and they where exactly the same)

so my guess is the error comes because of a error in data transfer.. maybe if the html comes in to slow it dont wait ?
like..  does it wait with the parsing (stringsubbing) untill all data is recieved ? ..

although i think to read in the code it should report some error then or is that only if host unreachable ?

In theory it reads until there's data on the server. I think bluebear can help here.
Title:
Post by: UwV on 01 October, 2005, 19:04:07
QuoteOriginally posted by Uw"patience"V
great work on putting the socketlib to use BE :0)
i  can't wait for the next one and to see what you and "mowgli" will do with that .. ..
Title:
Post by: (-=TrIp-iN-SuN=-) on 10 October, 2005, 19:38:12
it's work but same time's it's type me
[15:35] <[ShoutCastStats]>
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
SHOUTcast D.N.A.S. Status For: [ 212.112.241.88:8000 ]
**** Current Stream Information ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

Server Status: - Server is currently up and public.
Stream Status: -
Title:
Post by: vadertje on 09 November, 2005, 19:17:09
??????????????????????????????????????????????????????????????????????????????????????
      SHOUTcast D.N.A.S. Status For:    [ 62.194.58.245:8000 ]
         **** Current Stream Information ****
   ??????????????????????????????????????????????????????????????????????????????????????

   Server Status:     -    Server is currently up and private.
   Stream Status:     -    

I have the same problem and also not how to fix this :S
can some 1 help me please Thnx greetings from holland :D
Title:
Post by: bastya_elvtars on 09 November, 2005, 20:35:15
See this post. (http://lawmaker.no-ip.org/forum/topic.php?post=29#post29)
Title:
Post by: TiMeTrAVelleR on 09 November, 2005, 21:02:11
just tryed it works fine here
[20:53:54] <[ShoutCastStats]> Getting info from server. Please wait.
[20:53:55] <[ShoutCastStats]>
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
      SHOUTcast D.N.A.S. Status For:    [ meffert2.student.utwente.nl:8000 ]
         **** Current Stream Information ****
   =-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=

   Server Status:     -    Server is currently up and public.
   Stream Status:     -    Stream is up at 112 kbps with 0 of 180 listeners (0 unique)
   Listener Peak:     -    14
   Avg. Listen Time:     -    47h 00m 42s
   Stream Title:     -    LiVe Dj TiMeTrAVelleR In The MiX
   Content Type:     -    audio/mpeg
   Stream Genre:     -    TrAnCe
   Stream URL:     -    http://www.shoutcast.com
   Stream AIM:     -    N/A
   Stream IRC:     -    http://www.shoutcast.com/chat.phtml?dc=%23shoutcast
   Current Song:     -    Habersham And Darius - Habesrham And Darius - Dune Se

greetzz TT
Title:
Post by: vadertje on 09 November, 2005, 22:24:38
i have a nother question how can i change:

this
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=<>=-=
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




in this
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
Space-Network Supports : S.S.S. Psychedelic-Radio
Trancemeeting now from : ? http://s-s-s.ch:80/listen.pls ? ***
**** Now playing & Broadcasting ****
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
-= Stream info =-
Server Status: - Server is currently up and private.
Stream Status: - Stream is up at 48 kbps with 2 of 128 listeners (2 unique)
Listener Peak: - 8
Avg. Listen Time: - 41m 30s
Stream Title: - SECRET - SOUND - SERViCE (//www.s-s-s.ch) indispensable sounds *****
Content Type: - audio/mpeg
Stream Genre: - Lounge Downtempo Jazz Ambient Chillout Trip-Hop
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
-= Links =- - if urlhandler enabled CLICK else copy&paste to browser
Stream URL: - http://www.s-s-s.ch
Stream AIM: - N/A

=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<>=-=
**Now Playing** - Innerzone Orchestra - Blakula
=-=<>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<-=-o-=->=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


I hoipe some 1 can help  :D
Title:
Post by: [NL]Tazzie on 11 November, 2005, 22:24:00
added rightclicker into it  8)

--User Settings-------------------------------------------------------------------------------------
Bot =
  {
    Name="?Sh?u???s?????s?",
    Email="yourown@hotmail.com",
    Desc="Your online radiostation"
  }
Command1 = "!sr"         --Get status now
Command2 = "!srall"         --Toggle send to all on/off
Mins = 60            --Time between announces in minutes
TimerOn = 1            --Timer 0 - off, 1 - on (grr Psycho_Chihuahua)
ghostin = "http://**************"   --SHOUTcast D.N.A.S. Status Address
gport = 8000            --Port to connect to
gfile = "/index.html"         --default file for web page
Send2Main = "yes"         --Send results to all users? 'yes/no'

SendComm = 1      -- Send user command [right click] "1"=yes "0"=no

SetTo = {
 
  • = 1,   -- Masters
  • [1] = 1,   -- Operators
     [2] = 1,   -- Vips
     [3] = 1,   -- Regs
     [4] = 1,   -- Moderator
     [5] = 1,   -- NetFounder
     [-1] = 0,  -- Users
    }
    ----------------- pls dont touch below here ..
    ----------------- or if you touch dont blame either of the authors .. :)

    function NewUserConnected(user)
       if SendComm == 1 and SetTo[user.iProfile] == 1 then
          user:SendData("$UserCommand 1 3 ?Sh?u???????s?\\Get Status $<%[mynick]> !sr||")
          user:SendData("$UserCommand 1 3 ?Sh?u???????s?\\Toggle send to all$<%[mynick]> !srall %[line:yes/no]||")
          end
    end

    OpConnected = NewUserConnected


    just in case some off us are bit lazy (yes i am lazy aswell :P )

    and script is NICE one BE


    and changed:

      elseif (cmd == Command2) then
       if Send2Main == "no" then Send2Main = "yes"
          usr:SendData(Bot.Name,"Shoutcast status ' Send To All ' is now
[ON]")
   elseif Send2Main == "yes" then Send2Main = "no"
      usr:SendData(Bot.Name,"Shoutcast status ' Send To All ' is now [OFF]")
   return 1
      end
  end
end

to

elseif (cmd == Command2) then
   if Send2Main == "no" then Send2Main = "yes"
      usr:SendData(Bot.Name,"Shoutcast status ' Send To All ' is now [ON]")
   return 1
    elseif Send2Main == "yes" then Send2Main = "no"
      usr:SendData(Bot.Name,"Shoutcast status ' Send To All ' is now [OFF]")
   return 1
      end
  end
Title:
Post by: bastya_elvtars on 14 November, 2005, 09:26:16
Thank you, gonna incorporate into the next release. Care to post it to my forum? :)
Title:
Post by: [NL]Tazzie on 14 November, 2005, 20:36:48
QuoteOriginally posted by bastya_elvtars
Thank you, gonna incorporate into the next release. Care to post it to my forum? :)

Will do that BE.  :D
Title:
Post by: UwV on 19 November, 2005, 03:33:09
QuoteOriginally posted by vadertje
i have a nother question how can i change:
 -- cut --
to this :
 -- cut --
I hoipe some 1 can help  :D


have a look -> here <- (http://lawmaker.no-ip.org/forum/topic.php?post=73#post73)

post to big for this forum so i posted it there for this once
hope you dont mind BE .. ...
Title:
Post by: TiMeTrAVelleR on 19 November, 2005, 22:35:32
function ChatArrival(usr, data)
if SetTo[usr.iProfile] == 1 then
  data = string.sub(data,1,string.len(data)-1)
  local  s,e,cmd = string.find(data,"^%b<>%s+(%S+)")--
  if (cmd == Command1) then
    GetNews(usr)
    usr:SendData(Bot.Name,"Getting info from server. Please wait.")
    return 1
  elseif (cmd == Command2) then
    if Send2Main == "no" then Send2Main = "yes"
      usr:SendData(Bot.Name,"Shoutcast status ' Send To All ' is now [ON]")
      return 1
    elseif Send2Main == "yes" then Send2Main = "no"
      usr:SendData(Bot.Name,"Shoutcast status ' Send To All ' is now [OFF]")
      return 1   
    end
  end
end
end




could anione make it  that when a profil thats not allowed to use command  get message     youre not allowed  to use that command   ( somthing like that )

greetzz  TT
ToArrival=ChatArrival
Title: Re: ShoutStats LUA5
Post by: DJ-Chris on 08 March, 2006, 00:58:43
162: attempt to call field `BeginConnect' (a nil value)   ??? ???

i have PXWSA.DLL in same folder as PtokaX.exe !

can help me ?

Title: Re: ShoutStats LUA5
Post by: bastya_elvtars on 09 March, 2006, 22:06:37
Quote from: DJ-Chris on 08 March, 2006, 00:58:43
162: attempt to call field `BeginConnect' (a nil value)   ??? ???

i have PXWSA.DLL in same folder as PtokaX.exe !

can help me ?



I did not yet have the time to rewrite the bot to work wih the latest PXWSA.dll. Patience till then.
Title: Re: ShoutStats LUA5
Post by: DJ-Chris on 09 March, 2006, 23:12:22
ok bastya_elvtars Thnax. Works fine now  ;)

Time Is Art  :)
Title: ShoutStats 1.2 released
Post by: bastya_elvtars on 27 March, 2006, 03:05:21
1.2 released:

http://ptxscriptdb.psycho-chihuahua.net/download.php?view.220

Read the comments, report bugs here (http://lawmaker.no-ip.org/forum/forum.php?id=13) or in this topic.
Title: Re: ShoutStats LUA5
Post by: bastya_elvtars on 28 March, 2006, 01:25:48
Looks like it lags the hub badly when the hiost is down. I am trying to make the handshakes non-blocking.
Title: Re: ShoutStats LUA5
Post by: Jitway on 04 April, 2006, 22:22:23
Any chance of this being converted to Lua 5.1?
Title: Re: ShoutStats LUA5
Post by: Markitos on 04 April, 2006, 22:58:52
Quote from: Jitway on 04 April, 2006, 22:22:23
Any chance of this being converted to Lua 5.1?
Nop, because the lib is incompatible with lua 5.1...
Title: Re: ShoutStats LUA5
Post by: bastya_elvtars on 04 April, 2006, 23:38:26
The script is (IIRC) compatible, the lib isn't.