Raised This Month: $32 Target: $400
 8% 

VDF not working, gameinfo does


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AeN0
Junior Member
Join Date: Nov 2008
Old 11-30-2008 , 11:52   VDF not working, gameinfo does
Reply With Quote #1

Hi !

I can't get Metamod Source working with vdf on my win server running Left 4 Dead: metamod is not loaded. When I switch to gameinfo, the server loads fine metamod ...

I'm using Metamod Source 1.7 and this is my tree directory :



What could be the problem ?

I'm running into another problem too with Sourcemod but this is not the right forum I think (can't find "default" database whereas databases.cfg is stock ...)

Thanks !

PS : i'm currently writting my first plugin and it's a simple zombies killed counter for L4D (with total zombies killed stored for each players in mysql) :-D.
AeN0 is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 11-30-2008 , 20:33   Re: VDF not working, gameinfo does
Reply With Quote #2

That's very strange. Try getting a new VDF here.

Re the SourceMod issue: It's looking for a entry in databases.cfg that doesn't exist. Try adding a default database and point it at SQLite.
__________________
recon0 is offline
BAILOPAN
Join Date: Jan 2004
Old 11-30-2008 , 23:32   Re: VDF not working, gameinfo does
Reply With Quote #3

Please revert gameinfo.txt and try:

plugin_load "..\left4dead\addons\metamod\bin\server.d ll"

in your console
__________________
egg
BAILOPAN is offline
AeN0
Junior Member
Join Date: Nov 2008
Old 12-01-2008 , 13:36   Re: VDF not working, gameinfo does
Reply With Quote #4

Thanks for the replies.

I found the problem : I was lunching srcds without the +map parameter meaning metamod and sourcemod were not loaded until a changemap occurs. Too bad, I didn't read correctly the error message on the console ... Sorry.

Concerning the database, the problem disapears when the vdf solution worked ... FYI, it was the original databases.cfg coming from the zip file with only one line modified :

Code:
    "default"
    {
        "driver"            "default" => "driver"            "mysql"
        "host"                "localhost"
        "database"            "sourcemod"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
Between, Sourcemod does not work (crash, extensions not loading) when we use the new fork (>2) command. It complains about a lock when it try to update gamedata. Some reminder for the fork command :

Quote:
The Linux dedicated server is now capable of running multiple
server instances as sub-processes off of one parent process. This
provides a memory savings (through sharing of read-only data), a
speedup when starting multiple servers, and also enhances server
stability by having the servers restart as new sub-processes after
each game is completed. This is controlled by the "-fork n" option.
For instance, you can run "srcds_run -fork 5" to start up 5 separate
server instances in this mode.
I believe this is the bug https://bugs.alliedmods.net/show_bug.cgi?id=3430
AeN0 is offline
BAILOPAN
Join Date: Jan 2004
Old 12-01-2008 , 22:35   Re: VDF not working, gameinfo does
Reply With Quote #5

Yup, that's the bug.

It should not be crashing though.
__________________
egg
BAILOPAN is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 12-02-2008 , 07:34   Re: VDF not working, gameinfo does
Reply With Quote #6

Quote:
Originally Posted by AeN0 View Post
PS : i'm currently writting my first plugin and it's a simple zombies killed counter for L4D (with total zombies killed stored for each players in mysql) :-D.
Nice idea. May I suggest adding an option for where it saves it to a database right on the server (sqlite I think is what its called).
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
AeN0
Junior Member
Join Date: Nov 2008
Old 12-02-2008 , 07:40   Re: VDF not working, gameinfo does
Reply With Quote #7

Quote:
Originally Posted by Xp3r7 View Post
Nice idea. May I suggest adding an option for where it saves it to a database right on the server (sqlite I think is what its called).
I may add this later. As for now, I'm thinking about adding more stats (currently zombies killed) : tanks, hunters kills, ... The plugin is running on my server : 87.98.154.187:27015 (public). Two commands availaibles at the moment : !ztotal (total zombies killed on the server) and !zcount (total zombies killed by the player). Bot kills are not counted.
AeN0 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 17:59.


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