EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-25-2007, 02:26 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default Click to Cure bug in the Player and Group window

I was putting together a player window today with click-to-cure and I was looking at your player and group windows for reference. I noticed that you use the script:

OnPress="target_allow_self_pet_toggle 0
useability Cure Trauma
target_previous
target_allow_self_pet_toggle 1"

The command is actually /target_allow_pet_self_toggle and it doesn't work without the = in scripts so for my window I ended up using:

OnHoverIn="target_allow_pet_self_toggle=0 target_allow_pet_self_toggle=0" OnHoverOut="target_allow_pet_self_toggle=1 target_allow_pet_self_toggle=1"

in the parent page and then:

OnPress="useability Cure Trauma
target_previous"

on each button.

Here's the custom player window I put together:
http://www.eq2interface.com/forums/s...7530#post57530
Reply With Quote
  #2  
Unread 04-19-2007, 04:38 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Oh, thanks, they must have changed the command then, I know it was working when I released it.

It don't use "=" for any scripts usually and I never had a report that functionality using my "="-less notation does not work. Are you sure that it does not work for you? That would explain the mystery why everybody is using the "="-notation and the command doubling that goes along with it.
__________________
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
  #3  
Unread 04-19-2007, 06:31 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

Well, the toggling between yourself and your pet is a pretty isolated case. If you're targeting the tank, like a normal healer would, the target just switches to you, you cast the cure, and your target switches back to the tank. If you're targeting your pet, like a summoner or something, the target switches to you, you cast the cure, and your target switches back to your pet. The problem only happens if you're targeting yourself to begin with. Then, when you click on the cure button, the target switches to your pet, you cast the cure on your pet, and the target switches back to you.

You can try it without the = but I'm pretty sure I couldn't get it to work.
Reply With Quote
  #4  
Unread 04-19-2007, 07:06 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Sure, I understand the problem, that's why the command is in there, they just seem to have changed it by switching "self" and "pet" around. And I copy'n'pasted from my group window without considering that for the player window I need the OnHover notation that I'm also using for the group members (you don't need it in the group window for yourself since the target will not automatically switch to you if you click there).

Commands with parameters always worked for me without "=" and command doubling.

Thanks!
__________________
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
  #5  
Unread 04-19-2007, 08:39 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

Hmm, you're sure? Here's LU #20:
http://forums.station.sony.com/eq2/p...53067&#2790262

Not really a big deal... I'm just saying what I ended up with after many hours of debugging and testing.

Last edited by Othesus : 04-19-2007 at 08:48 AM.
Reply With Quote
  #6  
Unread 04-20-2007, 02:50 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Lol, not sure anymore at least, that's compelling evidence!
It appeared to be working well enough while I tested it, must have broken it somewhere along the line. Thanks again, for all your help around here actually!
__________________
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
  #7  
Unread 04-30-2007, 08:11 PM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

I was just trying out your UI and the pet toggle from the player window still doesn't work quite right. If you target yourself it cures your pet. It's pretty easy to test, since when you hover over the button, F1 shouldn't toggle between yourself and your pet anymore.

There's a small typo in this line I noticed.

<Button LocalTooltip="Cure Trauma" MouseOverTextColor="#FF0000" Name="CureEffect1" NormalTextColor="#FFFFFF" OnHoverIn="target_allow_pet_self_toggle 0" OnHoverOut="target_allow_pet_self_toggle 1" OnPress="useability Cure Trauma
target_previous1" Opacity="0.000" ScrollExtent="18,18" Size="18,18" Style="/Profit.invisible" Tooltip="Cure Trauma"></Button>
Reply With Quote
  #8  
Unread 04-30-2007, 09:38 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

ah dang, thanks.
__________________
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.

Last edited by gm9 : 05-01-2007 at 04:38 AM.
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:35 AM.


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