atlas-dedicated-server/node.js simple HTTP server for MapImg and CellImg_/README.md

24 lines
1.0 KiB
Markdown
Raw Normal View History

2018-12-29 18:15:15 +00:00
# atlas.js simple HTTP server
The atlas.js node.js server is intended to do one thing - serve your `MapImg`, `CellImg_` and `/n/n/n.png` files over HTTP. It is written for this single purpose, and will serve no other files.
2018-12-31 13:53:05 +00:00
An executable version (Windows x64 exe) has been provided for your convenience as `atlas-simple-http-server.zip`.
2018-12-29 18:15:15 +00:00
### Configuration
2018-12-31 13:53:05 +00:00
Please remember to edit `localPort` and `serverGridFolder` to your liking, and remember to *port-forward* the chosen port to your public IP.
2018-12-29 18:15:15 +00:00
### Running
2018-12-31 13:53:05 +00:00
Run the server either via `node atlas.js` or by launching `atlas-simple-http-server.exe`.
2018-12-29 18:15:15 +00:00
### Debugging
2018-12-31 13:53:05 +00:00
The simple HTTP server outputs full headers received and the raw request. Use these to debug what the Game server is trying (and failing) to do.
2018-12-29 18:15:15 +00:00
2018-12-31 13:53:05 +00:00
If you're getting repeated requests for the same file, **make sure your `SeamlessDataPort` is port-fordwarded and included in your starter cmd**. Once that is done, the server should stop making a fool of itself. ;]
### Required packages
- [fs]
- [http]
- [url]
- [nconf]