Bloodlust Music - Randomised

Bloodlust Music - Randomised

0 Downloads

DOWNLOAD SONGS HERE: Google Drive Link

LINK TO SOUND ISSUE EXPLANATION: MMO-Champion Sound Issue Thread

LINK TO ADDON VERSION: BloodlustMusic Addon

NB: This weakaura is now deprecated, please refer to the addon for future updates. I consider the addon to be like the weakaura, but better in every way possible

Hello and welcome,

This is a stupid weakaura I made for friends and guildies that plays a random song each time hero or bloodlust (or any variation) is cast. Currently, the WA chooses the song based on the current local time (minute only).This is done so that everyone who has the weakaura will hear the same song as everyone else (provided they just use regular timezone settings). It will try to play the song this way at first, before falling back to generating a random number. It does nothing more, and nothing less.

This weakaura was inspired by "Bloodlust in 90s" by ButteryCrumb ( https://wago.io/By_2_vui- ) so go pay him some respects. After a while, me and the guildies got tired of the same song each time, so I got to work on creating a WA that would play a random songs instead of just "90s". After some time of custom coding with glue and ducttape I managed to put this together. The songs last about 70 seconds each, to account for shamans with lego helmets and any changes blizzard might make to hero. In reality you'll only hear 40 seconds of each song, or even less if the buff gets removed somehow.

I chose snippets of songs I liked or thought were really hype and cut out the best part of each song. Finding songs that even fit decently and have a good part that lasts at least 40 seconds is quite hard. But I'll take any suggestions you might throw at me.

Now of course you also need the sound files if you are ever going to hear anything, so allow me to post a link to a google drive:

DOWNLOAD SONGS HERE: Google Drive Link

Now if I didn't screw anything up, you should be able to download every song from there and put them in your custom sound folder for WoW, wherever it may be. You can download individual songs, download the songs from the latest patch, or just download all of them. Currently there are 30 songs in the WA, all of whom you can find in the code or just be surprised by it. Now don't worry if you don't have all the songs, or have disabled a couple. If the weakaura chooses a song, but for some reason can't play it, it will try again to pick another song. It will try this about 20 times, currently, until it just gives up.

Now for editing some parts of the code. If you want to:

-Change the filepath to your own sound folder

-Change the soundchannel you would like the sound to play over

-Disable certain songs you don't want to hear

You can do so at the "Custom Options" Tab. This is a new feature in the WA, feedback is welcome. In theory this should allow you to edit the WA to your liking without having to dig into the code. That being said; you are free to edit any part of the weakaura you like , I'm not here to stop you. Just don't come crawling back when shit goes wrong, cause I can't help you either.

Which brings me to my next point. **This is bad coding**. Like, by many standards. The previous comment about duct tape and glue was not a lie. This is my first attempt at a larger weakaura that is mostly custom code, and my first real experience in coding Lua. Do not use this code as a example of what to do right. Just because it works, doesn't mean it doesn't do stuff wrong.

Shoutouts to googling lua shit, shifting through the API and help/snippets for the Weakaura discord.

I think that's all, enjoy not hearing your raid leader for 40 seconds each fight.

-Yellowdevil

-------------------------

OLD Patch notes

------------------------

v1.0.1-6

Weakaura has been updated with Custom Options! Now you can change the filepath and soundchannel without having to go into the code. There are also checkboxes for every song in the weakaura, so you can decide which song you want to hear. Feedback on this new feature is welcome

v1.0.0-5

Further upgrades to the code, a bit more smooth now. Disabling songs at On Init should now work as intended again. If you disable a certain song, another random song will play from the list. A bunch of songs have been upgraded, altered or were otherwise upped in quality. These include:

-Freebird

-The Top

-Up & Dance, Up & Go

-Sun In The Rain

-Beat Of The Rising Sun

-Blood Sugar

You can download these separately from the google drive, or just get them from either .rar file

v0.0.5

Changed from server time to local time. After some testing it was found that not everyone has the same minute on the in-game server time clock, some even falling behind more than a minute. To remedy this I opted for local time instead. In theory the minute of your local time should be the same as everyone else, provided you're just using default timezone settings. Timezones should only change the hours, not the minutes. Kickstart My Heart has been updated cause the file was broken, please download the latest one from the google drive

v0.0.3

Weakaura has now been overhauled to base the song played on the current in-game server time. Every minute from 1-60 corresponds to a song in the playlist, with the playlist starting over at 30. Weakaura now tries to play a song according to the time first, if it can't it will fall back to choosing a random one instead so a song always plays. Song count has been upped to 30. Description has been altered to show these changes

v0.0.2

Update with improvements to the code, should be a lot smoother and cleaner now. Thanks to Asakawa from the WA discord for the tips

v0.0.1

Orginal upload