intro song for my server

maverick03191989
A regular
A regular
Posts: 37
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Dec 10, 2011 1:47 pm

intro song for my server

Post by maverick03191989 »

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
User avatar
TimeX
Staff
Staff
Posts: 1731
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: intro song for my server

Post by TimeX »

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
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: intro song for my server

Post by kraze »

This should help;

Code: Select all

<embed src="yourmusic" autostart="false" loop="false"
volume="60" />
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
maverick03191989
A regular
A regular
Posts: 37
Joined: Sat Dec 10, 2011 1:47 pm

Re: intro song for my server

Post by maverick03191989 »

should i replace YOURMUSIC for a song link or should i paste it as it is?
Image
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: intro song for my server

Post by kraze »

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.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
maverick03191989
A regular
A regular
Posts: 37
Joined: Sat Dec 10, 2011 1:47 pm

Re: intro song for my server

Post by maverick03191989 »

it did not work :cry:
Image
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: intro song for my server

Post by kraze »

Can you paste back exactly what you pasted?
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
maverick03191989
A regular
A regular
Posts: 37
Joined: Sat Dec 10, 2011 1:47 pm

Re: intro song for my server

Post by maverick03191989 »

<embed src="sound/misc/djs_server_intro_long.mp3" autostart="true" loop="false"
volume="60" />


right in motd.txt
Image
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: intro song for my server

Post by kraze »

Try doing a hard link to the music file. Such as XXX.site.nfoservers.com/music.mp3
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
maverick03191989
A regular
A regular
Posts: 37
Joined: Sat Dec 10, 2011 1:47 pm

Re: intro song for my server

Post by maverick03191989 »

just like this??

<embed src="ftp://akabloodymessxdmp.game.nfoservers ... o_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
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: intro song for my server

Post by kraze »

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
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
maverick03191989
A regular
A regular
Posts: 37
Joined: Sat Dec 10, 2011 1:47 pm

Re: intro song for my server

Post by maverick03191989 »

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
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: intro song for my server

Post by kraze »

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.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
maverick03191989
A regular
A regular
Posts: 37
Joined: Sat Dec 10, 2011 1:47 pm

Re: intro song for my server

Post by maverick03191989 »

I give up. Now, next question... how do i add an image to the motd.txt file?
Image
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: intro song for my server

Post by kraze »

Code: Select all

<img src="url" alt="some_text"/>
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
Post Reply