Migrating your mod to Steam Workshop

Perfect, now my mod is causing errors.

UltimateLib in line 1891 has an error too.

Um, deleting the mods folder probably deleted the mod-API

XD. Yeah, silly me.

1 Like

@PatrickKlug , adding events caused the game to say that there’s an error to that line. For example. GDT.addEvent(game1);

It says that addEvent is wrong!

1 Like

http://imgur.com/DA3C0Q8

1 Like

The errors are over 9000!!!

1 Like

Well, you see, XD

1 Like

It seems that there is a problem with our update workshop item method. (Doesn’t work every time)
You can do a workaround (until we have fixed the issue) to make sure that you have the latest version of your subscribed items:
delete the content of the following folders: mods_ws and ugc
At the moment I get only one error which is coming from OPPOSMain.js line 8:
current line: GDT.loadJs([’/main/OPPOS.js’]) ready, error);
should be: GDT.loadJs([’/main/OPPOS.js’] ready, error);

1 Like

That’s one of the files, either I get something wrong, or there’s some bugs in the code.

var pwgcid = "exGDT_PWGCID";    

var pwGCannounce = {
        id: pwgcid,
        date: ‘30/5/2’,
        ignoreGameLengthModifier: false,
        getNotification: function (company) {
            return new Notification({
                header: “Gaming News”.localize(“heading”),
                   text: “Generic is releasing their custom PC! They’re trying to make it portable by making everything ultra thin and small. More info on their announcement soon. Although that means it won’t come with the Generic Screen or Keyboard.”.localize(),
                   image: [GDT.getRelativePath() + “/images/notifications/pixelwareUpdated.png”]
            });
        },
    };
    GDT.addEvent(pwGCannounce);

@KizzaGaming. @DanielKlug fixed your mod.

1 Like

@DanielKlug I get this is I delete everything. http://imgur.com/6fsbSmq New picture.

@FireChaos You get this errors when you have an empty mods_ws and an empty ugc folder before starting the game?

1 Like

I think I did a mistake, I’m re-uploading another fix to the mod.

That huge error is fixed, now I still get this.

Did I load the Js correctly?
GDT.loadJs([’/modLoader/researches.js’,
            ‘/modLoader/topics.js’,
            ‘/modLoader/platforms.js’,
            ‘/modLoader/pixelware/pixelwarePlaysystemOne.js’,
            ‘/modLoader/pixelware/pixelwarePlaysystemTwo.js’,
            ‘/modLoader/pixelware/pixelwarePlaySystemFive.js’,
            ‘/modLoader/pixelware/pixelwareFounded.js’,
            ‘/modLoader/pixelware/pixelwareGameGear.js’,
            ‘/modLoader/pixelware/pixelwareGenericComputer.js’,
            ‘/modLoader/pixelware/pixelwareGS.js’,
            ‘/modLoader/pixelware/pixelwareMboxNext.js’,
            ‘/modLoader/pixelware/pixelwareNoMoreConsoles.js’,
            ‘/modLoader/pixelware/pixelwareMbox.js’,
            ‘/modLoader/pixelware/pixelwareDreamVast.js’,
            ‘/modLoader/pixelware/pixelwareUpdate.js’,
            ‘/modLoader/pixelware/pixelwareGRphoneUpdate.js’,
            ‘/ModLoader/pixelware/pixelwarePopulargames.js’,
            ‘/modLoader/generic/genericKeyboard.js’,
            ‘/modLoader/generic/genericScreen.js’
            ], ready, error);

@DanielKlug, mod still doesn’t work, i managed to send the update, but it seems it did nothing

1 Like

yes thats correct
I tried your mod but I didn’t get the addEvent error .

2 Likes

You don’t say :smiley: I think I have the same problem.

1 Like

But why do I get errors?

1 Like