Server rentals :: NFOservers.com

Forums

All times are UTC - 8 hours



Author Message
 Post subject: intro song for my server
PostPosted: Wed Dec 14, 2011 6:22 pm 
Offline
A regular
A regular

Joined: Sat Dec 10, 2011 1:47 pm
Posts: 30
any idea about how to add an intro song for a Half life server? I already added one, but it plays just for 1 sec the it stops :? :(

64.94.238.48:27015 |AKA|--BLOODY MESS-- (XDM)

_________________
Image


Top
 Profile  
 
PostPosted: Wed Dec 14, 2011 8:09 pm 
Offline
Staff
Staff
User avatar

Joined: Thu Jul 22, 2004 12:24 am
Posts: 1028
Location: Big Bear, CA
Aside from some sort of mod that may do this, I have also seen it done by embedding the song into the MOTD with HTML code. I'm not sure on the exact format for this, though.

_________________
TimeX


Top
 Profile  
 
PostPosted: Wed Dec 14, 2011 8:18 pm 
Offline
Staff
Staff
User avatar

Joined: Fri Sep 17, 2010 9:06 am
Posts: 2022
Location: California
This should help;

Code:
<embed src="yourmusic" autostart="false" loop="false"
volume="60" />

_________________
<@TimeX-NFo> Hey, we used to have to carry our packets to the servers.
<@TimeX-NFo> And it was upstream, both ways.

<@TimeX-NFo|away> You're asking the old dude for help?????
<@Kraze^NFo> Yes


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 3:38 pm 
Offline
A regular
A regular

Joined: Sat Dec 10, 2011 1:47 pm
Posts: 30
should i replace YOURMUSIC for a song link or should i paste it as it is?

_________________
Image


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 3:41 pm 
Offline
Staff
Staff
User avatar

Joined: Fri Sep 17, 2010 9:06 am
Posts: 2022
Location: California
You will want to paste the link to your song there. Also change the autostart to "true". This will make the music play as soon as it is loaded.

_________________
<@TimeX-NFo> Hey, we used to have to carry our packets to the servers.
<@TimeX-NFo> And it was upstream, both ways.

<@TimeX-NFo|away> You're asking the old dude for help?????
<@Kraze^NFo> Yes


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 6:56 pm 
Offline
A regular
A regular

Joined: Sat Dec 10, 2011 1:47 pm
Posts: 30
it did not work :cry:

_________________
Image


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 6:59 pm 
Offline
Staff
Staff
User avatar

Joined: Fri Sep 17, 2010 9:06 am
Posts: 2022
Location: California
Can you paste back exactly what you pasted?

_________________
<@TimeX-NFo> Hey, we used to have to carry our packets to the servers.
<@TimeX-NFo> And it was upstream, both ways.

<@TimeX-NFo|away> You're asking the old dude for help?????
<@Kraze^NFo> Yes


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 7:18 pm 
Offline
A regular
A regular

Joined: Sat Dec 10, 2011 1:47 pm
Posts: 30
<embed src="sound/misc/djs_server_intro_long.mp3" autostart="true" loop="false"
volume="60" />


right in motd.txt

_________________
Image


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 7:21 pm 
Offline
Staff
Staff
User avatar

Joined: Fri Sep 17, 2010 9:06 am
Posts: 2022
Location: California
Try doing a hard link to the music file. Such as XXX.site.nfoservers.com/music.mp3

_________________
<@TimeX-NFo> Hey, we used to have to carry our packets to the servers.
<@TimeX-NFo> And it was upstream, both ways.

<@TimeX-NFo|away> You're asking the old dude for help?????
<@Kraze^NFo> Yes


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 7:24 pm 
Offline
A regular
A regular

Joined: Sat Dec 10, 2011 1:47 pm
Posts: 30
just like this??

<embed src="ftp://akabloodymessxdmp.game.nfoservers.com/valve/sound/misc/djs_server_intro_long.mp3" autostart="false" loop="false"
volume="60" />

actually that was my first attempt. it did not work either.

before trying both ways, my song playes for 1 sec, then it stops.

_________________
Image


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 7:32 pm 
Offline
Staff
Staff
User avatar

Joined: Fri Sep 17, 2010 9:06 am
Posts: 2022
Location: California
You need to do the link as if you were going to play the file via your browser. I should of also mentioned that it most likely wont work with the music file in your servers FTP. Place the music file in your websites FTP and link it to that.

So once the file is in your websites FTP, the link should be;

XXX.site.nfoservers.com/music/mysong.mp3

_________________
<@TimeX-NFo> Hey, we used to have to carry our packets to the servers.
<@TimeX-NFo> And it was upstream, both ways.

<@TimeX-NFo|away> You're asking the old dude for help?????
<@Kraze^NFo> Yes


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 7:43 pm 
Offline
A regular
A regular

Joined: Sat Dec 10, 2011 1:47 pm
Posts: 30
nope, it did not work

<embed src="http://picosong.com/rmd" autostart="true" loop="false"
volume="60" />
is it necessary that it has to be on the website ftp?

_________________
Image


Top
 Profile  
 
PostPosted: Thu Dec 15, 2011 7:47 pm 
Offline
Staff
Staff
User avatar

Joined: Fri Sep 17, 2010 9:06 am
Posts: 2022
Location: California
That wont work. See you are linking to a page which has a media player with it linking to the mp3 file.


it needs to be to the exact MP3 file it self. Not a page or folder.

EX: XXX.site.nfoservers.com/music/mysong.mp3

it should look like the above.

_________________
<@TimeX-NFo> Hey, we used to have to carry our packets to the servers.
<@TimeX-NFo> And it was upstream, both ways.

<@TimeX-NFo|away> You're asking the old dude for help?????
<@Kraze^NFo> Yes


Top
 Profile  
 
PostPosted: Fri Dec 16, 2011 7:36 pm 
Offline
A regular
A regular

Joined: Sat Dec 10, 2011 1:47 pm
Posts: 30
I give up. Now, next question... how do i add an image to the motd.txt file?

_________________
Image


Top
 Profile  
 
PostPosted: Fri Dec 16, 2011 7:50 pm 
Offline
Staff
Staff
User avatar

Joined: Fri Sep 17, 2010 9:06 am
Posts: 2022
Location: California
Code:
<img src="url" alt="some_text"/>

_________________
<@TimeX-NFo> Hey, we used to have to carry our packets to the servers.
<@TimeX-NFo> And it was upstream, both ways.

<@TimeX-NFo|away> You're asking the old dude for help?????
<@Kraze^NFo> Yes


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
It is currently Tue May 21, 2013 11:49 am
Powered by phpBB® Forum Software © phpBB Group