Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
0
Members

FTextAssets Plugin Error, looking for help

A topic by KKMcShouty created May 14, 2019 Views: 495 Replies: 7
Viewing posts 1 to 4

So I haven't used superpowers in quite some time (a few months about) but returned to it as classes are finally giving me time to work on games again, I was using 5.3.0 and my game would open and run perfectly fine, today I updated to 6.0.0 and updated all my plugins that had updates and my server wouldn't even start due to an error with the FTextAssets, and I know that it's not a version error as the same error appears when I tried opening it in my old version of 5.3.0. I've tried uninstalling and reinstalling the FText plugin which only results in a slightly different error which to me just appears to say that the plugin is not installed, but I've also included it below alongside the original error. Any help is appreciated as I've tried scouring the internet where I can usually resolve my error issues but have come up empty handed this time.

Error with FText plugin installed:

5/13/2019 7:11:39 PM - Using data from C:\Users\kryst\AppData\Roaming\Superpowers.
5/13/2019 7:11:39 PM - Server v5.0.0 starting...
5/13/2019 7:11:41 PM - The server crashed while loading project "visual-novel".
TypeError: Class constructor Asset cannot be invoked without 'new'
    at new FTextAsset (C:\Users\kryst\AppData\Roaming\Superpowers\systems\game\plugins\florentpoujol\ftext\data\fTextAsset.js:14:16)
    at Assets._load (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Assets.js:28:23)
    at Assets.acquire (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Base\Dictionary.js:27:29)
    at Assets.acquire (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Assets.js:16:15)
    at async.eachLimit (C:\Users\kryst\AppData\Roaming\Superpowers\core\server\ProjectServer.js:242:34)
    at C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:181:20
    at replenish (C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:319:21)
    at C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:326:29
    at C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:44:16
    at async.eachLimit (C:\Users\kryst\AppData\Roaming\Superpowers\core\server\ProjectServer.js:239:21)

Error with FText plugin uninstalled:

5/13/2019 7:32:12 PM - Using data from C:\Users\kryst\AppData\Roaming\Superpowers.
5/13/2019 7:32:12 PM - Server v5.0.0 starting...
5/13/2019 7:32:13 PM - The server crashed while loading project "visual-novel".
Error: No data plugin for asset type "fText"
    at Assets._load (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Assets.js:27:19)
    at Assets.acquire (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Base\Dictionary.js:27:29)
    at Assets.acquire (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Assets.js:16:15)
    at async.eachLimit (C:\Users\kryst\AppData\Roaming\Superpowers\core\server\ProjectServer.js:242:34)
    at C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:181:20
    at replenish (C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:319:21)
    at C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:326:29
    at C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:44:16
    at async.eachLimit (C:\Users\kryst\AppData\Roaming\Superpowers\core\server\ProjectServer.js:239:21)
    at C:\Users\kryst\AppData\Roaming\Superpowers\core\node_modules\async\lib\async.js:181:20
Moderator

Not sure about the first error but when you uninstall the plugin, the server fails to load one of your projects because it was using that plugin, so you might need to remove that project from your projects folder if you don't need it anymore. Gonna point the FText plugin's author here.

Thank you for doing so! I would remove the project as well but unfortunately it has the data I need as it's my experimentation and storage area for code I'll need later

(+1)

Hello KKMcShouty

Thanks for reporting this issue, I have a fix you can try.

https://github.com/florentpoujol/superpowers-game-ftext-plugin/archive/v0.5.0.zi...

Please download the plugin from the link above and install it as usual (completely delete the old plugin first).

Let me know if this works (or if it doesn't) !

Thank you for this! it seems to have fixed the fText issue, but the issue has now changed to a similar one from fMouseInput, the error log is below

5/15/2019 6:44:09 PM - Using data from C:\Users\kryst\AppData\Roaming\Superpowers.
5/15/2019 6:44:09 PM - Server v5.0.0 starting...
5/15/2019 6:44:11 PM - The server crashed while loading project "visual-novel".
TypeError: Class constructor ComponentConfig cannot be invoked without 'new'
    at new FMouseInputConfig (C:\Users\kryst\AppData\Roaming\Superpowers\systems\game\plugins\florentpoujol\fMouseInput\componentConfigs\fMouseInputConfig.js:15:16)
    at new SceneComponents (C:\Users\kryst\AppData\Roaming\Superpowers\systems\game\plugins\default\scene\data\SceneComponents.js:22:41)
    at SceneNodes.walk (C:\Users\kryst\AppData\Roaming\Superpowers\systems\game\plugins\default\scene\data\SceneNodes.js:15:48)
    at SceneNodes.walkNode (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Base\TreeById.js:32:13)
    at SceneNodes.walk (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Base\TreeById.js:27:22)
    at new SceneNodes (C:\Users\kryst\AppData\Roaming\Superpowers\systems\game\plugins\default\scene\data\SceneNodes.js:9:14)
    at SceneAsset.setup (C:\Users\kryst\AppData\Roaming\Superpowers\systems\game\plugins\default\scene\data\SceneAsset.js:97:22)
    at migrate (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Base\Asset.js:39:22)
    at SceneAsset.migrate (C:\Users\kryst\AppData\Roaming\Superpowers\systems\game\plugins\default\scene\data\SceneAsset.js:60:13)
    at SceneAsset._onLoaded (C:\Users\kryst\AppData\Roaming\Superpowers\core\SupCore\Data\Base\Asset.js:29:14)

Good to know it work.

But as you can see, it's the same error, I have update all my plugins, but I won't be able to do it until tomorrow.

Until then you may still be able to work on your project if you remove my plugins.

Alright, take all the time you need, and thank you so much for all of this!

(1 edit)

Hey Mc Shouty

Apparently only fText and fMouseInput had issues with the newest Superpowers

You can download the new versions at these URLs

Let me known if you still have issues