packager icon indicating copy to clipboard operation
packager copied to clipboard

Issue with "Start project automatically instead of showing a big green flag"

Open echoless3484 opened this issue 3 years ago • 6 comments

Hey, it seems that when turning this setting to on, it doesn't affect the project whether on or off, it still shows the green flag. Here is mine for example. Argoza_Prelude_Alpha_0.0.15a10.zip

echoless3484 avatar Nov 25 '22 21:11 echoless3484

as far as the packager is aware, you haven't checked that option

      if (false) {
        scaffolding.start();
      } else {

it looks like you have some custom userscripts/extensions running, try turning those off

GarboMuffin avatar Nov 26 '22 00:11 GarboMuffin

Yeah, those custom scripts are unable to be turned off without the project instantly crashing, I'm using LukasStudioTV's UtilsV2 and GameJolt API plugins, aswell as his entire plugin loader. They are integral to the game as it uses all of those functions to allow Mod Support and a ton of other features.

Is there any way to "Force Enable" it through another way? I currently have no computer to test the EXE. but I can edit the files and any text documents, I only have a Chromebook as my actual computer is in pieces and burnt.

echoless3484 avatar Nov 26 '22 04:11 echoless3484

Check if the autostart option works on an empty project using all of the custom plugins you have

You can manually enable autostart by opening project/resources/app/index.html and replacing this part towards the end

      if (false) {
        scaffolding.start();
      } else {

with

      if (true) {
        scaffolding.start();
      } else {

GarboMuffin avatar Nov 26 '22 04:11 GarboMuffin

Thank you, I'll test that.

echoless3484 avatar Nov 26 '22 04:11 echoless3484

Where can I find the code of the userscripts you're using? I'd like to take a look if it breaks anything

GarboMuffin avatar Nov 26 '22 19:11 GarboMuffin

https://gamejolt.com/games/gjapiscratch/530359

This should be the link, I've been using it for the past while without issues on my games Argoza, and Bad Feeling

echoless3484 avatar Nov 26 '22 20:11 echoless3484