Commit Graph

  • 7316dff519 fix not removing client when disconnecting them Lion Kortlepel 2022-11-25 14:40:21 +01:00
  • b1a89125fe fix spinning a single thread in lua result check thread Lion Kortlepel 2022-11-25 14:21:45 +01:00
  • 4a6504ec2c fix "disconnect was called twice" error Lion Kortlepel 2022-11-23 09:33:39 +01:00
  • b3594dd147 remove invalid naming of settings again Lion Kortlepel 2022-11-14 23:32:22 +01:00
  • 7cc426cb96 fix reading and defaulting the IncludeSubdirectories config option Lion Kortlepel 2022-11-14 23:31:54 +01:00
  • a91eb02f5f remove debug print 20dka 2022-11-14 18:50:07 +01:00
  • 6b65907a7f add ID parameter to onPlayerRequestMods and update Changelog.md 20dka 2022-11-14 00:17:52 +01:00
  • 468a6b340e add event 'onPlayerRequestMods', restructure modloading 20dka 2022-11-14 00:10:36 +01:00
  • 056827546e assign IDs to new players earlier in the connection process 20dka 2022-11-14 00:07:43 +01:00
  • 6a47521c7c fix lua autocomplete crash when a table contains number keys 20dka 2022-11-11 23:56:47 +01:00
  • eaab5eaf30 fix crash which could happen when closing an invalid socket Lion Kortlepel 2022-11-14 23:37:54 +01:00
  • 35b38f35bb replace usages of ForEachClientWeak with ForEachClient Lion Kortlepel 2022-11-13 14:55:39 +01:00
  • 2572530957 ensure clients are valid when iterated over Lion Kortlepel 2022-11-13 14:54:41 +01:00
  • 8551e68184 fix bug which could cause multiple players to have the same ID (closes #154) Lion Kortlepel 2022-11-13 14:00:31 +01:00
  • 2f85c708c5 rework GetClient to use new ForEachClient, return shared_ptr Lion Kortlepel 2022-11-13 13:36:04 +01:00
  • 844b64f5d9 rework ForEachClient to use concepts instead of SFINAE Lion Kortlepel 2022-11-13 13:35:25 +01:00
  • d7369c3bc5 deprecate ForEachClientWeak in favor of new ForEachClient Lion Kortlepel 2022-11-13 12:57:09 +01:00
  • a8ad9034b2 update lk-result Lion Kortlepel 2022-11-13 02:24:59 +01:00
  • b756ce3c3f fix formatting in all files Lion Kortlepel 2022-11-13 00:32:55 +01:00
  • 3f05b72cc2 change internal setting names to set apart categories Lion Kortlepel 2022-11-13 00:30:26 +01:00
  • 152393f8bf switch boost variant for std::variant for settings, for sol2 Lion Kortlepel 2022-11-13 00:29:52 +01:00
  • dd36299436 add lk/result to includes Lion Kortlepel 2022-11-13 00:29:12 +01:00
  • da65e97ed1 add lk/result Lion Kortlepel 2022-11-13 00:27:57 +01:00
  • 4cc163ea1c switch to c++20 Lion Kortlepel 2022-11-13 00:25:06 +01:00
  • 01bcc3d18c replace all clocks with a generic TimeType Lion Kortlepel 2022-11-11 21:58:00 +01:00
  • c7f6835702 use high_resolution_clock instead of system_clock Lion Kortlepel 2022-11-11 21:49:54 +01:00
  • 0327b41611 change to system_clock for times converted to time_t Lion Kortlepel 2022-11-11 21:40:04 +01:00
  • 48135f4544 add new onShutdown timing to changelog Lion Kortlepel 2022-11-11 21:33:06 +01:00
  • 0411ba533d change onShutdown to be called before all players are kicked Lion Kortlepel 2022-11-11 21:28:20 +01:00
  • 41dd4ff678 add version to changelog Lion Kortlepel 2022-11-11 21:05:20 +01:00
  • e1c2d0d5fb add version command Lion Kortlepel 2022-11-11 21:04:42 +01:00
  • 69c2868025 fix server not closing after detecting an invalid config (fixes #151) Lion Kortlepel 2022-11-11 19:40:37 +01:00
  • c8ca4564a1 fix error which complains about AuthKey not being present before reading the config file Lion Kortlepel 2022-11-11 19:39:08 +01:00
  • 0c6112c28a add boost to requirements in README for windows Lion Kortlepel 2022-11-10 19:40:48 +01:00
  • 4860849f2f add boost-uuid to vcpkg on windows Lion Kortlepel 2022-11-10 19:39:50 +01:00
  • 3bd67d959f handle all exceptions which happen inside a logging macro Lion Kortlepel 2022-11-10 19:13:43 +01:00
  • 13a86d3e77 add explanative debug messages to parse errors in GetPidVid Lion Kortlepel 2022-11-10 18:52:37 +01:00
  • dff94a41be fix potential out of bounds exception in GetPidVid Lion Kortlepel 2022-11-10 18:51:43 +01:00
  • 79ee5915b4 fix unhandled out of bounds in Authentication Lion Kortlepel 2022-11-10 18:50:58 +01:00
  • 3fcf23977b fix fix for out-of-bounds crash, add disconnect messages to some failure conditions Lion Kortlepel 2022-11-10 18:41:22 +01:00
  • 487917482f fix out-of-range crash in SendFile Lion Kortlepel 2022-11-10 18:13:20 +01:00
  • 2ca39a7368 fix cmakelists Lion Kortlepel 2022-11-07 23:08:20 +01:00
  • 9d8aeef423 refactor of vehicle packet handling 20dka 2022-11-07 22:04:17 +01:00
  • dee7f74906 remove unused PPSMonitor parameter 20dka 2022-11-07 16:13:39 +01:00
  • 66f014ae42 add autocomplete for lua,kick,settings commands 20dka 2022-11-07 16:04:27 +01:00
  • 12245d81a1 fix compilation error and use boost for string lowercase 20dka 2022-11-07 16:02:45 +01:00
  • a6e0332e3c add command 'quit' as alternative to 'exit' 20dka 2022-11-07 15:49:22 +01:00
  • c461a63d9d update client pointer lock approach 20dka 2022-11-07 15:42:54 +01:00
  • 69726a9b03 add owner check to other vehicle packets 20dka 2022-11-04 23:40:52 +01:00
  • 9acb6951d6 add owner check to position packets 20dka 2022-11-04 23:39:11 +01:00
  • 6ebfe5743c add :Wait(timeout_s) function to the result of MP.TriggerGlobalEvent Lion Kortlepel 2022-11-06 02:16:55 +01:00
  • 3c138e2891 change date format from d/m/y to Y/m/d Lion Kortlepel 2022-11-06 01:40:55 +01:00
  • 2279ba4d6b attempt to report errors from event triggers Lion Kortlepel 2022-11-06 01:34:51 +01:00
  • 30b038a6bb revert adding nil to json Lion Kortlepel 2022-11-06 01:34:37 +01:00
  • c39c7bb0a4 add scripts & dockerfiles to build on multiple platforms Lion Kortlepel 2022-10-23 22:52:46 +02:00
  • 06b238d63f remove unused code Lion Kortlepel 2022-11-06 01:01:21 +01:00
  • 1856dd2002 fix various little things in the json encode and decode Lion Kortlepel 2022-11-06 01:00:20 +01:00
  • b068a9b48f fix TriggerGlobalEvent not passing event arguments correctly (closes #106) Lion Kortlepel 2022-11-06 00:58:56 +01:00
  • e8d66ef983 add git hash to version print on startup Lion Kortlepel 2022-11-05 21:49:21 +01:00
  • 7f47337e1b modify authkey notice to mention the possibility of entering an invalid key Lion Kortlepel 2022-11-02 23:31:43 +01:00
  • b0b4dc51b0 fix crash when the header of a TCP packet is negative Lion Kortlepel 2022-10-31 01:49:28 +01:00
  • 7abfae425d move around includes to satisfy the magical msvc Lion Kortlepel 2022-10-30 22:11:42 +01:00
  • 4791af4453 use system_clock::to_time_t instead of high_resolution_clock::* Lion Kortlepel 2022-10-30 22:07:41 +01:00
  • a44f9b3dba fix various build warnings and errors with clang++ Lion Kortlepel 2022-10-28 17:01:30 +02:00
  • c51d713969 add uuid source files Lion Kortlepel 2022-10-26 15:16:01 +02:00
  • 3781f2960a add debug to the changelog Lion Kortlepel 2022-10-26 15:14:45 +02:00
  • 9e469b04f1 add Util.GenerateUUID lua api Lion Kortlepel 2022-10-26 15:10:07 +02:00
  • 96273e1d06 fix invalid include, reformat TConsole Lion Kortlepel 2022-10-26 14:25:46 +02:00
  • c717037895 add debug command to track statistics and debug client connections Lion Kortlepel 2022-10-26 14:15:56 +02:00
  • 692129cb81 add ToHumanReadableSize, which formats data sizes into MiB, GiB, etc. Lion Kortlepel 2022-10-26 14:15:03 +02:00
  • 6842dccfc3 rework UDP recv loop, add packet statistics tracking Lion Kortlepel 2022-10-26 14:13:05 +02:00
  • e77dfd5a57 add boost to vcpkg requirements Lion Kortlepel 2022-10-23 18:04:45 +02:00
  • 54ad1c2715 add settings to changelog Lion Kortlepel 2022-10-23 17:48:07 +02:00
  • 48ce7c9721 add settings set/get/list/help console command Lion Kortlepel 2022-10-23 17:45:52 +02:00
  • 3aa6784627 bump version to 3.2.0 Lion Kortlepel 2022-10-23 17:45:42 +02:00
  • bec09a4761 change settings to be a hash map instead of a fixed struct Lion Kortlepel 2022-10-23 17:44:57 +02:00
  • 7d35595683 potential fix for #141 Lion Kortlepel 2022-10-28 12:24:50 +02:00
  • 982cbf116c potential fix to #141 Lion Kortlepel 2022-10-26 14:40:35 +02:00
  • 43e70d80d2 fix dockerfie for archlinux Lion Kortlepel 2022-11-02 23:29:03 +01:00
  • 00a35a636c add scripts & dockerfiles to build on multiple platforms Lion Kortlepel 2022-10-23 22:52:46 +02:00
  • 67d792e0e0 remove repeated dependency from README (#155) Lion 2022-11-14 14:32:19 +01:00
  • eaeef0c7d0 Remove double dependency from README Qest333 2022-11-14 14:00:21 +01:00
  • 47e64a7343 merge release candidate v3.1.1 (#142) v3.1.1 Lion 2022-10-31 11:32:16 +01:00
  • 7f5b3919f4 make destructors of virtual classes virtual rc-v3.1.1 Lion Kortlepel 2022-10-31 11:23:06 +01:00
  • 896e777e23 update changelog Lion Kortlepel 2022-10-31 11:19:10 +01:00
  • aa58c1e211 another potential fix for #141 Lion Kortlepel 2022-10-31 02:46:40 +01:00
  • 49a9226dca update changelog to mention fixes Lion Kortlepel 2022-10-31 02:35:41 +01:00
  • b10d5d0f4e fix empty events causing issues in the server Lion Kortlepel 2022-10-31 02:34:26 +01:00
  • 5581fd1692 fix chat message impersonation issue Lion Kortlepel 2022-10-31 02:33:51 +01:00
  • d36bb7962c ignore empty chat messages Lion Kortlepel 2022-10-31 02:32:58 +01:00
  • 4e8bd993d5 remove J packet handler Lion Kortlepel 2022-10-31 02:32:25 +01:00
  • abff9bfbdb fix crash when chat message is malformed Lion Kortlepel 2022-10-31 01:50:23 +01:00
  • b024533f90 fix crash when the header of a TCP packet is negative Lion Kortlepel 2022-10-31 01:49:28 +01:00
  • f9251ff92c add more warning prints on unexpected cases Lion Kortlepel 2022-10-28 17:51:02 +02:00
  • 99f41c28cb fix #135 by making onPlayerDisconnect blocking, and calling it before removing the player Lion Kortlepel 2022-10-28 17:42:10 +02:00
  • bbd27c9cba fix formatting bug in status (closes #143) Lion Kortlepel 2022-10-28 17:20:01 +02:00
  • 4682922467 add more fixes for msvc static linking Lion Kortlepel 2022-10-28 12:35:04 +02:00
  • 83fb387dfe potential fix to #141 Lion Kortlepel 2022-10-26 14:40:35 +02:00
  • 2b61f11a86 fix EnsureArgsCount not properly printing min/max Lion Kortlepel 2022-10-23 13:56:15 +02:00
  • a8b1a205f7 bump version to 3.1.1 Lion Kortlepel 2022-10-23 13:48:13 +02:00