Just to clarify why it would have been better to use libraries in that case was that the author re-wrote DewDrop into the mod, and the addon itself dealt mainly with FuBarPlugin mods, which almost guarantees the pre-existance of DewDrop on the user's computer.
I know the benefits of not using libraries, but MBB is a special case, as it is designed out of a need to organize a lot of addons, expected to deal with FuBarPlugin addons, and yet created a ton of duplicate code which was almost certainly already on the user's computer.
- Registered User
Member for 11 years, 7 months, and 26 days
Last active Fri, Oct, 4 2013 14:31:24
- 0 Followers
- 178 Total Posts
- 0 Thanks
Mar 9, 2008When disembedded, it saves harddrive space. When embedded, it still saves memory from duplicate code. And, that addon was so horribly written, and was bloated in size due to the fact that the author was basically re-writing several libraries and writing his addon in the same file.Posted in: Addon Ideas
I'm not saying it would be better Ace'd, I'm saying it would be better with the organization that would be imparted through the use of libraries.
Mar 8, 2008_ForgeUser907584 posted a message on [Request] An easier to use and more organized spellbookDoesn't make much difference though.Posted in: Addon Ideas
Mar 8, 2008_ForgeUser907584 posted a message on [Request] An easier to use and more organized spellbookAnyone have name suggestions? I've decided to make this thing.Posted in: Addon Ideas
Mar 8, 2008Lol, in general chat we just determined that MBB was written by someone who didn't know not to create fresh tables in the OnUpdate function. People were hitting 2FPS and 10megs of memory usage from just that one mod alone. I think it would be best to just re-write it from scratch, using libraries to trim the 1k lines that it currently is.Posted in: Addon Ideas
Mar 8, 2008Posted in: General ChatQuote from tekkub »
I closed the file before I did irreparable damage to my pretty monitor.
That bad, huh?
I was surprised that there was almost 1000 lines of code in this addon, while it doesn't do much. This is probably explainable by the lack of libraries that it quite easily could've used to make the job easier, such as DewDrop, Tablet, and maybe a framework (would've been Ace2 back then). If anyone want to re-write this memory-gobbling monster using libraries, it'll probably do the job a lot better than trying to patch it up.
Again, I can't do the re-write due to my ~7 on-th-go projects right now. :)
Mar 8, 2008French:Posted in: Addon Ideas
D?sol? quant ? la vari?t? de lien bris?, j'ai oubli? comment formater correctement.
Alors, ? votre demande:
Il n'existe pas de commande ou d'une fonction pour afficher une fen?tre comme la fa?on dont vous dites, comme vous l'avez aussi ? rendre le cadre de fen?tre et de toutes ses parties. Nous avons ici deux biblioth?ques qui rendrait fen?tre pour vous que pour la plupart, mais d'abord il nous faut savoir quel type de fen?tre que vous voulez. S'agit-il d'aller ? la fen?tre pour afficher les informations, ou ?tre plus d'une fen?tre de menu?
Sorry about the sorta-broken link, I forgot how to format it properly.
So, on to your request:
There is no command or function to display a window like how you're saying, as you have to also make the window frame and all its parts. We have two libraries here that would make that window for you for the most part, but first we need to know what kind of window you want. Is this window going to be used to display information, or be more of a menu window?
Mar 8, 2008Agreed. But still, we can at least give him a few sites to try and learn English.Posted in: Addon Ideas
Orionshock's post post translated:
Tous je peux dire, c'est que vous allez passer un bon moment et frustrant obtention de ce travail, mais ne sachant pas comment programmer en Anglais va ?tre l'arr?t du bloc.
L'utilisation de ce site pour traduire vos messages ? l'anglais, pour que tout le monde ici peut les comprendre. Nous essaierons de vous aider, mais vous aurez vraiment du mal ? la programmation sans rasp base de l'anglais. Heureusement, le fran?ais et l'anglais sont parmi les plus semblables les paires de langues.
Mar 8, 2008For the durability text, try Fizzle, hosted here. (files.wowace.com for the .zip)Posted in: General Chat
As for the Unit Frames modifications, try out one of the ton of Unit Frame addons we have here, or elsewhere. It's a category unto itself.
Mar 8, 2008Complete list of function-local table declarations and other table discards in functions:Posted in: General Chat
MBB_TestFrame (line 212)
MBB_OnEvent (lines 272, 273, 295)
MBB_PrepareButton (line 346)
MBB_AddButton (lines 515, 517, 519)
MBB_SetPositions (lines 565-569, 571-575, 578, 609, 613, 618, 622)
MBB_OnClick (lines 641, 668)
MBB_HideButtons (line 697)
MBB_OnUpdate *twitch* (line 745)
MBB_RadioButton_OnClick (line 805)
MBB_UpdateAltRadioButton (line 822)
MBB_Test (line 887)
The two in bold are probably responsible, but remember, I didn't check to see which of the other functions would've been called often.
Mar 7, 2008Does Garbage Collecting (in-game type: "/script collectgarbage("collect")") get rid of the blatant memory overusage? There's 971 lines of code in that file, so I'd like to narrow out the possibilities before I check the entire thing over.Posted in: General Chat
There are 40 tables in the main lua file, so it could easily be garbage spamming with discarded tables.
Hmmm, try removing the localization includes in the .toc, it's a long shot, but that might be where the leak is.
EDIT: Holy, found two local table declarations. In the EVENT HANDLER. Methinks we found our culprit. The declarations are on lines 272+273.
EDIT2: Found another in the same function, line 295. It's in a generic for loop too...
Mar 7, 2008Lol, I like it. Let's keep that one, and make a new version of it with a '3' instead of an 'A' for the config menus.Posted in: General Chat
Dang, I don't have Photoshop Elements on this compy, I'll have to MS Paint it. :(
EDIT: Dang, anyone know what font that 'A' is in?
Mar 7, 2008Yay for the new website icon! My bookmarks menu will be spiffier than ever!Posted in: General Chat
Yay for my new name! Better wait a while till I change my avatar so people will have a chance to catch on!
Oh, have we decided on an Ace3 icon for config menus yet? I'm asking because the Ace webpage logo was apparently chosen without use of this topic.
- To post a comment, please login or register a new account.