MultiplayerAPI doesn't work for me.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sphynxinator

My problem is simple. I’m trying to use the ENet and send and get packets. I’m trying to add

get_tree().multiplayer.connect("network_peer_packet", self, "_network_peer_packet")

to my script. But it says multiplayer index doesn’t found. I also tried Multiplayer.connect() and it doesn’t work either. What’s the problem. Can you please help me? I’m using the latest version of Godot.

it’s better to specify the version number.
the official latest is 3.0.6 and there is also 3.1.alpha version.

volzhs | 2018-10-10 11:31

Sorry about my confusion. MultiplayerAPI has introduced in 3.1, but I’m using the version 3.0.1. Which ENet API can I use for now?

Sphynxinator | 2018-10-10 16:37