+2 votes

We building a coop lan game in this exquisite highlevel enet based multiplayer.
Now we are wondering how would you find lan games.

I was hopeing to see ip multicasting, but it seems this is not implemented.
How would you do it? Would you scan the subnet instead?
Must i use native code to get multicast?

in Engine by (107 points)

I thought the point of godot architecture was that you can use the server to send all the info to the newly connected clients

https://github.com/godotengine/godot-demo-projects/blob/master/networking/multiplayer_bomber/gamestate.gd

http://docs.godotengine.org/en/latest/learning/features/networking/high_level_multiplayer.html

I am just guessing here.

ty for your comment. We've aready got the multiplayer part working (finer and easier than expected actually).
But in the spirit of old lan games we want to be able to search the network for open game servers.
So the problem is really: find the ip of the server in the lan.

i started hacking on a gdnative plugin:
https://github.com/enthus1ast/godotMulticast
(its very hacky atm)

I'm looking for the same thing, if you can get a solution please post here.

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.