Hey,
i'm trying to add GMnet into an existing Game. I've read this manual (https://gmnet-engine.org/manual/engine/) and followed all steps.
GMnet PUNCH is not enabled.
I'm able to create a server with port 6510. everything is fine untill i try to connect with a client.
both instances get an error message and crashes.
I don't really get why this happens. Maybe someone has a quick solution for this problem?
I'm using Game Maker v1.4.1760.
i'm trying to add GMnet into an existing Game. I've read this manual (https://gmnet-engine.org/manual/engine/) and followed all steps.
GMnet PUNCH is not enabled.
I'm able to create a server with port 6510. everything is fine untill i try to connect with a client.
both instances get an error message and crashes.
############################################################################################
FATAL ERROR in
action number 1
of Async Event: Networking
for object obj_htme:
instance_exists argument 1 incorrect type (5) expecting a Number (YYGI32)
at gml_Script_htme_recieveVarGroup (line 69) - if ((is_undefined(instance) || !instance_exists(instance))) {
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_htme_recieveVarGroup (line 69)
called from - gml_Script_htme_serverNetworking (line 37) - htme_recieveVarGroup();
called from - gml_Script_htme_recieveSignedPackets (line 100) - htme_serverNetworking();
called from - gml_Script_htme_networking (line 50) - htme_recieveSignedPackets();
called from - gml_Object_obj_htme_NetworkingEvent_1 (line 2) - htme_networking();
FATAL ERROR in
action number 1
of Async Event: Networking
for object obj_htme:
instance_exists argument 1 incorrect type (5) expecting a Number (YYGI32)
at gml_Script_htme_recieveVarGroup (line 69) - if ((is_undefined(instance) || !instance_exists(instance))) {
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_htme_recieveVarGroup (line 69)
called from - gml_Script_htme_serverNetworking (line 37) - htme_recieveVarGroup();
called from - gml_Script_htme_recieveSignedPackets (line 100) - htme_serverNetworking();
called from - gml_Script_htme_networking (line 50) - htme_recieveSignedPackets();
called from - gml_Object_obj_htme_NetworkingEvent_1 (line 2) - htme_networking();
############################################################################################
FATAL ERROR in
action number 1
of Async Event: Networking
for object obj_htme:
instance_exists argument 1 incorrect type (5) expecting a Number (YYGI32)
at gml_Script_htme_recieveVarGroup (line 69) - if ((is_undefined(instance) || !instance_exists(instance))) {
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_htme_recieveVarGroup (line 69)
called from - gml_Script_htme_clientNetworking (line 76) - htme_recieveVarGroup();
called from - gml_Script_htme_recieveSignedPackets (line 102) - htme_clientNetworking();
called from - gml_Script_htme_networking (line 50) - htme_recieveSignedPackets();
called from - gml_Object_obj_htme_NetworkingEvent_1 (line 2) - htme_networking();
FATAL ERROR in
action number 1
of Async Event: Networking
for object obj_htme:
instance_exists argument 1 incorrect type (5) expecting a Number (YYGI32)
at gml_Script_htme_recieveVarGroup (line 69) - if ((is_undefined(instance) || !instance_exists(instance))) {
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_htme_recieveVarGroup (line 69)
called from - gml_Script_htme_clientNetworking (line 76) - htme_recieveVarGroup();
called from - gml_Script_htme_recieveSignedPackets (line 102) - htme_clientNetworking();
called from - gml_Script_htme_networking (line 50) - htme_recieveSignedPackets();
called from - gml_Object_obj_htme_NetworkingEvent_1 (line 2) - htme_networking();
I don't really get why this happens. Maybe someone has a quick solution for this problem?
I'm using Game Maker v1.4.1760.