Commit Graph

175 Commits

Author SHA1 Message Date
Brandon Sturgeon
3eb9f51e55
Reduce error to debug log (#53) 2023-12-25 14:29:15 -08:00
Brandon Sturgeon
f4c736dc88
Fix dangling sessions and invalid players
Fixes dangling sessions that get more time than they should, and fixes error spam when players disconnect (prevents invalid players from having their time broadcast)
2023-12-24 11:26:39 -08:00
Redox
d2552f9b3a
Fix mysql null error (#47)
* Fix mysql null error

* Add another isvalid check

* Replace pcall with ProtectedCall
2023-12-09 17:37:25 -05:00
Redox
225e11b16a
Use NW2 (#46) 2023-12-06 14:33:36 -08:00
Brandon Sturgeon
e585b61ef0
Re-add NW Var (#45) 2023-06-29 22:19:49 -04:00
plally
067e54b464
add comments explaining utime compat desired behavior, fix GetUTime function (#44) 2023-06-29 16:51:45 -07:00
Brandon Sturgeon
def1cd8b4a
Reduce log levels (#43) 2023-01-12 18:05:18 -08:00
Brandon Sturgeon
e260aeadaa
Update linting workflow to use official (#40)
* Update linting workflow to use official

* Bump

* Update trigger files
2022-11-16 23:32:50 -08:00
Redox
0ea194e16f Update lua/cfc_time/shared/utime_compat.lua
Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
2022-08-17 23:59:14 +02:00
Redox
4910deca43 Update lua/cfc_time/shared/utime_compat.lua
Co-authored-by: Brandon Sturgeon <brandon@brandonsturgeon.com>
2022-08-17 23:59:14 +02:00
Redox
947ebb7d1f Add extra NW var for better backwards compat 2022-08-17 23:59:14 +02:00
Redox
70d8130b92 Remove nwval 2022-08-17 23:59:14 +02:00
Redox
45eeee9673 Fix hook names and move nwset 2022-08-17 23:59:14 +02:00
Redox
74d0d1d56a Rename hook 2022-08-17 23:59:14 +02:00
Redox
7dcde26ef1 Revert change, use playerinit time instead 2022-08-17 23:59:14 +02:00
Redox
3a7204d7a3 Add utime compat convar 2022-08-17 23:59:14 +02:00
Redox
a3dbf280a0 Style 2022-08-17 23:59:14 +02:00
Redox
9e1e0c6791 Apply phat suggestions 2022-08-17 23:59:14 +02:00
Redox
6ec5a500fb Style 2022-08-17 23:59:14 +02:00
Redox
5b040252d8 Better fix 2022-08-17 23:59:14 +02:00
Redox
c0adad57cb Fix utimestart being constantly set 2022-08-17 23:59:14 +02:00
plally
72eb668f0c
Bug/argument order and sql null (#39)
* fix issue with session creation

* revert change to queryCreateSession
2022-08-17 17:10:37 -04:00
Brandon Sturgeon
c52185c700 Fix last violation 2022-04-09 21:22:45 -07:00
Brandon Sturgeon
d12d206aba Fix 2/3 linting violations 2022-04-09 21:22:45 -07:00
Brandon Sturgeon
94cf36e186
Add glualint workflow 2022-04-09 21:11:32 -07:00
Brandon Sturgeon
55508a4526
Update CODEOWNERS 2021-11-15 14:23:31 -08:00
Brandon Sturgeon
8c4124c74e
Create CODEOWNERS 2021-11-15 14:21:51 -08:00
Pierce
332bbadf7c remove random string 2021-09-25 20:37:07 -05:00
Pierce
f39f59a569 add documentation for setting up mysql fix error with commandSet 2021-09-25 20:37:07 -05:00
Pierce
3eff828537 fix bugs with serverside config command 2021-09-25 20:37:07 -05:00
Brandon Sturgeon
45a5dcebb3 Update to logger 2.0 2021-08-25 11:42:01 -05:00
plally
cefa14183c remove session from GetUTimeTotalTime 2021-02-08 21:09:22 -05:00
Brandon Sturgeon
747cd81911 Fix casing 2021-01-28 15:00:17 -08:00
Brandon Sturgeon
e52c2d4e04 Fix sqlite utils reference 2021-01-28 15:00:17 -08:00
Brandon Sturgeon
4dbfde0eb9
Delete cfctest.db 2021-01-28 14:33:42 -08:00
Brandon Sturgeon
01f308464f
Add gitignire 2021-01-20 02:15:20 -08:00
Brandon Sturgeon
80c29402fa
Fix docker compose file 2021-01-20 02:15:05 -08:00
Brandon Sturgeon
46d1b1a60a
Add docker compose file and example env 2021-01-20 02:08:08 -08:00
Brandon Sturgeon
9038bd98ff Hotfix utime errros 2020-09-02 23:24:45 -04:00
Brandon Sturgeon
425f9b79d5 Hotfix time updates 2020-09-02 21:36:57 -04:00
Brandon Sturgeon
a2420d9375 Hotfix timer 2020-08-31 12:22:05 -04:00
Brandon Sturgeon
f0eae6328d Not a self call anymore 2020-08-31 12:16:37 -04:00
Brandon Sturgeon
c9d76be9cc Combine fatal call 2020-08-31 12:15:54 -04:00
Brandon Sturgeon
3b27f30b4f Error doesn't halt, fatal does. Add guard to update timer. Fix initialTime 2020-08-31 12:09:39 -04:00
Brandon Sturgeon
9205469138 HOTFIX: APromote 2020-08-31 05:37:49 -04:00
Brandon Sturgeon
38d283adb1 HOTFIX: Apromote 2020-08-31 05:32:54 -04:00
Brandon Sturgeon
6eae1ba998 Simplify column typing 2020-08-31 00:31:09 -07:00
Brandon Sturgeon
77cda559da Restructure, cleanup, maintenance 2020-08-31 00:31:09 -07:00
Brandon Sturgeon
53c268cc4e [WIP] 2020-08-29 15:15:10 -07:00
Brandon Sturgeon
400e59ed4c Fix create session 2020-08-29 15:15:10 -07:00