Divine Arb Problem..

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

Moderator: MacroQuest Developers

Riddlerr
a ghoul
a ghoul
Posts: 137
Joined: Sun May 23, 2004 10:40 am

Divine Arb Problem..

Post by Riddlerr » Fri Nov 19, 2004 8:02 pm

this is one of the mutiple hud parts that i use and one day this on just disapperd from my hud any reason why is not showing?

Code: Select all

        Divine Arb1=3,005,440,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]},Divine Arb.,]} 
        Divine Arb2=3,070,440,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]}, Up,]} 
        Divine Arb3=3,005,440,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["FALSE"]},Divine Arb.,]} 
        Divine Arb4=3,070,440,255,000,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["FALSE"]}, Down,]} 
        Divine Arb5=3,110,440,255,255,000,${Me.AltAbilityTimer[Divine Arbitration].TimeHMS}
It’s a scientific fact that light travels faster than sound, this is why most people appear to be bright before you hear them speak.

Trexil
orc pawn
orc pawn
Posts: 11
Joined: Fri Aug 27, 2004 9:03 pm

Post by Trexil » Fri Nov 19, 2004 11:31 pm

Check and see if your lagbar is showing. if not, hit f11

Riddlerr
a ghoul
a ghoul
Posts: 137
Joined: Sun May 23, 2004 10:40 am

Post by Riddlerr » Fri Nov 19, 2004 11:34 pm

no everything esle is working just not this set of code. i replaced it with someone elses d arb code and still nothing. is there something wrong with divine arb code or am i the only one this is happening to..
this is my whole hud.

Code: Select all

           RealTime=1,050,025,255,255,255,Time: ${Time.Time24} 
	    Tribute=1,005,640,255,255,000,Tribute - ${Me.CurrentFavor}
              PctXP=1,1220,725,255,255,000,XP  ${Me.PctExp}%
            PctAAXP=1,1220,735,255,255,000,AA ${Me.PctAAExp}%
     CursorItemName=7,-15,-15,255,255,255,${If[${Cursor.ID},${Cursor},]} 

        TargetLevel=1,150,745,255,255,000,${Target.Level}
	TargetClass=1,165,745,255,255,000,${Target.Class.ShortName}
      TargetHeading=1,200,745,255,255,000,${Target.HeadingTo.ShortName}
     TargetDistance=1,230,745,255,255,000,${Target.Distance}


  Spell1CastAmmount=1,490,692,000,255,255,${If[${Me.Gem[1].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[1].Mana},${Me.Gem[1].Mana},9999999999]}].Int},]}
  Spell2CastAmmount=1,526,692,000,255,255,${If[${Me.Gem[2].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[2].Mana},${Me.Gem[2].Mana},9999999999]}].Int},]}
  Spell3CastAmmount=1,562,692,000,255,255,${If[${Me.Gem[3].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[3].Mana},${Me.Gem[3].Mana},9999999999]}].Int},]} 
  Spell4CastAmmount=1,599,692,000,255,255,${If[${Me.Gem[4].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[4].Mana},${Me.Gem[4].Mana},9999999999]}].Int},]}
  Spell5CastAmmount=1,636,692,000,255,255,${If[${Me.Gem[5].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[5].Mana},${Me.Gem[5].Mana},9999999999]}].Int},]}
  Spell6CastAmmount=1,673,692,000,255,255,${If[${Me.Gem[6].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[6].Mana},${Me.Gem[6].Mana},9999999999]}].Int},]}
  Spell7CastAmmount=1,707,692,000,255,255,${If[${Me.Gem[7].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[7].Mana},${Me.Gem[7].Mana},9999999999]}].Int},]}
  Spell8CastAmmount=1,746,692,000,255,255,${If[${Me.Gem[8].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[8].Mana},${Me.Gem[8].Mana},9999999999]}].Int},]}
  Spell9CastAmmount=1,786,692,000,255,255,${If[${Me.Gem[9].ID},${Math.Calc[${Me.CurrentMana}/${If[${Me.Gem[9].Mana},${Me.Gem[9].Mana},9999999999]}].Int},]}
       
             Spawn1=1,005,660,255,255,000,${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Level},]} - ${If[${NearestSpawn[1,npc #].Name.NotEqual["NULL"]},${NearestSpawn[1,npc #].Name},]} 
             Spawn2=1,005,670,255,255,000,${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Level},]} - ${If[${NearestSpawn[2,npc #].Name.NotEqual["NULL"]},${NearestSpawn[2,npc #].Name},]} 
             Spawn3=1,005,680,255,255,000,${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Level},]} - ${If[${NearestSpawn[3,npc #].Name.NotEqual["NULL"]},${NearestSpawn[3,npc #].Name},]} 
             Spawn4=1,005,690,255,255,000,${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Level},]} - ${If[${NearestSpawn[4,npc #].Name.NotEqual["NULL"]},${NearestSpawn[4,npc #].Name},]} 


G1C=3,621,864,255,255,000,${If[${Group[1].ID},${Group[1].Level} ${Group[1].Class.ShortName},]} 
G2C=3,621,895,255,255,000,${If[${Group[2].ID},${Group[2].Level} ${Group[2].Class.ShortName},]} 
G3C=3,621,926,255,255,000,${If[${Group[3].ID},${Group[3].Level} ${Group[3].Class.ShortName},]} 
G4C=3,621,957,255,255,000,${If[${Group[4].ID},${Group[4].Level} ${Group[4].Class.ShortName},]} 
G5C=3,621,988,255,255,000,${If[${Group[5].ID},${Group[5].Level} ${Group[5].Class.ShortName},]}  

        
                GM1=1,005,710,255,255,000,GM:
                GM2=1,025,710,255,020,020,${If[${Spawn[GM]},Yes,]}
                GM3=1,025,710,255,255,000,${If[${Spawn[GM]},,No]}


         Mana Timer=1,005,730,255,255,000,Full Mana in ${Int[${Math.Calc[(${Me.MaxMana}-${Me.CurrentMana})/(${Me.ManaRegen}|1)/10]}]}m ${Int[${Math.Calc[(${Me.MaxMana}-${Me.CurrentMana})/(${Me.ManaRegen}|1)%10*6]}]}s
       Mana/HPRegen=1,005,740,255,255,000,Mana / HP Regen  ${If[${Me.PctMana}<100,${Me.ManaRegen},0]} / ${If[${Me.PctHPs}<100, ${Me.HPRegen},0]} 


-------------------------------------------------------- Cleric -----------------------------------------------------------------------
	       MGB1=3,005,510,255,255,000,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]},MGB,]} 
               MGB2=3,070,510,255,255,000,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["TRUE"]}, Up,]} 
               MGB3=3,005,510,255,255,000,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["FALSE"]},MGB,]} 
               MGB4=3,070,510,255,255,000,${If[${String[${Me.AltAbilityReady[Mass Group Buff]}].Equal["FALSE"]}, Down,]} 
               MGB5=3,110,510,255,255,000,${Me.AltAbilityTimer[Mass Group Buff].TimeHMS}

	Divine Arb1=3,005,520,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]},Divine Arb.,]} 
        Divine Arb2=3,070,520,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]}, Up,]} 
        Divine Arb3=3,005,520,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["FALSE"]},Divine Arb.,]} 
        Divine Arb4=3,070,520,255,000,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["FALSE"]}, Down,]} 
        Divine Arb5=3,110,520,255,255,000,${Me.AltAbilityTimer[Divine Arbitration].TimeHMS}


   Celestial Regen1=3,005,450,255,255,000,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["TRUE"]},Celest Regen,]} 
   Celestial Regen2=3,070,450,255,255,000,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["TRUE"]}, Up,]} 
   Celestial Regen3=3,005,450,255,255,000,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["FALSE"]},Celest Regen,]} 
   Celestial Regen4=3,070,450,255,000,000,${If[${String[${Me.AltAbilityReady[Celestial Regeneration]}].Equal["FALSE"]}, Down,]} 
   Celestial Regen5=3,110,450,255,255,000,${Me.AltAbilityTimer[Celestial Regeneration].TimeHMS} 

      Radiant Cure1=3,005,460,255,255,000,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]},Radiant Cure,]} 
      Radiant Cure2=3,070,460,255,255,000,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["TRUE"]}, Up,]} 
      Radiant Cure3=3,005,460,255,255,000,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["FALSE"]},Radiant Cure,]} 
      Radiant Cure4=3,070,460,255,000,000,${If[${String[${Me.AltAbilityReady[Radiant Cure]}].Equal["FALSE"]}, Down,]} 
      Radiant Cure5=3,110,460,255,255,000,${Me.AltAbilityTimer[Radiant Cure].TimeHMS} 

       Purify Soul1=3,005,470,255,255,000,${If[${String[${Me.AltAbilityReady[Purify Soul]}].Equal["TRUE"]},Purify Soul,]} 
       Purify Soul2=3,070,470,255,255,000,${If[${String[${Me.AltAbilityReady[Purify Soul]}].Equal["TRUE"]}, Up,]} 
       Purify Soul3=3,005,470,255,255,000,${If[${String[${Me.AltAbilityReady[Purify Soul]}].Equal["FALSE"]},Purify Soul,]} 
       Purify Soul4=3,070,470,255,000,000,${If[${String[${Me.AltAbilityReady[Purify Soul]}].Equal["FALSE"]}, Down,]} 
       Purify Soul5=3,110,470,255,255,000,${Me.AltAbilityTimer[Purify Soul].TimeHMS}


Bestow Divine Aura1=3,005,480,255,255,000,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]},Target DA,]} 
Bestow Divine Aura2=3,070,480,255,255,000,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["TRUE"]}, Up,]} 
Bestow Divine Aura3=3,005,480,255,255,000,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["FALSE"]},Target DA,]} 
Bestow Divine Aura4=3,070,480,255,000,000,${If[${String[${Me.AltAbilityReady[Bestow Divine Aura]}].Equal["FALSE"]}, Down,]} 
Bestow Divine Aura5=3,110,480,255,255,000,${Me.AltAbilityTimer[Bestow Divine Aura].TimeHMS}

        Divine Res1=3,005,490,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["TRUE"]},Divine Rez,]} 
        Divine Res2=3,070,490,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["TRUE"]}, Up,]} 
        Divine Res3=3,005,490,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["FALSE"]},Divine Rez,]} 
        Divine Res4=3,070,490,255,000,000,${If[${String[${Me.AltAbilityReady[Divine Resurrection]}].Equal["FALSE"]}, Down,]} 
        Divine Res5=3,110,490,255,255,000,${Me.AltAbilityTimer[Divine Resurrection].TimeHMS}

       Turn Undead1=3,005,500,255,255,000,${If[${String[${Me.AltAbilityReady[Turn Undead]}].Equal["TRUE"]},Turn Undead,]} 
       Turn Undead2=3,070,500,255,255,000,${If[${String[${Me.AltAbilityReady[Turn Undead]}].Equal["TRUE"]}, Up,]} 
       Turn Undead3=3,005,500,255,255,000,${If[${String[${Me.AltAbilityReady[Turn Undead]}].Equal["FALSE"]},Turn Undead,]} 
       Turn Undead4=3,070,500,255,000,000,${If[${String[${Me.AltAbilityReady[Turn Undead]}].Equal["FALSE"]}, Down,]} 
       Turn Undead5=3,110,500,255,255,000,${Me.AltAbilityTimer[Turn Undead].TimeHMS}



        Guardian1=3,005,520,255,255,000,${If[${String[${Me.AltAbilityReady[Guardian of the Forest]}].Equal["TRUE"]},Rabid Wolf,]} 
        Guardian2=3,070,520,255,255,000,${If[${String[${Me.AltAbilityReady[Guardian of the Forest]}].Equal["TRUE"]}, Up,]} 
        Guardian3=3,005,520,255,255,000,${If[${String[${Me.AltAbilityReady[Guardian of the Forest]}].Equal["FALSE"]},Rabid Wolf,]} 
        Guardian4=3,070,520,255,000,000,${If[${String[${Me.AltAbilityReady[Guardian of the Forest]}].Equal["FALSE"]}, Down,]} 
        Guardian5=3,110,520,255,255,000,${Me.AltAbilityTimer[Guardian of the Forest].TimeHMS}

          Hunter1=3,005,530,255,255,000,${If[${String[${Me.AltAbilityReady[Auspice of the Hunter]}].Equal["TRUE"]},Hunter,]} 
          Hunter2=3,070,530,255,255,000,${If[${String[${Me.AltAbilityReady[Auspice of the Hunter]}].Equal["TRUE"]}, Up,]} 
          Hunter3=3,005,530,255,255,000,${If[${String[${Me.AltAbilityReady[Auspice of the Hunter]}].Equal["FALSE"]},Hunter,]} 
          Hunter4=3,070,530,255,000,000,${If[${String[${Me.AltAbilityReady[Auspice of the Hunter]}].Equal["FALSE"]}, Down,]} 
          Hunter5=3,110,530,255,255,000,${Me.AltAbilityTimer[Auspice of the Hunter].TimeHMS} 
--------------------------------------------------------------------------------------------------------
It’s a scientific fact that light travels faster than sound, this is why most people appear to be bright before you hear them speak.

Trexil
orc pawn
orc pawn
Posts: 11
Joined: Fri Aug 27, 2004 9:03 pm

Post by Trexil » Fri Nov 19, 2004 11:50 pm

Code: Select all

DvAAAtext=3,5,415,255,234,8,Divine Arbitration - - - -
DvAgreenreadytext=3,120,415,0,255,0,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]},Ready,]}
DvARednotready=3,120,415,255,0,0,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]}, ,${Me.AltAbilityTimer[Divine Arbitration].TimeHMS}]}

Riddlerr
a ghoul
a ghoul
Posts: 137
Joined: Sun May 23, 2004 10:40 am

Post by Riddlerr » Fri Nov 19, 2004 11:51 pm

tryed it.. didnt work.. wonder if there is something wrong with my compile of mq.. but i dont think i changed anything the day it happend
It’s a scientific fact that light travels faster than sound, this is why most people appear to be bright before you hear them speak.

Trexil
orc pawn
orc pawn
Posts: 11
Joined: Fri Aug 27, 2004 9:03 pm

Post by Trexil » Sat Nov 20, 2004 12:19 am

you're sure you arent on a toon other than your cleric?

Riddlerr
a ghoul
a ghoul
Posts: 137
Joined: Sun May 23, 2004 10:40 am

Post by Riddlerr » Sun Nov 21, 2004 11:39 am

hehe nope iam on my cleric, it show everything else celest regen , turn undead etc.. just not d arb for some stupied reason..
It’s a scientific fact that light travels faster than sound, this is why most people appear to be bright before you hear them speak.

Trexil
orc pawn
orc pawn
Posts: 11
Joined: Fri Aug 27, 2004 9:03 pm

Post by Trexil » Sun Nov 21, 2004 11:54 am

check your spelling; also check and see if the location of the text is correct

User avatar
fice
a hill giant
a hill giant
Posts: 187
Joined: Thu Jul 17, 2003 3:28 pm

Re: Divine Arb Problem..

Post by fice » Sun Nov 21, 2004 12:08 pm

Riddlerr wrote:this is one of the mutiple hud parts that i use and one day this on just disapperd from my hud any reason why is not showing?

Code: Select all

        Divine Arb1=3,005,440,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]},Divine Arb.,]} 
        Divine Arb2=3,070,440,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["TRUE"]}, Up,]} 
        Divine Arb3=3,005,440,255,255,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["FALSE"]},Divine Arb.,]} 
        Divine Arb4=3,070,440,255,000,000,${If[${String[${Me.AltAbilityReady[Divine Arbitration]}].Equal["FALSE"]}, Down,]} 
        Divine Arb5=3,110,440,255,255,000,${Me.AltAbilityTimer[Divine Arbitration].TimeHMS}
this type of coding makes me cry at nights

Code: Select all

DivineArb1=3,005,440,255,255,000,Divine Arb. 
DivineArb2=3,070,440,255,255,000,${If[${Me.AltAbilityReady[Divine Arbitration]}, Up,]} 
DivineArb3=3,070,440,255,000,000,${If[${Me.AltAbilityReady[Divine Arbitration]},, Down]} 
DivineArb4=3,110,440,255,255,000,${Me.AltAbilityTimer[Divine Arbitration].TimeHMS}
it's pretty pointless to have an if statement do the same thing when it's true or false, also converting a boolean into a string to then convert it back into a boolean is... well, not smart


as on the reason why it won't display on your HUD, if i was to guess i'd say it's because of the spaces in the naming of the labels.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Sun Nov 21, 2004 3:48 pm

Random whitespace pwnz0rz. At least the code brackets preserved it so we could all enjoy :)

Riddlerr
a ghoul
a ghoul
Posts: 137
Joined: Sun May 23, 2004 10:40 am

Post by Riddlerr » Sun Nov 21, 2004 6:01 pm

well i did not make the hud ive just copyed from someones here and added the aa timers that i use. and the thing that i found about this code is that it does not show anything if you do not have the abilty. ( ie if i play my other char it dont show him with divine arb either down or timer or what ever it would do. if anyone has a better was to do the same thing but maybe let sloppy pls feel free to post :)
It’s a scientific fact that light travels faster than sound, this is why most people appear to be bright before you hear them speak.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Mon Nov 22, 2004 12:23 am

no no...don't do it fice...put the gun down...

Riddlerr
a ghoul
a ghoul
Posts: 137
Joined: Sun May 23, 2004 10:40 am

Post by Riddlerr » Mon Nov 22, 2004 12:53 am

ok wel back on subject.. anyone have a clue wtf is wrong? could it be i need to recompile for what ever reason? i didnt change anything in the hud when it just stop showing. anyone else have this problem with another aa abilty?
It’s a scientific fact that light travels faster than sound, this is why most people appear to be bright before you hear them speak.

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Mon Nov 22, 2004 6:06 am

changed my mind, fice. here's some bullets.

User avatar
fice
a hill giant
a hill giant
Posts: 187
Joined: Thu Jul 17, 2003 3:28 pm

Post by fice » Mon Nov 22, 2004 2:38 pm

you don't love me :(