• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ChoGGi_2

Lt. General
21 Badges
Apr 3, 2018
1.409
107
  • Surviving Mars
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Cities: Skylines Industries
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Parklife
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Green Cities
  • Age of Wonders III
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Natural Disasters
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Crusader Kings II
  • Ship Simulator Extremes
  • Magicka
Description
Crashing when I try to upload a mod


Windows 7 x64 6.1.7601 SP1


Steam

What is your game version?
231.139

Please explain your issue is in as much detail as possible.
I'm having some issues uploading a mod to the Steam Workshop

function GedOpUploadMod(socket, root) in particular

this works fine
Code:
AsyncSteamWorkshopCreateItem()
as you can see
https://steamcommunity.com/workshop/filedetails/?id=1410284255

this crashes
Code:
local appId = SteamGetAppId()
local userId = SteamGetUserId64()
AsyncSteamWorkshopUserOwnsItem(userId, appId, 1410284255)

this also crashes
Code:
AsyncSteamWorkshopUpdateItem({
  --snipped
})

I did notice that normally neither of these returned anything:
Code:
SteamGetAppId()
SteamGetUserId64()
so I wrapped
Code:
ModUploadThread = CreateRealTimeThread(function()
  --stuff
end
in
Code:
if "ok" == socket:WaitQuestion(
  "test",
  "wrapped ModUploadThread"
) then
  ModUploadThread = CreateRealTimeThread(function()
    --stuff
  end
end
then they returned ids

I've tried it on a clean install with no mods loaded.
I've tried it with my steam account linked and unlinked.
I tried disabling my firewall.

Can you replicate the issue?

Open mod editor>open that mod>click upload>press ok

Attachments
 

Attachments

  • MarsSteam.exe-20180613-01.21.37-5b0fe520.log
    1,7 KB · Views: 6
  • Ged.exe-20180613-01.21.52-5afaf6c3.log
    2,4 KB · Views: 4
Last edited:
Upvote 0
So it seems the issue is I manually added extra ModItemCode entries, seems fine now that I just use one and dofile the rest.

Edit: It may have also have been me using
"steam_id", 1411157810,
instead of
"steam_id", "1411157810",

*whistles*
 
Last edited: