-
Notifications
You must be signed in to change notification settings - Fork 7
The event on_network_message don't fire #8
Comments
Hey, are you running |
Yes, I have two loops, loop (called before the game processing) and end_loop, after the game processing :
|
Maybe I messed up with registering?...
|
hang on lemme try replicating, i havent worked on this library in a while so im not sure what the issue could be exactly |
If you want I can send you my code, the part that manage discord |
That would help allot yeah |
I think it should be noted that on_network_message takes three arguments: lobby_id: int
user_id: int
channel_id: int
data: bytes |
If needed I can also document, I made this code quickly
|
Yes thanks, I change it, but the issue is still there... |
OK im getting the same issue, I'm going to try replicating in C to see if its an issue with the Python wrapper or the SDK itself. |
Okay, good luck and thanks for your quick support 👍 |
I recently started to use this library to create a small video game using this librairie.
After the setup of lobby_manager.get_lobby_activity_secret and lobby_transaction.connect_network, I can send messages using lobby_manager.send_network_message, it seems to work, but I never get the message back.
Here is some parts of my code :
self.lobby_manager.connect_lobby_with_activity_secret(secret, self.on_lobby_joined_callback)
Any ideas to fix it ?
The text was updated successfully, but these errors were encountered: