N
NoFontNL
Guest
Hi all, again,
I'm using http_get to get the text from a page and it all works well the first time, after retrieving the text I switch over to another room, and when I go back to the first room, which is persistent and try to make another http_get request, nothing happens. After that, I decided to close the game with the regular windows close button, then the game gave me a "I32 argument incorrect type 11382795" error.
What does this error mean? What is the problem, what should I do to fix it?
Thanks in advance
update: when I uncheck persistent rooms, it won't give me any crash anymore, but it seems like no HTTP requests are executed anymore.
update2: The crash happened, because I declared the variable body twice. Once in the create event of the object in which I started the first HTTP request and for the second time in the HTTP event itself in which I tried to set up a new request using the data from the first one.
I'm using http_get to get the text from a page and it all works well the first time, after retrieving the text I switch over to another room, and when I go back to the first room, which is persistent and try to make another http_get request, nothing happens. After that, I decided to close the game with the regular windows close button, then the game gave me a "I32 argument incorrect type 11382795" error.
What does this error mean? What is the problem, what should I do to fix it?
Thanks in advance
update: when I uncheck persistent rooms, it won't give me any crash anymore, but it seems like no HTTP requests are executed anymore.
update2: The crash happened, because I declared the variable body twice. Once in the create event of the object in which I started the first HTTP request and for the second time in the HTTP event itself in which I tried to set up a new request using the data from the first one.
Last edited by a moderator: