0 votes

I don't know if it's me or the engine, but when i try to create an Enet server it throws: Could not create Enet server.



Btw, i haven't used Imgur before, so i don't know if the images are there...

asked Apr 21 in Engine by Mauppi1 (12 points)

The images work fine. :) And the code excerpt you provided in your second screenshot looks alright too! However, the errors indicate there still went something wrong. Note that create_server returns an error code, you should check it:

var peer = NetworkedMultiplayerENet.new()
var error = peer.create_server(272, 2)
if error: print("ERROR CODE: ", error)

It might help you (or us, if you post it here) to fix the problem.

Sorry, i am very late. It throws an ERRCANTCREATE code.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.