How about people start making custom UI's for MQ?

Forum for posting custom UIs, portions of UIs, and HUD stuff using MQ's enhancements.

Moderator: MacroQuest Developers

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Sat Nov 08, 2003 1:52 am

Updated EQTypes:

[Zapping to keep thread clean, and free out outdated stuff... these are all in the first page code block]

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Sat Nov 08, 2003 1:54 am

Lax wrote:Next order of business is see if we can make our own xml type that uses strings instead of numbers, so we can just parse the string directly with PMP...
While that would be good, I'd have to say that buttons would be a helluva lot more useful. The numbers are a bit of a hassle but once you adjust it's not a biggy.. Buttons.. So much power in buttons ;)

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat Nov 08, 2003 1:55 am

In fact I know exactly what to do. Hold the parade, I'll have some code up soon
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Sat Nov 08, 2003 1:59 am

I think to do this "right", it would require:
1. Our own CPMPLabel class based on CSIDLWND with a custom Draw method that would send our <PMPString> tag value through ParseMacroParameter()
2. Editing SIDL.xml to define our class's xml layout.
3. A hook in the XML parser to interpret our class during parsing, initalize it, etc...
- Plazmic

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat Nov 08, 2003 2:09 am

I've got something easier I think.

Hook CLabel__Draw which is 0x4F903B
public: virtual int __thiscall CLabel::Draw(void)const

SlotID is the variable for the EQType. If SlotID==MQL_CUSTOM, trampoline then PMP the XMLToolTip which is from <ToolTipReference> tag. Set window text equal to the parsed result, and we're golden. If it's not our custom slot id then just trampoline.

Try that, too busy right now to whip it up but could do it in the morning if needed
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

kagonis
a hill giant
a hill giant
Posts: 228
Joined: Sat May 24, 2003 8:48 pm

Post by kagonis » Sat Nov 08, 2003 2:28 am

Should add $target(id) to the above list, would be a nice way to keep track of the mobs, especially for debuffing multiple mobs that are standing on top of each other :)

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Sat Nov 08, 2003 2:31 am

Done coding the custom id's, just need to test it quick, then I'll update the main post.
- Plazmic

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Sat Nov 08, 2003 2:49 am

Front page updated with new code...
- Plazmic

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Sat Nov 08, 2003 2:50 am

Plazmic wrote:Front page updated with new code...
Going to be updating zip?

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sat Nov 08, 2003 2:51 am

Relax for a few, grab coffee grab smoke whatever, getting my version to work ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Sat Nov 08, 2003 2:51 am

Lax wrote:Relax for a few, grab coffee grab smoke whatever, getting my version to work ;)
Need.. Now.. *twitch* Actually I'll just add it onto my own. Sorry I seem a lil eager :P

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Sat Nov 08, 2003 2:51 am

Me or him? grabbing a smoke myself ;)

and just in case it isn't obvious... the old hook and detour/trampoline (and #define in mq.h) go away
- Plazmic

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Sat Nov 08, 2003 2:55 am

Oh, and I just checked this thread is averaging about 1 view every minute for the last 4 hours ;)
- Plazmic

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Post by Plazmic » Sat Nov 08, 2003 3:04 am

Was thinking... should we put the <115 check back in to save a couple cycles when it is a standard VI EQType?
- Plazmic

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Sat Nov 08, 2003 3:06 am

Plazmic wrote:Was thinking... should we put the <115 check back in to save a couple cycles when it is a standard VI EQType?
Might as well.