Raised This Month: $51 Target: $400
 12% 

Server hangs with metamod 1.8 installed in L4D2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Turboz
Junior Member
Join Date: Feb 2010
Old 04-16-2010 , 00:37   Server hangs with metamod 1.8 installed in L4D2
Reply With Quote #1

I have been trying to get metamod 1.8 working with L4D2. But when it is installed I get the following:
Code:
[User@awesomeserver srcds_l]$ ./Start_L4D2_NU.sh
Starting Left4Dead2 Server
Enabling debug mode
Server will auto-restart if there is a crash.
Running a benchmark to measure system clock frequency...
Finished RDTSC test. To prevent the startup delay from this benchmark,
set the environment variable RDTSC_FREQUENCY to 2998.000000 on
this system. This value is dependent upon the CPU clock speed and
architecture and should be determined separately for each server. The
use of this mechanism for timing can be disabled by setting
RDTSC_FREQUENCY to 'disabled'.
#
#Console initialized.
***VPK: FastFindFile Attempting to use full path with VPK file!
    File: /home/user/srcds_l/left4dead2/left4dead2/addonlist.txt
#***VPK: FastFindFile Attempting to use full path with VPK file!
    File: /home/user/srcds_l/left4dead2/left4dead2/addonlist.txt
#Game.dll loaded for "Left 4 Dead 2"
Server is hibernating
ConVarRef test_progression_loop doesn't point to an existing ConVar
***VPK: FastFindFile Attempting to use full path with VPK file!
    File: /home/user/srcds_l/left4dead2/left4dead2/addonlist.txt
***VPK: FastFindFile Attempting to use full path with VPK file!
    File: /home/user/srcds_l/left4dead2/left4dead2/addonlist.txt
Parent cvar in server.dll not allowed (spit_scaling_min_scale)
Game supporting (2) split screen players
maxplayers set to 18
***VPK: FastFindFile Attempting to use full path with VPK file!
    File: /home/user/srcds_l/left4dead2/left4dead2/addonlist.txt
***VPK: FastFindFile Attempting to use full path with VPK file!
    File: /home/user/srcds_l/left4dead2/left4dead2/addonlist.txt
Unknown command "mat_bloom_scalefactor_scalar"
Network: IP 127.0.0.1, mode MP, dedicated Yes, ports 27015 SV / 0 CL
---- Host_NewGame ----
Host_NewGame on map c2m1_highway
L 04/15/2010 - 22:18:04: -------- Mapchange to c2m1_highway --------
It just hangs up and won't continue.

Here is my metamod.vdf file:
Code:
"Plugin"

{
    "file"    "../left4dead2/addons/metamod/bin/server_linux.so"
}
It is located in the addons folder

This is the contents of my metamod/bin folder:

Code:
metamod.1.ep1.so  metamod.2.ep2.so  metamod.2.ep2v.so  metamod.2.l4d2.so  metamod.2.l4d.so  server_i486.so  server_linux.so
Here is my start up script:
Code:
#!/bin/bash
cd /home/user/srcds_l/left4dead2
echo "Starting Left4Dead2 Server"
sleep 10s
./srcds_run -console -game left4dead2 -hostip 192.168.0.2 -hostport 27015 -sv_lan 1 +map c2m1_highway -debug
I don't have any other plugins loading right now. Any help will be appreciated.

Last edited by Turboz; 04-16-2010 at 00:42. Reason: Added more information
Turboz is offline
Turboz
Junior Member
Join Date: Feb 2010
Old 04-21-2010 , 10:42   Re: Server hangs with metamod 1.8 installed in L4D2
Reply With Quote #2

Here is a little more information:

I have tried uninstalling and reinstalling metamod several times.

I am having the same problem on two servers. One server uses Fedora 10 and the other server uses Fedora 12. Both servers run fine with metamod.vdf removed from the addon folder.

If I change the metamod.vdf to the following:

Code:
 
"Plugin"
 
{
    "file"    "../left4dead2/addons/metamod/bin/server_i486.so"
}
The server runs but metamod is not installed. I get unknown command when I type "meta list" in the server console.

I have also tried using the full path in metamod.vdf.

Does anyone have any suggestions?

Last edited by Turboz; 04-21-2010 at 11:37. Reason: Typo error - more information
Turboz is offline
Turboz
Junior Member
Join Date: Feb 2010
Old 04-23-2010 , 21:53   Re: Server hangs with metamod 1.8 installed in L4D2
Reply With Quote #3

I don't know if it was the recent L4D2 update or the fact that I deleted datacache.so and updated the server but it no longer hangs when I have metamod.vdf in the addons folder. But, I still can't get metamod to run. I get the following when I start the server:

Code:
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file addons/metamod.vdf
Plugin, 
Unable to load plugin "/home/myserver/srcds_l/left4dead2/left4dead2/addons/metamod/bin/server_linux.so
When I run "meta list" in the console I get:

Code:
Unknown command "meta"
As are others. I also installed mmsource-1.9.0-hg694.tar.gz with no change.

Any help will be appreciated.

Last edited by Turboz; 04-23-2010 at 21:55. Reason: typo
Turboz is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 04-23-2010 , 22:40   Re: Server hangs with metamod 1.8 installed in L4D2
Reply With Quote #4

The latest snapshot under 1.9 is actually 698 which is at the bottom of the page: http://www.metamodsource.net/mmsdrop/1.9/

Please give that a try. In this, you'll no longer find server_linux.so in the package as it has been renamed to server.so. This is all due to things Valve renamed with the latest L4D2 update.

So you'll need to change this in your metamod.vdf file or just generate a new one using the VDF creator on the site.
DS is offline
Turboz
Junior Member
Join Date: Feb 2010
Old 04-23-2010 , 22:46   Re: Server hangs with metamod 1.8 installed in L4D2
Reply With Quote #5

Thank you for the help. I will give that a try now.
Turboz is offline
Turboz
Junior Member
Join Date: Feb 2010
Old 04-23-2010 , 23:09   Re: Server hangs with metamod 1.8 installed in L4D2
Reply With Quote #6

I switched to 698 but I still can't get metamod to work. This is what I get when the server loads:

Code:
Starting Left4Dead2 Server - Co-op Mode
Server will auto-restart if there is a crash.
#
#Console initialized.
#Game.dll loaded for "Left 4 Dead 2"
Server is hibernating
ConVarRef test_progression_loop doesn't point to an existing ConVar
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.
Parent cvar in server.dll not allowed (spit_scaling_min_scale)
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file addons/metamod.vdf
Plugin, 
Unable to load plugin "/home/user/srcds_l/left4dead2/left4dead2/addons/metamod/bin/server.so
}
"
Game supporting (2) split screen players
maxplayers set to 18
Unknown command "mat_bloom_scalefactor_scalar"
Network: IP 192.168.1.0, mode MP, dedicated Yes, ports 27015 SV / 0 CL
---- Host_NewGame ----
Host_NewGame on map c5m1_waterfront
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
Initializing Director's script
Couldn't find any entities named spawn_fryingpan_demo, which point_template template_demo is specifying.
WARNING: orator at 777 677 -418 missing modelname
Attempting to precache model, but model name is NULL
jukebox_script executing script: jukebox_main
Commentary: Loading commentary data from maps/c5m1_waterfront_commentary.txt. 
Initializing Director's script
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.dll. Continuing with current version anyway.
***** Dis is da s&!T 
Adding master at 68.142.72.250:27011
Adding master at 72.165.61.189:27011
Adding master at 69.28.140.246:27011
Writing cfg/banned_ip.cfg.
Writing cfg/banned_user.cfg.
Server logging enabled.
Server logging data to file logs/L192_168_015_009_27015_201004232104_000.log
L 04/23/2010 - 21:04:05: Log file started (file "logs/L192_168_015_009_27015_201004232104_000.log") (game "/home/user/srcds_l/left4dead2/left4dead2") (version "4185")
Connection to Steam servers successful.
   VAC secure mode is activated.
And when I type "meta list" I still get:

Code:
Unknown command "meta"
Turboz is offline
Turboz
Junior Member
Join Date: Feb 2010
Old 04-24-2010 , 04:23   Re: Server hangs with metamod 1.8 installed in L4D2 (Solved)
Reply With Quote #7

OK I have metamod working now on all of my servers. And I have sourcemod working. I had to use the latest snapshots for metamod and sourcemod. (See below)

Code:
Metamod:Source version 1.9.0-dev
Build ID: 698:26d34d817d18-dev
Loaded As: Valve Server Plugin
Compiled on: Apr 23 2010
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Code:
 SourceMod Version Information:
    SourceMod Version: 1.3.2
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.2)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Apr 23 2010 11:36:13
    Build ID: 2943:1458e0afda22
    http://www.sourcemod.net/
Thank you for your help DS. I really do appreciate it!
Turboz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode