Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script Release - MP3 Scripts
Script Release - MP3 Scripts [message #306696] Sun, 30 December 2007 12:52 Go to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
readme.txt

~~~~~~~~~~~~~~~~~ Neo Gods MP3 Script ~~~~~~~~~~~~~~~~~~~
Modified by: MathK1LL Neo Gods Primary Coder

Credits
* ExEric3 (www.ww-gaming.net) - I forget what he helped with
but Eric was mentioned in the original draft of this
readme so I'm keeping him on the list of creditors.
* aca20031 (www.st0rm.net) - Scripting Tutor for the most part
> Must admit that the output follows an old copy of aca's
regulator "St0rmServ"
* bali/nudalz (Fastc0nn Bot Coder) - Primary Scripting Tutor

* And, anyone else I forgot to mention Smile


<rant>Remember kiddies: Give credit where credit is due. I can't tell you
how many times people have told me to give them credit or
asked me to remove something because I 'stole' their work.

This has probably made me become a cynic-like person in the
sense that I give LOADS of credit to people who help me out,
though nowadays people don't care if I ask for their help
and I say "I'm putting a credit/special thanks comment to thank
you for your help." </rant>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


In this file, there are three versions; One for CS, one for NR,
and one for BR.

> Installation: (CS)
- Copy CSmp3.mrc into your CloudyServ directory.
- Start up CS and type /load -rs CSmp3.mrc
- Once loaded, Restart CS
- The MP3 Script will auto-start. If the server isn't up,
It will still execute. It just won't actually play them.
- Command !mp3 doesn't work yet.

> Installation: (NR)
- This one is tricky. You can either have a second mIRC
to use as a bot OR you can just use your own mIRC.
- Copy settings.ini into the mIRC dir
- No matter what you choose, copy NRmp3.mrc to the mIRC
directory of your choice.
- Type /load -rs NRmp3.mrc and Restart mIRC. Same for CS, the
script will auto-execute.
- Again, you can type !mp3 ingame and see the current MP3 file
playing at that time.

> Installation: (BR)
- If you have a BR relay bot, just copy BRmp3.mrc to the relay
bot's mIRC directory.
- Copy settings.ini into the mIRC dir
- Startup the relay bot and type /load -rs BRmp3.mrc
- Restart mIRC
- Again, you can type !mp3 ingame and see the current MP3 file
playing at that time.



Author Notes and Comments:

Well, this script and Readme were created about a year or two ago and I just
recently found it on my mom's laptop from which I was gaming about a year or two ago.
In this time, I'm sure that most of your able-body scripters have created a similar script
for your Renegade servers. But, I am releasing this script seeing as I've found it just recently
and wanted to release it but I don't know if I already released it before or not. If so,
that's ok; Here it is again and I hope you enjoy this. Feel free to alter it, add more songs,
et cetera. Oh, also, I realize the NightRegulator version is outdated seeing Nightma added a Jukebox
in some time ago.

I've also included an image with all (or most) of the MP3's inside of Always.dat.

Thanks,
Zack "MathK1LL" L.


P.S.

Also note that I was still a newb at scripting when I scripted these scripts. I could probably
redo these but am too lazy because I've got bigger and better projects on my plate at this time
including Graduation and going off to college along with NeoServ (private regulator right now).



Mirror: http://neogods.recoding.net/mp3_scripts.rar
Mirror: http://www.neogods.net/mp3_scripts.rar

index.php?t=getfile&id=5041&private=0

* See attached file.

~MathK1LL

[Updated on: Sun, 30 December 2007 13:45]

Report message to a moderator

Re: Script Release - MP3 Scripts [message #306707 is a reply to message #306696] Sun, 30 December 2007 13:08 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
I'm releasing a Sounds.cs plugin for CloudyServ with CS 0.982-X3 that has 20 game musics and a bunch of ingame sounds lol. I still haven't decided when to release it yet though.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: Script Release - MP3 Scripts [message #306710 is a reply to message #306696] Sun, 30 December 2007 13:23 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma: 0
Colonel
Math nice job. Thumbs Up

I want only say musica crash sometimes clients. So there is better use musicp instead musica. (take example music plugin for BRenBot which made danpaul). But there must be added some script which check players only with CP and play music only for them.

[Updated on: Sun, 30 December 2007 13:26]

Report message to a moderator

Re: Script Release - MP3 Scripts [message #306717 is a reply to message #306696] Sun, 30 December 2007 13:41 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Clients seem fine to me in BadDog AOW when I tested my Sounds.cs plugin there. Alot of people didn't have CP and didn't crash upon it.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder

[Updated on: Sun, 30 December 2007 13:42]

Report message to a moderator

Re: Script Release - MP3 Scripts [message #306736 is a reply to message #306696] Sun, 30 December 2007 14:40 Go to previous messageGo to next message
IronWarrior is currently offline  IronWarrior
Messages: 2460
Registered: November 2004
Location: England UK
Karma: 0
General (2 Stars)
Never understand why you guys make these gay music scripts.

If someone wants to play some music, they have windows media player.

Really annoys the hell outta me when a server forces music in the server when I have music off in my settings.

Nice coding though.

[Updated on: Sun, 30 December 2007 14:44]

Report message to a moderator

Re: Script Release - MP3 Scripts [message #306737 is a reply to message #306736] Sun, 30 December 2007 14:42 Go to previous messageGo to next message
cnc95fan is currently offline  cnc95fan
Messages: 1261
Registered: July 2007
Karma: 0
General (1 Star)
IronWarrior wrote on Sun, 30 December 2007 15:40

Never understand why you guys make these gay music scripts.

If someone wants to play some music, they have windows media player.

Really annoys the hell outta me when a server forces music in the server when I have music off in my settings.

Nice coding I guess.

TBH, pressing the Windows button whenever you want to change track can cause you death, I want a script that reads your data folder and you can use the !play command.. ie, say Hellmarch is in your data folder.. !play Hellmarch. That could be client or server sided..
Re: Script Release - MP3 Scripts [message #306739 is a reply to message #306696] Sun, 30 December 2007 14:51 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
The BRenBot plugin I created allowed each player to turn music on or off for just themselves, so 4 players could listen while the other 2 choose not to. It also refuses to play music for clients who would crash due to their scripts version.

I never got around to releasing it though... can do it you want it I guess Razz


Quote:

!nexttrack
Skips the current track and plays a new one at random

!settrack
Skips the current track and plays the track specified.

!music
Enables or disables the jukebox for that player.


You could also set if it's enabled or disabled by default when a player joins via a config setting. You could also turn each individual track on and off via the config.

Quote:

[19:40] <lmsbcDmSrv> Host: [BR Jukebox] Now Playing: renegadejungle.mp3


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Sun, 30 December 2007 14:57]

Report message to a moderator

Re: Script Release - MP3 Scripts [message #306741 is a reply to message #306739] Sun, 30 December 2007 14:55 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

We had a music player for a while but it caused clients to rendomly crash out of the game sometimes so... be warned.

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: Script Release - MP3 Scripts [message #306743 is a reply to message #306696] Sun, 30 December 2007 15:10 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
For anyone who is interested, here is the BRenBot plugin I created a few months back, finally got around to uploading it. Use it as your own risk, while it does block players with incompatible scripts.dll versions from enabling music for themselves, other scripts versions have occasionally been known to crash using this.

In my experience the most up to date scripts versions never crash using this, but you never know...

http://new.brenbot.com/projectDetails.php?projectID=21&OS=w


http://steamsignature.com/card/1/76561197975867233.png
Re: Script Release - MP3 Scripts [message #306760 is a reply to message #306743] Sun, 30 December 2007 16:00 Go to previous messageGo to next message
BlueThen is currently offline  BlueThen
Messages: 2402
Registered: February 2006
Karma: 0
General (2 Stars)
Why does everything have a timer?
Re: Script Release - MP3 Scripts [message #306761 is a reply to message #306696] Sun, 30 December 2007 16:01 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
What do you mean? If your looking through the source to the plugin, the reason is because it's impossible to tell when a track ends from the bot, hence you use a timer to trigger the next track to start at the end of the current one. The simplest solution is usually the best Wink

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Sun, 30 December 2007 16:02]

Report message to a moderator

Re: Script Release - MP3 Scripts [message #306763 is a reply to message #306696] Sun, 30 December 2007 16:07 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
MathK1LL wrote on Sun, 30 December 2007 12:52

readme.txt

Also note that I was still a newb at scripting when I scripted these scripts. I could probably
redo these but am too lazy
because I've got bigger and better projects on my plate at this time
including Graduation and going off to college along with NeoServ (private regulator right now).



That'd explain another use the timers. Like I also said, I *could* redo them but am too lazy. But...I may put them into the plugin I'm working on for SSGM. Wink

EDIT:

cnc95fan wrote on Sun, 30 December 2007 14:42

TBH, pressing the Windows button whenever you want to change track can cause you death


iPod ftw!!!!!!

~MathK1LL

[Updated on: Sun, 30 December 2007 16:10]

Report message to a moderator

Re: Script Release - MP3 Scripts [message #306765 is a reply to message #306763] Sun, 30 December 2007 16:10 Go to previous messageGo to next message
BlueThen is currently offline  BlueThen
Messages: 2402
Registered: February 2006
Karma: 0
General (2 Stars)
It wouldn't take long to remove the timers.

Actually, it'd take a few seconds.

Just use Ctrl + H, and tell it to replace "timer 1 1" with nothing.
Re: Script Release - MP3 Scripts [message #306781 is a reply to message #306763] Sun, 30 December 2007 17:00 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
MathK1LL wrote on Sun, 30 December 2007 16:07

That'd explain another use the timers. Like I also said, I *could* redo them but am too lazy. But...I may put them into the plugin I'm working on for SSGM. Wink




Look forward to this... Wink


~MathK1LL
Re: Script Release - MP3 Scripts [message #306809 is a reply to message #306696] Sun, 30 December 2007 18:43 Go to previous messageGo to next message
IronWarrior is currently offline  IronWarrior
Messages: 2460
Registered: November 2004
Location: England UK
Karma: 0
General (2 Stars)
Awesome. Thumbs Up

Re: Script Release - MP3 Scripts [message #307016 is a reply to message #306696] Mon, 31 December 2007 15:19 Go to previous messageGo to next message
Di3HardNL is currently offline  Di3HardNL
Messages: 1273
Registered: December 2006
Location: Netherlands
Karma: 0
General (1 Star)
X pert sounds nice Surprised

http://i236.photobucket.com/albums/ff5/Di3HardNL/Di3Logo-1.jpg

Visit My website to download all kind of models for Renegade! Also learn how to create your own stuff with my tutorials!
www.renegademodels.tk

Check out my video's on my Youtube profile!
http://www.youtube.com/user/Di3HardNL
Re: Script Release - MP3 Scripts [message #307077 is a reply to message #306696] Tue, 01 January 2008 01:25 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
btw good job on 0.982-X3 Xpert

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Re: Script Release - MP3 Scripts [message #307268 is a reply to message #306696] Wed, 02 January 2008 00:53 Go to previous message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
Thanks, but I don't wanna hijack Mathkill's thread <3

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Previous Topic: Gamelogs
Next Topic: INI files.
Goto Forum:
  


Current Time: Wed Jan 01 15:11:40 MST 2025

Total time taken to generate the page: 0.01000 seconds