Jump to content

Troubleshooting

From fCraft Wiki
Revision as of 22:20, 13 March 2012 by F (talk | contribs)

Port Forwarding

If you have a router, you will need to forward the port to allow external players to connect. Default port is 25565. ConfigGUI includes a little tool for checking whether the port is forwarded properly - click the [Check] button next to port number setting, on "General" tab. Of course, the only way to be sure that port is forwarded properly is to ask someone remote to try joining your server.

I made changed to the config/world list, but changes didn't apply

  • fCraft can read most changes on the fly using /Reload command. However, some things require a full restart:
    • Ranks
    • Worlds
    • IRC settings
    • Enabling/disabling BlockDB
  • Make sure that ServerCLI and ServerGUI are NOT running while you run ConfigGUI. fCraft may overwrite your changes if it's still running.
  • Changes are not saved until you hit "OK" or "Apply" in ConfigGUI.
  • Make sure that ConfigGUI is in the same folder as the rest of the server files.

Other players cannot connect from LAN

Minecraft client has a lot of trouble working on LAN. You probably will not be able to connect via the public URL. Fortunately, there is a workaround:

  1. Enable "Allow connections from LAN without verification" checkbox in ConfigGUI's "Security" tab (or set AllowUnverifiedLAN to "true" in config.xml).
  2. Find your local IP address.
    • In Windows XP+, go to Start -> type "cmd" to open a terminal -> type ipconfig. The address you need is labeled "IPv4 Address" under "Local Area Connection".
    • In Unix/Linux, use ifconfig utility.
  3. Connect to http://www.minecraft.net/classic/play?ip=_____&port=_____ (fill in blanks with your server's IP address and port).

How do I promote myself to the highest rank?

Type the following in console (either ConfigGUI or ConfigCLI): /promote YourPlayerName DesiredRank

System.DllNotFoundException: libMonoPosixHelper.so

libMonoPosixHelper is a Mono library that provides compression functionality. If you installed Mono via a package manager, make sure that libmono-posix2.0-cil package is installed. If you built or configured your own copy of Mono, make sure that LD_LIBRARY_PATH includes Mono's library path (use find / -name libMonoPosixHelper.so to locate Mono's library path).

"Could not verify player name"

Verification problems occur when your fCraft server cannot verify identity of connecting players. Here are some things that may cause or fix verification problems:
  1. If minecraft.net is offline or slow, wait for it to stabilize.
  2. If minecraft.net is working but you still cant verify name, log out then log back in.
  3. Try restarting your server. Wait a couple minutes before trying to connect to a newly-restarted server (to give your server time to synchronize with minecraft.net).
  4. If you are using WoM client's "Resume" function, which uses cached verification information, try using the proper log-in procedure in WoM instead. The "Resume" function only works as long as your IP does not change and as long as the server does not restart.
  5. If you are using WoM and connecting with a bookmark, make sure that the bookmarked address starts with "http://www.minecraft.net/..." and not "mc://...". Addresses in the form "mc://" are temporary, and will stop working whenever the server is restarted.

Memory usage keeps going up under Mono

If you are using Mono 2.6.x or earlier, you are out of luck. If you are running 2.8+, try running mono with SGen (generational garbage collection) enabled, like this: mono --gc=sgen ServerCLI.exe or mono-sgen ServerCLI.exe. If you've tried everything and cannot get Mono memory usage under control, try setting the RestartInterval config key to make the server restart itself every once in a while.