Wir haben festgestellt, dass Euer Browser keine Cookies akzeptiert. Bitte erlaubt die Verwendung von Cookies in den Optionen Eures Browsers, um eine optimale Funktion dieser Webseite zu gewährleisten.
Ergebnis 1 bis 1 von 1
  1. #1
    Registriert seit
    11.08.2007
    Ort
    Florida, USA
    Beiträge
    18

    Issue caused by 'VarName = class(Parameter);'

    Never mind! I'm new to this, so I was just properly updated by some folks on E that there are dependencies.

    For those of you wanting to start: Make sure you have the Class.lua and Type.lua files in your project and the __init__.lua updated with those imports listed first and second respectively.

    I have since got the plugin working!
    -------------
    Hello Everyone!

    I've undertaken the task of attempting to develop a plugin. I have an older plugin I wanted to use as a base. However, I'm having issues loading the plugin in-game. The following is the error that is given to me:

    ...gs Online\Plugins\FalstarPlugins\ Pips\PipsWindow.lua:6: attempt to call global 'class' (a nil value)
    ...ings Online\Plugins\FalstarPlugins\ Pips\__init__.lua:1: Failed to import package "FalstarPlugins.Pips.PipsWindo w".
    ...he Rings Online\Plugins\FalstarPlugins\ Pips\Main.lua:3: Failed to import package "FalstarPlugins.Pips".
    Unable to load "Pips"

    Now, the plugin is an older plugin that I downloaded from the following site: http://www.lotrointerface.com/downlo...ervorPips.html

    and the exact line of code it seems to have an issue with is this:

    PipsWindow = class(Turbine.UI.Window);

    I've been following an online guide which shows you how to create a basic "Hello World" plugin, and I got that to work. However, the guide then goes into using functions. That's when I receive an error similar to the one posted above, referencing a line similar to the one above, also.

    Can anyone tell me what is going on here? Any and all help is greatly appreciated!
    Geändert von rabidjawa (08.12.2012 um 19:14 Uhr)
    [charsig=http://lotrosigs.level3.turbine.com/042080000000548d8/01007/signature.png]Vinthras[/charsig]

 

 

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

Diese Formular-Sitzung ist abgelaufen. Du musst die Seite neu laden.

Neu laden