Addon Info.
Change Log
Archived (2)
Comments (23)
  Category: Plug-Ins & Patches
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Mikord's Portal Bug Reports Feature Requests

This file is a Addon for MikScrollingBattleText by Mikord. You must have that installed before this Addon will work.

Author:
Version:
1.35
Date:
07-30-2008 08:15 PM
Size:
7.27 Kb
Downloads:
10,208
Views:
39,484
Favorites:
180
MD5:
Pictures
Click to enlarge
MSBT Shared Media
MSBTSharedMedia   Popular!
This is a simple plugin for MSBT which allows it to work with Shared Media fonts and sounds.
  Change Log - MSBTSharedMedia
1.35
  • Updated callback registration to prevent interoperability issues with other mods.

1.34
  • Added LibSharedMedia-3.0 as an optional dependency so the standalone version will load first if it is installed.
    Thanks to elkano for the suggestion.

1.33
  • Fixed a bug preventing some fonts and sounds from being properly exported to MSBT. Thanks to dylanm for catching this.

1.32
  • Updated LibSharedMedia to 3.0. The sounds should once again be properly exported to MSBT.

1.31
  • Update toc for Patch 2.4.

1.3
  • Updated LibSharedMedia and LibStub libraries.
  • Updated toc for Patch 2.3.
1.2
  • Added sound support. Requires MSBT 5.02 or higher.
1.1
  • Fixed directory structure.
1.0
  • Initial Version.
  Archived Versions - MSBTSharedMedia
File Name
Version
Size
Author
Date
1.34
7.23 Kb
Mikord
05-16-2008 09:58 PM
1.33
7.13 Kb
Mikord
05-16-2008 12:06 AM
  Comments - MSBTSharedMedia
Post A Reply
Author Comments Comment Options
Old 07-30-2008, 08:48 AM  
Mikord
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 10
File comments: 262
Uploads: 4
Arrowmaster:

I looked deeper into the registration code and I see your point. I'll update the code and get it posted.

Thanks for the clarification.
Mikord is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-29-2008, 10:19 PM  
Arrowmaster
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Quote:
Originally posted by Mikord
S9Th:

I don't believe that is accurate with LibSharedMedia-3.0 and its dependency CallbackHandler-1.0.

The prototype for the RegisterCallback method is:

function(self, eventname, method, ...)


The self parameter gets LibSharedMedia-3.0, the event name is "LibSharedMedia_Registered", and the method is the handler to call.
Actually S9Th is correct. If two addons both call RegisterCallback with the LibSharedMedia-3.0 object as self and the eventname as "LibSharedMedia_Registered" then the last addon to call RegisterCallback will overwrite the previous one.
Arrowmaster is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-16-2008, 05:02 PM  
Mikord
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 10
File comments: 262
Uploads: 4
S9Th:

I don't believe that is accurate with LibSharedMedia-3.0 and its dependency CallbackHandler-1.0.

The prototype for the RegisterCallback method is:

function(self, eventname, method, ...)


The self parameter gets LibSharedMedia-3.0, the event name is "LibSharedMedia_Registered", and the method is the handler to call.
Mikord is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-13-2008, 01:59 AM  
S9Th
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
This addon registers callback incorrectly, it seems, so it conflicts with other addons like Proximo. To solve it, line 18 in its lua file must be changed to
Code:
SML.RegisterCallback("MSBTSharedMedia", "LibSharedMedia_Registered",
S9Th is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-17-2008, 10:20 AM  
Hevanus
A Deviate Faerie Dragon

Forum posts: 15
File comments: 95
Uploads: 0
Yay all my sounds are available in MSBT now. Thanks Mikk!

I missed hearing the Wham! sound whenever I got a killing blow
Hevanus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-17-2008, 02:41 AM  
Phanx
A Cliff Giant
 
Phanx's Avatar
Interface Author - Click to view interfaces

Forum posts: 71
File comments: 284
Uploads: 15
Gadzooks, the problem with that is that your custom media in the deprecated SharedMedia-2.0 is only registered with one version of LibSharedMedia library; whereas plain SharedMedia registers your media with ALL versions, so it's available in ALL addons that use a LibSharedMedia library.

Plus, once you spend the 10 minutes or so switching your custom media over to SharedMedia's MyMedia.lua file (it's mostly copy-paste and find-replace) you'll never have to do it again, only update the core addon file if a new library version is released.

Also, ALL of the media that's included in the base SharedMedia-2.0 addon is also included in the SharedMedia addon, so all that's needed is to copy over your custom media.
Phanx is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-16-2008, 06:32 PM  
Gadzooks
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Quote:
Originally posted by Elkano
Mikord, mind adding the following line to toc?

## OptionalDeps: LibSharedMedia-3.0

This will make it load the standalone version of the lib first in case it is installed.

@Gadzooks: Do not use SharedMedia-2.0 but SharedMedia. SM-2.0 was a bad idea of whoever had it; SM injects in all versions of LSM.
I use both. SM2.0 has a TON of fonts and textures already added. I dont feel like going an adding all of those to the silly mymedia file in order for them to work right.

Maybe I just dont know how to do it right, im open for suggestion.
Gadzooks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-16-2008, 02:22 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
Interface Author - Click to view interfaces

Forum posts: 112
File comments: 140
Uploads: 12
Mikord, mind adding the following line to toc?

## OptionalDeps: LibSharedMedia-3.0

This will make it load the standalone version of the lib first in case it is installed.

@Gadzooks: Do not use SharedMedia-2.0 but SharedMedia. SM-2.0 was a bad idea of whoever had it; SM injects in all versions of LSM.
Elkano is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-16-2008, 12:08 AM  
Mikord
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 10
File comments: 262
Uploads: 4
Alright. I just removed it an re-added it to be sure. It will be available once the moderators approve it.
Mikord is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-15-2008, 11:58 PM  
Gadzooks
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Quote:
Originally posted by Mikord
Did you get MSBTSharedMedia 1.33? I just updated it tonight.

Make sure the zip file you download reflects the correct version. WowInterface has been serving up old files for some reason lately I've noticed. Clearing your browser's cache seems to be a workaround for it.
No amount of deleting my cookies, cache, etc, makes wowinterface let me download 1.33. It keeps servering up 1.32

edit: I see you uploaded it again. Got it fine now. Fixed the problem too

awesome work

Last edited by Gadzooks : 05-16-2008 at 12:27 AM.
Gadzooks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-15-2008, 11:46 PM  
Mikord
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 10
File comments: 262
Uploads: 4
Did you get MSBTSharedMedia 1.33? I just updated it tonight.

Make sure the zip file you download reflects the correct version. WowInterface has been serving up old files for some reason lately I've noticed. Clearing your browser's cache seems to be a workaround for it.

Last edited by Mikord : 05-15-2008 at 11:50 PM.
Mikord is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-15-2008, 11:26 PM  
Gadzooks
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Hmmm, i was using sharedmedia 2.0, and in the past, MSBT has had no issues using the huge assortment of fonts included with that.

However, with this update and the change to 3.0, none of those fonts are recognized in msbt anymore.

I followed the instructions with the medialib3.0 stuff and registered all the fonts i wanted with 3.0. Other mods that now use 3.0 show these fonts fine (things like Quartz, Satrina Buffs, etc), however, this mod simply wont recognize any new fonts, and I cant figure out why.
Gadzooks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-15-2008, 09:06 PM  
Mikord
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 10
File comments: 262
Uploads: 4
Thanks dylanm. I don't personally make use of shared media, so I didn't have a chance to properly test out version 3.0 of LibSharedMedia.

I didn't notice the callback argument change between version 2 and 3. Good catch. I'll upload the fixed version shortly.

Last edited by Mikord : 05-15-2008 at 09:09 PM.
Mikord is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-15-2008, 12:00 PM  
dylanm
A Murloc Raider

Forum posts: 8
File comments: 12
Uploads: 0
SharedMedia fonts weren't working for a lot of us so I did some digging. I think the problem is that the callback function you're registering expects the mediaType as the first argument, but that's the event name "LibSharedMedia_Registered". Changing line 19 from

Code:
function (mediaType, name)
to

Code:
function (event, mediaType, name)
seems to do the trick. Thanks again for the best combat text addon out there.
dylanm is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-14-2008, 01:55 AM  
Mikord
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 10
File comments: 262
Uploads: 4
I've updated this to use LibSharedMedia-3.0. I believe that should solve the issue.
Mikord is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


MMOInterface.com Copyright ©2008
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.