Error installing plugin Porting C2 to C3

0 favourites
  • 9 posts
From the Asset Store
7 Errors
$15 USD
7 Errors is a game where you have to find the 7 mistakes before time runs out. Can you find all 7? Have fun looking.
  • Hi, I did the job of porting a plugin that I use in C2 to C3, after installing it and refreshing the window it shows me the following error:

    "Reason: Error: failed to load addon name language string for addon 'LolIdPlugin' - check the base key in the language file JSON is the lowercased plugin ID: "lolidplugin""

    The strange thing is that the ID in the language file "en-US.json" is in lowercase, as seen in the following images:

    In addon.json:

    In en-US.json:

    I can not identify what is generating the error. Please can someone help me. Thank you so much.

    This is the complete error message:

    Error report information

    Type: unhandled rejection

    Reason: Error: failed to load addon name language string for addon 'LolIdPlugin' - check the base key in the language file JSON is the lowercased plugin ID: "lolidplugin" Error: failed to load addon name language string for addon 'LolIdPlugin' - check the base key in the language file JSON is the lowercased plugin ID: "lolidplugin" at window.ǃkEP.ǃkxt (https://editor.construct.net/r148/main.js:63:93605) at new window.Plugin (https://editor.construct.net/r148/main.js:63:105963) at new window.ǃkFi (https://editor.construct.net/r148/main.js:63:112040) at Function.ǃk.ǃm (https://editor.construct.net/r148/main.js:2:126393) at o.ǃHE (https://editor.construct.net/r148/main.js:82:35643) at Object.ǃQNj (https://editor.construct.net/r148/main.js:82:36053) at n (https://editor.construct.net/r148/main.js:2:197599) at t (https://editor.construct.net/r148/main.js:2:197384)

    Stack: Error: failed to load addon name language string for addon 'LolIdPlugin' - check the base key in the language file JSON is the lowercased plugin ID: "lolidplugin" at window.ǃkEP.ǃkxt (https://editor.construct.net/r148/main.js:63:93605) at new window.Plugin (https://editor.construct.net/r148/main.js:63:105963) at new window.ǃkFi (https://editor.construct.net/r148/main.js:63:112040) at Function.ǃk.ǃm (https://editor.construct.net/r148/main.js:2:126393) at o.ǃHE (https://editor.construct.net/r148/main.js:82:35643) at Object.ǃQNj (https://editor.construct.net/r148/main.js:82:36053) at n (https://editor.construct.net/r148/main.js:2:197599) at t (https://editor.construct.net/r148/main.js:2:197384)

    Construct 3 version: r148

    URL: editor.construct.net

    Date: Thu Jun 06 2019 21:15:09 GMT-0500 (hora estándar de Colombia)

    Uptime: 3.4 s

    Platform information

    Browser: Chrome

    Browser version: 74.0.3729.169

    Browser engine: Chromium

    Browser architecture: (unknown)

    Context: browser

    Operating system: Mac OS X

    Operating system version: 10.14_5

    Operating system architecture: (unknown)

    Device type: desktop

    Device pixel ratio: 1

    Logical CPU cores: 4

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

    C3 release: r148 (stable)

    Language setting: en-US

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Intel Inc.

    Renderer: Intel HD Graphics 4000 OpenGL Engine

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 255.875

    Extensions: EXT_color_buffer_float, EXT_disjoint_timer_query_webgl2, EXT_texture_filter_anisotropic, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context

  • This also happens if it can't find the file. Perhaps you forgot to add it to the file list, or it's in the wrong location, etc. You can also backtrack using a working template and slowly modify it bit by bit until you find out which step is not working.

  • This also happens if it can't find the file. Perhaps you forgot to add it to the file list, or it's in the wrong location, etc. You can also backtrack using a working template and slowly modify it bit by bit until you find out which step is not working.

    Hi Ashley, the file is currently in the file list:

    In addon.json:

    And physically it is also in the corresponding folder:

    But I will try a different template. Thank.

  • Don't forget the ID also has to match the one defined in plugin.js. The ID is referenced in a few places and if you change it you have to update all the references, or you'll get errors about the ID.

  • Ashley, yes, I have it in each of the places where I should go:

    In plugin.js:

    And as a measure to see if it solved the error, use it also in the constant "const PLUGIN_CLASS =" in the corresponding files:

    In type.js:

    In instance.js:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ashley any help on this? I am interested on this plugin too, i am working with vlakdo on it, is there any way that we can send you the plugin so you can help us to port it ?

  • Hi Ashley, I have managed to port and install the plugin without problem, but when I use it in the project it does not appear in the list to add new object:

    Installed:

    It does not appear in the list of object types:

    Should I do something extra to be able to use it?

    Thank you.

  • Check it supports the C3 runtime, which is the default.

  • Hi Ashley, effectively that has solved the problem and I can use the plugin, I appreciate your help and support. A greeting.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)