Quote:
Originally Posted by Lanadad
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
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.