Download
(2Kb)
Download
Updated: 02-12-11 08:32 AM
Pictures
File Info
Updated:02-12-11 08:32 AM
Created:04-17-10 03:54 PM
Downloads:15,244
Favorites:40
MD5:

ncBiggerMacros  Popular! (More than 5000 hits)

Version: 1.2 BETA
by: nightcracker [More]

ncBiggerMacros is a little addon that allows you to create macros up to 1024 characters big, right in the default macro window. That's all. WARNING: This is an alpha version. Please backup your macros before using this addon, use at own risk!

Known issues:
- If your macro is bigger then 255 character #showtooltip won't work anymore (impossible to fix)
Report bugs!

Usage:
Install & go. No config, no slashcommand.

1.2 BETA
--
From buggy addon to reasonably stable addon ;)

1.1 BETA
--
From extremely buggy addon into maybe bugged addon ;)

1.0a
--
woops, minor error
Optional Files (0)


Post A Reply Comment Options
Unread 07-01-13, 02:06 AM  
Amethystx
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I did the edits to the .lua file myself and re-uploaded it.
You can download, rename and move the .txt file as necessary or just copy all the lines into your .lua file from here:
http://pastebin.com/1NEdX7st
Report comment to moderator  
Reply With Quote
Unread 05-09-13, 02:11 PM  
PlayToy
A Defias Bandit
 
PlayToy's Avatar

Forum posts: 3
File comments: 1
Uploads: 0
can someone post a link to the modified file please?The link given https://rapidshare.com/files/1552840...ggerMacros.lua says File Not Found.
__________________
Report comment to moderator  
Reply With Quote
Unread 03-23-12, 03:01 PM  
mooseydoom
A Defias Bandit

Forum posts: 2
File comments: 2
Uploads: 0
Re: Bug fix for ncBiggerMacros

@drosenhe: Thank you! Your fix makes this addon work for me now
Report comment to moderator  
Reply With Quote
Unread 01-11-12, 10:39 PM  
drosenhe
A Kobold Labourer
 
drosenhe's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
Bug fix for ncBiggerMacros

With the last patch, Blizz changed how macro icons are handled in the Macro UI. Because of this, ncBigger was no longer able to display the selected macro icon when creating a new macro. When dragged to a hot bar, the hot button with the new macro would appear to be empty except for the name of the macro displayed at the bottom of the button.

After some research and a bit of tinkering, I was able to fix the problem by changing 3 lines code in and adding 3 new lines of code to the ncBiggerMacros.lua file.
Go into the directory World of Warcraft\Interface\AddOns\ncBiggerMacros and, using your favorite text editor, open the ncBiggerMacros.lua file and make the follwing changes:
Code:
Change line 15 from:
        index = CreateMacro(MacroPopupEditBox:GetText(), MacroPopupFrame.selectedIcon, nil, MacroFrame.macroBase > 0)  
To: 
        index = CreateMacro(text, iconTexture, nil, (MacroFrame.macroBase > 0));

Change line 29 from:
        index = EditMacro(MacroFrame.selectedMacro, MacroPopupEditBox:GetText(), MacroPopupFrame.selectedIcon)
To:
        index = EditMacro(MacroFrame.selectedMacro, text, iconTexture);  

Change line 140 from:
                    MacroPopupFrame.selectedIconTexture = texture
To:
                    MacroPopupFrame.selectedIconTexture = gsub( strupper(texture), "INTERFACE\\ICONS\\", "");

Go back up near the top and insert the following new code between lines 12 and 13:
    local iconTexture = GetSpellorMacroIconInfo(MacroPopupFrame.selectedIcon);
    local text = MacroPopupEditBox:GetText();
    text = string.gsub(text, "\"", "");
Make sure to save your work before exiting.

If you're not comfortable with making these changes yourself, here is a link to an ncBiggerMacros.lua file that I've already modified:
https://rapidshare.com/files/1552840...ggerMacros.lua

Simply replace the exiting file with the new one and you should be good to go.

If this helped you in anyway, let me know by posting a reply here.
Good Luck!
Last edited by drosenhe : 01-11-12 at 10:45 PM.
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 06:37 AM  
XCreative
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Originally posted by Manaman
yes, it appears to. No problems for me while running it.
yeah can write 1024Char but can't use macros bigger then 255 dunno why anyone with this prob?
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 12:33 AM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 160
Uploads: 1
Originally posted by XCreative
This addon works on new patch? (4.0.1)
yes, it appears to. No problems for me while running it.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 12:42 PM  
XCreative
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
This addon works on new patch? (4.0.1)
Report comment to moderator  
Reply With Quote
Unread 09-22-10, 12:25 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by ddtroma
Yep. I've tried freshly installing it with removing my entire WTF folder to remove any saved variables and macro pieces that could be hanging out there, and also tried the fixes suggested by MaXiMiUS. For some reason whenever I add a new macro, the extended macro gets copied around at random and overwrites other macros.

I'll look into it.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 09-21-10, 07:08 AM  
ddtroma
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally posted by nightcracker
Do you have the latest version?
Yep. I've tried freshly installing it with removing my entire WTF folder to remove any saved variables and macro pieces that could be hanging out there, and also tried the fixes suggested by MaXiMiUS. For some reason whenever I add a new macro, the extended macro gets copied around at random and overwrites other macros.
Report comment to moderator  
Reply With Quote
Unread 09-17-10, 12:24 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 716
File comments: 428
Uploads: 22
Originally posted by ddtroma
Wow this addon makes me want to tear my hair out more & more every time I try to futz with a macro. All I have is 1 cast rotation macro that's over 255 characters long. It's in the general macro spot. Whenever I create a new macro, the new ones are overwritten & they don't get organized properly. It's like the new macro just keeps overwriting everything. Is there a plan to fix this? The author must have the same sort of issues.
Do you have the latest version?
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
Report comment to moderator  
Reply With Quote
Unread 09-16-10, 08:49 PM  
ddtroma
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Wow this addon makes me want to tear my hair out more & more every time I try to futz with a macro. All I have is 1 cast rotation macro that's over 255 characters long. It's in the general macro spot. Whenever I create a new macro, the new ones are overwritten & they don't get organized properly. It's like the new macro just keeps overwriting everything. Is there a plan to fix this? The author must have the same sort of issues.
Report comment to moderator  
Reply With Quote
Unread 07-19-10, 12:08 PM  
MaXiMiUS
A Murloc Raider

Forum posts: 9
File comments: 3
Uploads: 0
The #showtooltip issue is very easy to fix:

Replace:
Code:
					EditMacro(MacroFrame.selectedMacro, nil, nil, "/click ExtraMacros"..MacroFrame.selectedMacro)
With:
Code:
					local macroHeader = strmatch(body, "(#show[^%c]*)")
					if macroHeader == nil then
						macroHeader = ""
					else
						macroHeader = macroHeader .. "\n"
					end
					EditMacro(MacroFrame.selectedMacro, nil, nil, macroHeader.."/click ExtraMacros"..MacroFrame.selectedMacro)
Edit:

Found and fixed another problem (if you delete or add a macro before a "large" macro it shifts the macros over by one and screws up all your macros):

Replace:
Code:
				if body:len() < 256 then
					EditMacro(MacroFrame.selectedMacro, nil, nil, body)
				else
With:
Code:
				if body:len() < 256 then
					if MacroFrame.selectedMacro > 36 then
						StoredMacrosPerCharacter[MacroFrame.selectedMacro] = nil
					else
						StoredMacros[MacroFrame.selectedMacro] = nil
					end
					EditMacro(MacroFrame.selectedMacro, nil, nil, body)
				else
It's not perfect.. it still shifts over the >256 char macros, but it doesn't screw up the "regular" macros anywhere near as badly anymore. I'll update this if I figure out a way to fix that one remaining glitch.
Last edited by MaXiMiUS : 08-08-10 at 06:20 AM.
Report comment to moderator  
Reply With Quote
Unread 06-23-10, 04:51 PM  
Freak0o
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
The #showtooltip issue can be worked around pretty easily.

Just use the same if then examples you use in the macro and instead of /cast you'll have the #showtooltip above the click thingy.

Right?
Report comment to moderator  
Reply With Quote
Unread 06-09-10, 06:08 AM  
DivineBovine
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 6
Uploads: 5
bug

I found a bug. your addon only works on general macro tab. not charater specific tab. yes you can make a big macro. but after 255 the action stops.
Last edited by DivineBovine : 06-09-10 at 06:09 AM.
Report comment to moderator  
Reply With Quote
Unread 04-22-10, 05:38 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Originally posted by nightcracker
Cuz I create a virtual button which can take macros up to 1024 chars, and then change the actual macro to /click <thatbutton>. Poof, gone #showtooltip.
Yeah, i did read that in Super Duper Macro comment box a min ago
About the #showtooltip problem, it's a known issue. It just bugs out after 255 character because the #showtooltip command doesn't read behind 255 characters (due to Blizzard's 255 character limit) and it hasn't been fixed. You can try taking #showtooltip <spellname> (without the < >) to get the tooltip of one spell, but it can't change to the other spells in the macro automatically.
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: