- Feedback gathering thing updated. Now it finally supports actual SQL data storage.

Use the global procs to gather feedback:

feedback_set(var_name, num)
feedback_inc(var_name, num)
feedback_dec(var_name, num)
feedback_set_details(var_name, text)

The values are saved to the database at the end of the round, if it ends properly.

Currently the following information is stored:
- Time when round starts
- Mode
- Time when round ends

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2450 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-10-30 04:31:49 +00:00
parent 313d99d003
commit 830b28dc7f
6 changed files with 70 additions and 4 deletions

View File

@@ -177,6 +177,12 @@ var
sqllogin = "root"
sqlpass = ""
// Feedback gathering sql connection
sqlfdbkdb = "test"
sqlfdbklogin = "root"
sqlfdbkpass = ""
sqllogging = 0 // Should we log deaths, population stats, etc?