1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice
  2. NOTICE: We will be applying a Xenforo update on Tuesday 25th of February. This means that from approximately 10:00 to 14:00 BST the forums will be offline (or possibly longer). Sorry for the inconvenience! Official Announcement here.

Steam Workshop uploads not working?

Discussion in 'Programming' started by CKlidify, Jun 30, 2017.

  1. CKlidify

    CKlidify Member

    Nov 22, 2016
    I'm trying to upload things to my game's workshop but it's not seeming to work.

    On the left pressed event I have this:

    var app_id = steam_get_app_id();
    title = get_string("Title","");
    map_save(title + "/map.ssm");
    screen_save(title + "/thumb.png")
    desc = get_string("Description","");
    new_item = steam_ugc_create_item(app_id, ugc_filetype_community);
    (map_save saves the file i want to upload to the folder)

    Then in my Async - Steam event I have this:

    var event_id = async_load[? "id"];
    if(event_id == new_item){
        var type = async_load[? "event_type"];
        if(type == "ugc_create_item"){
            publishID = async_load[? "published_file_id"];
            var app_id = steam_get_app_id();
            new_map = steam_ugc_start_item_update(app_id, publishID);
            steam_ugc_set_item_title(new_map, title);
            steam_ugc_set_item_description(new_map, desc);
            steam_ugc_set_item_visibility(new_map, ugc_visibility_public);
            var tags;
            tags[0] = "map";
            steam_ugc_set_item_preview(new_map, title + "/thumb.png");
            steam_ugc_set_item_content(new_map, title);
            requestID = steam_ugc_submit_item_update(new_map, "Version 1")
    When I do this it uploads 2-3 empty entries to my workshop (no title, no description, no picture, and no files)

    Any reason why this isn't working?

Share This Page