Jump to content

Problems with installation


Tosa_Inu

Recommended Posts

Hi,

 

My gameserver provider tryed to install the Silent Mod.

But they have problems with it.

See below.

 

Sys_LoadDll(/home/stocken/games/et/silent/qagame.mp.i386.so) failed:

"liblua5.1.so: cannot open shared object file: No such file or directory"

Sys_LoadDll(qagame) failed dlopen() completely!

----- Server Shutdown -----

Resolving etmaster.idsoftware.com

etmaster.idsoftware.com resolved to 192.246.40.60:27950

Sending heartbeat to etmaster.idsoftware.com

---------------------------

Sys_Error: VM_Create on game failed

Link to comment
Share on other sites

I don't know much about it, but:

 

In jaymod you have a directory file called: server.cfg

with in it:

_____________

pb_sv_enable

 

exec jaymod.cfg

 

exec mapcycle.cfg

_____________

 

And you have the :Jaymod.cfg

With the game settings in it.

 

I noticed that in silentmod this file like jaymod.cfg is called also server.cfg.

Why is this not called silent.cfg

 

So do i need the directory server.cfg with the:

-------------

pb_sv_enable

 

exec jaymod.cfg

 

exec mapcycle.cfg

-------------

Files in it??

Because those 2 files now have the same name.

 

I hope i made clear what i ment.

 

I have a file now on the server that is called: server cfg, with in it:

 

--------------

pb_sv_enable

 

exec etconfig.cfg

 

exec mapcycle.cfg

----------------

Link to comment
Share on other sites

  • Management

The error is that the liblua5.1.so is not found and loaded.

 

The liblua5.1.so will need to be placed at the fs_homepath. Or the LD_LIBRARY_PATH environment variable will need to include the folder where it is placed.

 

An example of the LD_LIBRARY_PATH export that will add the folder to the end of the list:

(this assumes the liblua5.1.so is placed at the et folder)

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/stocken/games/et/

 

This is the standard way to handle dynamically loaded libraries in Linux. (I assume the system is Linux based on the printed error.)

 

If you want to install the Lua to the silent folder. Just add silent/ to the end of the path.

 

However, the module will search for the Lua library also from the fs_homepath. So you can place the liblua5.1.so to where ever the fs_homepath is set in the startup script/command line.

 

Hope this helps :)

Link to comment
Share on other sites

  • Management

Answering to your second question. Which you posted while I was replying to your first question. :P

 

The server.cfg is common name for the init cfg file with several mods. This does not relate to Jaymod at all. In case you place any sensitive settings like your rconpassword in it, you should rename it to something unguessable. This is a common security advise against known and future unknown game engine exploits.

 

The file itself contains settings that are used by silEnT mod. It is in a way example config but it may be that you don't like the configuration so it is advised you go the settings through and edit them to your likings. There should be a file named index.html that will have the setting variables explained. In future there will be wiki and online cvar reference for the mod.

 

The documentation in the internet may change according the what is the current silEnT mod version so I advise you use the html file that come with the installation zip so you have the correct cvar reference document always at hand.

 

I admit. I haven't thoroughly looked at what the cfg files that are in the docs/examples folder that came with the zip. I'm sure hellreturn will be able to help you more with the configuration issues. I can say though that we are going to make the installation as easy as possible and we are cleaning cvars that are not very usefull or have redundant or confusing meanings.

 

Hope this helps :)

Link to comment
Share on other sites

  • Management

pb_sv_enable

exec etconfig.cfg

exec mapcycle.cfg

 

This looks ok to me.

 

You may also want to add the watchdog command. It is optional but if the server hangs for some reason, it will execute the command specified.

 

It would then be like this:

pb_sv_enable

exec etconfig.cfg

set com_watchdog_cmd "exec mapcycle.cfg"

exec mapcycle.cfg

Link to comment
Share on other sites

ok, but:

 

The file that sets the server configuration is also called server.cfg.

Or should that be renamed to: silent.cfg?

 

I mean the file in the download called server.cfg with this in it:

// silEnT mod - Sample server.cfg file

 

//set dedicated 2

//set net_ip "localhost"

//set net_port 27960

set sv_maxclients 20

set g_password ""

set sv_privateclients 0

set sv_privatepassword ""

set rconpassword ""

set refereePassword ""

 

(i know it has to be renamed on the normal public server to a unguessable name. But now i have 2 files with the same directory name)

Link to comment
Share on other sites

  • Management

You can rename it to any name that doesn't conflict with your existing files. You can also put the file into any folder you wish (under the fs_game) as long as the path to the file is valid in the command line.

 

(e.g. etded.x86 +set dedicated 2 +set fs_game silent +exec silent/server.cfg )

 

Personally I like to put the mod specific settings in one file and the generic server settings to another file. Then exec the mod specific settings from the generic server settings cfg.

 

Remember, that any cfg file that you exec from the file you exec in the command line, has equal value in the server init with the file that is execed in the command line. It is just a simple way to organise different types of settings into different groups. You could just as well put everything in only one file that you exec from the actual command line.

 

Hope this helps :)

Link to comment
Share on other sites

We still have craches.

 

9630 files in pk3 files

Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so)...

Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so) failed:

"liblua5.1.so: cannot open shared object file: No such file or directory"

Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so)...

Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so) failed:

"liblua5.1.so: cannot open shared object file: No such file or directory"

Sys_LoadDll(qagame) failed dlopen() completely!

----- Server Shutdown -----

Resolving etmaster.idsoftware.com

etmaster.idsoftware.com resolved to 192.246.40.60:27950

Sending heartbeat to etmaster.idsoftware.com

---------------------------

Sys_Error: VM_Create on game failed

Link to comment
Share on other sites

  • Management

It still cannot find the liblua5.1.so file. Try setting the LD_LIBRARY_PATH in the users local environment variables just before executing the etded command.

 

May I ask in which folder the liblua5.1.so has been placed and what is the actual command to start the ET server.

Link to comment
Share on other sites

  • Management
If you have partial FTP access to your server folders you can try putting the file your self to various folders in your server. I would try placing it to the topmost folder you can access first. It may be that that is the folder your provider is setting the fs_homepath to be. If it fails, you can try placing the file to even lower in the folder hierarchy right down to where the qagame so file is.
Link to comment
Share on other sites

It still cannot find the liblua5.1.so file. Try setting the LD_LIBRARY_PATH in the users local environment variables just before executing the etded command.

 

May I ask in which folder the liblua5.1.so has been placed and what is the actual command to start the ET server.

 

Do you mean this:

"+set fs_game silent"

Link to comment
Share on other sites

  • Management

No, I meant fs_homepath.

 

There are three directory settings you can give to the ET server from the command line: fs_basepath, fs_homepath and fs_game. The fs_game is the mod folder. Fs_homepath is where the process home directory will be set. This is equivalent to "." from the processess viewpoint. The fs_basepath is where the etded.x86 file is located. If you don't change any of the paths, except the fs_game since that is the mod folder, from the command line the fs_basepath and fs_homepath will be set to where the etded.x86 is.

 

Take not that pk3 directory paths start from the view that fs_game is the "." when your making configurations to custom sound files or alike.

 

The installation regarding Lua libraries is the same with ETPub.

 

Jaymod doesn't use Lua at all and as far as I know, NQ requires you to place the library where the etded.x86 is located.

Link to comment
Share on other sites

Is this what you mean:

 

./etded +set ttycon 0 +set fs_game silent +set vm_game 0 +set net_ip

80.84.250.68 +set net_port 27960 +set com_hunkmegs 64 +set com_zoneMegs

32 +set fs_basepath /home/stocken/games/et +set fs_homepath

/home/stocken/games/et +exec server.cfg > ~/server.log 2>&1;

Link to comment
Share on other sites

Hi,

 

I'm a employee of the GSP trying to get this mod installed for TS.

 

We use the following script to start the game server. Any thoughts or suggestions?

 

#!/bin/bash

cd ~/games/et/

while ( true );
do ./etded +set ttycon 0 +set fs_game nq +set vm_game 0 +set net_ip XXX.XXX.XXX.XXX +set net_port 27960 +set com_hunkmegs 64 +set com_zoneMegs 32 +set fs_basepath /home/stocken/games/et +set fs_homepath /home/stocken/games/et +exec server.cfg > ~/server.log 2>&1;
cp ~/server.log ~/server.log.old;
sleep 10;
done

 

Now I have placed the "liblua5.1.so" file both in "/home/stocken/games/et" and in "/home/stocken/games/et/silent". And I'm still getting the same error message. Here are the last few lines of the log file.

 

9630 files in pk3 files
Sys_LoadDll(/home/stocken/games/et/silent/qagame.mp.i386.so)...
Sys_LoadDll(/home/stocken/games/et/silent/qagame.mp.i386.so) failed:
"liblua5.1.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/home/stocken/games/et/silent/qagame.mp.i386.so)...
Sys_LoadDll(/home/stocken/games/et/silent/qagame.mp.i386.so) failed:
"liblua5.1.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(qagame) failed dlopen() completely!
----- Server Shutdown -----
Resolving etmaster.idsoftware.com
etmaster.idsoftware.com resolved to 192.246.40.60:27950
Sending heartbeat to etmaster.idsoftware.com
---------------------------
Sys_Error: VM_Create on game failed

 

Any help is appreciated. Thank you in advance.

Link to comment
Share on other sites

  • Management

In my opinion the liblua should be placed in

~/games/et/

assuming that "~" refers to "/home/stocken"

I don't know what might be wrong. @gao, maybe you have some ideas?

 

One more thing. etded is the script starting etded.x86 from Enemy Territory installation directory.

Is the Enemy Territory installed in /home/stocken/games/et?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...