-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enumerateUserPublishedFilesResult only returns 1 entry #13
Comments
Thanks for the report! I think that bug should actually be fixed by the latest commit: da70c43 Can you verify that this fixes the issue? |
Do you have a pre-built ANE from the latest commit? I am able to compile the DLL/ANE from the latest commit, but the new ANE is crashing the test application. |
Not yet, I'll build one and upload it tomorrow. |
I recompiled the ANE with VS2012 but the results are the same. If steam isn't running it will say "not available", but if steam is running, it crashes on Steamworks.init(). |
New builds are up at http://dump.ventero.de/FRESteamWorks/v0.5-9-gfc68c21/, and a quick test on Windows seems to confirm that the issue is fixed. The crash you're getting sounds like a version mismatch to me. More precisely, it looks like the Steam SDK runtime library you're using is older than the SDK headers the ANE was compiled against. Can you double check to make sure that's not the case? Note that my pre-built ANEs are compiled against the v1.28 headers, and in general using them with newer SDK runtime libraries should be fine. It's only when using libraries that are older than the headers that you're likely to run into issues. |
Ah yes, I forgot I tried a old version of steam api dll to make sure it wasn't an issue with the latest version of steam, and forgot to point the test app back to the new version! That indeed fixed the crash I was having. I verified that the da70c43 commit fixed the original problem for enumerateUserPublishedFiles. Closing issue. Thanks so much! |
If a user has more than 1 published file for an app, the enumerateUserPublishedFilesResults returns undefined for all elements except the first one.
Log from the test application for enumerateUserPublishedFiles:
enumerateUserPublishedFiles(0) == true
RESPONSE_OnEnumerateUserPublishedFiles: 1
User published files: 2/2
0: 349706649
1: undefined
Compared to the result of enumerateSharedFiles:
enumerateSharedFiles(..., 0, [], []) == true
RESPONSE_OnEnumerateUserSharedWorkshopFile1
User shared files: 2/2
0: 349706649
1: 349706313
The text was updated successfully, but these errors were encountered: