Download
(2 Kb)
Download
Updated: 02-12-11 07:32 AM
Pictures
File Info
Updated:02-12-11 07:32 AM
Created:04-17-10 03:54 PM
Downloads:6,730
Favorites:38
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)


Archived Files (2)
File Name
Version
Size
Author
Date
1.1 BETA
2kB
nightcracker
08-26-10 12:15 PM
1.1 BETA
2kB
nightcracker
04-17-10 03:58 PM


Post A Reply Comment Options
Old 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
Amethystx is offline Report comment to moderator  
Reply With Quote
Old 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.
__________________
PlayToy is offline Report comment to moderator  
Reply With Quote
Old 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
mooseydoom is offline Report comment to moderator  
Reply With Quote
Old 01-11-12, 09: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 09:45 PM.
drosenhe is offline Report comment to moderator  
Reply With Quote
Old 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?
XCreative is offline Report comment to moderator  
Reply With Quote
Old 10-29-10, 12:33 AM  
Manaman
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 161
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.
Manaman is offline Report comment to moderator  
Reply With Quote
Old 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)
XCreative is offline Report comment to moderator  
Reply With Quote
Old 09-22-10, 12:25 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 429
Uploads: 31
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.
nightcracker is offline Report comment to moderator  
Reply With Quote
Old 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.
ddtroma is offline Report comment to moderator  
Reply With Quote
Old 09-17-10, 12:24 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 429
Uploads: 31
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.
nightcracker is offline Report comment to moderator  
Reply With Quote
Old 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.
ddtroma is offline Report comment to moderator  
Reply With Quote
Old 07-19-10, 12:08 PM  
MaXiMiUS
A Murloc Raider

Forum posts: 8
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.
MaXiMiUS is offline Report comment to moderator  
Reply With Quote
Old 06-23-10, 04:51 PM  
Freak0o
A Kobold Labourer

Forum posts: 0
File comments: 20
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?
Freak0o is offline Report comment to moderator  
Reply With Quote
Old 06-09-10, 06:08 AM  
DivineBovine
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 4
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.
DivineBovine is offline Report comment to moderator  
Reply With Quote
Old 04-22-10, 05:38 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 825
Uploads: 13
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 | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: