zwometer / godot4multiplayermvp Goto Github PK
View Code? Open in Web Editor NEWA minimal working prototype for Godot 4 multiplayer using ENetMultiplayerPeer.
License: MIT License
A minimal working prototype for Godot 4 multiplayer using ENetMultiplayerPeer.
License: MIT License
Hello!
I'm sorry if this is the wrong place to contact you regarding this project.
I've been experimenting with the code you've posted to get a grip on Godot's online capabilities. I've managed to connect PCs from multiple different networks to the server, but mobile phones have been giving me some trouble.
For further details of my setup, I have one PC in my network, of which I made the IP static (in my router's settings), and I've fowarded the 49664 port (so, any TCP/UDP connections coming from any IP on port 49664 are listened by my fixed IP's PC on the same port). I also put this IP for DMZ on my router's settings. Then, I use no-IP to fix a name for my public IP, and that port (49664) and this name ("name".ddns.net) is what I pass as arguments on both the client and server code.
This setup works for two PCs on separate networks, considering one of them is my PC (running the server code) on my own network. If a PC in a different network tries to connect using the client's code, it connects just fine. If I try to connect from another PC on my own network using the client's code, it does NOT connect.
As I've said before in the introduction, the real issue lies in mobile connections. It never connects when I deploy using regular one-click deploy, but it works when I deploy with remote debug. I don't understand this behaviour specifically.
If anyone could shed some light on it, i'd be very grateful.
If any more information is needed, I'll be happy to provide it.
I apologize if this is not the place for this, and I'll gladly delete this issue if it is not appropriate.
Thank you for you attention.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.