Page 9 of 12
Posted: Sat Jul 10, 2004 10:47 am
by SirCodeAlot
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.
Posted: Mon Jul 12, 2004 5:07 pm
by SirCodeAlot
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
Posted: Mon Jul 12, 2004 8:37 pm
by magictiger
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.
Posted: Tue Jul 13, 2004 12:49 pm
by A_Druid_00
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.
Posted: Tue Jul 13, 2004 12:58 pm
by aChallenged1
I believe I read somewhere in the forum(s) that the ZEM check became irrelevant. I may be wrong.
Posted: Tue Jul 13, 2004 1:02 pm
by yal
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.
Posted: Tue Jul 13, 2004 4:33 pm
by A_Druid_00
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.
Posted: Thu Jul 29, 2004 3:04 pm
by SirCodeAlot
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.
Posted: Tue Aug 03, 2004 4:19 pm
by SirCodeAlot
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
Posted: Thu Aug 12, 2004 4:23 pm
by Aarrow
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.
Posted: Thu Aug 12, 2004 8:39 pm
by SukMage
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. :)
Finished
Posted: Thu Aug 12, 2004 9:11 pm
by Aarrow
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
to
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
Posted: Fri Aug 13, 2004 9:48 am
by Cr4zyb4rd
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.
Screen Shot:
Posted: Fri Aug 13, 2004 10:27 am
by Aarrow
Here's a screen shot

*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.
Posted: Fri Aug 13, 2004 12:07 pm
by aChallenged1
That looks pretty nice.