steamworks.gml icon indicating copy to clipboard operation
steamworks.gml copied to clipboard

Lobby chat functions don't exist?

Open CarsonKompon opened this issue 2 years ago • 1 comments

I downloaded the repo and tried to run the GMS 2.3 example and was giving me an error for a missing dll. So I built a new dll by following the instructions in the README and everything was seemingly up and running. But upon pressing "Networking", I get the following error:

############################################################################################
ERROR in
action number 1
of Create Event
for object obj_test_network:

Variable obj_test_network.steam_lobby_max_chat_message_size(100041, -2147483648) not set before reading it.
 at gml_Object_obj_test_network_Create_0 (line 5) - chat_message_buf = buffer_create(steam_lobby_max_chat_message_size, buffer_fixed, 1);
############################################################################################
gml_Object_obj_test_network_Create_0 (line 5)
gml_Script_anon_gml_Object_obj_test_menu_Create_0_14_gml_Object_obj_test_menu_Create_0 (line 2)
gml_Object_obj_test_menu_Draw_0 (line 5) - if (test_button("Networking")) return replaceWith(obj_test_network);

If I give steam_lobby_max_chat_message_size a value then I continue to get errors for lobby chat related functions and constants that do not exist.

############################################################################################
ERROR in
action number 1
of Async Event: Steam
for object obj_test_network:

Variable <unknown_object>.steam_lobby_send_chat_message(100050, -2147483648) not set before reading it.
 at gml_Object_obj_test_network_Other_69 (line 22) -               trace("Initial send:", steam_lobby_send_chat_message("hello!"));
############################################################################################
gml_Object_obj_test_network_Other_69 (line 22)

I've also tried taking the extension from the most recent itch example instead of building which produces the same errors.

EDIT: I should clarify that all other functions work just fine. It's only the lobby chat related functions that do not exist.

CarsonKompon avatar Jan 05 '22 05:01 CarsonKompon

Quick update: Just noticed there were Github Actions for builds and downloaded the build from ~15 days ago and still do not have access to these functions. I presume it has something to do with there not being .gml files in the extension that initialize them but I have zero extension knowledge so am not sure if this is the case.

CarsonKompon avatar Jan 10 '22 23:01 CarsonKompon