Il semble que les cookies ne soient pas activés dans votre navigateur. Veuillez activer les cookies pour garantir une expérience du site optimale.
Affichage des résultats 1 à 5 sur 5

Hybrid View

  1. #1
    Date d'inscription
    avril 2015
    Messages
    235

    Couple questions from a noob

    Greets.

    First, which version of Lua is appropriate for plugin scripting? Lua.org says the latest is v.5.3.2. Is the functionality there usable or should I use a previous version (5.1) as Garan points to in his most excellent noob tutorial?

    Second, as a matter of etiquette, if I have a specific question regarding code in a particular plugin, is it better to contact the author directly via a private message or reply to a relevant thread the author has initiated?

    Thanks in advance.

  2. #2
    Date d'inscription
    mars 2007
    Messages
    1 590
    Turbine has implemented Lua 5.1 and they aren't likely to make any updates or changes since the devs that implemented it are no longer working on LotRO - the dll in the turbine program folder is still lua51.dll.

    As to contacting specific authors, the first thing to be aware of is that many authors have moved on and are no longer updating their plugins and may not respond to PMs or posts. Your best bet is to look for plugins that have been upated/maintained recently or are authored by an author that has actively maintained another plugin recently. If you post your question in the download thread for the plugin at lotrointerface.com (assuming it is published there) the author will probably either answer in that thread or ask you to send them a PM. Note, the PM system on the Lotro forums doesn't always send email notifications and the "Private Messages" alert doesn't work well so authors that don't actually check their messages from time to time may not notice if you just send a PM here.

  3. #3
    Date d'inscription
    avril 2015
    Messages
    235
    Citation Envoyé par Garan Voir le message
    Turbine has implemented Lua 5.1 and they aren't likely to make any updates or changes since the devs that implemented it are no longer working on LotRO - the dll in the turbine program folder is still lua51.dll.

    As to contacting specific authors, the first thing to be aware of is that many authors have moved on and are no longer updating their plugins and may not respond to PMs or posts. Your best bet is to look for plugins that have been upated/maintained recently or are authored by an author that has actively maintained another plugin recently. If you post your question in the download thread for the plugin at lotrointerface.com (assuming it is published there) the author will probably either answer in that thread or ask you to send them a PM. Note, the PM system on the Lotro forums doesn't always send email notifications and the "Private Messages" alert doesn't work well so authors that don't actually check their messages from time to time may not notice if you just send a PM here.
    Thank you for both these answers. I will take your advice.

  4. #4
    Date d'inscription
    mai 2014
    Messages
    1
    What kind of information that I can extract ? and write on external database (MySQL, MariaDB) ?

    For example, can I extract list of quest and details of quest ?
    Character information ?
    Name of all character around me ?

  5. #5
    Date d'inscription
    mars 2007
    Messages
    1 590
    Citation Envoyé par Totodu43 Voir le message
    What kind of information that I can extract ? and write on external database (MySQL, MariaDB) ?

    For example, can I extract list of quest and details of quest ?
    Character information ?
    Name of all character around me ?
    There is very little game information exposed to Lua - the API was developed by a couple of devs in their spare time and was only partially implemented. Those devs are no longer working on LotRO so the API is not likely to ever be updated or expanded. For instance, no quest or deed information of any kind is exposed. For a detailed list of what IS available, see the latest (over two years old now but still "current") API Documentation provided by Turbine at http://www.lotrointerface.com/downlo...mentation.html.

    You will not be able to directly export any data to an external database, as the API only allows saving files in their .plugindata format, with significant issues including internationalization issues as well as restrictions on real-time reading and writing data. It is fairly easy to write an external application to parse the .plugindata files but due to the limited data exposed and the internationalization issues it isn't really worth it.

 

 

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •  

La session de ce formulaire a expiré. Vous devez recharger la page.

Recharger