Windows Gamejolt achievements and trophies

X

Xskode

Guest
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Async Event: HTTP
for object obj_gj_controller:

string_replace_all argument 1 incorrect type (5) expecting a String (YYGS)
at gml_Script_gj_result_status
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_gj_result_status (line 0)
gml_Object_obj_gj_controller_Other_62


above is the error I get when the game starts up. however, it only happens once.
when I click the abort button then open the game again it works perfectly. I revisited the tutorial for using Gamejolt's achievements and everything is correct. how do I fix this glitch?
This is the last problem I have before I can submit (upload) to gamejolt. please if you know anything, do share.

Thanks
 

jo-thijs

Member
Just don't pass the value undefined to the function string_replace_all, but actually pass a string as first argument (argument0).
Have you read an unexisting key from the async_load map?
 
X

Xskode

Guest
Just don't pass the value undefined to the function string_replace_all, but actually pass a string as first argument (argument0).
Have you read an unexisting key from the async_load map?
okay i'll do that thanks.
no I have not read an unexisting key from the async_load map
 
X

Xskode

Guest
Thanks I test it multiple times after doing what you said, and no error!! Thanks man!

It well be on gamejolt soon.
 
Top