Facepunch / Facepunch.Steamworks

Another fucking c# Steamworks implementation
MIT License
2.92k stars 350 forks source link

Actions on workshop items do not work #775

Closed LluisV closed 3 months ago

LluisV commented 3 months ago

Describe the bug Voting, subscribing, adding to fav, (...), workshop items does not work.

To Reproduce Steps to reproduce the behavior:

  1. Create or download an item from the workshop.
  2. Call item.Vote.
  3. The result.Value is always 'Failure'.

Calling Code

                // 'item' is a Steamworks.Ugc.Item object
                var result = await item.Vote(true);
                if(!result.HasValue || result.Value != Steamworks.Result.OK)
                { 
                    ShowMessage("Error", "An error occurred while submitting your request", 3);
                    return;
                }

Expected behavior The vote should be published in the workshop item, but it is not.

Desktop (please complete the following information):

Additional context The rest of the functionalities work correctly (publish/download/update items, consult their information, etc.). It simply does not allow you to modify the information of the items in the workshop.

LluisV commented 3 months ago

Nvermind, it was a mistake in my code. Sorry abt that.