Commit Graph

175 Commits

Author SHA1 Message Date
Brandon Sturgeon
c443afd145 Disable more utime stuff 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
dcedb6ce0c Comment out utime compat functions 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
44f9d710c3 Okay maybe try the first way again 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
188e400a08 Require playerfullload 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
d6d7014543 Change the query instead 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
19575f6d8a Potential fix to incorrect data being returned 2020-08-26 01:52:11 -07:00
Samuel Williams
54877ac0dd Add FIXME comment 2020-08-26 01:52:11 -07:00
Samuel Williams
bf269ffdb5 Style + bug fix 2020-08-26 01:52:11 -07:00
Samuel Williams
8994d0a2a0 Use table.IsEmpty instead of length 2020-08-26 01:52:11 -07:00
Samuel Williams
3dd52fa70d Fix user exists result 2020-08-26 01:52:11 -07:00
Samuel Williams
fb0afed97a Fix Utime migration 2020-08-26 01:52:11 -07:00
Samuel Williams
a9a0e284a9 Fix error on CreateSession with nil callback 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
d7320bf540 [WIP] Simplify session update query 2020-08-26 01:52:11 -07:00
Samuel Williams
57063adf00 Add player leave sanity check 2020-08-26 01:52:11 -07:00
Samuel Williams
83a8bb1516 Cleanup/refactor 2020-08-26 01:52:11 -07:00
Samuel Williams
4b372a09e2 Run session cleanups 2020-08-26 01:52:11 -07:00
Samuel Williams
bc116f18dd Made GetTotalTime return numbers instead of the raw query result 2020-08-26 01:52:11 -07:00
Samuel Williams
dd76377a1b Get sqlite functional, fix issues with utime compat 2020-08-26 01:52:11 -07:00
Samuel Williams
f1cb01fb17 Functionally complete sqlite 2020-08-26 01:52:11 -07:00
Samuel Williams
1232dc6618 Simplify sessionId query 2020-08-26 01:52:11 -07:00
Samuel Williams
b759ec9b67 Style fixes, remove unneeded query 2020-08-26 01:52:11 -07:00
PLally
dc2172d266 fix invalid syntax 2020-08-26 01:52:11 -07:00
Samuel Williams
c2e943ae55 Update query names 2020-08-26 01:52:11 -07:00
PLally
783eef76f3 remove unused file 2020-08-26 01:52:11 -07:00
PLally
7c116bf2a2 fix syntax error 2020-08-26 01:52:11 -07:00
PLally
2aaecc216b sqlite 2020-08-26 01:52:11 -07:00
Samuel Williams
855ffc575e Update sessionTime accurately on leave 2020-08-26 01:52:11 -07:00
Samuel Williams
6481b94f79 Style fix + remove print 2020-08-26 01:52:11 -07:00
Samuel Williams
7991a19a43 Update session duration logic 2020-08-26 01:52:11 -07:00
Samuel Williams
6392a0ae0e store initial time elsewhere 2020-08-26 01:52:11 -07:00
Samuel Williams
fb2e675f8f Remove realm from session update, update debug print 2020-08-26 01:52:11 -07:00
Samuel Williams
b5c9823688 Fix incorrect module name 2020-08-26 01:52:11 -07:00
Samuel Williams
60ed60fa96 Pull data out of player init transaction 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
0f38d29999 Add latestSession query, inspect it, fix other string issues 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
5d454ffd6b More logging 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
9cf002e0dd Debug 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
6ce737b8df Further debug transaction on success 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
fd4f72b82a Debug playerinit onSuccess 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
9a82bbb820 Fix call to newSession 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
f8066854ac Fix ref to preparedQueries 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
f17fe61fb6 Fix queries with realm in them 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
11c7b1d268 Debug the cleanup query 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
a7c5971eac Guard batch update 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
3cc96ff00e Fix startup errors 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
8cdabeab46 Fix connection failed callback def 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
d15be2b2d8 Fix another logger call 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
667c0c491b Fix logger call 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
a7cb4082d1 Fix time loading 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
1638214533 Fix logger ref 2020-08-26 01:52:11 -07:00
Brandon Sturgeon
4a5815636d More logging, minor refactor 2020-08-26 01:52:11 -07:00