Suggested variables

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

Moderator: MacroQuest Developers

User avatar
FreQuency
a hill giant
a hill giant
Posts: 215
Joined: Tue Sep 23, 2003 6:03 pm

Suggested variables

Post by FreQuency » Sun Nov 09, 2003 1:39 am

Not really sure where to have put this.
I know lax wants to keep the UI label aray limited but after rippign thought the readme and the ones we have now i don't see how it coulkd grow to far out of control as long as we all keep teh same labels. and in addition to the one plaz has sticked here i've thought of a few.
here are some additons i'd like t see

Code: Select all

   // 1000-1999: $char()
      {1016,   "$char(exp)"},
      {1017,   "$char(aa,exp)},

      // 4000-4999 buff info
      {4000,   "$char(buff,1,durationsecs)"}, 
      {4001,   "$char(buff,2,durationsecs)"}, 
      {4002,   "$char(buff,3,durationsecs)"}, 
      {4003,   "$char(buff,4,durationsecs)"}, 
      {4004,   "$char(buff,5,durationsecs)"}, 
      {4005,   "$char(buff,6,durationsecs)"}, 
      {4006,   "$char(buff,7,durationsecs)"}, 
      {4007,   "$char(buff,8,durationsecs)"}, 
      {4008,   "$char(buff,9,durationsecs)"}, 
      {4009,   "$char(buff,10,durationsecs)"}, 
      {4010,   "$char(buff,11,durationsecs)"}, 
      {4011,   "$char(buff,12,durationsecs)"}, 
      {4012,   "$char(buff,13,durationsecs)"}, 
      {4013,   "$char(buff,14,durationsecs)"}, 
      {4014,   "$char(buff,15,durationsecs)"}, 
      {4015,   "$char(buff,1,mod)"}, 
      {4016,   "$char(buff,2,mod)"}, 
      {4017,   "$char(buff,3,mod)"}, 
      {4018,   "$char(buff,4,mod)"}, 
      {4019,   "$char(buff,5,mod)"}, 
      {4020,   "$char(buff,6,mod)"}, 
      {4021,   "$char(buff,7,mod)"}, 
      {4022,   "$char(buff,8,mod)"}, 
      {4023,   "$char(buff,9,mod)"}, 
      {4024,   "$char(buff,10,mod)"}, 
      {4025,   "$char(buff,11,mod)"}, 
      {4026,   "$char(buff,12,mod)"}, 
      {4027,   "$char(buff,13,mod)"}, 
      {4028,   "$char(buff,14,mod)"}, 
      {4029,   "$char(buff,15,mod)"}, 
      {4030,   "$char(song,1,durationsecs)"}, 
      {4031,   "$char(song,2,durationsecs)"}, 
      {4032,   "$char(song,3,durationsecs)"}, 
      {4033,   "$char(song,4,durationsecs)"}, 
      {4034,   "$char(song,5,durationsecs)"}, 
      {4035,   "$char(song,6,durationsecs)"}, 
      {4036,   "$char(song,1,mod)"}, 
      {4037,   "$char(song,2,mod)"}, 
      {4038,   "$char(song,3,mod)"}, 
      {4039,   "$char(song,4,mod)"}, 
      {4040,   "$char(song,5,mod)"}, 
      {4041,   "$char(song,6,mod)"},

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 » Sun Nov 09, 2003 1:47 am

Your list alone is enough explanation. Notice that it takes 41 separate EQTypes just to do my buff window mod. Notice that in my mod, I don't use any EQTypes, because we built it into EQType 9999 to just parse the tooltip. Without requesting an EQType being added, you can right now use $char(exp) and $char(aa,exp) in your UI. That and for every single EQType added to our list, the time required to update our custom labels grows exponentially. If we added 100 EQTypes, that's bad enough... if we added 1000... consider 1000 squared. The cons far outweigh the pros as far as adding EQTypes go, if you don't understand then please take my word for it ;)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
FreQuency
a hill giant
a hill giant
Posts: 215
Joined: Tue Sep 23, 2003 6:03 pm

Post by FreQuency » Sun Nov 09, 2003 1:54 am

The list could be shrunk very simple by removing all the "$char(buff,#,mod)" yes the tool tip is very nice.
I liek to be able to glance over and see the time left on my buffs and not have to fumble around with tooltips (i have a small buff window)
Also i don't believe that once the list is going it would be too mcuh of a hassle, but i mentioned this elsewhere.

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 » Sun Nov 09, 2003 1:59 am

I have a very small buff window also. The tooltips on our labels dont pop up in game. The only thing that shows is the text we want to see.
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 » Sun Nov 09, 2003 2:10 am

I agree that the list should be left very short. It's nice to have, but unless we made it "blazing fast", it would drop FPS quite a bit if you had a UI with a lot of MQ labels on screen.

Side notes:
Labels are not updated if the window isn't visible.
EQ's internal types (EQType's<115) don't go through our loop since we skip them
- Plazmic

User avatar
FreQuency
a hill giant
a hill giant
Posts: 215
Joined: Tue Sep 23, 2003 6:03 pm

Post by FreQuency » Sun Nov 09, 2003 2:14 am

I have a very small buff window also. The tooltips on our labels dont pop up in game. The only thing that shows is the text we want to see.
lost me on this Lax does this mean the tool tip is always up and we don't need a mousehoover over it?, sorry jsut compiled now going in to play around

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 » Sun Nov 09, 2003 2:18 am

The tooltips dont display at all, on labels. Labels dont draw tooltips, only controls do. However, the structure of SIDL allows us to set the tooltip of labels, even though it will never be drawn. We exploit that fact by using what's stored as the tooltip, parsing it, and setting the label's text to the result.

Play with it, you will see and you will agree :)
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

User avatar
FreQuency
a hill giant
a hill giant
Posts: 215
Joined: Tue Sep 23, 2003 6:03 pm

Post by FreQuency » Sun Nov 09, 2003 2:33 am

ok now that thats is cleared up forget me hehe, thats much nicer :)
sorry for doubting Lax /bow.
I was under the impression we need to pop up the tooltip