*UPDATED* SOES MQ2ed - (01-26-2005)

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

Moderator: MacroQuest Developers

User avatar
SirCodeAlot
a lesser mummy
a lesser mummy
Posts: 71
Joined: Sat Feb 28, 2004 5:29 pm
Location: Don't Really Know...
Contact:

Post by SirCodeAlot » Sat Jul 10, 2004 10:47 am

I am looking in to fixing that. I just went through the process of RAID-ing my druves on my PC, so I had to go through and re-format and the whole nine-yards. I will be reinstalling EQ shortly and I will take a look at what I can do to stop that from spamming. I wish Lax would just put another error handler in the math module to just set the return to 0 if there was a divide by zero error. But, whatever....

Probably have it done by the end of the weekend.
SCA

[url]http://eq.sircodealot.net[/url]

User avatar
SirCodeAlot
a lesser mummy
a lesser mummy
Posts: 71
Joined: Sat Feb 28, 2004 5:29 pm
Location: Don't Really Know...
Contact:

Post by SirCodeAlot » Mon Jul 12, 2004 5:07 pm

Okay -

Here is what I did for the fix. I basically just took out the error handler in the math module. However, most people are not gonna wanna recompile for just a freakin' math module... So...

I will keep working =P
SCA

[url]http://eq.sircodealot.net[/url]

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Mon Jul 12, 2004 8:37 pm

Fix from the thread asking for a fix for the divide by zero error:

Code: Select all

${If[${Me.Gem[1].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[1].Mana},${Me.Gem[1].Mana},9999999999]}].Int},]}
If there's a spell in the gem, it takes your current mana and divides by the cost of the spell as long as the cost of the spell is nonzero. If the cost of the spell is zero, it divides by 9999999999, which will end up giving a 0.
This was reported as tested and working, but I haven't given it a shot yet to see for myself.

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 Jul 13, 2004 12:49 pm

Hi all, first post here. First off, I'd just like to say, awesome UI SCA.

I do have one question though, why was the ZEM removed from the UI? I know I'd find it quite useful in the rare situations when I do XP.
[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]

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Tue Jul 13, 2004 12:58 pm

I believe I read somewhere in the forum(s) that the ZEM check became irrelevant. I may be wrong.

yal
a lesser mummy
a lesser mummy
Posts: 35
Joined: Wed Oct 01, 2003 11:03 pm

Post by yal » Tue Jul 13, 2004 1:02 pm

Sony removed the ZEM info from the client. And as such it was pointless to keep it in the source for mq, and hence, this UI.

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 Jul 13, 2004 4:33 pm

Ahh, I guess I have a lot of catching up to do in the forums. Sorry about asking a redundant question but I've just started surfing here.
[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]

User avatar
SirCodeAlot
a lesser mummy
a lesser mummy
Posts: 71
Joined: Sat Feb 28, 2004 5:29 pm
Location: Don't Really Know...
Contact:

Post by SirCodeAlot » Thu Jul 29, 2004 3:04 pm

Hmm - appears the links are broken on the frontpage for no real apparent reason. You can still download it - but all the images are returning a permissions error. I will be moving the files at some point to one of my other servers and that should solve the issue, so at some point in the near future, it might not be available for a short time.
SCA

[url]http://eq.sircodealot.net[/url]

User avatar
SirCodeAlot
a lesser mummy
a lesser mummy
Posts: 71
Joined: Sat Feb 28, 2004 5:29 pm
Location: Don't Really Know...
Contact:

Post by SirCodeAlot » Tue Aug 03, 2004 4:19 pm

All links have been fixed. Sorry for any inconvience...

Someone turned on hotlink protection on my website and it was crapping out all the links. All fixed though.

SCA
SCA

[url]http://eq.sircodealot.net[/url]

User avatar
Aarrow
a lesser mummy
a lesser mummy
Posts: 30
Joined: Thu Aug 12, 2004 2:38 pm

Post by Aarrow » Thu Aug 12, 2004 4:23 pm

I am adding to the spell bar a distance notifier. Basically, it will display if you are close enough to your target to cast on it, and if you're not, it displays how much closer you need to get. It will be red if they're out of range, yellow if they are in range, but you can't cast on them because they are out of your line of sight, and green if you can cast on them. I'll post the code here when I'm finished if people are interested.

User avatar
SukMage
a ghoul
a ghoul
Posts: 88
Joined: Fri Jun 04, 2004 5:08 pm

Post by SukMage » Thu Aug 12, 2004 8:39 pm

That's great idea IMO Aarrow as I find myself looking at the target distance indicator (knowing what my distances are) all the time when soloing or pulling for the group.

The only question I have for you is where will the indicator be? In my spell set that I use for both solo and group I have at least 3 different ranges to cast on the mob. Would it be next to each gem? If so, would that not increase the size of the window more and add more clutter with 8 indicators in the bar? It'd be interresting to see but I think that should it increase the size of the bar anymore or have added clutter, I for one would stick to the old one. If you're feeling froggy, by all means post a new thread for the indicator and I'd love to see the pic. :)

User avatar
Aarrow
a lesser mummy
a lesser mummy
Posts: 30
Joined: Thu Aug 12, 2004 2:38 pm

Finished

Post by Aarrow » Thu Aug 12, 2004 9:11 pm

This is my first attempt at modding a UI, so it took me some time to figure it out, but here it is (this is for the first spell gem)

Code: Select all

	<Label item="MQ_Spell1A">
		<ScreenID>MQ_Spell1A</ScreenID>
		<EQType>9999</EQType>
		<Font>5</Font>
		<TooltipReference>${Int[${If[${Math.Calc[${Target.Distance}-${Me.Gem[1].Range}]}>0,${Math.Calc[${Target.Distance}-${Me.Gem[1].Range}]},]}]}</TooltipReference>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>95</X>
			<Y>12</Y>
		</Location>
		<Size>
			<CX>100</CX>
			<CY>20</CY>
		</Size>
		<Text>100</Text>
		<TextColor>
			<R>255</R>
			<G>0</G>
			<B>0</B>
		</TextColor>
		<NoWrap>true</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
		<AlignLeft>true</AlignLeft>
	</Label>
	<Label item="MQ_Spell1B">
		<ScreenID>MQ_Spell1B</ScreenID>
		<EQType>9999</EQType>
		<Font>5</Font>
		<TooltipReference>${If[${Math.Calc[(${Target.Distance}-${Me.Gem[1].Range})*-1]}>0,${If[${Target.ID}==NULL,"-",${If[${Target.LineOfSight}==FALSE,0,]}]},]}</TooltipReference>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>95</X>
			<Y>12</Y>
		</Location>
		<Size>
			<CX>100</CX>
			<CY>20</CY>
		</Size>
		<Text>100</Text>
		<TextColor>
			<R>255</R>
			<G>255</G>
			<B>0</B>
		</TextColor>
		<NoWrap>true</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
		<AlignLeft>true</AlignLeft>
	</Label>
	<Label item="MQ_Spell1C">
		<ScreenID>MQ_Spell1C</ScreenID>
		<EQType>9999</EQType>
		<Font>5</Font>
		<TooltipReference>${If[${Math.Calc[(${Target.Distance}-${Me.Gem[1].Range})*-1]}>0,${If[${Target.ID}==NULL,"",${If[${Target.LineOfSight}==TRUE,"Cast",]}]},]}</TooltipReference>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>95</X>
			<Y>12</Y>
		</Location>
		<Size>
			<CX>100</CX>
			<CY>20</CY>
		</Size>
		<Text>100</Text>
		<TextColor>
			<R>0</R>
			<G>255</G>
			<B>0</B>
		</TextColor>
		<NoWrap>true</NoWrap>
		<AlignCenter>false</AlignCenter>
		<AlignRight>false</AlignRight>
		<AlignLeft>true</AlignLeft>
	</Label>
Just paste it in the EQUI_CastSpellWnd.xml (I added under the MQ_Spell# section for each spell gem). Make sure to paste it 8 times, once for each spell gem, and remember to change

Code: Select all

	<Label item="MQ_Spell1A">
		<ScreenID>MQ_Spell1A</ScreenID>
to

Code: Select all

	<Label item="MQ_Spell2A">
		<ScreenID>MQ_Spell2A</ScreenID>
for etc. for each spell gem, and also the

Code: Select all

${Me.Gem[1].Range}
to

Code: Select all

${Me.Gem[2].Range}
for each gem also.
Lastly add

Code: Select all

		<Pieces>MQ_Spell1A</Pieces>
		<Pieces>MQ_Spell2A</Pieces>
		<Pieces>MQ_Spell3A</Pieces>
		<Pieces>MQ_Spell4A</Pieces>
		<Pieces>MQ_Spell5A</Pieces>
		<Pieces>MQ_Spell6A</Pieces>
		<Pieces>MQ_Spell7A</Pieces>
		<Pieces>MQ_Spell8A</Pieces>
		<Pieces>MQ_Spell1B</Pieces>
		<Pieces>MQ_Spell2B</Pieces>
		<Pieces>MQ_Spell3B</Pieces>
		<Pieces>MQ_Spell4B</Pieces>
		<Pieces>MQ_Spell5B</Pieces>
		<Pieces>MQ_Spell6B</Pieces>
		<Pieces>MQ_Spell7B</Pieces>
		<Pieces>MQ_Spell8B</Pieces>
		<Pieces>MQ_Spell1C</Pieces>
		<Pieces>MQ_Spell2C</Pieces>
		<Pieces>MQ_Spell3C</Pieces>
		<Pieces>MQ_Spell4C</Pieces>
		<Pieces>MQ_Spell5C</Pieces>
		<Pieces>MQ_Spell6C</Pieces>
		<Pieces>MQ_Spell7C</Pieces>
		<Pieces>MQ_Spell8C</Pieces>
Where the rest of the "Pieces" are.
Good luck with it and PM with any questions.

Edit: Now displays a - when there is no target
Last edited by Aarrow on Fri Aug 13, 2004 7:51 pm, edited 3 times in total.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Fri Aug 13, 2004 9:48 am

If you're worried about clutter, one option that comes to mind is to use this to color-code the spell names and/or mana report rather than adding an extra field.

User avatar
Aarrow
a lesser mummy
a lesser mummy
Posts: 30
Joined: Thu Aug 12, 2004 2:38 pm

Screen Shot:

Post by Aarrow » Fri Aug 13, 2004 10:27 am

Here's a screen shot
Image
*Note: I've increased the font size on the Spell Name text to 3 (it's normally 1), and also switched the spell gem icons back to the default ones*

Edit: Posted an re-updated SS and converted to a .gif so it will show up without a link.
Last edited by Aarrow on Sun Aug 15, 2004 10:56 pm, edited 2 times in total.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Aug 13, 2004 12:07 pm

That looks pretty nice.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!