Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi, this is the part where I wrote the wrong code and put the following in line 3066

SteamworksAPIManager.getSteamId = function (variablesId) {
    if (!this.isSteamClientRun()) { return false; }
    if (variablesId) {
        $gameVariables.setValue(Number(variablesId),
this.greenworksCore.getSteamId());
    }
    return this.greenworksCore.getSteamId(); }
}

Change to

SteamworksAPIManager.getSteamId = function (variablesId) {
    if (!this.isSteamClientRun()) { return false; }
    var steamInfo = JSON.stringify(this.greenworksCore.getSteamId());
    if (variablesId) {
        $gameVariables.setValue(Number(variablesId), JSON.parse(steamInfo).steamId);
    }
    return JSON.parse(steamInfo).steamId; }
}; }

Ah wonderful, excellent work on this! 

I am excited for Steamworks PLUS! o7