Tosa_Inu Posted September 30, 2010 Share Posted September 30, 2010 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.cometmaster.idsoftware.com resolved to 192.246.40.60:27950Sending heartbeat to etmaster.idsoftware.com---------------------------Sys_Error: VM_Create on game failed Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted September 30, 2010 Author Share Posted September 30, 2010 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.cfgWith 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---------------- Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted September 30, 2010 Management Share Posted September 30, 2010 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 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted September 30, 2010 Management Share Posted September 30, 2010 Answering to your second question. Which you posted while I was replying to your first question. 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 Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted September 30, 2010 Author Share Posted September 30, 2010 I edit my post, can you plaese look again to it?Thanks for the fast support. On my normal servers the file: server.cfg is renamed to unguessable, but not on my own test server what is password protected. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted September 30, 2010 Management Share Posted September 30, 2010 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 Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted September 30, 2010 Author Share Posted September 30, 2010 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 27960set sv_maxclients 20set g_password ""set sv_privateclients 0set 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) Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted September 30, 2010 Management Share Posted September 30, 2010 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 Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 We still have craches. 9630 files in pk3 filesSys_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.cometmaster.idsoftware.com resolved to 192.246.40.60:27950Sending heartbeat to etmaster.idsoftware.com---------------------------Sys_Error: VM_Create on game failed Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted October 2, 2010 Management Share Posted October 2, 2010 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. Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 I shall ask my game provider, because i don't have acces to that part. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted October 2, 2010 Management Share Posted October 2, 2010 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. Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 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" Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 I gave my provider the weburl from this forum, so hopefully they read this to.Cos i don't have much experiance with all of this. Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 In the mod map there is: defaultetconfigliblua5.1.somapcyclemapvotecycleqagame.mp.i386.soserversettingsshrubbotsilEnTsilent-0.1.4.pk3 My Jaymod and NQ servers have this same setup, and work. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted October 2, 2010 Management Share Posted October 2, 2010 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. Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 Is this what you mean: ./etded +set ttycon 0 +set fs_game silent +set vm_game 0 +set net_ip80.84.250.68 +set net_port 27960 +set com_hunkmegs 64 +set com_zoneMegs32 +set fs_basepath /home/stocken/games/et +set fs_homepath/home/stocken/games/et +exec server.cfg > ~/server.log 2>&1; Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted October 2, 2010 Management Share Posted October 2, 2010 Yes that exactly. From that command, the liblua5.1.so included in the 0.1.4 zip should be placed at the folder "/home/stocken/games/et" and it will load it then. Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 So you mean its in the wrong map now? Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted October 2, 2010 Management Share Posted October 2, 2010 Map? EDIT:This setting: +set fs_homepath "/home/stocken/games/et" defines where the liblua5.1.so needs to be placed. Quote Link to comment Share on other sites More sharing options...
Tosa_Inu Posted October 2, 2010 Author Share Posted October 2, 2010 yes sorry i ment the wrong command line, or what ever this is called. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted October 2, 2010 Management Share Posted October 2, 2010 Yes, the path given in the command line is either wrong or there isn't the required liblua5.1.so file present. Quote Link to comment Share on other sites More sharing options...
Clanhost Posted October 3, 2010 Share Posted October 3, 2010 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. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted October 3, 2010 Management Share Posted October 3, 2010 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? Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted October 3, 2010 Management Share Posted October 3, 2010 At least this is wrong: "fs_game nq" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.