• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

SOLVED Game (I32)Crash HTTP events?

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.
 
Last edited by a moderator:
Top