OLD THREAD: krust (UI, macro & plugin)

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

Moderator: MacroQuest Developers

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

Post by gimp » Tue Nov 29, 2005 7:21 am

larry1024 wrote:just little thing but is there a way to automaticly remove specified buffs; like ranger buffs for casters? since casters dont' need thsoe silly atk buffs :)
there's a plugin for that in VIP i believe.
edit: but i advice against using it. it is easy detectable if you are always the first do click off certain mgb's during raids day after day.
larry1024 wrote:Also been though the Krust.ini and though i had setup every thing; now how do i get it to auto click on the Bracer of the hiden and the Shrunken Goblin Skull Earing?
in krust ini, put this (and change playername to your character's name):
[playername]
useClickyAttack=1
ClickyBracerOfTheHidden=1
Last edited by gimp on Tue Nov 29, 2005 3:04 pm, edited 1 time in total.

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

Post by Harden » Tue Nov 29, 2005 9:08 am

Not sure if it's just me, but I can't seem to /toggletaunt from in game.

with #define DO_TAUNT 1, in krust.mac I taunt all the time, reguardless what the echo says in /toggletaunt (or the ini, which I changed manually also.

Same thing applies when I change #define DO_TAUNT 1 => #define DO_TAUNT 0, I never taunt.

It's not that big a deal, I can change the krust.mac file easy enough, just wondered if this was something on my end or yours~

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

Post by gimp » Tue Nov 29, 2005 1:48 pm

Harden wrote:Not sure if it's just me, but I can't seem to /toggletaunt from in game.

with #define DO_TAUNT 1, in krust.mac I taunt all the time, reguardless what the echo says in /toggletaunt (or the ini, which I changed manually also.

Same thing applies when I change #define DO_TAUNT 1 => #define DO_TAUNT 0, I never taunt.

It's not that big a deal, I can change the krust.mac file easy enough, just wondered if this was something on my end or yours~
yea im kinda aware of this, my bad sorry :( ill remove the DO_TAUNT define and re-implement /toggletaunt command switch.
thing is the orginal /taunt code grew into more complicated auto taunting code for warrior with using discs and such, so i separated em and then ehm well never finished it

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

[DebuffNotes] sample

Post by gimp » Thu Dec 01, 2005 3:06 pm

Here is the krust.ini's [DebuffNotes] i'm using. I've not put into one before into the distribution.
These are merley notes, and my notes help me remember what spells i need to use to cure certain debuffs

Code: Select all

[DebuffNotes]
Wind of Tashanian=RC1
Tashania=RC1
Malo=RC1

;kt trash mobs:
Kneeshatter=RC6

;nest trash mobs:
Bile Breath=RC6

;mpg trash mob:
Skullpierce=mana dot
Galdorin's Alluring Lullaby=mez
Chaotica=RGC (mana drain)

;rss:
Infected Bite=RC6/2x PB (hp dot)
Freezing Touch=RC1 (mez)

;anguish:
Flail of the Muramite=mana dot,-300 MR
Blade of the Muramite=RGC

;anguish-keldovan the harrier
Packmaster's Curse=RGC (spell efficency reduced)

;anguish-ture:
Swamp Breath=PB (hp dot)

;anguish-jelvan:
Touch of Anguish=-475 cold (30 poison cnt) east
Wail of Anguish=10 sec stun -475 disease west
Gaze of Anguish=2x PB manadrain, -475 cold (30 disease cnt) south

;anguish-warden hanvar:
Chains of Anguish=2x RGC (slow)
Feedback Dispersion=2x RGC (mana dot), -400 avg

;anguish-arch magus:
Mark of Death=PB (KILLS!)

;mpg raid trial arcania:
Imprecision=PB
Rigidity=PB
Curse of Misfortune=RGC/RC6
Impurity=cant fix

;mpg trial mastery of endurance raid:
Complex Gravity=Uncurable, -450 MR

;mpg trial corruption (epic 1.0 mobs):
Rapture=Mezzed!
Dictate=Charmed!

;mpg trial adaption (?):
Gaze of the Pyrilen=mana dot
Breath of the Gelidran=snare

;don missions:
Gravel Rain=72 curse counter

;Uqua-Vrex Barxt Qurat:
Creeping Fury=RGC?

;txevu stuff:
Visions of Pain=RGC
Fulmination=3x PB (mana drain)
Corrupted Laceration=dont know how to cure

;txevu high priest script:
Spiritual Possession=charm
Wrath of Trushar=RGC (hp drain)

;txevu zun muram script:
Wanton Destruction=RGC (mana drain)


;tacvi stuff: Pixxt Kretv Krakxt
;mana drain:
Spirit Cleaver=mana dot
Aura of Fatigue=2x PB


;don-vishmitar
Vishimtar's Shadow=RC6 (hp drain)

;don-yar lir
Forcequake=RC6 (mana dot)

;dodh-bloodyeye
Bloodeye's Bellow=RC6
Bloodeye's Curse=RC6/RGC (dt)

;dodh-Emperor Draygun
Curse of the Lich=RC6 (mana dot)

;some epic 2 raid:
Chaos Affliction=RC6
please dont post corrections or additions here to this, it is merley an example of how to use this feature properly

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.01

Post by gimp » Thu Dec 01, 2005 4:37 pm

New release of the macro uploaded. Last version it can break invis in a odd case, so I advice to upgrade :-)

Code: Select all

Changes 2005.12.01:

gimp_buffrequests.inc:
	* Fix: Improved parser so it recognizes more buff requests

gimp_debuffinfo.inc:
	* New: Shows when you got death touch from Vishmitar on you (when you need to say 'shoulder my burden')
		
krust.mac:
	* New: Added /acceptinvite, wich will automatically accept your next group or raid invite.
		Type /acceptinvite again to auto-accept the following 2 invites, etc.
	* New: Added /notinzone, a command to list all raid members not currently in same zone as you are.
	* Fix: Never auto /sit while moving in any case.
	* Fix: Dont auto click mod rod if invisible!
		
krust_zoneinfo.ini:
	* New file. Moved out [ZoneInfo] section from krust.ini to a separate file. Please do not save your old
		version of this file as new versions of krust will contain updates to it.

krust.ini.sample:
	* Added [DebuffNotes] section with many examples

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 03, 2005 12:03 am

updated plugin, just contains recompile of the dll against latest MQ2. havent had time to work more on the dll features latley

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

Post by Harden » Sun Dec 04, 2005 12:40 pm

I like the accept invite addition. Makes it nice when your running late and log in, but need to make dinner or something.

larry1024
a ghoul
a ghoul
Posts: 131
Joined: Tue Apr 19, 2005 11:28 pm

Post by larry1024 » Mon Dec 05, 2005 11:27 pm

is there a way to setup a event were if zone that can do /pet get lost command?

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

Post by Harden » Mon Dec 05, 2005 11:56 pm

I bet you could modify the krust.mac with something like this:

Code: Select all

			/if (${Zone.Name.NotEqual["The Plane of Knowledge"]}) {
			|If pet is up, pet get lost
			[b]/if (${Me.pet}) {[/b](I don't know what to make this line say
				/echo [${Time}] NOTICE: Getting Rid of pet
				/pet get lost
That would kill it in any zone but PoK.

Don't take my code for scripture, I have not learned enough to write things yet. Maybe someone can clean this up to do what he wants. Then just stick it in the macro.

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Tue Dec 06, 2005 8:39 am

Me.Pet.ID works. If you don't have a pet it returns NULL, which is the same as 0 or FALSE.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

larry1024
a ghoul
a ghoul
Posts: 131
Joined: Tue Apr 19, 2005 11:28 pm

Post by larry1024 » Tue Dec 06, 2005 2:50 pm

This seems to work when placed in the crust loop; but isn't there a way of only doing it upon zoning into another zone; other wize seems to generate a lot of spawm in the macroquest window

I tried to place the bellow in DoRegularUpdates section but would not work

/if (${Me.pet}) {
/pet get lost
Harden wrote:I bet you could modify the krust.mac with something like this:

Code: Select all

			/if (${Zone.Name.NotEqual["The Plane of Knowledge"]}) {
			|If pet is up, pet get lost
			[b]/if (${Me.pet}) {[/b](I don't know what to make this line say
				/echo [${Time}] NOTICE: Getting Rid of pet
				/pet get lost
That would kill it in any zone but PoK.

Don't take my code for scripture, I have not learned enough to write things yet. Maybe someone can clean this up to do what he wants. Then just stick it in the macro.
Last edited by larry1024 on Tue Dec 06, 2005 3:06 pm, edited 1 time in total.

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

Post by gimp » Tue Dec 06, 2005 2:56 pm

larry & friends;
please keep poking with krust etc im happy to see you use it but if you have general MQ questions, please post them in a separate thread (or pm me), this one's already 19 boring pages filled with lots of info that is already hard to find.
off topic posting only makes it harder to nagivate :(

to reply your question:

Code: Select all

#event makemypetgoaway "You have entered #1#"
sub event_makemypetgoaway(string line,string zone)
 /if (${Me.Pet.ID}) {
   /echo #making my pet go away
   /pet get lost
}
/return
if you need more help with general macroquesting, please start a new thread in the MQ2::Macros::Help forum :)

larry1024
a ghoul
a ghoul
Posts: 131
Joined: Tue Apr 19, 2005 11:28 pm

Post by larry1024 » Wed Dec 07, 2005 11:35 am

Hehe :) sory man; will from now on; but goto say you ROCK :)
gimp wrote:larry & friends;
please keep poking with krust etc im happy to see you use it but if you have general MQ questions, please post them in a separate thread (or pm me), this one's already 19 boring pages filled with lots of info that is already hard to find.
off topic posting only makes it harder to nagivate :(

to reply your question:

Code: Select all

#event makemypetgoaway "You have entered #1#"
sub event_makemypetgoaway(string line,string zone)
 /if (${Me.Pet.ID}) {
   /echo #making my pet go away
   /pet get lost
}
/return
if you need more help with general macroquesting, please start a new thread in the MQ2::Macros::Help forum :)

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

Post by gimp » Thu Dec 08, 2005 8:14 pm

larry1024 wrote:Hehe :) sory man; will from now on; but goto say you ROCK :)
thank you so very much :) all the positive feedback from this forum is my best motivation for continuing updating krust :)

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

gimp_clickies.inc documentation

Post by gimp » Fri Dec 09, 2005 2:10 pm

Hello. Some time ago i tried making some proper documentation of krust but got kinda stuck. I have written a textfile describing the clickies functionality wich will be included in future krust-macro releases. I'm posting it below for anyone that needs.

Macro writers!!
If you are not already aware of it, the krust macro is built upon modules. The gimp_*.inc files are built to be able to include in your own macros. Read on to see how easy you can add clickies support to your own macros, simply by including the gimp_clickies.inc in your macro.

Code: Select all

Last edited: 2005.10.13

Clickies
--------
A module that deals with auto refreshing of item clickies.

When the krust macro is running, it will automatically refresh clickies for you.
By default it will refresh manaregen and manapool clickies only.
To get the most out of this module you will need to configure it some.
I have tried to split up clickes by type, so you will just have to activate "resist clickies" for example,
and no matter what resist clicky you might have, they will be auto casted.

This module also take adventage of data from krust_zoneinfo.ini if present.

This module will not refresh clickies under certain circumstances:
A) You are /afk, or invisible
B) You are in a neutral zone (click here for neutral zone listing)
C) Jboots are not refreshed in indoor zones (see krust_zoneinfo.ini)



INI settings for clickies module
--------------------------------
All these settings are read from [Playername] in krust.ini

Turn on clickies by type:
-----------------------------
useClickyResists=1							Refreshes your resist clickies
useClickyAttack=1								Refreshes your attack clickies (slot 1, 3 and 5)
useClickyDS=1										Refreshes your DS clickies (slot 2 and 4)
useClickyHaste=1								Refreshes your haste and overhaste (Haste v3) clickies

In addition, there is a few odd clickies you need to turn on like:
ClickyJboots=1									Refreshes your Journeyman's Boots / Fabled Journeyman's Boots
ClickyBracerOfTheHidden=1				Refreshes your Bracer of the Hidden
ClickyAmuletOfNecropotence=1		Refreshes your Amulet of Necropotence
ClickyCrownOfDeceit=1						Refreshes your Crown of Deceit
ClickyVoiceOfTheSerpent=1				Refreshes your Voice of the Serpent
ClickyShroudDefender=1					Refreshes your Shroud of the Fallen Defender

Example INI section to turn everything on by default:
[Playername]
useClickyResists=1
useClickyAttack=1
useClickyDS=1
useClickyHaste=1
ClickyJboots=1
ClickyBracerOfTheHidden=1
ClickyAmuletOfNecropotence=1
ClickyCrownOfDeceit=1
ClickyVoiceOfTheSerpent=1
ClickyShroudDefender=1

Disabling the module
--------------------
/clickies												Toggles clickies module ON or OFF, if you wish to pause clickies refresh at some point
This change is only for the duration of the script. When script is restarted the setting is forgotten.
Module is turned ON when krust is started


The clickies module also adds some /slash commands to EverQuest to improve gameplay
----------------------------------
/rez														Target a corpse and /rez it with your cleric epic 1.0 (auto equips and clicks it)
/shrinkgroup										Shrinks nearby group members that is not already shrunk with your targetable shrink item (bracelet of the shadow hive and such)
/makepulleritem #ammount				Clicks your "summon puller item" clicky #ammount times (default is 5)
/mount													Casts your mount clicky


List all supported clickies:
 Mount clickies - All in game EXCEPT DoD mechanic boar mounts (FIXME!!!!!!!!!)
 Shrink clickies - All in game (FIXME: which is targetable and which is not???)
 Summon puller item clickies - ...
 Resist clickies - ...
 Attack clickies - ...
 fixme: mana regen clickies, mana pool clickies




Compatiblity: This module takes advantage of MQ2Exchange plugin if it is loaded (fixme)

Status: Mostly complete.

Todo:
	* Generic handling of AC buff clickies (Shroud of the fallen Defender and more)
	* MQ2Exchange support
	* Make neutral zones a INI section
	* Verify the example works stand-alone
	* BuffedAttack* functions return buffname instead of number so we can refresh buffs before they have faded
	* Not handling DoDh clickies at the moment.

For developers:
	Exposes ${gimp_clickies_loaded} and ${gimp_clickies_activated} globally
	Requires gimp_busy.inc for /call AmIBusy

	#define INI_FILE yourinifile.ini
	#include gimp_busy.inc
	#include gimp_clickies.inc
	
	/declare UpdateClickiesTimer timer outer 0

	|Put this in your macro's main loop
	/if (!${UpdateClickiesTimer}) {
		/call DoClickies
		/varset UpdateClickiesTimer 60s
	}