Joining Session Error

Posted by 7upnamk
This happened when I try to join a session created from other client by using ID. I have surely typed right session ID to join. (It's just a positive one-digit integer)


___________________________________________
############################################################################################
ERROR in
action number 1
of Key Press Event for <Space> Key
for object obj_session:

Wrong gml type for buffer type
at gml_Script_gms_session_join (line 3) - buffer_write(_b, buffer_u16, argument0);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_gms_session_join (line 3)
called from - gml_Object_obj_session_KeyPressed_SPACE_1 (line 1) - gms_session_join(get_string("",""))

Replies (2)

Last message on 8 Jul 2018

7upnamk (Topicstarter) on 8 Jul 2018, 17:38:39
If it's a error caused by my noob-coding and my ancient gmstudio version, pls dont mind.
7upnamk (Topicstarter) on 8 Jul 2018, 16:43:30
and one more.....

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object GMS:

ds_list_size argument 1 incorrect type (5) expecting a Number (YYGI32)
at gml_Script_XServer_step (line 953) - for(var _j = 0; _j < ds_list_size(_l); _j++)
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_XServer_step (line 953)
called from - gml_Script_gms_step (line 59) - __ret = XServer_step(__current_room);
called from - gml_Object_GMS_StepNormalEvent_1 (line 2) - gms_step();