Commit Graph

10 Commits

Author SHA1 Message Date
otavepto
440d8335e2 fixed a bunch of includes 2023-12-28 01:30:46 +02:00
otavepto
ce9b957c3d fixed warning in auth when building with clang (dammit!) 2023-12-25 18:30:44 +02:00
otavepto
1c84f2c324 use a global ticket counter for GC struct 2023-12-24 14:33:40 +02:00
a
af86d6efc2 TODO notes for later, if needed 2023-12-24 14:33:40 +02:00
a
355537bb19 cache the usage of user ID, for clarity 2023-12-24 14:33:40 +02:00
a
85c98a5933 avoid incrementing the counter beyond the DLC count 2023-12-24 14:33:40 +02:00
a
205d88b204 + used std::chrono to set the expiration time of the ticket instead of hardcoded numbers, for clarity. isn't 24 hours a very long time?
+ set TimeSinceStartup from the new startup_timer, which starts counting when the .dll/.so is loaded in memory, currently using the amount of seconds, not sure if this is correct though
2023-12-24 14:33:40 +02:00
a
7b4d447553 use a helper macro to set IP4, for clarity 2023-12-24 14:33:40 +02:00
a
23c435bfea moved functions around for a clearer context 2023-12-24 14:33:40 +02:00
Detanup01
b697c8bd2d All Auth token support 2023-12-24 14:33:40 +02:00