From d21fb5dbc2910ecb7f6e22facaa35212108dc17d Mon Sep 17 00:00:00 2001 From: "only.lurking@gmail.com" Date: Thu, 2 Sep 2010 03:46:11 +0000 Subject: [PATCH] Corrected karma database connect error to more accurately explain the problem. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@45 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/verbs/checkkarma.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/verbs/checkkarma.dm b/code/game/verbs/checkkarma.dm index 10b44ec7648..a7090e93b16 100644 --- a/code/game/verbs/checkkarma.dm +++ b/code/game/verbs/checkkarma.dm @@ -6,7 +6,7 @@ mob/verb/check_karma() var/DBConnection/dbcon = new() dbcon.Connect("dbi:mysql:[SQL_DB]:[SQL_ADDRESS]:[SQL_PORT]","[SQL_LOGIN]","[SQL_PASS]") if(!dbcon.IsConnected()) - usr << "\red Unable to connect to karma database. This is very bad and you should report it to TLE soon!
" + usr << "\red Unable to connect to karma database. This error can occur if your host has failed to set up an SQL database or improperly configured its login credentials.
" return else var/DBQuery/query = dbcon.NewQuery("SELECT karma FROM karmatotals WHERE byondkey='[src.key]'")