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.bz2Now, 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.bz23. 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!
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.