Thread: [Plugin] DraigochCJ
-
Jan 09 2012 08:49 PM #1
[Plugin] DraigochCJ
Introducing DraigochCJ:

- Allows the CJ window to be dragged anywhere on the screen.
- Saves the window location for the next time the plugin is used.
- Shows the 6 CJ icons for next Fellowship Maneuver. Automatically updates after a successful CJ
completion.
- Highlights the CJ icon that has been assigned to the user.
- Identifies which of the 12 CJs the user is currently attempting.
- Provides a button that outputs the current CJ to raid chat, to aid others who do not have this plugin:

Right clicking on the window opens the Settings window:

- Allows the user to select which of the six CJ positions has been assigned.
- Allows the user to jump to a different CJ number (in case the plugin is loaded after the first successful CJ).
- The "Auto-Hide" option will automatically hide the CJ window during non-body dps phases.
(Note: entering command "/draigochcj unhide" will unhide the CJ window at any point in time.)
- The "Hide /ra" option will hide the raid chat button since it's likely only one person in the raid will be using
it.
Installation Instructions:
1) Download the zip file:
DraigochCJ_1.3.zip
2) Uncompress it to your "Documents\The Lord of the Rings Online\Plugins" folder.
(verify that "Documents\The Lord of the Rings Online\Plugins\Guntred\Draigoc hCJ\Main.lua" was created.)
3) Login to Lotro, and enter the "/plugins load DraigochCJ" command.
(The CJ window will appear in the center of your screen.)
Revision History:
Revision 1.3: DraigochCJ_1.3.zip1) Fixed the Update 6 change that moved Draigoch's dialog from 16777232 to Turbine.ChatType.Unfiltered.Revision 1.2: DraigochCJ_1.2.zip
2) Resized the Setup box so the "DraigochCJ" title will fit.
3) The "CJ Position" and checkbox states are now saved and restored the next time this plugin is loaded.
4) Updated the plugin to handle the rare situation where the CJ complete message appears after Draigoch announces he's standing back up.
5) Updated the plugin so it will advance correctly if it is loaded after the first leg is killed.
1) Added CJ names below the CJ icons.Revision 1.1: DraigochCJ_1.1.zip
2) Fixed a graphics issue where the /ra command line would become visible if the /ra button was hidden and the CJ Skip option was used.
3) Removed a dependency on the class.lua file that is installed with the Turbine Lua samples, which would result in the plugin load error "DraigochCJ\Main.lua:253: attempt to call global 'class' (a nil value)".
4) Modified the Auto-Hide option such that the CJ window will now be displayed when the fourth claw is killed instead of when the front left claw is killed.
1) Originated.
Known Issues:
- None.Last edited by Cadibble; Jul 11 2012 at 12:00 AM.
Guntred 75-Burg, Flormir 75-Guard, Marv 75-LMVenador 65-Hunter, Willaman 75-Minstrel, Venadir 31-RKMirnakh R10-Warg, Asprin R4-Defiler, Litemup R4-BA, Ptooey R2-Weaver
-
Jan 29 2012 09:58 AM #2
Re: [Plugin] DraigochCJ
Looks good, will try it!
You may want to post it on lotrointerface.com if want people to be able to find it, and support Plugin Compendium.
Regards,
JudoThorin's Shield Leader
* Judo - Burglar (Main)
* Sudo - Guardian * Dodo - Hunter * Pinot - Minstrel * Waggle - Warden
-
Jan 31 2012 12:52 AM #3
Re: [Plugin] DraigochCJ
Updated the original post to add a link to Revision 1.2, and added the revision history.
Guntred 75-Burg, Flormir 75-Guard, Marv 75-LMVenador 65-Hunter, Willaman 75-Minstrel, Venadir 31-RKMirnakh R10-Warg, Asprin R4-Defiler, Litemup R4-BA, Ptooey R2-Weaver
-
Feb 18 2012 07:47 AM #4
Re: [Plugin] DraigochCJ
Hey,
Been using this for a few weeks now and it does the job nicely, so thanks for that.
The only things I can see it lacking are:
1) Make it moveable.
2) Make it save it's settings, such as position, and checkbox states.
3) Make it auto dump to /ra when the last claw goes down, and when a CJ is pulled off.
Keep up the good work!
Cheers,
JudoThorin's Shield Leader
* Judo - Burglar (Main)
* Sudo - Guardian * Dodo - Hunter * Pinot - Minstrel * Waggle - Warden
-
Feb 25 2012 04:52 PM #5
Re: [Plugin] DraigochCJ
Thanks for the positive feedback!
The CJ window is already moveable. Left click anywhere in the window (except the /ra button
) and drag it to your new location. The new window position is automatically saved and restored the next time you load the plugin.
Saving the checkbox states is a good idea. I'll implement that in my next update.
As far as I know, auto dumping to /ra is not possible. To avoid bots, Turbine requires user interaction to create a chat message. I've implemented the /ra button as a quickslot with a raid chat alias, which is what makes it possible.
Guntred 75-Burg, Flormir 75-Guard, Marv 75-LMVenador 65-Hunter, Willaman 75-Minstrel, Venadir 31-RKMirnakh R10-Warg, Asprin R4-Defiler, Litemup R4-BA, Ptooey R2-Weaver
-
Feb 27 2012 11:29 AM #6
Re: [Plugin] DraigochCJ
Oh right, didn't realise was moveable, so that's good

Fair enough on the auto-chat thingy; can see why the API doesn't allow it, and it's really not too hard to click on the /ra button.
The only other thing I'd suggest is to get your plugin on lotro interface, since that's where everyone goes for their plugins really, and supporting a tool such as Plugin Compendium means can manage your updates automagically too
Thanks for making our Draigoch runs that little more bearable!
Cheers,
JudoThorin's Shield Leader
* Judo - Burglar (Main)
* Sudo - Guardian * Dodo - Hunter * Pinot - Minstrel * Waggle - Warden
-
Mar 18 2012 09:42 PM #7
Re: [Plugin] DraigochCJ
Looks like Update 6 changes are preventing the plugin from recognizing when a CJ completes. In the mean time, after a successful CJ, you'll need to go to the setup menu and manually increment the CJ number.
I haven't tested it, but I believe the fix is to edit main.lua to replace every instance of 16777232 with Turbine.ChatType.Unfiltered
I was working on some other changes when Update 6 came out, so it may be a couple weeks before I verify the new plugin version and publish it.
Guntred 75-Burg, Flormir 75-Guard, Marv 75-LMVenador 65-Hunter, Willaman 75-Minstrel, Venadir 31-RKMirnakh R10-Warg, Asprin R4-Defiler, Litemup R4-BA, Ptooey R2-Weaver
-
Mar 19 2012 07:50 AM #8
Re: [Plugin] DraigochCJ
While you do that is there any chance you can change the order to more closely match the order most groups use? i.e. the four that that affect claws first, followed by the 4 that debuff, followed by the morale reductions. I had your plugin running on a few runs to see if your order matched what the assigned CJ leader was using and unfortunately they didn't.

Ninith WDN 75 | Gwaithollien CHM 75 | Cebra MIN 75 | Lylyth RK 68
-
Mar 19 2012 10:53 AM #9
Re: [Plugin] DraigochCJ
There are many different orders that can be used...so no, I will not be changing the CJ order. The order that seems correct for one raid, will seem wrong for another raid.
The current order does exactly what you're asking. What you may not understand is that the first 4 CJs that affect the claws, can be done in any order. CJs 5-8 can be done in any order. CJs 9-12 can be done in any order. The only benefit that can be gained by changing the order of any of these CJs, is to change the order of the first four to debuff the claws in the order that your raid is killing them. However, some raids start with the claws on the bottom. Other raids start with the claws on the top. And after an update lowered the morale on the claws, some raids split their groups and dps the top and bottom at the same time. So there is no one correct CJ order.
Guntred 75-Burg, Flormir 75-Guard, Marv 75-LMVenador 65-Hunter, Willaman 75-Minstrel, Venadir 31-RKMirnakh R10-Warg, Asprin R4-Defiler, Litemup R4-BA, Ptooey R2-Weaver
-
Mar 23 2012 05:50 AM #10
-
Jul 10 2012 02:33 PM #11
Hey, any update yet?
Been a while now...
If still playing, and thus maintaining the plugin, have you thought about publishing it to lotrointerface.com? Can then get updates through Plugin Compendium: http://www.lotrointerface.com/downlo...ompendium.html
Cheers,
JudoThorin's Shield Leader
* Judo - Burglar (Main)
* Sudo - Guardian * Dodo - Hunter * Pinot - Minstrel * Waggle - Warden
-
Jul 11 2012 12:10 AM #12
Guntred 75-Burg, Flormir 75-Guard, Marv 75-LMVenador 65-Hunter, Willaman 75-Minstrel, Venadir 31-RKMirnakh R10-Warg, Asprin R4-Defiler, Litemup R4-BA, Ptooey R2-Weaver
-
Aug 05 2012 04:20 PM #13
I'm just wondering if it is possible to set CJ's with a plugin. So in stead of displaying the text in chat, you pre set the CJ as a raid leader.
"When evil reigns in middle earth, only one kinship can weather the storm."
∼ The Avengers gaming community ∼ Evernight ∼
Roufio (MNS) / Vyraes (BUR) / Roufneck (CHN)






Reply With Quote
