LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Missing Events in Lua (https://www.lotrointerface.com/forums/showthread.php?t=3622)

glafria 06-19-2016 06:26 AM

Missing Events in Lua
Hi all,

ich want to code a plugin, that allows to change the skilling in Epiq Battles.

In the Lua i donīt find any event, which supports this.
Is this a missing feature?

The same should be posible for ths standardskilltree changes?

Thanks a lot


Garan 06-19-2016 06:55 AM

There is no way to change skill trees by Lua.

glafria 06-19-2016 02:12 PM

Hi Garan,

thank you for the answer.

Is there a posibility to scan the items i wear completely?

Garan 06-19-2016 03:01 PM

Very little item information is exposed to Lua. The localPlayer:GetEquipment() method will return an Equipment object that represents the items currently equipped. Unfortunately, the only information available for the items are the Name and the information exposed by the ItemInfo methods, such as Category, Description, Durability, image info, quantity & stack info, and quality info. None of the important info such as weapons statistics or LI info are exposed to Lua - not even the item's ID is exposed making it impossible to programmatically use the information to create a quickslot or shortcut object.

There are some other ways to derive some additional info but they are very inefficient workarounds and all require user interaction such as drag/drop or linking to chat for every item so they aren't very useful. Unfortunately the devs that were implementing Lua were doing so on their own time and they are no longer working on LotRO so it is highly unlikely the API will ever be expanded to include additional item information.

glafria 06-21-2016 02:41 PM

Thank you very much Garan.

All times are GMT -5. The time now is 02:25 AM.

vBulletin® - Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.