Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Steamworks.gml example

Sample project for Steam-based networking for GameMaker. · By YellowAfterlife

Attempt to create lobby crashes

A topic by bte_lead created Sep 26, 2017 Views: 756 Replies: 9
Viewing posts 1 to 9

Every time I attempt to create a lobby, the game, and steam crashes.  Do you know why this could be??

Developer

I think the only case where you could crash Steam client is by supplying an invalid string. Check that you didn't pass a non-string value as a string argument somewhere?

Thx

Do you know where that could happen?  BTW the exception called in the steam minidumps is a Access Violation

Developer

Any function involving sending strings to Steam API, potentially including the built-in ones. Adding show_debug_message calls to different places should help to narrow down he location.

Thank you so much!

So I went through all the functions, using find to look at all the functions, and show_debug_message() to find where the crash happens and it is definitely in the steam_lobby_create().  Is there any init functions I need

Developer

Are you using the correct version of Steam SDK? GMS needs 1.35a.

Thx, do you know where I can download the older version of steam?  I have been using 1.41.  Also I am confused with how I have to build it as it says in the Github respo?  Which files do I need to run in VS?  Thank you so much, you're a life saver!!!!

Developer

Have you tried following the official tutorial?  It specifically says which version to use. Also, you don't need to build anything - you can use the pre-built extension in this download.