magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.88k stars 772 forks source link

Blank Client Console #13051

Open jestemwlodek opened 3 hours ago

jestemwlodek commented 3 hours ago

image

image

image

What do I do?

JayDi85 commented 3 hours ago

Something wrong with your network settings.

  1. Make sure you are using run-launcher file to run app
  2. Close all java apps and move launcher files to new folder, so you can run it and firewall will ask your network access again
  3. Run launcher - settings - make sure no network/proxy settings there
  4. If not helps then open http://xmage.today/config.json in your browser — it must show json settings, not a warning messages from your network admin
jestemwlodek commented 2 hours ago
  1. I am running that.
  2. I moved the launcher to a new folder, firewall never asked me about nothing.
  3. Here are the settings:

image

  1. No warning messages here.

image

JayDi85 commented 2 hours ago

Well, it's restrict network access to your default java (launcher uses default, client/server uses inner java). You can write in command line "where java" to find installed path. Maybe java re-install from https://java.com/ will help. If not then try to find your firewall settings and delete or enable network access for java.exe

P.S. Not related to network problems, but do not put game in program files -- it need write access to launcher and app folders, and do not support to run under admin. Use any folder like c:\games\x Also do not put in user related paths (it's can be broken with non-ascii user names).

JayDi85 commented 2 hours ago

As alternative run:

  1. Download zip and unpack it to any folder: https://adoptium.net/temurin/releases/?os=windows&arch=x64&package=jre
  2. Open run-launcher.cmd in text editor
  3. Replace java by full path to downloaded and unpacked java like: D:\SOFT\JAVA\openjdk-21\bin\java.exe shot_241031_232707
jestemwlodek commented 1 hour ago

Whitelisting java apps in the firewall settings changed nothing. image I did the alternative run and it gave me the same result. image

JayDi85 commented 1 hour ago

You can try to run xmage same way from luncher/mage/client and launcher/mage/server running scripts too. It will use your default java. You can change it same way as run-launcher to setup another java version (public servers require java 8 or any other with additional params, see #12768. It can help skip step with update check and download (but I recommend try to find a fix for your network problems with launcher).