Quantcast That pesky EntityControl! May I please get some guidance? - LoTROInterface
VGInterface.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 06-14-2018, 03:20 PM
Grimmerthan Grimmerthan is offline
The Wary
 
Join Date: Aug 2014
Posts: 3
That pesky EntityControl! May I please get some guidance?

Hi folks,

I'm working on a plugin to help monitor boss debuffs (like frost/fire-lore). I'm basing it off a re-build of the m_vitals plugin, a plugin which I think is pretty awesome. The plugin is intended to create multiple target trackers, with each tracker observing morale/power, corruptions, and specific debuffs.

The issue I'm hitting is that the last EntityControl for tracking targets no longer connects to what should be its target, when my LocalUser changes targets. For example, when I create 4 trackers, the first 3 work correctly, and the 4th does not.

I've tried multiple ways of structuring code (and broken things horribly several times!), based on other plugins and Lua guides, and the problem persists across all of them. I feel like there's a basic concept or syntax that I'm missing.

May I please get some guidance or advice or correction? The code is at
https://github.com/grimmerthan/DebuffVitals

At this time, a good chunk of the code is commented out, with enough left in to demonstrate the issue. Also, I haven't done much programming or scripting in the last few years other than some ugly python scripts, so please be kind

Thanks in advance
Grimmerthan
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


All times are GMT -5. The time now is 09:26 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | VGInterface | LoTROInterface | MMOInterface | Swtorui