OLD THREAD: krust (UI, macro & plugin)

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

Harden
a hill giant
a hill giant
Posts: 244
Joined: Thu Aug 25, 2005 8:23 pm

Post by Harden » Tue Dec 27, 2005 7:29 pm

the /acceptinvite command will only accept group invites.

if your invited to a raid, it attempts to invite someone to a gorup, or join a group. (just like if you pressed Ctrl + I)

That, and the Mod rod thing I mentioned before are the only bugs / problems I have seen since the last release or Krust / MQ2.

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Wed Dec 28, 2005 4:37 am

harden, both bugs you mention have been fixed & will be included in next krust release wich im finishing up atm

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

krust macro 2005.12.30 changes

Post by gimp » Fri Dec 30, 2005 8:52 am

this update of the macro mostly contain bug fixes.
happy new year everyone!

Code: Select all

Changes 2005.12.30:

krust.mac:
	* Fix: Fixed auto-accepting of raid invites
	* Fix: On occasions where krust tries to /sit, it no longer tries if you are casting a spell.
	* New: "Learns" some misc information about mobs in gimp_zoneinfo.ini wich will be exposed in the target window
	* New: /notinzone now displays count of classes still in zone next to each entry. Example:
		
		/notinzone
		[MQ2] # Raid members not in zone:
		[MQ2] Tank1 [WAR] (4 warriors in zone)
		[MQ2] Healer1 [CLR] (2 clerics in zone)
		[MQ2] 2 of 53 raid members not in zone
	
		This makes keeping track of the raid easier.
			
krust_zoneinfo.ini:
	* More zoneinfo added, especially for DoD zones
	
gimp_modrod.inc:
	* Fix: Fixed modrod reuse timer

gimp_clickies.inc:
	* Change: Removed ClickyAmuletOfNecropotence, ClickyCrownOfDeceit INI settings.
		Instead added ClickyIllusion=item name
			
		Old setting "ClickyAmuletOfNecropotence=1" must be changed to "ClickyIllusion=Amulet of Necropotence"
		Old setting "ClickyCrownOfDeceit=1" must be changed to "ClickyIllusion=Crown of Deceit"
		This change allows you to specify any clicky illusion item to be auto clicked for you.
		Illusions will not autorefresh in raids.

gimp_dps.inc:
	* Fix: Now correctly counts "mob slashes for xx" as damage taken

gimp_debuffinfo.inc:
	* New: Shows when mob is slowed from monk disc Counterforce Discipline
	
gimp_selflearn.inc:
	* New file. Contains misc functions that auto updates krust_zoneinfo.ini

Harden
a hill giant
a hill giant
Posts: 244
Joined: Thu Aug 25, 2005 8:23 pm

Post by Harden » Fri Dec 30, 2005 10:16 am

For those of you like me, who have Wand of Imperceptability, but cant utilize the /shrinkgroup command. I ahve made an addition to the gimp.clickies.inc file that you can do which will shrink yourself, with your shrinker item.


Near the top of your inc file you will see this

Code: Select all

|Specific clicky related functions
#Event ShrinkGroup			"[MQ2] shrinkgroup"
#Event MakePullerItem		"[MQ2] makepulleritem#1#"
#Event ClickMount				"[MQ2] clickmount"
[b]#Event ShrinkSelf				"[MQ2] shrinkself"[/b]

#Event ToggleClickies		"[MQ2] clickies"
The Part in Bold is the line you need to add.

Next we need to insert the Portion to actually make this work. So Scroll thru your clickies file until you fine this line (or use Find)

Code: Select all

	/call Cast "Water Sprinkler of Nem Ankh" item

/return

Sub Event_ShrinkGroup

	|Note: Not all shrink items work on targets
	|Bracelet of Shadow hive does. Wand of Impercibility doesnt.
	/declare i int local 0

Now inbetween /return and Sub Event_ShrinkGroup add this:

Code: Select all

/call Cast "Water Sprinkler of Nem Ankh" item

/return

[b]Sub Event_ShrinkSelf

	|Lets you Shrink yourself without trying to shrink everyone in group.
   |Useage == /echo shrinkself
	/declare i int local 0
	
	/if (!${mcHUDshrinker.Length}) {
		/echo Error: You dont have a shrink item
		/return
	}
	
	/echo Shrinking Self
	
	|Note: When you are max shrinked, your Height == 3.00
	
	
	:Shrink
	/if ((${Me.Height} > 3.50)) {
      /target myself
		/call Cast "${mcHUDshrinker}" item
		/goto :Shrink
	} else {
	
	/echo Done Shrinking
/return[/b]
		

Sub Event_ShrinkGroup

	|Note: Not all shrink items work on targets
	|Bracelet of Shadow hive does. Wand of Impercibility doesnt.
	/declare i int local 0
Now that your gimp.clickies.inc file is modified, once in game. just type /echo shrinkself and you will click your shrink clicky until your as small as you get (be it 1, 2, or 3 cast's of shrink)

Hope everyone enjoy's this addition, and possibly it will get added to the normal Krust release.

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Fri Dec 30, 2005 10:13 pm

Harden wrote:Hope everyone enjoy's this addition, and possibly it will get added to the normal Krust release.
thanks for your work it'll be in next update

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Sat Dec 31, 2005 6:26 am

krust macro 2005.12.31 changes

Mostly updates to the clickies. I dug thru lucy and all new DoDh clickies that i could find has been added (as of items discovered 2005.12.31) + some resist clickies from older content that I missed before (Earring of Celestial Energy for example). This should cover most of the new high end clickies. Please post if one of your clickies still are not supported, or not working.

Code: Select all

gimp_clickies.inc:
	* New: /shrinkself command by Harden
	* New: Added Vermilion Orb of Clairvoyance, Buckler of Unliving to [b]mana regen clickies[/b]
	* New: Added Grand Illsalin Robe to [b]manapool clickies[/b]
	* New: Added Blood Rage Choker, Supersonic Eargear, Earring of Frozen Poison, Fractured Talon of the Clouded Dragon, Pristine Witheran Hide Drum, Salt-Encrusted Eyepatch, Salty Chatty Eyepatch, Borilbeard, the Eyepatch, Forgotten Artist's Mesh Wristwraps, Mayong's Sanguine Cloak to [b]hp buff clickies[/b]
	* New: Added Collapsable Roboboar to [b]mount clickies[/b]
	* New: Added Ali-Ani, the Eyes of Mayong, Doomstone Band of Seeing, Dark Void Shoulders, Black Web Mantle, Earring of Celestial Energy, Light Amphibian Hide Slippers, Tainted Undershore Rock, Wristguards of the Vampire Hunter, Ancient Werewolf Skull, Skull of the Den Lord, The Skull of Den Lord Rakban to [b]resist clickies[/b]
If you have more than one resist clicky, krust will only refresh one of them.
I need someone to explain how the two kinds of resist clickies stack.
How do the Soul Energy/Eternal Ward/Chaotic Ward/Unliving Ward stack versus Form of Protection I/Form of Protection/Form of Protection III/Form of Protection IV/Aura of Pure Arcanum buffs?
I heard they did stack if you clicked them in a certain order or something? Can someone fill me in :)

xarquid
decaying skeleton
decaying skeleton
Posts: 3
Joined: Thu Aug 04, 2005 5:54 pm

Post by xarquid » Sun Jan 01, 2006 2:10 pm

Are there more lines of code that can be added in the krust.ini besides the ones listed on your web site that may be useful?

I have a few clickies that it does not seem to auto-click or auto-refresh which are:

Rapier of Somber Notes ( http://lucy.allakhazam.com/item.html?id=69114 )
Hanvar's Hoop ( http://lucy.allakhazam.com/item.html?id=47286 )
Mask of Lament ( http://lucy.allakhazam.com/item.html?id=47300 )

I can not get the plugin to load correctly which may be the issue. The UI/Macros load perfectly fine but when I do a: /plugin MQ2Krust it says:

Code: Select all


Plugin 'MQ2Krust' could not be loaded.
krust.mac@445 (Main): /if
(${Me.Class.Name.Equal["Druid"]} ||
(${Me.Class.Name.Equal["Cleric"]} ||
(${Me.Class.Name.Equal["Shaman"]} || {

I play a Bard (70). Any help would be greatly appreciated.

Thank you for the wonderful UI/macros.

Harden
a hill giant
a hill giant
Posts: 244
Joined: Thu Aug 25, 2005 8:23 pm

Post by Harden » Sun Jan 01, 2006 2:22 pm

xarquid wrote:Are there more lines of code that can be added in the krust.ini besides the ones listed on your web site that may be useful?

I have a few clickies that it does not seem to auto-click or auto-refresh which are:

Rapier of Somber Notes ( http://lucy.allakhazam.com/item.html?id=69114 )
Hanvar's Hoop ( http://lucy.allakhazam.com/item.html?id=47286 )
Mask of Lament ( http://lucy.allakhazam.com/item.html?id=47300 )
Mask of Lament should be working fine, it's already in the gimp_clickies.inc file. The other 2 would need to be added by Gimp, maybe that will be in the next release of krust.

xarquid wrote: I can not get the plugin to load correctly which may be the issue. The UI/Macros load perfectly fine but when I do a: /plugin MQ2Krust it says:

Code: Select all


Plugin 'MQ2Krust' could not be loaded.
krust.mac@445 (Main): /if
(${Me.Class.Name.Equal["Druid"]} ||
(${Me.Class.Name.Equal["Cleric"]} ||
(${Me.Class.Name.Equal["Shaman"]} || {

I play a Bard (70). Any help would be greatly appreciated.

Thank you for the wonderful UI/macros.

I Don't think the plugin would affect the Clickies from being clicked. (like I pointed out before, those clickies are not listed in gimp_clickies.inc)

Are you using the most recent Compile of MQ2 Source? Try adding

Code: Select all

mq2krust=mq2krust
to your macroquest.ini file, before starting MQ2. If that dosent work, Recompile the Source, and the Plugin (don't just take the Downloaded .dll) and try it that way.
-Harden
I wanna be a Macro Writer when I grow up!

xarquid
decaying skeleton
decaying skeleton
Posts: 3
Joined: Thu Aug 04, 2005 5:54 pm

Post by xarquid » Sun Jan 01, 2006 2:28 pm

Harden wrote: Mask of Lament should be working fine, it's already in the gimp_clickies.inc file. The other 2 would need to be added by Gimp, maybe that will be in the next release of krust.
Hmm, I will have to look into it, doesn't seem to be working.
Harden wrote: Are you using the most recent Compile of MQ2 Source? Try adding

Code: Select all

mq2krust=mq2krust
to your macroquest.ini file, before starting MQ2. If that dosent work, Recompile the Source, and the Plugin (don't just take the Downloaded .dll) and try it that way.
It is already added, get the error on load also. I am running the most recent release of MQ2. When compiling the .cpp file in VS .NET 2003 I attempted to compile as a C++ .NET Object and it didn't compile properly. What are the proper steps in the compiling of just a .cpp file in .NET 2003? I will check out the WIKI and see if the proper answer is there, because what I am doing doesn't seem to be entirely correct but it worked for other plugins.

Thank you for the fast reply, much appreciated.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Sun Jan 01, 2006 3:25 pm

xarquid wrote:
Harden wrote: Mask of Lament should be working fine, it's already in the gimp_clickies.inc file. The other 2 would need to be added by Gimp, maybe that will be in the next release of krust.
Hmm, I will have to look into it, doesn't seem to be working.
Harden wrote: Are you using the most recent Compile of MQ2 Source? Try adding

Code: Select all

mq2krust=mq2krust
to your macroquest.ini file, before starting MQ2. If that dosent work, Recompile the Source, and the Plugin (don't just take the Downloaded .dll) and try it that way.
It is already added, get the error on load also. I am running the most recent release of MQ2. When compiling the .cpp file in VS .NET 2003 I attempted to compile as a C++ .NET Object and it didn't compile properly. What are the proper steps in the compiling of just a .cpp file in .NET 2003? I will check out the WIKI and see if the proper answer is there, because what I am doing doesn't seem to be entirely correct but it worked for other plugins.

Thank you for the fast reply, much appreciated.
you need to compile it as a macroquest plugin, there are many upon many posts on how to do that correctly.
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Sun Jan 01, 2006 10:17 pm

xarquid wrote:It is already added, get the error on load also. I am running the most recent release of MQ2. When compiling the .cpp file in VS .NET 2003 I attempted to compile as a C++ .NET Object and it didn't compile properly. What are the proper steps in the compiling of just a .cpp file in .NET 2003? I will check out the WIKI and see if the proper answer is there, because what I am doing doesn't seem to be entirely correct but it worked for other plugins.

Thank you for the fast reply, much appreciated.
basically open a command prompt (windows key-r), type "cmd"

then go into the MQ2 sourcecode directory: "cd c:\dev\MQ2-20051220a"

then type "mkplugin MQ2Krust", now a directory called MQ2Krust will be created, copy the .cpp file from the plugin zip into here, overwrite the old file.
Now open visual studio, open the MQ2 project file, then rightclick in the solution explorer where it says "Solution MacroQuest 2 (13 projects)" and choose Add... -> Existing project. Navigate to MQ2Krust directory and select MQ2Krust.vcproj
but as fearless pointed out, look around on the site there's more detailed guides on this around. going to look on those clickies

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Sun Jan 01, 2006 10:24 pm

xarquid wrote:Are there more lines of code that can be added in the krust.ini besides the ones listed on your web site that may be useful?

I have a few clickies that it does not seem to auto-click or auto-refresh which are:

Rapier of Somber Notes ( http://lucy.allakhazam.com/item.html?id=69114 )
Hanvar's Hoop ( http://lucy.allakhazam.com/item.html?id=47286 )
Mask of Lament ( http://lucy.allakhazam.com/item.html?id=47300 )

See gimp_clickies.txt for more documentation of the clickies
Mask of Lament should auto click if you add this in your krust.ini

Code: Select all

[playername]
useClickyDS=1
Hanvar's Hoop etc (the form of protection line of buffs) i am not sure how they stack since i dont have such clicky myself. Any buffs that clicky doesnt stack with?

xarquid
decaying skeleton
decaying skeleton
Posts: 3
Joined: Thu Aug 04, 2005 5:54 pm

Post by xarquid » Sun Jan 01, 2006 10:29 pm

Nope, no other buffs on that those don't usually stacked with.

When I try to compile the plugin with everything else:
fatal error C1010: unexpected end of file while looking for precompiled header directive
f:\MQ2 Latest Source\MQ2Krust\MQ2Krust.cpp Line 244

Line 244 shows no code.

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Sun Jan 01, 2006 10:34 pm

xarquid wrote:Nope, no other buffs on that those don't usually stacked with.

When I try to compile the plugin with everything else:
fatal error C1010: unexpected end of file while looking for precompiled header directive
f:\MQ2 Latest Source\MQ2Krust\MQ2Krust.cpp Line 244

Line 244 shows no code.
odd one. tried Build menu->Rebuild solution? anyway krust is usable without the plugin, plugin just adds some extra commands to eq basically

User avatar
gimp
a grimling bloodguard
a grimling bloodguard
Posts: 584
Joined: Fri Oct 29, 2004 9:28 am
Location: internet

Post by gimp » Sun Jan 01, 2006 10:57 pm

krust macro 2006.01.02 changes

Code: Select all

krust.mac:
	* Fix: Made /toggletaunt work again.

gimp_dps.inc:
	* Fix: Mob claws damage counted
		
gimp_clickies.inc:
	* New: Added Rapier of Somber Notes. ClickyRapierOfSomberNotes=1 to activate it
	* New: Added Bony Dark Web Ring, Shroud of the Fallen Defender, Band of Primordial Energy, Executioner's Cincture, Hanvar's Hoop, Skull of Vishimtar, Wristplates of the Fallen Saint to AC clickies.
		Activate these clickies with useClickyAC=1
		Removed ClickyShroudDefender=1 setting, use useClickyAC=1 instead.
please give this one a try xarquid and let me know if your clickies work