EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-12-2007, 07:17 AM
Rolle Rolle is offline
A Young Mystail Rat
 
Join Date: Jun 2005
Server: Splitpaw
Posts: 2
Post Help with name of groupmember in xml

I am trying to modify the groupwindow mod i use with clicktocure.
Basically what i want is use the new usabilityonplayer instead of usability.

So when i click the trauma debuff icon on a player in the groupwindow (actually myself in the playerwindow too) i would like to use useabilityonplayer <name> Cure xxx to avoid changing targets.

Now how do i get a name for the groupmember (or myself) to make this workable

/random_rolle
__________________
--
Everyone is someone elses wierdo
Reply With Quote
  #2  
Unread 03-12-2007, 10:05 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

You'll want to use Parent.Name.LocalText to get the name.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #3  
Unread 10-04-2007, 01:21 PM
bassman bassman is offline
A Young Mystail Rat
 
Join Date: Nov 2005
Server: Antonia Bayle
Posts: 4
Default

Wanted to know if this was possible. Been waiting to see if someone would code this and since I haven't seen it yet, was going to try and tackle it myself.

Using the dynamic data you can get the name of every group member with ease.

If you use the
/usability <abilityname>
Parent.<Buttonname>.sPlayerName = Parent.Name.LocalText

It works without having to target a group member. However, I haven't tested yet to see if while being forced taunted it still works or the command
/useabilityonplayer was truely needed.

Since I cant seem to use the code in the literal line such as
/useabilityonplayer Parent.Name.LocalText <Name of spell>

Was wondering what an alternative could be to make this line work correctly.
Reply With Quote
  #4  
Unread 10-04-2007, 01:51 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

Sorry, what are you trying to do?
__________________

Visit Othesus World!
Reply With Quote
  #5  
Unread 10-04-2007, 02:11 PM
bassman bassman is offline
A Young Mystail Rat
 
Join Date: Nov 2005
Server: Antonia Bayle
Posts: 4
Default

I'll try not to clutter it with a lot of info this time. :0

During pvp, you get taunted for long periods of time and you cannot target someone in your group to heal them. I'd like to use the command /useabilityonplayer <name of group member> <name of spell>
this way i don't need to be targeting them to heal them.

When I try /useabilityonplayer Parent.Name.LocalText Greater Chloroplast

it takes it literally as the name of the person is Parent.Name.LocalText instead of the dynamic data.

If I simply use /useability Greater Chloroplast and then use
Parent.ButtonName.sPlayerName = Parent.Name.LocalText

Will this heal the person without me actually being able to target them? Or do I need the /useabilityonPlayer. If I do need the onplayer command, how do I pass it the name from the dynamic data ?
Reply With Quote
  #6  
Unread 10-04-2007, 02:44 PM
bassman bassman is offline
A Young Mystail Rat
 
Join Date: Nov 2005
Server: Antonia Bayle
Posts: 4
Default

Think I'm going to answer my own question.

<Button Location="4,65" MaximumSize="16,16" MinimumSize="16,16" Name="M5BOne" OnPress="tell=(Parent.Member5.Name.LocalText)##(' ')##(Parent.Parent.Parent.Spells.BOne.Text) tell=(Parent.Member5.Name.LocalText)##(' ')##(Parent.Parent.Parent.Spells.BOne.Text) tell=''" OnActivate="clearallqueuedabilities=1 useabilityonplayer=(Parent.Member5.Name.LocalText)##(' ')##(Parent.Parent.Parent.Spells.BOne.SpellName) cancel_spellcast=1 clearallqueuedabilities=1" OnDeactivate="OnDeactivate='' clearallqueuedabilities=1 useabilityonplayer=(Parent.Member5.Name.LocalText)##(' ')##(Parent.Parent.Parent.Spells.BOne.SpellName) cancel_spellcast=1 clearallqueuedabilities=1" RStyleDefault="BOneStyle" ScrollExtent="16,16" Size="16,16" />


Found this example in some code.. going to try it now.
Reply With Quote
  #7  
Unread 10-04-2007, 03:00 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

I use useabilityonplayer in my click-cures just fine and it casts on the right person.

Are you including the "/" in your OnPress (or whatever) attribute?
Reply With Quote
  #8  
Unread 10-04-2007, 03:14 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

I think his problem is that he is trying to modify an existing click-to-cure mod that he isn't telling us about, which is why we can't understand what he is on about.
__________________
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
  #9  
Unread 10-04-2007, 08:07 PM
bassman bassman is offline
A Young Mystail Rat
 
Join Date: Nov 2005
Server: Antonia Bayle
Posts: 4
Default

Thanks for the response lordebon. Since it did work for you I kept at it and it turns out I forgot one more level of container on the variable.

Should have been 3 Parents instead of 2 before the Name.LocalText.

Appreciate the positive response which let me know I was on the right track.
Reply With Quote
  #10  
Unread 10-04-2007, 11:15 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

Quote:
Originally Posted by bassman View Post
I'll try not to clutter it with a lot of info this time. :0

During pvp, you get taunted for long periods of time and you cannot target someone in your group to heal them. I'd like to use the command /useabilityonplayer <name of group member> <name of spell>
this way i don't need to be targeting them to heal them.
I don't play PvP but taunts are supposed to lock your target for a period of time so sneaking around that mechanic sounds like an exploit to me. Refer to this thread:
http://forums.station.sony.com/eq2/p...opic_id=356626
__________________

Visit Othesus World!
Reply With Quote
  #11  
Unread 10-05-2007, 09:40 AM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

While I agree that it has potential for being an exploit, until SOE says or does otherwise I would consider it Working As Intended for PvE. Being able to work around mob's different effects in PvE is part of a successful raid.

I don't play PvP either, but I do agree that it has much more potential to be exploitative there. But again seeing as we've had the command for some time now, I would just offer up a /feedback or even a /bug and use it or not as you see fit unless/until they change it.

I just hope they don't change it for PvE, as there I don't think it's an exploit at all.
Reply With Quote
  #12  
Unread 10-05-2007, 01:51 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

Ok, if you didn't read the thread here's the quote from Rothgar:
Quote:
Rothgar wrote:

This was indeed a bug and has already been fixed. I believe it was scheduled to go out with GU34, but seeing as this is more of an exploit especially in PvP combat, I'll see about getting this hot-fixed.
Taunts lock your target in PvP; they don't in PvE.
__________________

Visit Othesus World!

Last edited by Othesus : 10-05-2007 at 01:53 PM.
Reply With Quote
  #13  
Unread 10-07-2007, 10:24 AM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Well then if it's already fixed in PVP then there's no issue at all =)

And yes taunts don't lock your target in PvE but like I said I'm pretty sure there is a mob or two that has an ability to do it.
Reply With Quote
  #14  
Unread 10-07-2007, 03:02 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

Ehm... just to clarify, yes some mob taunts do lock your target in PvE. I believe the intent here was to prevent you from switching mobs/enemies, not to prevent you from healing/curing other "friendly" players.

Haven't tested it recently, but at one point on PvE servers these taunts would prevent you from targeting friendlies, so useabilityon was needed to heal/cure while taunted.
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 04:29 PM.


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