EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 12-14-2006, 04:59 AM
Arremis Arremis is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 108
Default Z-Man's Click-to-Cure Buttons

In the game when you're casting a spell and you click another spell button it causes the second one to queue. I was poking around in the xml files today when something came to my attention. In the Click-to-Cure button for Trauma cures I noticed it sensically starts with the highest level cure and digs through the spellbook until it finds it. When playing a templar, they have both Ardent Resolve (Level 56) and Cure Arcane (Level 28), both which appear in the Click-to-Cure Trauma button.

My question is, when you click on the button, and it casts Ardent Resolve, why does it not queue and cast Cure Trauma?
Reply With Quote
  #2  
Unread 12-14-2006, 07:36 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Ehmm... depends how this flavor of ClickCures is implemented. I've seen more complex versions that use class and level comparisons to cast only the highest cure available for your class and lvl.

My ClickCures implementation (the original) uses a simple "try them all from high - low" aproach. If that's the case with this mod...

I'm guessing both spells are on the same refresh timer, in which case it does queue Cure Arcane, its just not ready to be cast just after the higher level spell has been cast.

Queued actions cancel after a short time if the spell is still refreshing.
Reply With Quote
  #3  
Unread 12-14-2006, 10:56 AM
Arremis Arremis is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 108
Default

I'm interested in this 'class and level comparisons' idea. Can you explain it to me, perhaps an example I can look at?
Reply With Quote
  #4  
Unread 12-14-2006, 05:39 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

I seam to recall a version that used a separate datasource for each class and debuff type. Items in a given datasource listed the spell name to be cast at each level. It then used DynamicData for class and level to reference the corisponding spell from the datasource for the useability command.

You'll have to find which mod is setup this way. I didn't set mine up this way for several reasons.

1) Editing the spell list becomes much more of a hasle. You have to include a spell name for every level, even if its the same spell.

2) It wont automatically attempt the variants of the cure unless you list those at every level also.

3) The code is WAY more complicated, making it much more likely a novice user will mangle the code attempting to change the spell list.

4) This implementation depends on concatination, which wasn't posible when I first released ClickCures.

The only real advantage is that it cuts down on most of the "can't find that spell" spam.
Reply With Quote
  #5  
Unread 12-14-2006, 06:08 PM
Arremis Arremis is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 108
Default

Wow Z-Man you continue to impress me with your linear logic....makes perfect sense....it would be a HUGE undertaking and LOT of debugging....sounds like fun MWAHAHAHA!!! Still learning here but I'm not about to pass up any oppertunity to pick that gnomish noggin of yours hehehe thanks
Reply With Quote
  #6  
Unread 12-15-2006, 10:36 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

For the record, Z-Man is an entierly different person.

Oh and Zonx is a female troll. She eats gnomes by the bag full
Reply With Quote
  #7  
Unread 12-15-2006, 05:09 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by Zonx
For the record, Z-Man is an entierly different person.
Multiple personality disorder?

And don't you dare to pick your teeth with my gnomish self!
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #8  
Unread 12-15-2006, 05:49 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Gnomes aren't fer eating... they're fer punting!

The Gnome is back, it's up, it's going... going... going... it's good!
Reply With Quote
  #9  
Unread 12-16-2006, 04:36 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Seriously, Z-Man is a totaly different author. The Z-Man version of ClickCures was not produced by me.
Reply With Quote
  #10  
Unread 12-16-2006, 07:11 AM
Arremis Arremis is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 108
Default

Oh Oh Oh I get it now....Z-Man is the guy who does the Click-to-Cures and Z-Babe is the troll with gnomish brain! That makes sense
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:58 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI