I’m writing GODOT 4 game and trying to publish created server host in it, unfortunately Nakama traffic exchange doesn’t work for me because it uses physics, so all actions delayed about 0.5 second on good connection.
So my approach is:
var peer = ENetMultiplayerPeer.new()
peer.create_server(PORT)
if peer.get_connection_status() == MultiplayerPeer.CONNECTION_DISCONNECTED:
print("Failed to start multiplayer server")
return
multiplayer.multiplayer_peer = peer
init_game()
var nakama_session = await Online.nakama_client.authenticate_custom_async("secret_key")
if nakama_session.is_exception():
print("Login failed!")
return
nakama_session.crate_match("match_name", ip, port.... metadata)
on other hand my expectation was:
var list := nakama_session.list_matches(some_filtering_params)
show_and_choose_matches_from(list)
But the only way I can see is matchmaker, which is not exactly what I’m trying to do.
Please help me with my problem.