Legacy GM GMNET - HTME Error

Imperial

Member
I use GMnet

I get this Error when I run the game
Code:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object game_player:

Unable to find any instance for object index '100000' name '<undefined>'
at gml_Script_mp_sync (line 22) - var key= ds_map_find_first(global.htme_object.globalInstances);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_mp_sync (line 22)
called from - gml_Object_game_player_CreateEvent_1 (line 1) - mp_sync();
this is the Script of Create Event
Code:
spd = 5;
self.name = "";
self.Key_Right = 0;
self.Key_Left = 0;
self.Key_Up = 0;
self.Key_Down = 0;

mp_sync();
mp_addPosition("Pos",room_speed * 15);
mp_setType("Pos",mp_type.SMART);
mp_tolerance("Pos",20);

mp_addBuiltinBasic("basicDrawing",room_speed * 15);
mp_setType("basicDrawing",mp_type.SMART);

mp_addBuiltinBasic("basicPhysics",room_speed * 15);
mp_setType("basicPhysics",mp_type.SMART);

mp_add("playerName","name",buffer_string,room_speed * 60);
mp_setType("playerName",mp_type.SMART);

mp_add("controls","Key_Right,Key_Left,Key_Up,Key_Down",buffer_bool,1);
 

FrostyCat

Member
Either you have accidentally eliminated GMNet's hidden controller object (e.g. with (all) instance_destroy();, not setting it as persistent, deactivating it), or you didn't set it up properly.
 
Top