p2p_send bug in pc and mobile
Im using the (all) version of the extension, when i try to call p2p_send to send to the other player the other player client is automatically close without crash message or error but in mobile p2p_send works fine
Replies (5)
Last message on 4 Jun 2021
Size43
(Administrator)
on
18 May 2021, 22:57:02
Are you using
gms_debug_hide_errors? If yes, try removing that. It might be hiding the real reason for the crash.
Do you have anything in your code that may close the game? For example, do you close the game if it disconnected from the server?
the cause of autoclose is the message reporting window in pc but in android it shows and works fine but on pc it cause crash and auto close so i decided to use gms_message_reporting(mt_none)
dirtycow
(Topicstarter)
on
19 May 2021, 18:30:05
Im not using gms_debug_hide_errors and also i dont have code that the game will automatically close when the game is not connected with the server and also why p2p message will trigger to end the game idk maybe theres a bug something , cuz when i p2p_send to the client that login on android it works fine but then if the client is on pc , when i send p2p message to pc client it will close automatically, i already put debug message on console to track wheres the problem and even on i commented out the gms_script_set_p2p it still closing
Size43
(Administrator)
on
30 May 2021, 16:59:08
Are you and FluxxStd the same person? If not, please let me know.
I'm not quite sure why message reporting would cause the game to crash immediately. I'll add it to my TODO list to see if I can figure out a way to prevent that.
yes i have 3 accounts for testing my games