Appsaholic plugin

Building on Daily build 2016.2818 I’m getting the following error:

module ‘plugin_combre’ not found:
    no field package.preload[‘plugin_combre’]
    no file ‘C:\Users\Administrator\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_combre.lua’

I require the plugin with: local combre = require “plugin.combre”

The same applies for build.settings: [“plugin.combre”]=…

Does this mean that the plugin is not yet publicly available?

Can you post the contents of your build.settings file please?

Thanks

[“plugin.combre”] =
        {
            publisherId = “com.appsaholic”,
            supportedPlatforms = { iphone=false, android=true, osx=false, [“win32-sim”]=true }
        },

I’m building on Windows, for Android

I meant the whole file :slight_smile:

Regardless, you have the plugin table entry in a parent table named “plugins” I presume? 

As below:

-- Should not be a child of the Android or iPhone table plugins = { ["plugin.combre"] = { publisherId = "com.appsaholic", supportedPlatforms = { iphone=true, android=true, osx=true, ["win32-sim"]=true } }, },

Yes, of course, the app is published and it works OK with Vungle and other plugins.

The combre plugin seems to be unreachable…

module ‘plugin_combre’ not found:
    no field package.preload[‘plugin_combre’]
    no file ‘C:\Users\Administrator\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_combre.lua’
    no file ‘C:\Users\Administrator\Dropbox\Game\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_combre.lua’
    no file ‘.\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_combre\init.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre\init.lua’
    no file ‘./plugin_combre.lua’
    no file ‘./plugin_combre/init.lua’
    no file ‘./lua/plugin_combre.lua’
    no file ‘./lua/plugin_combre/init.lua’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\lualibs/plugin_combre/plugin_combre.lua’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\lualibs/plugin_combre.lua’
    no file ‘C:\Users\Administrator\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/plugin_combre.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/clibs/plugin_combre.dll’
    no file ‘C:\Users\Administrator\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/plugin_combre.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/clibs/plugin_combre.dll’
stack traceback:
    [C]: in function ‘require’
    ?: in function ‘require’
    C:\Users\Administrator\Dropbox\Game\main.lua:90: in main chunk

Ok, i’m thinking that this is just caused by a missing plugin stub file (on Windows).

If you click “continue/ignore” when that error message pops up, and build for device… Do you get the missing plugin error?

Yes, it seems to work on the device!

Not getting the video ads to be properly played but I’m going to fix my code and report back.

Thanks!

Awesome.

I’ll report this to the developers of this plugin to get this fixed.

Thanks

Same issue here with the latest build.

I was able to build it and test on real device. But had to put in special conditions to avoid plug-in related calls to avoid runtime issues during build (on Simulator). I was looking for simpler ways, but looks like there ain’t any. 

Also, ideally there should be something like Corona ads.isLoaded function which isn’t available now to check if an ad is pre-loaded. I see a black screen waiting for a few seconds to load videos sometimes, which isn’t good. Before whcih there be should be a way to pre-fetch ads, similar to Corona ads.load? 

Can you post the contents of your build.settings file please?

Thanks

[“plugin.combre”] =
        {
            publisherId = “com.appsaholic”,
            supportedPlatforms = { iphone=false, android=true, osx=false, [“win32-sim”]=true }
        },

I’m building on Windows, for Android

I meant the whole file :slight_smile:

Regardless, you have the plugin table entry in a parent table named “plugins” I presume? 

As below:

-- Should not be a child of the Android or iPhone table plugins = { ["plugin.combre"] = { publisherId = "com.appsaholic", supportedPlatforms = { iphone=true, android=true, osx=true, ["win32-sim"]=true } }, },

Yes, of course, the app is published and it works OK with Vungle and other plugins.

The combre plugin seems to be unreachable…

module ‘plugin_combre’ not found:
    no field package.preload[‘plugin_combre’]
    no file ‘C:\Users\Administrator\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_combre.lua’
    no file ‘C:\Users\Administrator\Dropbox\Game\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_combre.lua’
    no file ‘.\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_combre\init.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre.lua’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre\init.lua’
    no file ‘./plugin_combre.lua’
    no file ‘./plugin_combre/init.lua’
    no file ‘./lua/plugin_combre.lua’
    no file ‘./lua/plugin_combre/init.lua’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\lualibs/plugin_combre/plugin_combre.lua’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\lualibs/plugin_combre.lua’
    no file ‘C:\Users\Administrator\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/plugin_combre.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/clibs/plugin_combre.dll’
    no file ‘C:\Users\Administrator\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_combre.dll’
    no file ‘.\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_combre.dll’
    no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/plugin_combre.dll’
    no file ‘C:\Program Files (x86)\ZeroBraneStudio\bin/clibs/plugin_combre.dll’
stack traceback:
    [C]: in function ‘require’
    ?: in function ‘require’
    C:\Users\Administrator\Dropbox\Game\main.lua:90: in main chunk

Ok, i’m thinking that this is just caused by a missing plugin stub file (on Windows).

If you click “continue/ignore” when that error message pops up, and build for device… Do you get the missing plugin error?

Yes, it seems to work on the device!

Not getting the video ads to be properly played but I’m going to fix my code and report back.

Thanks!

Awesome.

I’ll report this to the developers of this plugin to get this fixed.

Thanks

Same issue here with the latest build.

I was able to build it and test on real device. But had to put in special conditions to avoid plug-in related calls to avoid runtime issues during build (on Simulator). I was looking for simpler ways, but looks like there ain’t any. 

Also, ideally there should be something like Corona ads.isLoaded function which isn’t available now to check if an ad is pre-loaded. I see a black screen waiting for a few seconds to load videos sometimes, which isn’t good. Before whcih there be should be a way to pre-fetch ads, similar to Corona ads.load?