Skip to content
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

Lobby chat functions don't exist? #13

Open
CarsonKompon opened this issue Jan 5, 2022 · 1 comment
Open

Lobby chat functions don't exist? #13

CarsonKompon opened this issue Jan 5, 2022 · 1 comment

Comments

@CarsonKompon
Copy link

CarsonKompon commented Jan 5, 2022

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant