Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-02-2007, 04:24 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
play()?

I'm trying to make this radio, everything works except it wont play music!
I was wondering if this was a glitch with graal or something, cause its not letting me play any music besides whats uploaded on the server...
If I try to play mp3s, radio streams, anything it doesnt work...
It used to tho. When I press f3, it says its playing, but theres no sound.
And its not just me, because other people cant hear it either.
All it is is a simple play() script that should work...
And even when I directly put the url into the Current Track spot in the f3 window, it doesnt play.
So, can anyone help?
Is it a script problem, or a graal problem?

(I'm running on windows xp if that has anything to do with it)
Reply With Quote
  #2  
Old 11-02-2007, 01:31 PM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
hmm. it is the same problem for my servers radio.. maybe it could be a bug..
try doing playmidi(<song>); or watever that function is. or you could probably find a url.
__________________
I am the devil, I am here to do to devils work.
Reply With Quote
  #3  
Old 11-02-2007, 02:27 PM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
So the script worked earlier but all of a sudden it no longer works? Sounds like the server you get your music from is down.
__________________
Deep into the Darkness peering...
Reply With Quote
  #4  
Old 11-02-2007, 03:12 PM
Iris Iris is offline
Rare Hunter
Iris's Avatar
Join Date: Oct 2006
Location: Germany
Posts: 1
Iris is on a distinguished road
play("url"); works properly for me.
You didn't forget the http://?
Reply With Quote
  #5  
Old 11-02-2007, 10:34 PM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
I dont mean it worked before on this server.
It has never worked on this server, but other servers I worked on.
And, I know the site that the music is from is up, because when I play the url in my browser, it finds it just fine.
And its so annoying....cause I spent alot of time on this stupid radio script, just to fint out it wont play the damn songs.
Reply With Quote
  #6  
Old 11-02-2007, 11:09 PM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
try the http://www.projectplaylist.com and search it their. their music doesnt always work tho..
__________________
I am the devil, I am here to do to devils work.
Reply With Quote
  #7  
Old 11-03-2007, 12:20 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Is the url directly linking to the music or to the playlist ? If it's the playlist then you need to load the file first (requesturl() example somewhere in these forums) and then extract the mp3 url.
Reply With Quote
  #8  
Old 11-03-2007, 12:50 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
No, the url is directly to the .mp3 url...
Reply With Quote
  #9  
Old 11-03-2007, 02:15 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Make sure not to include any spaces in it, substitute %20 for spaces.
EXAMPLE:
Instead of
play("http://forums.graalonline.com/music/i love me.mp3");
Use
play("http://forums.graalonline.com/music/i%20love%20me.mp3");

Of course, make sure the client that it should play on has radio enabled & his volume turned up in windows AND on the clent.
play(); only works on clientside.
__________________
Trying to be nice now...
Reply With Quote
  #10  
Old 11-03-2007, 02:22 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
Quote:
Originally Posted by bscharff View Post
Make sure not to include any spaces in it, substitute %20 for spaces.
EXAMPLE:
Instead of
play("http://forums.graalonline.com/music/i love me.mp3");
Use
play("http://forums.graalonline.com/music/i%20love%20me.mp3");

Of course, make sure the client that it should play on has radio enabled & his volume turned up in windows AND on the clent.
play(); only works on clientside.
No spaces in url, player has volume turned on (windows and client)
and play(); is clientside.
Still doesnt work.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.