GrapeshotGames / ServerGridEditor

ServerGridEditor for Atlas
https://playatlas.com/
MIT License
82 stars 141 forks source link

Servers are not using the SeamlessIP port numbers and then crash #15

Closed Rob-bb closed 5 years ago

Rob-bb commented 5 years ago

I have setup my servers to use Query Port of 57550 and game port of 5750 and Seamless port of 27000, but when I monitor the ports being used with a tool like CurrPorts it does not show the Seamless port as being in use. (this is for the first server, the others using increasing port numbers spaced about 3 numbers apart ie: 57553 etc)

I asked another person to check on their server and it is being used on thiers.

My server does not show up in the Atlas lists and after a few minutes they crash with no error message.

I am using the small 4 grid example from this repo having changed the IP address and name, adn removed the shipping routes,

I don't know what else to try.

smooreace commented 5 years ago

This isnt the place to get help. But you probably never changed the Atlas Id.

On Fri, Dec 28, 2018 at 4:34 AM Rob notifications@github.com wrote:

I have setup my servers to use Query Port of 57550 and game port of 5750 and Seamless port of 27000, but when I monitor the ports being used with a tool like CurrPorts it does not show the Seamless port as being in use. (this is for the first server, the others using increasing port numbers spaced about 3 numbers apart ie: 57553 etc)

I asked another person to check on their server and it is being used on thiers.

My server does not show up in the Atlas lists and after a few minutes they crash with no error message.

I am using the small 4 grid example from this repo having changed the IP address and name, adn removed the shipping routes,

I don't know what else to try.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrapeshotGames/ServerGridEditor/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah5OQ72uywh-9rR5NB4hN6qfAqAjnQPXks5u9fOfgaJpZM4ZjtrA .

GrapeshotGames commented 5 years ago

The Seamless port is confusingly for seamless data transfer of map images to the client if someone doesn't have the optional MetaWorldURL setup. As smooreace says this isn't really the place for questions like that but my first thought is wondering if you have Redis setup and if your connection information is right for all those and that you can connect from your game servers.

For port reference we have port/gamePort 2 apart on the same machine and seamlessDataPort 4 apart but for officials those are disabled. The 'port' is used for game servers to talk to each other. In our examples you also can see us using the port for the QueryPort passed into the game. This is for steam listing, they are two different things but we just make them on the same. One is TCP and the other is UDP. gamePort is what clients actually connect on for UE4 traffic.

Servers don't have to talk to each other for you to be able connect as a client but transfers will be broken. The WorldAtlasId should be changed to your own and check the DatabaseConnections are all setup correctly for your database.

Rob-bb commented 5 years ago

@GrapeshotGames Yes, I have set this up, and set port forwarding etc. Redis is working, I believe the json files are correct. I can see traffic on the ports being forwarded in my router, and using wireshark I can see the UDP packets reaching the actual server hardware. Windows Firewall is turned off.

No data is reaching the ShooterGame application, based on CurrPorts app, but it does show activity on the redis port for ShooterGame. I don't know at this point so I am re-installing windows on the machine (it has no other purpose than to be an atlas server)

As I said before it does not open any ports for the SeamlessData. Notice in the image no ports 27000+ are open for ShooterGame so I am not sure what is wrong.

image

Also regarding @smooreace comment on the AtlasID Maybe I am misunderstanding it but is it not important, I thought it was for sorting in the list? I mean if it were important to be unique how are we to pick a unique ID and be sure it remains Unique? Any way, I did change it to a random number and did try changing it a few times without any change in status.

smooreace commented 5 years ago

I have see numbers ranging from 6 to as many as 10 or 11 digits. While its true that overlaps COULD happen, its pretty damn rare! As to why... its just a general assumption I guess, as is everything with running an Atlas server. Literally nothing is concrete at this point. I HAVE had issues with map images not changing (exported with server data displayed) until I changed the server ID. So there is far more to that number than just 'a number'.

On Fri, Dec 28, 2018 at 8:43 PM Rob notifications@github.com wrote:

@GrapeshotGames https://github.com/GrapeshotGames Yes, I have set this up, and set port forwarding etc. Redis is working, I believe the json files are correct. I can see traffic on the ports being forwarded in my router, and using wireshark I can see the UDP packets reaching the actual server hardware. Windows Firewall is turned off.

No data is reaching the ShooterGame application, based on CurrPorts app, but it does show activity on the redis port for ShooterGame. I don't know at this point so I am re-installing windows on the machine (it has no other purpose than to be an atlas server)

As I said before it does not open any ports for the SeamlessData. Notice in the image no ports 27000+ are open for ShooterGame so I am not sure what is wrong.

[image: image] https://user-images.githubusercontent.com/3431318/50532561-dc858200-0b7f-11e9-8fe2-2a14c19779cc.png

Also regarding @smooreace https://github.com/smooreace comment on the AtlasID Maybe I am misunderstanding it but is it not important, I thought it was for sorting in the list? I mean if it were important to be unique how are we to pick a unique ID and be sure it remains Unique? Any way, I did change it to a random number and did try changing it a few times without any change in status.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GrapeshotGames/ServerGridEditor/issues/15#issuecomment-450459197, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah5OQwNBY3ewEuuJOmp5C_vMNdHUIjg-ks5u9tbYgaJpZM4ZjtrA .

Rob-bb commented 5 years ago

That's an interesting find @smooreace. Any how, it's not my issue, I have tracked it down to a simple sounding yet complex issue. People on my network can not see my server in the server list, people outside my network can.

smooreace commented 5 years ago

Then you have a nat problem in your router

On Sat, Dec 29, 2018 at 12:36 PM Rob notifications@github.com wrote:

That's an interesting find @smooreace https://github.com/smooreace. Any how, it's not my issue, I have tracked it down to a simple sounding yet complex issue. People on my network can not see my server in the server list, people outside my network can.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GrapeshotGames/ServerGridEditor/issues/15#issuecomment-450511800, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah5OQ7q4OFVd7EoDAQNM9UxQ1sRraNlLks5u97YagaJpZM4ZjtrA .

GrapeshotGames commented 5 years ago

@Rob-bb Ok so that makes me think of how steam returns browser results to you. I will see about adding back a 'LAN' drop down to Atlas sometime next week or one after that. In the meantime as a work around you can create a .bat or shortcut for people to launch something like "AtlasGame.exe 1.2.3.4:6559" to a home server of yours (ip:port) to have it auto connect to it. Let me know if that works for you as a short term stop gap.

Rob-bb commented 5 years ago

@GrapeshotGames thanks for the tip, but I sorted it once I realised it was router problem, needed to read up on masquerading and hairpin nat settings.

But this raises another question for you, with ark I used to run a link on my web page that would start ARK and connect to my server, but with Atlas it sort of loads up and then gets stuck. with the progress bar frozen after loading PrimalGameData_BP

Cheers, and thanks for your help,

Rob-bb commented 5 years ago

for reference the link looks like steam://rungameid/834910/connect/ip_address:port_number

smooreace commented 5 years ago

It really has no need for the appid. Steam connect works perfectly as steam://connect/IP:port, if the server/s are set up properly. Steam identifies the APPID by the query response

On Sat, Dec 29, 2018 at 7:22 PM Rob notifications@github.com wrote:

for reference the link looks like steam://rungameid/834910/connect/ip_address:port_number

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GrapeshotGames/ServerGridEditor/issues/15#issuecomment-450532702, or mute the thread https://github.com/notifications/unsubscribe-auth/Ah5OQ7gTkU-dPpZfuPfsW0hjvXRE_MQkks5u-BU-gaJpZM4ZjtrA .

Rob-bb commented 5 years ago

It's a link on a web page, how will steam know what app it is =without an app id? you know href="steam://