From 40c4b221a4a5621a577605767e453cef064bb6e8 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 28 Jul 2024 20:40:29 +0000 Subject: [PATCH] Update 'Troubleshootings' --- Troubleshootings.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Troubleshootings.md b/Troubleshootings.md index dd817b1..819cf7d 100644 --- a/Troubleshootings.md +++ b/Troubleshootings.md @@ -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) -
-![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. + ---