LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Lua Programming Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=50)
-   -   Debugging and Testing (https://www.lotrointerface.com/forums/showthread.php?t=1982)

guren 02-13-2013 10:12 AM

Debugging and Testing
 
Hi!

I am trying now developing in Lua Script, and still with problems getting the dev. environment working.
And one of my problems is to test the plugins without have to run the LOTRO, are there any application to test it?


Tks for the time spent!

Garan 02-13-2013 07:27 PM

There is no separate development environment for LotRO plugins. Lua as implemented in LotRO is a subset of the Lua runtime and has to be executed by the LotRO client since the client provides the environment. To execute and debug a plugin you have to load it in the game client. This is why I use my debug.lua file to provide a means of interactively executing Lua commands and exploring the objects in the Apartment in which the plugin is running (the client can have several distinct Lua environments called Apartments and a plugin can only access objects in the Apartment in which it is loaded).

You should probably read the thread http://forums.lotro.com/showthread.p...gins-for-Noobs since it covers everything you need to know to get started with Lua in LotRO.

guren 02-14-2013 10:56 AM

Tks!
I already read part of the link you sent me, I will read the rest of it and tomorrow test some of the examples :D


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

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI