GameMaker-Bugs
GameMaker-Bugs copied to clipboard
Network events stopped working after moving them to a different object
Description
Originally i handled getting data, drawing graphics for window to get the data, and actual networking using said data all in one persistent object. Now i refactored it into separate objects, but the connection no longer works, as the new object is not receiving networking events. The networking code in that event is exactly the same as it was in the original version The websocket is established, the server sends its packets (verified with wireshark with local version of the server that the data is being sent correctly), but gamemaker game cannot respond
I attached both the buggy project, as well as the version of the project prior the refactoring, so you can compare the behavior
Steps To Reproduce
- Open https://archipelago.gg/room/jdcnAdADQDusUU7MnI5I1g ap server to make sure it's running
- From that website look at the line that looks like
You can connect to this room by using '/connect archipelago.gg:50668' in the client.
. The number afterarchipelago:gg:
is the server port that you need to provide the game - Run Checksfinder
- Input the port into the appropriate text input (it will be saved for any subsequent runs; the save file at
~/.config/ChecksFinder/save_file.ini
can be reused) - Set the Slot name to
Player
if it's not already (it is also saved) - Click on the "Play Online" button, or use Shift and Shift+Tab to navigate to the connection button and press Enter
- Wait until the websocket is established (says such in debug log), and then nothing happens, other than an automatic timeout-caused error message
Which version of GameMaker are you reporting this issue for?
IDE v2024.8.1.171 Runtime v2024.8.1.218
Which operating system(s) are you seeing the problem on?
Windows 10.0.19045.0
Which platform(s) are you seeing the problem on?
Windows
Attached Files
- ChecksFinder_working.zip