lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 12-09-2012, 03:55 PM
Mohrrin Mohrrin is offline
The Undefeated
 
Join Date: Dec 2012
Posts: 5
Fervor Pip Intervals

Hello Everyone!

I'm new to writing Lua plugins, and I've undertaken the task of creating a metronome for champions that will allow them to see when they are about to receive a Fervor pip while in fervor stance.

Using resources from lua programmers Falstar and Garan (Fervor pip-bars and a timer, respectively) I have managed to create a plugin that will act as the metronome.

The idea was to start the fervor pip timer the moment you enter combat, and after that count four seconds to designate a pip.

There are 3 bars in my plugin, allowing for four unique states: (No lights, one light, two lights, three lights).

However, something seems to be off with the synchronization, as the metronome works fine, only the state that designates the pip is random per encounter. Sometimes it will fire when there are zero lights, sometimes it will fire when there is one light, etc. During the encounter, though, the pip will reliably fire in that same spot (tested for over three minutes).

Can anyone give me a clue as to why this may be?

I'm using Turbine.Engine.GetGameTime() for the sake of keeping time.

Attached is a zip of the plugin.

Thanks!

--- FYI ---

The current version of this code is an untested attempt to determine if the number of seconds on the clock are retained at the close of combat, and used to determine the next pip at the beginning of the next encounter.
Attached Files
File Type: zip PipClock.zip (6.1 KB, 722 views)

Last edited by Mohrrin : 12-09-2012 at 03:57 PM. Reason: FYI
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone know -- Weaver Venom pip UI? jamerslotro Interface Help (L) 2 11-02-2012 10:42 AM
REQ: Fervour/Pip display daimon Interface Requests (L) 2 02-02-2012 11:15 AM
Buffs, fervor pips tweaking possible? Deewe Lua Programming Help (L) 0 01-08-2011 05:40 PM
'Moveable' Fervor/Focus display? grezgorz Interface Requests (L) 0 09-15-2010 04:50 PM
moving the autoattack button and fervor pip meter schizm XML modification help (L) 3 01-11-2008 09:33 AM


All times are GMT -5. The time now is 09:13 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui