EQ2Interface.com
Search Downloads


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

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-26-2005, 10:19 AM
flemer flemer is offline
A Brown Bear
 
Join Date: Nov 2004
Server: Runnyeye
Posts: 10
Default useability command

Hiya, I've been tinkering with the usagealarm popup window in so far as adding buttons to cast a set of buffs for a guardian.
A couple of his abilities contain an apostrophe which seems to cause some problems with the useability command :
for example
onpress="useability='Briteblade's Command' useability='Briteblade's Command'"

This returns the message 'unable to find spell briteblade in your knowledge book', as the apostrophe in the word briteblade's is considered to be the end of the event as well as another error as it tries to do something with the s Command part of the dialogue..
I have tried using () around the ability instead of apostrophes, but this seems to close down EQ.

If you lot have got any little trick that I've not tried I'd be grateful, cheers.
__________________
Pity of ====Runnyeye====
Iksar Inquisitor and Craftsman
Reply With Quote
  #2  
Unread 06-26-2005, 11:15 AM
Faetyl's Avatar
Faetyl Faetyl is offline
Freeport Pizza Delivery
Featured
 
Join Date: Mar 2005
Server: Unrest
Posts: 1,212
Default

Quote:
Originally Posted by flemer
Hiya, I've been tinkering with the usagealarm popup window in so far as adding buttons to cast a set of buffs for a guardian.
A couple of his abilities contain an apostrophe which seems to cause some problems with the useability command :
for example
onpress="useability='Briteblade's Command' useability='Briteblade's Command'"

This returns the message 'unable to find spell briteblade in your knowledge book', as the apostrophe in the word briteblade's is considered to be the end of the event as well as another error as it tries to do something with the s Command part of the dialogue..
I have tried using () around the ability instead of apostrophes, but this seems to close down EQ.

If you lot have got any little trick that I've not tried I'd be grateful, cheers.

Try this:
onpress="usea='Briteblade' usea='Briteblade'"

(If I remember correctly you only have to put in enough to destinguish it from other commands hence the "usea".)
I setup a havest macro on all my characters to the following:
: ; usea Collecting ; usea Fishing ; usea Foresting ; usea Gathering ; usea Mining ; usea Trapping
Then assign that macro to the main hotbar and have my mouse setup for one of the buttons to initiate the harvest macro...
Ok, I'm getting of the subject now

Let me know if it works for you.

Thor/Faetyl
Reply With Quote
  #3  
Unread 06-26-2005, 02:44 PM
Magus Magus is offline
A Griffon
 
Join Date: Apr 2005
Server: Mistmoore
Posts: 541
Default

Try escaping the ' with a \, like \'
Reply With Quote
  #4  
Unread 06-26-2005, 08:12 PM
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

For any command or ability containing an apostrophe, you must use the following format:


<Button X="Briteblade's Command" OnPress="usea=(X) usea=(X)" ...
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #5  
Unread 06-27-2005, 02:29 AM
flemer flemer is offline
A Brown Bear
 
Join Date: Nov 2004
Server: Runnyeye
Posts: 10
Default

Nice one, thanks for the advice, off to tinker now.
__________________
Pity of ====Runnyeye====
Iksar Inquisitor and Craftsman
Reply With Quote
  #6  
Unread 07-03-2005, 07:18 PM
dischordio dischordio is offline
A Young Mystail Rat
 
Join Date: Apr 2005
Server: Antonia Bayle
Posts: 5
Default

easier solution: use the spell number instead of the name. drag spell to chat like an item link. copy, paste in a text editor. the number has a trailing L. drop the L, and use the number in your UI or macro.
Reply With Quote
  #7  
Unread 07-04-2005, 02:16 AM
flemer flemer is offline
A Brown Bear
 
Join Date: Nov 2004
Server: Runnyeye
Posts: 10
Default

Nice dischordio, already used the x=spell'name for my window and it's working as intended, however nice to know you can use the spell number instead. May well come in useful. Thanks
__________________
Pity of ====Runnyeye====
Iksar Inquisitor and Craftsman
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 11:49 AM.


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