lotrointerface.com
Search Downloads


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

Reply
Thread Tools Display Modes
  #1  
Unread 12-29-2021, 10:48 AM
Wangwang Wangwang is offline
The Wary
 
Join Date: Dec 2021
Posts: 1
Draw lines / points

Is there any way to draw lines or points using LUA scripting? I am attempting to make a plugin that visualize network connection (although I am not sure I can retrieve it with the API).
Reply With Quote
  #2  
Unread 12-30-2021, 06:23 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 340
Quote:
Originally Posted by Wangwang
Is there any way to draw lines or points using LUA scripting? I am attempting to make a plugin that visualize network connection (although I am not sure I can retrieve it with the API).
There is no nice way to draw lines. However, you can simulate lines with very thin, rotated windows. My Cards plugin has a somewhat crude line (and arrow) class. There are a lot of limitations to this, but the statistics display in Cards demonstrates a graph using the line class.

The network connectivity info would be the difficult part but I'm not sure I see the need. The built-in connectivity display (Options-> UI Settings-> Show Connexion Status) already shows current latency, packet loss and sent/received Bps which is all you need at a glance. Routes would be nice, but not really necessary in-game (easy enough to check outside of game when needed).
Reply With Quote
Reply


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 02:48 PM.


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