Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedicated server support #47

Closed
organnerx opened this issue Feb 16, 2019 · 7 comments
Closed

Dedicated server support #47

organnerx opened this issue Feb 16, 2019 · 7 comments
Labels
enhancement New feature or request

Comments

@organnerx
Copy link

organnerx commented Feb 16, 2019

How this master server works - it responsible for games list, inventories, rooms list and games' starting. But it is not responsible for games' hosting! Games' hosting should be the main priority of master server. There is more detailed explanation:
You host master server on dedicated server with an external IP. Then, when player without external IP creates a room on that master server, other players can enter his lobby successfully because this is what master server do. But when the game is started, it is being hosted on this host-player 192.168.0.1 / 127.0.0.1 / localhost IP. So all players who were waited for game start are kicked with connection error (error 2004).
All games on master server should be hosted with the same IP as master server. It should just increment a port number for each room and not use players' IP's for hosting. So room's IP's will look like xxxxx:30001, xxxxx:30002, xxxxx:30003, etc. This is how it is done in CSO1 and maybe was done in CSO2. This will give an ability to play online while having only the master server IP.

@xRiseless
Copy link

+1

@L-Leite L-Leite added the enhancement New feature or request label Feb 16, 2019
@L-Leite L-Leite changed the title [Critical] Can't host room without external IP Dedicated server support Feb 16, 2019
@gnexia2013
Copy link

+1

@gnexia2013
Copy link

I have external IP ,But so do others.2004,2001,7004

@gnexia2013
Copy link

Stuck in% 15 or 10%

@HouTom
Copy link

HouTom commented Mar 17, 2019

You can use OpenVPN
create a server
all players connect it
DCHP server must open

@IGNRexI
Copy link

IGNRexI commented Jul 12, 2020

still no improvement?

@L-Leite
Copy link
Owner

L-Leite commented Jul 17, 2020

still no improvement?

i haven't looked into this yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants