View Single Post
03-13-18, 02:37 PM   #5
WhirlyTV
A Murloc Raider
Join Date: Mar 2018
Posts: 6
Originally Posted by Kanegasi View Post
The code involved is relatively easy. However, there are distribution issues with hosting copyrighted media. You would have to provide your own music or find it yourself.
I found a copyright free version here http://static.zreomusic.com/music/05...me/10_Shop.mp3 it's a reorchastrated version. http://www.zreomusic.com/listen The main website.
Originally Posted by Ammako View Post
Also, as far as I'm aware, there isn't an easy/straightforward way to tell whether you are in an inn or not, unless you want the shop music to constantly play while you are anywhere in a major city.

You get a ZONE_CHANGED event firing whenever you enter a new area, at which point you can check sub-zone text, but many inns don't have a separate sub-zone text in cities, so you can't differentiate inns from other parts of the city that way.

I guess you'd have to get exact coordinate mappings for all inns within cities, and play the inn music only while you are inside those coordinates. For non-city inns, IsResting would probably be accurate enough.
I was wondering if there was a way to tell when you're characters experience bar turns rested. If not I can find all the coordinates of the inns and post them.
  Reply With Quote