H-M-H
a7c0cd58ee
fixed birthdaycheck and the format of sql-inserts for the failure-file
2016-05-04 16:47:53 +02:00
H-M-H
cd41220a44
wait for score-threads on shutdown
2016-05-04 15:32:24 +02:00
H-M-H
a93e845e6d
checkbirthday now also sends a broadcast to the 'birthdaychild'
2016-05-03 23:50:42 +02:00
H-M-H
94f163f094
added CSqlPlayerData for simple tasks like getting best time
2016-05-03 23:24:44 +02:00
H-M-H
c9e65c7931
Merge branch 'master' into sqlmasters
2016-05-03 23:07:24 +02:00
H-M-H
c9b64053d0
cleaned up structure of sql_score.cpp
2016-05-03 20:45:58 +02:00
H-M-H
d0cebb576d
sql-score can now handle mapchanges/reloads
2016-05-03 20:36:17 +02:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00
def
750f30b6b9
Don't use hardcoded table name
2016-04-23 16:42:54 +02:00
def
fc2bf86174
Birthday check when player joins
2016-03-26 00:20:18 +01:00
def
52fcc6e550
Fix sv_hide_score
2016-03-26 00:19:44 +01:00
def
b2105ef3ec
Revert "Nicer formatting for SQL stats"
...
This reverts commit c36b7efe1d
.
2016-03-09 23:45:48 +01:00
def
64e4f99102
Revert "Further improvement on ranks formatting"
...
This reverts commit fad318e86f
.
2016-03-09 23:45:43 +01:00
def
fad318e86f
Further improvement on ranks formatting
2016-03-08 17:53:49 +01:00
def
c36b7efe1d
Nicer formatting for SQL stats
2016-03-08 17:36:14 +01:00
H-M-H
53a004fa74
reset preferred sql-server to the first specified
...
on map load
2016-02-20 15:33:35 +01:00
H-M-H
2bd6d0c381
do not always try to connect to unreachable sqlservers
...
but instead remember the last reachable server
- some cleanup
- added timeout of 10 seconds to sql-connections
2016-02-20 15:33:35 +01:00
H-M-H
783c2161f1
sql_score init is threaded now
2016-02-20 15:33:35 +01:00
H-M-H
8dacd88755
more generic format of saved sql-inserts
2016-02-20 15:33:35 +01:00
H-M-H
88ed7391da
handle exceptions from sql properly
...
- write failed sqlinserts to a file
- improved structure
2016-02-20 15:33:35 +01:00
H-M-H
1314085928
restructured sqlconnection
...
reading from and writing to several different servers is now possible
TODO:
-handle Exceptions properly (try another sqlserver)
-if everything fails while writing write the insert to a file
2016-02-20 15:33:35 +01:00
H-M-H
2d41ce3527
try next sqlmaster also if the current write fails
2016-02-20 15:33:35 +01:00
H-M-H
c4ab59e4c3
fixed use of locks for threading:
...
each sqlserver has its own lock now
-> it is required that every connect call is followed by a disconnect call
2016-02-20 15:33:35 +01:00
H-M-H
15f2e07c48
moved sqlserver stuff into CServer-class
...
as sqlconnections should not last only
until next mapreload
2016-02-20 15:33:35 +01:00
H-M-H
6ba10d2719
mastersqlservers are working now
...
TODO: move the sqlserver objects somewhere else
so they wont be destroyed on every reload
2016-02-20 15:33:35 +01:00
H-M-H
5e4456584f
started with sqlmasters
...
+ added #ifdef for sql_server.cpp
(fixes compilation for release mode)
2016-02-20 15:33:35 +01:00
H-M-H
9ed66f7adc
Cleanup of Sqlconnection
...
-moved all connectionstuff to a new class
-moved sqlstring functions to an own file
-do not give threads access to CSqlScore
2016-02-20 15:33:35 +01:00
def
05fcc58b2f
Oops, next SQL server compilation fix
2015-09-23 14:05:54 +02:00
def
97152e5cbf
Hopefully fix SQL server compilation with Visual Studio
2015-09-23 11:54:20 +02:00
def
336e916548
Add option not to create sql tables
2015-09-15 09:28:18 +02:00
def
ffe9235151
Oops, another one
2015-09-05 17:59:37 +02:00
def
7487923774
Fix Windows thread handle leak
2015-09-05 04:49:22 +02:00
def
0fa06c4a5e
Server names may be 4 bytes long
2015-09-05 00:48:11 +02:00
def
f62bb1821c
/map and /mapinfo improvement ( fixes #292 )
2015-08-19 22:43:08 +02:00
def
1fd0f947af
Better numbers in average time for /mapinfo
2015-08-09 22:20:52 +02:00
def
f39b85a3e2
Add average time to /mapinfo
2015-08-06 16:02:00 +02:00
def
d57b0d62c6
Support for 0 stars in database
2015-07-23 12:49:22 +02:00
def
949fcb2c40
Remove one useless debug print
2015-07-23 12:11:42 +02:00
def
bab961f054
Prepare switch to mixed case server names
2015-07-22 19:56:24 +02:00
def
0cb50c1805
Print actual SQL inserts/updates to debug log
2015-07-22 19:05:45 +02:00
def
4e658c1057
Minor cleanups
2015-07-22 18:23:40 +02:00
def
da68023f7a
Off by one ;)
2015-07-11 19:28:45 +02:00
def
6d68e22cd1
Hopefully fix string fuzzying for unicode
2015-07-11 19:26:57 +02:00
def
73229fbb62
Only allow /save when team is started already (prevents saving after
...
noobfilter)
2015-07-09 23:48:29 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
def
fbe1bcbf39
Don't capitalize server name in /mapinfo
2015-07-08 15:47:46 +02:00
def
872a94618d
Oops, use non-fuzzy map string
2015-07-08 02:14:33 +02:00
def
87227927cd
/map and /mapinfo: Prefer exact match, including capitalization
2015-07-08 02:07:49 +02:00
def
e20be248f0
Fix previous commit
2015-07-01 16:27:19 +02:00
def
e552ef2643
Print number of finished tees in /mapinfo as well
2015-07-01 16:24:27 +02:00