MQ2Timer - MMOBugs Wiki

Revision as of 13:38, 9 July 2010 by Eljorgejones (talk | contribs)
Plugin Info
Name MQ2Timer
Author [[User:|Koad]]
Link Forum Link
Commands None
Source Available Yes
Uses INI File Yes





Description

MQ2Timer This plugin allows you to create custom displayed timers based on incomming chat events.

UI XML

<?xml version = "1.0"?>
<XML ID = "EQInterfaceDefinitionLanguage">
   <Schema xmlns = "EverQuestData" xmlns:dt = "EverQuestDataTypes"/>


   <Listbox item = "TW_TimerList">
      <ScreenID>TW_TimerList</ScreenID>
      <Font>2</Font>
      <RelativePosition>true</RelativePosition>
      <AutoStretch>true</AutoStretch>
      <DrawTemplate>WDT_Inner</DrawTemplate>
      <LeftAnchorOffset>2</LeftAnchorOffset>
      <TopAnchorOffset>2</TopAnchorOffset>
      <RightAnchorOffset>2</RightAnchorOffset>
      <BottomAnchorOffset>24</BottomAnchorOffset>
      <RightAnchorToLeft>false</RightAnchorToLeft>
      <BottomAnchorToTop>false</BottomAnchorToTop>
      <TopAnchorToTop>true</TopAnchorToTop>
      <LeftAnchorToLeft>true</LeftAnchorToLeft>
      <Columns>
         <Width>150</Width>
      </Columns>
      <Style_Border>true</Style_Border>
      <Style_VScroll>true</Style_VScroll>
   </Listbox>

   <Button item = "TW_LoadButton">
      <ScreenID>TW_LoadButton</ScreenID>
      <Font>1</Font>
      <RelativePosition>true</RelativePosition>
      <AutoStretch>true</AutoStretch>
      <TopAnchorOffset>20</TopAnchorOffset>
      <LeftAnchorOffset>3</LeftAnchorOffset>
      <RightAnchorOffset>62</RightAnchorOffset>
      <BottomAnchorOffset>0</BottomAnchorOffset>
        <TopAnchorToTop>false</TopAnchorToTop>
        <TopAnchorToBottom>true</TopAnchorToBottom>
        <BottomAnchorToTop>false</BottomAnchorToTop>
        <BottomAnchorToBottom>false</BottomAnchorToBottom>
        <LeftAnchorToLeft>true</LeftAnchorToLeft>
        <LeftAnchorToRight>false</LeftAnchorToRight>
        <RightAnchorToLeft>true</RightAnchorToLeft>
        <RightAnchorToLeft>false</RightAnchorToLeft>

      <Style_Transparent>false</Style_Transparent>
      <Style_Checkbox>false</Style_Checkbox>
      <Text>Load</Text>
      <TooltipReference>Reload timer configurations from INI file.</TooltipReference>
      <TextColor>
         <R>40</R>
         <G>180</G>
         <B>40</B>
      </TextColor>
      <ButtonDrawTemplate>
         <Normal>A_BtnNormal</Normal>
         <Pressed>A_BtnPressed</Pressed>
         <Flyby>A_BtnFlyby</Flyby>
         <Disabled>A_BtnDisabled</Disabled>
         <PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
      </ButtonDrawTemplate>
   </Button>

   <Button item = "TW_StopButton">
      <ScreenID>TW_StopButton</ScreenID>
      <Font>1</Font>
      <RelativePosition>true</RelativePosition>
      <AutoStretch>true</AutoStretch>
      <TopAnchorOffset>20</TopAnchorOffset>
      <LeftAnchorOffset>64</LeftAnchorOffset>
      <RightAnchorOffset>123</RightAnchorOffset>
      <BottomAnchorOffset>0</BottomAnchorOffset>
        <TopAnchorToTop>false</TopAnchorToTop>
        <TopAnchorToBottom>true</TopAnchorToBottom>
        <BottomAnchorToTop>false</BottomAnchorToTop>
        <BottomAnchorToBottom>false</BottomAnchorToBottom>
        <LeftAnchorToLeft>true</LeftAnchorToLeft>
        <LeftAnchorToRight>false</LeftAnchorToRight>
        <RightAnchorToLeft>true</RightAnchorToLeft>
        <RightAnchorToLeft>false</RightAnchorToLeft>

      <Style_Transparent>false</Style_Transparent>
      <Style_Checkbox>false</Style_Checkbox>
      <Text>Pause</Text>
      <TooltipReference>Pause timers.</TooltipReference>
      <TextColor>
         <R>40</R>
         <G>180</G>
         <B>40</B>
      </TextColor>
      <ButtonDrawTemplate>
         <Normal>A_BtnNormal</Normal>
         <Pressed>A_BtnPressed</Pressed>
         <Flyby>A_BtnFlyby</Flyby>
         <Disabled>A_BtnDisabled</Disabled>
         <PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
      </ButtonDrawTemplate>
   </Button>

   <Screen item = "TimerWnd">
      <RelativePosition>false</RelativePosition>
      <Location>
         <X>50</X>
         <Y>100</Y>
      </Location>
      <Size>
         <CX>206</CX>
         <CY>242</CY>
      </Size>
      <Text>Active Timers</Text>
      <Style_VScroll>false</Style_VScroll>
      <Style_HScroll>false</Style_HScroll>
      <Style_Transparent>false</Style_Transparent>
      <!--<TooltipReference>This is the active Timers Window.</TooltipReference>-->
      <DrawTemplate>WDT_Def</DrawTemplate>
      <Style_Titlebar>true</Style_Titlebar>
      <Style_Closebox>true</Style_Closebox>
      <Style_Minimizebox>true</Style_Minimizebox>
      <Style_Border>true</Style_Border>
      <Style_Sizable>true</Style_Sizable>
      <Pieces>TW_TimerList</Pieces>
      <Pieces>TW_LoadButton</Pieces>
      <Pieces>TW_StopButton</Pieces>
   </Screen>

</XML>

Configuration

MQ2Timer is configured via the MQ2Timer_server_toonname.ini file. The default settings in the ini are are for configuring the timer window:

[Settings]
winActive=1
ChatTop=357
ChatBottom=620
ChatLeft=164
ChatRight=375
Locked=0
WindowTitle=Active Timers
Fades=1
Delay=0
Duration=500
Alpha=255
FadeToAlpha=255
BGType=1
BGTint.red=255
BGTint.green=255
BGTint.blue=255


Timer events are added to the ini formated like so:

[<name>]
duration=<timer duration in ticks>
event="<chat event text to match>"


MQ2Timer.ini Examples

Enchanter

[Forlorn Deeds] 
duration=35 
event="slows down."

[Howl of Tashan] 
duration=140
event="glances nervously about."

[Sleep] 
duration=9
event="falls asleep."

[Bliss] 
duration=9
event="jaw falls as they begin to drool."

[Rapture] 
duration=7
event="swoons in raptured bliss."

[Glamour of Kintaz] 
duration=9
event="has been mesmerized by the Glamour of Kintaz."

[Fascination] 
duration=6
event="has been fascinated."

[Dazzle] 
duration=16
event="has been mesmerized."

[Pacification] 
duration=7
event="looks less aggressive."

[Pacify] 
duration=7
event="looks less aggressive"

[Cripple] 
duration=75
event="has been crippled."

[Speed of Vallon] 
duration=420
event="moves with the speed of Vallon"

[Strangle] 
duration=20
event="claws at their throat."

[Greater Fetter] 
duration=30
event="adheres to the ground."

[Feedback] 
duration=39
event="is enveloped in blazing energy."

[Glamorous Visage] 
duration=6
event="takes on a non-threatening visage."

[Horrifying Visage] 
duration=6
event="takes on a threatening visage."

[Night`s Dark Terror] 
duration=120
event="face contorts and stretches, the skin breaking and peeling."

Necro

[Seduction of Saryrn]
duration=600
event="Your soul is claimed in a cold caress."

[Force Shield] 
duration=1200 
event="Your body is surrounded by a force shield." 

[Shield of Maelin]
duration=900
event="You feel armored."

[Dead Man Floating]
duration=720
event="You become like the dead."

[Embracing Darkness]
duration=20
event="is engulfed in an embracing darkness."

[Blood of Thule]
duration=7
event="veins turn a vile shade of green."

[Funeral Pyre of Kelador]
duration=9
event="is enveloped in a funeral pyre."

[Horror]
duration=5
event="screams in abject terror."

[Saryrn's Kiss]
duration=10
event="Fresh blood flows through your veins."

[Dark Plauge]
duration=20
event="skin is covered in black spots."

[Pyrocruor]
duration=18
event="blood ignites."

[Splurt]
duration=16
event="body begins to splurt."

[Rune of Death]
duration=175
event="is covered in slithering black runes."

[Petrifying Earth]
duration=30
event="adheres to the ground."

[Insidious Retrogression]
duration=16
event="body is pelted by spores."

[Shackle of Spirit]
duration=35
event="is hindered by a shackle of spirit."

[Death's Silence]
duration=5
event="stops moaning."

[Screaming Terror]
duration=3
event="begins to scream."

[Zevfeer's Theft of Vitae]
duration=9
event="A rush of blood fuels your body."

[HarmShield]
duration=3
event="You no longer feel pain."

[Quivering Veil of Xarn]
duration=3
event="You are surrounded by the quivering veil of xarn."

Druid

[Ensnare] 
duration=168 
event="has been ensnared." 

[Sylvan Embers] 
duration=12 
event="body is covered in sylvan embers." 

[Savage Roots] 
duration=900 
event="is entrapped by roots." 

[Vengeance of Tunare] 
duration=6
event="has been consumed in the flames of Tunare." 

[Command of Tunare] 
duration=238 
event="blinks." 

[Swarming Death] 
duration=7
event="is engulfed by a swarm of deadly insects." 

[Immolation of Ro] 
duration=12 
event="is immolated by blazing flames." 

[Ro's Illumination] 
duration=120
event="is surrounded by an outline of cold flame." 

[Earthen Roots] 
duration=12
event="becomes entwined in roots." 

[Hand of Ro] 
duration=37
event="is immolated by blazing flames." 

[Entrapping Roots] 
duration=36 
event="is entrapped by roots." 

[E'ci's Frosty Breath] 
duration=120 
event="is encrusted with a thin layer of ice." 

[Bonds of Tunare] 
duration=216
event="is dragged down by dark vines." 

[Engorging Roots] 
duration=36 
event="is entangled by roots." 

[Ro's Smoldering Disjunction] 
duration=120
event="is surrounded by an outline of cold flame." 

[Tunare's Request] 
duration=2340
event="blinks." 

[Vengeance of Nature] 
duration=6
event="has been consumed in the flames of nature" 

[Glamour of Tunare] 
duration=246
event="is surrounded by a Tunarian glamour." 

[Winged Death] 
duration=10
event="is engulfed by a swarm of deadly insects." 

[Breath of Ro] 
duration=12 
event="is immolated by blazing flames." 

[Call of Karana] 
duration=249
event="blinks." 

[Repulse Animal] 
duration=9
event="is utterly repulsed!" 

[Engulfing Roots] 
duration=36
event="is entwined by roots." 

[Fire] 
duration=3 
event="is immolated by flame." 

[Ice] 
duration=3
event="is encased in frost." 

[Vengeance of the Wild] 
duration=6
event="has been consumed in the flames of the wild." 

[Allure of the Wild] 
duration=246
event="blinks." 

[Drifting Death] 
duration=12
event="is engulfed by a swarm." 

[Frost Zephyr] 
duration=120
event="is covered in a thin layer of water."

Magician

[Mystical Transvergance]
duration=50
event="You experience a mystical transvergance."
ignoreCasting=1 

[Wrath of the Elements]
duration=5
event="is assaulted by the wrath of the elements."

[Burnout V]
duration=250
event="goes berserk."

[Velocity]
duration=360
event="shimmers and blurs."

[Aegis of Ro]
duration=150
event="is enveloped by the Aegis of Ro."

[Flameshield of Ro]
duration=150
event="is enveloped by the flameshield of Ro."

[Call of the Arch Mage]
duration=205
event="answers the call of the Arch Mage."

[Malosinia]
duration=130
event="looks very uncomfortable."

[Mala]
duration=130
event="looks very uncomfortable."

Monk

[Mend Timer]
duration=60
event="You mend your wounds"
ignoreCasting=1

[Rapid Kick]
duration=5
event="Your regimented discipline hastens your attacks."
ignoreCasting=1 

[Rapid Kick Timer]
duration=145
event="Your speed returns to normal."
ignoreCasting=1 

[Dreamwalk]
duration=3
event="You step into the dream world."
ignoreCasting=1

[Dreamwalk Timer]
duration=197
event="You return to reality."
ignoreCasting=1

[Earthwalk]
duration=2
event="Your body becomes one with the earth."
ignoreCasting=1

[Earthwalk Timer]
duration=37
event="You are no longer one with the earth."
ignoreCasting=1

[Healing Will]
duration=10
event="You will your wounds to close."
ignoreCasting=1

[Healing Will Timer]
duration=40
event="Your will falters."
ignoreCasting=1

[Speed]
duration=5
event="Your arms begin to move faster."
ignoreCasting=1

[Speed Timer]
duration=215
event="Your arms slow down."
ignoreCasting=1

[Inner Flame]
duration=5
event="Your muscles bulge with the force of will."
ignoreCasting=1

[Inner Flame Timer]
duration=215
event="Your strength of will fades."
ignoreCasting=1

[thunderkick]
duration=10
event="You feet glow with mystic power."
ignoreCasting=1

[thunderkick Timer]
duration=90
event="The glow fades from your feet."
ignoreCasting=1

[Whirlwind]
duration=2
event="Your instincts take over as you turn aside every attack."
ignoreCasting=1

[Whirlwind Timer]
duration=398
event="Your fury fades."
ignoreCasting=1

[Voiddance]
duration=2
event="You become untouchable."
ignoreCasting=1

[Voiddance Timer]
duration=398
event="You movements return to normal."
ignoreCasting=1

Shaman

[Balance of Discord]
duration=15
event="body slows down."

[Turgur's Insects]
duration=65
event="yawns."

[Malos]
duration=140
event="looks very uncomfortable."

[Crippling Spasm]
duration=75
event="muscles spasm uncontrollably."

[Quiescence]
duration=7
event="falls into a state of quiescence."

[Breath of Trushar]
duration=7
event="in the breath of Trushar."

[Spiritual Serenity]
duration=7
event="body becomes completely serene."

[Ferine Avatar]
duration=107
event="has been infused with the power of a ferine Avatar."

[Burnout V]
duration=287
event="goes berserk."

[Fireskin]
duration=157
event="skin radiates fire."

[Pacification]
duration=6
event="looks less aggressive."

[Placate]
duration=7
event= "looks very calm."

[Bliss]
duration=9
event="jaw falls as they begin to drool."

[Felicity]
duration=9
event="gazes happily into space."

[Word of Morell]
duration=1
event="begins to dream."

[Forlorn Deeds] 
duration=35 
event="slows down." 

[Howl of Tashan] 
duration=140 
event="glances nervously about." 

[Night`s Dark Terror] 
duration=198 
event="face contorts and stretches, the skin breaking and peeling." 

[Malosinia] 
duration=205 
event="looks very uncomfortable." 

[Mystical Transvergance] 
duration=50 
event="You experience a mystical transvergance." 
ignoreCasting=1 

[Time to Leave LDoN] 
duration=300 
event="You have 30 minutes to exit this zone." 
ignoreCasting=1 

[Malicious Decay]
duration=140
event="sweats and shivers, looking very feverish."

[Putrid Decay]
duration=140
event="becomes slimey and translucent."

[Cloud of Grummus]
duration=35
event="is covered in a brown mist."

[Fascination]
duration=6
event="has been fascinated."

[Synapsis Spasm]
duration=75
event="loses control of their muscles."

[Ensnare]
duration=100
event="has been ensnared."

[Ro's Smoldering Disjunction]
duration=100
event="is surrounded by an outline of cold flame."

[Malo]
duration=140
event="looks very uncomfortable."

Availability

This plugin is included with the MMOBugs Compile.