Commit Graph

208 Commits

Author SHA1 Message Date
d8184fb298 Properly calculate diff times for old user purge. Fixes #2541 2015-06-11 18:12:22 -04:00
342c37a02c Merge pull request #2426 from zreed/master
Empty constructors don't take arguments  Sure why not.
2015-03-18 15:31:44 -04:00
981523789e Add Debug and change a line 2015-03-09 14:20:52 -04:00
1f68f4e654 More debug for rare cases where things don't work. 2015-02-23 20:37:03 -05:00
ca6dc5195d Properly convert SQL to Flatfile when UUIDs are null 2015-02-16 23:12:50 -05:00
a1c3f0d651 WHERE'S HARVEY DENT 2015-02-16 21:43:51 -05:00
8543382bde We want answers for the issues. 2015-02-15 22:03:58 -05:00
7a14e61762 Fix flatfile UUID conversion I think. Fixes #2225, #2411 2015-01-31 14:38:49 -05:00
6815c66a0e Empty constructors don't take arguments 2015-01-22 07:14:14 -05:00
eddadcc179 Properly allow searches by name without UUID 2015-01-01 23:56:30 -05:00
7c0cc8794f Whoops, should've incremented these 2014-12-23 18:49:26 +01:00
eda18bc990 Only show the scoreboard tips a couple of times
We can assume a player knows how scoreboards work after showing them
the tips a few times across multiple login sessions

Adds #1833
2014-12-23 14:08:29 +01:00
b3cd5486d6 Actually use settings 2014-10-19 01:55:10 -04:00
8fcd286eb0 This might be important 2014-10-15 01:31:11 -04:00
4723a7cbdb Switch to a different ConnectionPool implementation 2014-10-15 00:15:43 -04:00
1119d3c17f Actually fix flatfile player loading....
you lied to me @tft_02
2014-09-03 00:05:48 -04:00
56cb5c092f Should be this 2014-08-26 21:55:35 +02:00
9d7faf9ed9 Fix database loading data for wrong player
Fixes #2223
2014-08-24 15:25:56 -07:00
2147417322 This seems easier. 2014-08-22 15:16:40 -04:00
4304970059 This was supposed to be a zero. 2014-08-22 00:59:20 -04:00
fc981fda20 Better connection validation for us. 2014-08-21 19:42:03 -04:00
be9ff51fd9 Should fix #2223 for realz this time. 2014-08-21 19:42:03 -04:00
c878775c72 Close the statement here as well 2014-08-21 14:33:50 -06:00
574cdd374b Use a placeholder value. Fixes #2216 #2221 2014-08-20 22:19:36 -04:00
4d402c7229 Use correct element 2014-08-19 19:11:07 -04:00
d8ad519cd0 Seperate pools for essential tasks like profile loading and profile saving. 2014-08-19 17:58:45 -04:00
097a5a0894 Change purge a bit. Apparently andrewkm says this works. 2014-08-17 21:23:27 -04:00
8760c2bbb0 This way is cleaner though. 2014-08-17 20:01:04 -04:00
dc635fe7d7 SHould fix #2195 2014-08-17 19:57:52 -04:00
0a066f51bb Fix #2197 There is no wait forever option, so we actually need a timeout. 2014-08-12 11:39:43 -04:00
294141c353 We should be reconnecting automagically. 2014-08-11 12:16:27 -04:00
5a47f9fa86 Fix #1320 2014-08-08 00:42:33 -04:00
f2881f02c8 Fix id retrieval 2014-08-08 00:09:00 -04:00
9f5445689c Helpful debug on shutdown 2014-08-08 00:02:07 -04:00
1fcb9e649e A bit more logic simplification in SQLDatabaseManager, also fixes error printing, Fix #2188 2014-08-07 23:45:40 -04:00
1d0dc02013 Greatly simplify Profile loading in mySQL 2014-08-07 14:16:28 -04:00
8766d31943 Fix #2182 and Fix #2178
NOW() is a numeric representation of the date, not a timestamp....  so thats a nono.

Also,  we need to update UUIDs grabbing by name.
2014-08-07 13:54:28 -04:00
da7507fc75 Throw some sanity information into the info log. 2014-08-05 20:20:05 -04:00
79a17b0c1c Fix /mcrank when using flatfile. Fixes #2179 2014-08-05 09:20:12 -04:00
d3051ad127 Use a slight delay to ensure its after the purge. 2014-08-04 11:49:09 -04:00
f4c53aaf8a Prevent user purges and UUID updates from conflicting in mass database operations. 2014-08-04 11:42:02 -04:00
fe29bb4b9f Accurate purge count 2014-08-03 21:14:24 -04:00
ae5347bc0f Purging shouldn't be main thread, also we have no reason to refresh profiles of purged users, as old users aren't online, and powerless users have nothing to wipe. 2014-08-03 21:12:41 -04:00
3569f9a182 Woot, rushing things without looking! 2014-08-03 20:40:48 -04:00
70a23f8a0a EnumMaps cannot use a null key 2014-08-03 20:39:37 -04:00
857e12b96e SQLDatabaseManager optimizations, async profile loading -t00thpick1, zreed
This commit changes our shared connection into a connection pool utility to prevent
thread locks from multiple actions attempting to access the database at the same time.
In additon,  profile loading has been moved off the main thread at login time, to
allieviate the performance issues caused by it.

Fixes #2138, Fixes #2119, Fixes #1982, Fixes #1953
2014-08-01 20:31:17 +02:00
c10525ada9 Add UUID support! - zreed, slipcor, t00thpick1
This commit updates our database managers to use UUIDs instead
of usernames for persistent storage.

Fixes #1979
2014-08-01 20:23:03 +02:00
48c7aa3e84 Add an UpgradeManager 2014-07-23 12:37:02 +02:00
0aa67727f5 Fixed bug with flatfile format updater 2014-07-12 14:02:53 +02:00
94a566acc9 Remove redundant maxReconnects database connection property 2014-07-09 19:03:15 +02:00