Server MP3s [message #201363] |
Sun, 28 May 2006 16:58 |
BHmath
Messages: 41 Registered: August 2005 Location: Arizona
Karma: 0
|
Recruit |
|
|
How do you make a server play mp3 songs while the game is going?
Please see MathK1LL's profile.
|
|
|
|
|
|
|
|
Re: Server MP3s [message #201409 is a reply to message #201363] |
Mon, 29 May 2006 03:43 |
|
ExEric3
Messages: 746 Registered: February 2005 Location: Slovakia
Karma: 0
|
Colonel |
|
|
My ExBot:
alias NEW1 {
var %msg = $1-
if ($1 == msg) var %msg = $1 $2-
dll mIRC_Ren.dll FDS_Send server_remote_ip server_remote_port server_password %msg
}
on *:text:*:#your_irc_channel:{
if ($nick == your_bot_nick) {
if ($2 == !music) {
.timer 1 1 NEW1 msg [BR] Music commands CP1 and RG required (01-18): !music01; !music02; !music03 ...
.timer 1 1 NEW1 msg [BR] If you want stop all tracks you can use command: !musicstop
}
if ($2 == !music01) {
.timer 1 1 NEW1 MUSICA sakura battle theme.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Sakura Battle Theme.mp3 (Bitrate: 128Kbps) (Time: 4:00)
}
if ($2 == !music02) {
.timer 1 1 NEW1 MUSICA 05-moveit.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Move It.mp3 (Bitrate: 128Kbps) (Time: 1:59)
}
if ($2 == !music03) {
.timer 1 1 NEW1 MUSICA sneakattack.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Sneak Attack.mp3 (Bitrate: 128Kbps) (Time: 3:47)
}
if ($2 == !music04) {
.timer 1 1 NEW1 MUSICA sniper.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Sniper.mp3 (Bitrate: 128Kbps) (Time: 3:50)
}
if ($2 == !music05) {
.timer 1 1 NEW1 MUSICA stopthemagain.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Stop The Magain.mp3 (Bitrate: 128Kbps) (Time: 3:54)
}
if ($2 == !music06) {
.timer 1 1 NEW1 MUSICA mechmansrevenge.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Mechan's Revenge.mp3 (Bitrate: 128Kbps) (Time: 4:36)
}
if ($2 == !music07) {
.timer 1 1 NEW1 MUSICA onyourfeet.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: On Your Feet.mp3 (Bitrate: 128Kbps) (Time: 3:53)
}
if ($2 == !music08) {
.timer 1 1 NEW1 MUSICA sakura_dogfight.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Sakura Dogfight.mp3 (Bitrate: 128Kbps) (Time: 4:39)
}
if ($2 == !music09) {
.timer 1 1 NEW1 MUSICA defunkt.mp3
.timer 1 2 NEW1 msg [BR] Now playing track: Defunkt.mp3 (Bitrate: 128Kbps) (Time: 2:43)
}
if ($2 == !music10) {
.timer 1 1 NEW1 MUSICA in the line of fire.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: In The Line Of Fire.mp3 (Bitrate: 128Kbps) (Time: 3:54)
}
if ($2 == !music11) {
.timer 1 1 NEW1 MUSICA raveshaw_act on instinct.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Raveshaw Act On Instinct.mp3 (Bitrate: 128Kbps) (Time: 3:28)
}
if ($2 == !music12) {
.timer 1 1 NEW1 MUSICA 01-command&conquer.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Command & Conquer.mp3 (Bitrate: 128Kbps) (Time: 2:53)
}
if ($2 == !music13) {
.timer 1 1 NEW1 MUSICA 02-packing iron.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Packing Iron.mp3 (Bitrate: 128Kbps) (Time: 3:17)
}
if ($2 == !music14) {
.timer 1 1 NEW1 MUSICA 03-ammoclip.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Ammo Clip.mp3 (Bitrate: 128Kbps) (Time: 3:13)
}
if ($2 == !music15) {
.timer 1 1 NEW1 MUSICA 04-ambient industrial.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Ambient Industrial.mp3 (Bitrate: 128Kbps) (Time: 3:57)
}
if ($2 == !music16) {
.timer 1 1 NEW1 MUSICA 07-got a present for ya.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Got A Present For Ya.mp3 (Bitrate: 128Kbps) (Time: 2:21)
}
if ($2 == !music17) {
.timer 1 1 NEW1 MUSICA 10-stomp.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Stomp.mp3 (Bitrate: 128Kbps) (Time: 2:53)
}
if ($2 == !music18) {
.timer 1 1 NEW1 MUSICA 11-ambient beach.mp3
.timer 1 1 NEW1 msg [BR] Now playing track: Ambient Beach.mp3 (Bitrate: 128Kbps) (Time: 2:58)
}
if ($2 == !musicstop) {
.timer 1 1 NEW1 NOMUSICA
.timer 1 1 NEW1 msg [BR] All InGame tracks is now stopped.
}
}
You need download this file: mIRC_Ren.dll. Send me PM with your mail.
[Updated on: Mon, 29 May 2006 03:47] Report message to a moderator
|
|
|
|
|
Re: Server MP3s [message #201586 is a reply to message #201363] |
Tue, 30 May 2006 10:33 |
|
Well, if ren was anything like what valve has where it forces the client to download anything it doesn't have, such as sounds. But thats the way of the worlds tho
|
|
|
|
|
|
|
|
|
|
|
|
Re: Server MP3s [message #201990 is a reply to message #201363] |
Wed, 31 May 2006 19:50 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
The only thing that needs to be said about that script is "WTF?".
Why is it checking the preset of every building and infantry?
Whats with the $date alias? Just use $date(m-dd-yyyy).
The way it reads the log will make it skip lines if 2+ things are written at the same time. Use BCF instead.
var %msg = $1-
if ($1 == msg) var %msg = $1 $2-
That piece of code is useless, %msg will be set to the same thing either way.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
[Updated on: Wed, 31 May 2006 19:53] Report message to a moderator
|
|
|
|
|
|
Re: Server MP3s [message #202025 is a reply to message #202020] |
Thu, 01 June 2006 00:13 |
|
Goztow
Messages: 9737 Registered: March 2005 Location: Belgium
Karma: 13
|
General (5 Stars) Goztoe |
|
|
Eric3 wrote on Thu, 01 June 2006 01:40 | Give link or send me PM with BRenBot v1.43.
|
It's being beta tested, not open for public download yet (still some bugs).
You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
|
|
|