![]()
This post has been edited 1 times, last edit by "freak.exe_uLow?" (Aug 3rd 2012, 3:01pm)
Das erste da ist irgendeine deiner Translations in sourcemod/translations falsch.L 08/03/2012 - 18:50:55: [SM] Ignoring translation to invalid language "#format" on line 455.
L 08/03/2012 - 18:51:04: [serverhop.smx] Server 188.138.122.19:27017 is down: socket error 6 (errno 111)
Mhhh ich habe alles richtig reingemacht!!!
Quoted
Das erste da ist irgendeine deiner Translations in sourcemod/translations falsch.
Zum zweiten: Der Error kommt wenn keine Verbindung hergestellt werden konnte. Anscheinend is der Server down.
so klug war ich auch noch :D|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
Installation
Requirements: MySQL server + some admin tool like PHPMyAdmin.
Steps:
1) Download the zip file below.
2) Use PHPMyAdmin or a similar tool to create a new database.
3) Use .sql file from the zip file to create the MySQL table with a
some sample data. Take a look at the sample data and insert your own
server in a similar fashion. Remember the ID of the server, you will
need it in step 7.
4) Configure the database connection in sourcemod/configs/databases.cfg, like this:
Code:
"serverredirect"
{
"driver" "default"
"host" "127.0.0.1"
"database" "serverredirect"
"user" "username"
"pass" "strongpassword"
//"timeout" "0"
//"port" "0"
}
5) Copy the contents from the zip file (/plugins directory and /translations directory) to your Sourcemod installation.
6) Load the plugins to ensure that /cfg/sourcemod/plugin.serverredirect.cfg gets created.
7) Edit the /cfg/sourcemod/plugin.serverredirect.cfg configuration file and set the correct value of the sm_redirect_serverid convar. This ID corresponds to the 'id' fields in the 'server' table in your database, which was set in step 3.
* Ensure that changes in your convars are picked up by the server, by
executing /cfg/sourcemod/plugin.serverredirect.cfg. The plugin should
function and send a heartbeat signal to the database. You can check this
by looking at the contents of the database, you should see updated
values. Also, the !servers command should work.
|
This post has been edited 2 times, last edit by "freak.exe_uLow?" (Aug 25th 2012, 1:25pm)
Quoted
Samstag, 25. August 2012, 13:29
Quoted
Achtung! Dieses Thema wurde als erledigt markiert. Bitte erstellen Sie ggf. ein neues Thema.