Quantcast
McRun - Official thread - WoWInterface
 
Thread Tools Display Modes
05-18-10, 02:50 PM   #1
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 237
McRun - Official thread

This thread is for discussion of my McRun framework and any of my McRun addons.

I'm happy to answer any questions from people trying to write McRun addons, or users trying to figure out how to use them. I'm also open to any feedback on the framework itself (especially proposed additions to McLib).

And yes, I'm nuts!

The McRun page linked above has a list of McRun addons (the ones that I know about, anyway... Post here if you want yours added)
__________________
[SIGPIC][/SIGPIC]

Last edited by Cogwheel : 05-20-10 at 08:18 AM.
  Reply With Quote
05-18-10, 09:00 PM   #2
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
I think I just swallowed my own tongue.
Wow.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
05-19-10, 12:24 AM   #3
Ferous
Sheer Sense of Doom
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 863
Originally Posted by Torhal View Post
I think I just swallowed my own tongue.
This has been a huge fear of mine IRL for some time for some reason, I pray you didn't...
  Reply With Quote
05-19-10, 03:08 AM   #4
xandora
A Chromatic Dragonspawn
 
xandora's Avatar
Join Date: Feb 2009
Posts: 188
I would LOVE to see how addons actually work with this.

It looks amazing.
__________________
  Reply With Quote
05-19-10, 06:44 AM   #5
Wella
A Rage Talon Dragon Guard
 
Wella's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 322
Would someone like to explain to me what this does to someone who knows nothing about addon coding?

:(
__________________
Addons I use, not that any of you care
* Bejeweled - For boring 5 minute flights to Tanaris
* Genie - Blizzard really should have implemented bag sorting by now
* ncHoverBind - I'm a Lock, what can you expect?
* oGlow - Agan, a missing feature
* Recount - Derp
* ShooShards - Another missing feature


"Your idea is good. So i will try it."
- popmissa
  Reply With Quote
05-19-10, 08:12 AM   #6
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 237
Originally Posted by xandora View Post
I would LOVE to see how addons actually work with this.

It looks amazing.
Here's a sneak peek of CogsBar McRun:



After the McRun framework (~5 macro slots), what you see there took 3 macro slots (really, just over 2) for the addon plus one character-specific macro for configuration. Once I get the state-based paging finished it'll be ready for its close-up!

Originally Posted by Wella View Post
Would someone like to explain to me what this does to someone who knows nothing about addon coding?

Essentially it's an addon framework that loads code from macros, which are stored on the server. No addons required, and you have access to the modifications no matter what computer you play on.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
05-19-10, 09:00 AM   #7
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 2,988
Originally Posted by Cogwheel View Post

Essentially it's an addon framework that loads code from macros, which are stored on the server. No addons required, and you have access to the modifications no matter what computer you play on.
So would you be able to use Target For Me without having to have the addon installed, and would you still only have to use just 1 button?
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
  Reply With Quote
05-20-10, 09:29 AM   #8
Wella
A Rage Talon Dragon Guard
 
Wella's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 322
Originally Posted by Cogwheel View Post
Essentially it's an addon framework that loads code from macros, which are stored on the server. No addons required, and you have access to the modifications no matter what computer you play on.
So, put short, it's a nifty thingamybob which means you don't have to config your UI on another computer?
__________________
Addons I use, not that any of you care
* Bejeweled - For boring 5 minute flights to Tanaris
* Genie - Blizzard really should have implemented bag sorting by now
* ncHoverBind - I'm a Lock, what can you expect?
* oGlow - Agan, a missing feature
* Recount - Derp
* ShooShards - Another missing feature


"Your idea is good. So i will try it."
- popmissa
  Reply With Quote
05-25-10, 11:45 PM   #9
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 237
V1.3

New version posted. See the link in the OP for details.

Thanks to everyone's enthusiasm, I've been able to identify several methods that are worth the additional macro slot for McLib:

:N (GetName)
:SAP (SetAllPoints)
:CAP (ClearAllPoints)
:T (SetText)
:FT (SetFormattedText)
:CF (CreateFontString)
:HS (HookScript)

I've also added a couple more code shortening tips.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
05-26-10, 01:48 PM   #10
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
Holy crap. This is like bringing Twiiter to WoW.
To bad I need textures.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
  Reply With Quote
06-30-10, 05:21 PM   #11
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 237
So now that the NDA is lifted, I might as well mention the reason i made this... Addons were disabled through most of the Cataclysm Alpha and i NEED my bar mods!
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
06-30-10, 05:30 PM   #12
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
And here I thought you had a completely unrelated mental disorder...
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote
07-02-10, 01:29 AM   #13
ffcloud2000
A Fallenroot Satyr
Join Date: Jul 2005
Posts: 24
Would anyone be able to make a script that would allow me to add keybinds to Main Action Bar 2? I was trying to do it hacking away at CogsBar but wasn't having any luck It's the bar under keys 1,2,3 etc etc (uses ActionID 13-24)

or if someone could help me make a CogsBar config that creates 1 12button bar with keybinds and sets the bar offscreen

trying to cheat but not working out too well
Code:
bars={
 {B=24,W=12,V=-500,H=0,
  K={'nil','nil','nil','nil','nil','nil',
     'nil','nil','nil','nil','nil','nil',
     'Z','X','SHIFT-Q','SHIFT-E',
     'SHIFT-W','SHIFT-A','SHIFT-S','SHIFT-D',
     'F1','F2','F3','F4',},
 },}
nevermind i got it to work .. tho it would be nice to do it without the nils..
__________________

Last edited by ffcloud2000 : 07-02-10 at 02:59 AM.
  Reply With Quote
07-05-10, 06:53 AM   #14
mikelley517
A Defias Bandit
Join Date: Feb 2010
Posts: 2
Question McLoad Script-noob question.

I love the idea of this, but I am no code writer. I see that all these are required to be included in a "McLoad script" but I have not seen an example of the mcload script. Did I miss something obvious? Thanks for the help!
  Reply With Quote
07-05-10, 08:00 AM   #15
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 237
Originally Posted by mikelley517 View Post
I love the idea of this, but I am no code writer. I see that all these are required to be included in a "McLoad script" but I have not seen an example of the mcload script. Did I miss something obvious? Thanks for the help!
The section of the main McRun page called "Creating the McRun addon loader(s)" describes McLoad itself, and "Installing a McRun addon" gives an example of adding an addon to it.

I'm also working on a more beginner-friendly walkthrough that should be done in the not-too-distant future.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote
07-06-10, 03:55 AM   #16
mikelley517
A Defias Bandit
Join Date: Feb 2010
Posts: 2
Originally Posted by Cogwheel View Post
The section of the main McRun page called "Creating the McRun addon loader(s)" describes McLoad itself, and "Installing a McRun addon" gives an example of adding an addon to it.

I'm also working on a more beginner-friendly walkthrough that should be done in the not-too-distant future.
Thank you. I did get the bars to work, but I was wondering if there is a way to hide the blizz main action bar, or if I just move this bar to where i want it and ignore the other. Thanks for all the work and the quick response!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » McRun - Official thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off