expressobits / steam-multiplayer-peer

Steam Sockets Multiplayer Peer for Godot 4 via GDExtension
MIT License
199 stars 13 forks source link

Invalid call. Nonexistent function 'create_host' in base 'SteamMultiplayerPeer'. #18

Closed TOUQUI closed 4 months ago

TOUQUI commented 4 months ago

As the title mentions, I get the error: "Invalid call. Nonexistent function 'create_host' in base 'SteamMultiplayerPeer'."

On the line: peer.create_host(0, [])

I have Godot Steam and Steam Multiplayer Peer installed, and I am using the Godot Steam editor.

Does anyone have an idea of what the issue might be?

scriptsengineer commented 4 months ago

Could you inform: Godot version Platform (MacOS, Win, Linux) Steam Multiplayer Peer Version

I believe the peer was not recognized, check the "demo" branch where there is the bomberman demo with steam multiplayer peer applied to it.

BatteryAcid commented 4 months ago

I have Godot Steam and Steam Multiplayer Peer installed, and I am using the Godot Steam editor.

Does this mean you've installed the SteamMultiplayerPeer extension AND are using the custom Godot Steam editor build? Because that's not going to work, you have to pick one or the other.

@TOUQUI

TOUQUI commented 4 months ago

Yeah I was using the godot steam editor now it work thank you guys !