ShoutStats LUA5 - 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

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

[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.
Everything could have been anything else and it would have just as much meaning.

-=(L.s.D)=-

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

UwV

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 .. ..
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

witch

yessssssssssssssssssssss@last now it's works fine!!!!

thx a lot bastya_elvtars and UwV for fix  :D



(-=TrIp-iN-SuN=-)

[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

bastya_elvtars

I will do HTML code comparisons when I get back, since it works like a dream on most machines.
Everything could have been anything else and it would have just as much meaning.

(-=TrIp-iN-SuN=-)

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: -

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 ?
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

bastya_elvtars

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.
Everything could have been anything else and it would have just as much meaning.

UwV

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 .. ..
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

(-=TrIp-iN-SuN=-)

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: -

vadertje

??????????????????????????????????????????????????????????????????????????????????????
      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

bastya_elvtars

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

TiMeTrAVelleR

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

vadertje

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

[NL]Tazzie

#40
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 = {
 [0] = 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


???Zzi?`? ????nC?? part of

?-=[K?igh?Visio?.::.?e?WorX]=-?


bastya_elvtars

Thank you, gonna incorporate into the next release. Care to post it to my forum? :)
Everything could have been anything else and it would have just as much meaning.

[NL]Tazzie

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


???Zzi?`? ????nC?? part of

?-=[K?igh?Visio?.::.?e?WorX]=-?


UwV

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

post to big for this forum so i posted it there for this once
hope you dont mind BE .. ...
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

TiMeTrAVelleR

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

DJ-Chris

162: attempt to call field `BeginConnect' (a nil value)   ??? ???

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

can help me ?


bastya_elvtars

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.
Everything could have been anything else and it would have just as much meaning.

DJ-Chris

ok bastya_elvtars Thnax. Works fine now  ;)

Time Is Art  :)

bastya_elvtars

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

bastya_elvtars

Looks like it lags the hub badly when the hiost is down. I am trying to make the handshakes non-blocking.
Everything could have been anything else and it would have just as much meaning.

SMF spam blocked by CleanTalk