Probably if you are trying to start a Jedi Outcast (JK2) server with the 1.03 or 1.02 version of the binaries, you receive this problem.
In this tutorial, you learn why you receive this problen, and how to fix it
- "First of all, if you are in a furious rage because yo can't start your JK2 server on your recently rented VPS or dedicated machine, open this spoiler, play the mix and continue. When you hearded the entire mix and calmed your head, yo will be prepared to start this detailed tutorial, because if you fail, it will be because you aren't quiet and you're wrong about something, not because I explain something wrong."
This is a undocumented issue since the year 2002, Ok lets go (I never heard of a tutorial to fix this).
1. Why god!? Why?
The old compiled versions on jk2Ded are too old, really, too old. Because that, some instructions are outdated for the newest linux distributions, and need to use some interface libraries to work properly.
# Interfaces add delays to everything. Because that, i suppose that this solution isn't perfect.
2. Get the interface
First, you need to download the "Loki compatibility libraries" from here: loki_compat_libs-1.5.tar.bz2, if you want a full documentation of this, see the bibliography.
You can download it manually or using the "wget" cmd, putting it in a folder you like.
- "If the links are dead you can download a zipped copy of the original source, at the bottom of this tutorial."
user@machine:~/server/jk2/lokifix/$ wget http://www.swanson.ukfsn.org/loki/loki_compat_libs-1.5.tar.bz2
Now, decompress that tarball, manually or with the "tar" cmd and delete the tarball if you dont want junk files:
user@machine:~/server/jk2/lokifix/$ tar xjvf loki_compat_libs-1.5.tar.bz2
user@machine:~/server/jk2/lokifix/$ rm loki_compat_libs-1.5.tar.bz2
3. Remake you server start script
All you need now is add these lines before server script:
_LIBRARY_PATH=/server/jk2/lokifix/Loki_Compat
export LD_LIBRARY_PATH
# SERVER EXECUTATION SCRIPT #
Attention! The "/server/jk2/lokifix/Loki_Compat" code is the directory where you have the libraries!
Don't have an script? No problem, I gift you an example script, download from the attached files at the bottom of this tutorial if you want.
#!/bin/sh
LD_LIBRARY_PATH=/server/jk2/lokifix/Loki_Compat
export LD_LIBRARY_PATH
./jk2Ded +set fs_game Your_Gamemode +set net_port Your_Port +exec Your_Server_CFG
Finally, give execution perms to your script and execute it... Works!
Internet Bibliography:
www.jedidog.freeforums.org--> Thread on JediDog forum
www.swanson.ukfsn.org -------> Libraries for running old Loki games.
www.cc.dtu.dk ------------------> LD_LIBRARY_PATH – or: How to get yourself into trouble!
www.lucasforums.com ---------> First post with this problem.
loki_compat_libs-1.5.zip
startscript.zip