3 Troubleshootings
MagicBot edited this page 8 months ago

Issue: Unable to find required .jar files in the classpath when booting MagicBox

$ tail console_login
Error: Unable to initialize main class engine.server.login.LoginServer
Caused by: java.lang.NoClassDefFoundError: org/pmw/tinylog/labelers/Labeler

This is a Windows only bug: When connecting to a container via the cli button it does not execute bash. This causes the shell to be missing important items such as the environment variable that defines the classpath. Look for the default unix $ prompt istead of magicbox~/ as defined in .bashrc

Solution: type bash


Issue: User can log into login server but entering world just spins

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.