Update 'Troubleshootings'

master
MagicBot 8 months ago
parent
commit
40c4b221a4
  1. 17
      Troubleshootings.md

17
Troubleshootings.md

@ -11,12 +11,19 @@ Solution: type `bash` @@ -11,12 +11,19 @@ Solution: type `bash`
---
Issue: *User is using a mobile phone tether and is unable to open ports on his non existant router. Can he still run MagicBox locally?*
Issue: *User can log into login server but entering world just spins*
Yes. The required configuration is shown below.
![netconfig1](https://cdn.discordapp.com/attachments/970763327758303253/971090154733309962/unknown.png)
<br>
![netconfig2](https://cdn.discordapp.com/attachments/970763327758303253/971090164233404516/unknown.png)
>MB_BIND_ADDR="0.0.0.0"
>MB_EXTERNAL_ADDR="0.0.0.0"
The login and world servers will attempt to bind to MB_BIND_ADDR when starting. By default this is configured to eth0.
When clicking 'enter world' the client will attempt to contact the game using MB_EXTERNAL_ADDR. By default this is configured using a call to whatismyip.
**The external ip must be reachable from outside your network.** Some admins will need port forwarding. Some admins will need to manually set the external address.
Magicbane when booting logs to the console the addresses and ports it is listening on. Search for "Initializing Network" within the console logs.
---

Loading…
Cancel
Save