Cow
Donator
- Posts
- 23
- Likes
- 18
This tutorial is based/copied from @LoU 's tutorial over at JKhub, so all credits go to him.
TUTORIAL IS BASED ON UBUNTU 14.04.3
Assumptions are made that:
Step 1 - Get the base JKA files:
Connect to your server with SFTP (or FTP) and make a main folder where you want to put everything (for example "ja"). Make another folder called "base" and copy following assets into it:
Step 2 - Get the MBII files:
Step 3 - Get the server hosting files:
Your folder structure should now look like this:
Step 4 - Launching your server:
Thats it, you hopefully now have a running MBII linux server.
Troubleshooting:
If you have a 64 bit server you might run into following error:
To fix this, you have to install the 32 bit libraries for linux:
TUTORIAL IS BASED ON UBUNTU 14.04.3
Assumptions are made that:
- You know how to connect to your linux server (SSH and SFTP).
- You are using a non-root user with sudo.
- You know basic linux commands.
Step 1 - Get the base JKA files:
Connect to your server with SFTP (or FTP) and make a main folder where you want to put everything (for example "ja"). Make another folder called "base" and copy following assets into it:
- base/assets0.pk3
- base/assets1.pk3
- base/assets2.pk3
- base/assets3.pk3
Step 2 - Get the MBII files:
- Download the MBII Server full download from Download and get it on your main folder (either with SFTP, if the serverfiles are hosted on Google Drive like they are now, or use the wget command if there's a direct download link).
- Unzip the MBII Server full download into your main folder:
Code:cd ~ cd ja unzip MovieBattlesII_FULL_V1.4.zip
- Download and unzip the MBII Upgrade (1.4 to 1.4.1) from Download, there's a direct download for this one so we can use wget:
Code:cd ~ cd ja wget https://update.moviebattles.org/files/MovieBattlesII_UPGRADE_V1.4_V1.4.1.zip unzip MovieBattlesII_UPGRADE_V1.4_V1.4.1.zip
Right now you have to download the full version, unzip it, get the upgrade and unzip that one on top of the full version. It is likely that in the near future you'll only have to download one zip that has all the updated MBII server files (and hopefully a direct link so you can use the wget method).
Step 3 - Get the server hosting files:
- Download server hosting files:
Get the server hosting files on your server (download from Fileplanet and transfer, using SFTP, onto your main folder) - Extract (and remove after extracting) the server hosting files:
Code:cd ~ cd ja unzip jalinuxded_1.011.zip rm jalinuxded_1.011.zip
- Set permission for the server file:
Code:sudo chmod a+x linuxjampded
- Move library file to the library:
Code:sudo mv libcxa.so.1 /usr/lib
- Set permission for library file:
Code:sudo chmod a+r /usr/lib/libcxa.so.1
Your folder structure should now look like this:
- /ja
- /base
- assets files
- /MBII
- Movie Battles II mod files
- linuxjampded
- /base
Step 4 - Launching your server:
- Edit the server cfg to your liking:
Code:cd ~ cd ja/MBII nano server_config_default.cfg
Change the server file name, save and exit: Ctrl – X; Y; Change name to server.cfg; Enter. - Make a script to launch the server:
Code:cd ~ cd ja nano start.sh
Code:./linuxjampded +set fs_game MBII +set dedicated 2 +exec server.cfg
- Add permissions:
Code:chmod a+x start.sh
- Run screen (so you can close ssh connection and keep server running):
Code:screen -S my_server
Code:./start.sh
Thats it, you hopefully now have a running MBII linux server.
Troubleshooting:
If you have a 64 bit server you might run into following error:
Code:
-bash: ./linuxjampded: No such file or directory
Code:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386