Here is a list of some basic issues/guides that might come when you are setting up your server. The problem and solution is mentioned:
- Change relxxx version
You can download the relevant file for Linux 64 from vcmp forum or vcmp discord for linux x64. Replace that in files/mpsvrrel64.
- Could not load script scripts/main.nut
This happens because your end of file (EOL) is set to CRLF. You need to change that to LF. In order to that:
For Notepad++ users:
Edit->EOL Conversion -> Unix(LF)
For vscode users:
In the bottom-right corner of the VS Code window, you’ll see the current EOL sequence (e.g., LF or CRLF). Click on the EOL sequence indicator. Select LF.
For changing the whole project, goto settings (CTRL + ,). Search: Files:EOL. Change that to LF
- Permission denied
go to Files -> right click on that file -> permissions. Enter 755 and press update.
- VM path (for Java servers only)
JDK 17.0.9 is already installed, use this as your jvm path:
/usr/local/java/jdk-17.0.9/lib/server/libjvm.so