View Single Post
  #12  
Unread 03-16-2009, 03:26 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 Lanadad View Post
I like that, kind of trying to get the hang of this XML. Putting in some time to understand the mechanics of what you built into that nifty UI.
For the code I just added, the important parts are:

If you are in detailed con mode it switches the mode, delays execution for a moment until (hopefully) the simple mode con brackets have been initialized by game code, and then switches the con mode back. If you are already in simple con mode it goes directly to the next step.

Then it checks whether the info text is visible. If it is not, the target is not attackable, in which case the search buttons are hidden (I know some named mobs are not attackable until a certain condition is met but I thought that didn't warrant a specific lookup code for those).

If the target is attackable, then it checks whether any con brackets are visible in the (now initalized) v1 page. If yes, it assumes a mob (I'm not sure about this assumption and PvP servers) and uses the search plugin to search the web. If no, it assumes a player and does an /inspect_player.

Quote:
Originally Posted by gm9 View Post
And ok I guess I could add search buttons to the clock window also (it would have to be a different dynamicdata though, what's showing is the region name, not the zone name). I thought you were requesting this for the target window.
actually thinking about this more it might make more sense to add this as an EQ2MAP plugin, that way you could lookup any selected zone.
__________________
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