Weird Error Message

CloseRange

Member
I've been waiting for the day I get this kind of error message again just so I could ask about it. Today is the day:
############################################################################################
FATAL ERROR in
action number 1
of Async Event: Networking
for object clientManager:
local variable h(100005, -2147483648) not set before reading it.
at gml_Script_DATAclient
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_DATAclient (line -1)
gml_Script_clientNetwork
gml_Object_clientManager_Other_68
Now I did figure out the problem no thanks to this error message....
I'm more curious why it says anything is happening on line -1
why does the stack frame refrence Other rather than the async network event
and why doesn't it give me the whole line in question like normal
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
I'm more curious why it says anything is happening on line -1
Because your game is not being ran from IDE (which exports line numbers and source code into a .yydebug file) and you did not use YYC (which embeds line number references into the executable)
why does the stack frame refrence Other rather than the async network event
That's the internal name of Async Network event. You can find event ID mappings here
https://github.com/GameMakerDiscord/GMEdit/blob/master/bin/resources/app/api/events.gml
and why doesn't it give me the whole line in question like normal
As mentioned above - you sure wouldn't want your source code to be included in the final executable for purposes of showing it in error messages.
 
Top