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