Lion Kortlepel
548b2512cc
proper command parsing
2022-02-15 16:06:59 +01:00
Lion Kortlepel
8ff94a57d7
Add ParseCommand implementation
2022-02-15 15:34:33 +01:00
Lion Kortlepel
01268821dc
Merge branch 'rc-v3.0.1' into rc-v3.1.0
2022-02-15 15:15:51 +01:00
Lion Kortlepel
beaea4f624
Fix crash when giving commandline arguments with no console initialized
2022-02-11 11:57:01 +01:00
Lion Kortlepel
17c571811a
Add config option to turn off chat logging
...
When LogChat is disabled, using the `say` command in the console will
trigger a "chat message sent!" reply, as UX feedback.
2022-02-06 21:46:51 +01:00
Lion Kortlepel
7b458e3e27
Use yield() where possible
...
Replaced calls of this_thread::sleep_* with this_thread::yield(), which
yields the thread to the OS' scheduler.
2022-02-03 19:52:18 +01:00
Lion Kortlepel
754053e73f
Use yield() where possible
...
Replaced calls of this_thread::sleep_* with this_thread::yield(), which
yields the thread to the OS' scheduler.
2022-02-03 18:57:52 +01:00
Lion Kortlepel
fd12ee672d
Add various debug functions
2022-01-26 20:33:12 +01:00
Lion Kortlepel
cd19ae0836
Add shutting down / shutdown states to state keeper
2021-12-07 14:25:04 +01:00
Lion Kortlepel
816d3d5df8
Re-add split history (?)
2021-12-06 14:12:54 +01:00
Lion Kortlepel
817a146699
Add state id to lua prompt
2021-12-06 13:57:40 +01:00
Lion Kortlepel
a1335e8c7d
Add statuses, status messages
2021-12-06 13:17:54 +01:00
Lion Kortlepel
0f74eca2ee
Fix various issues and crashes
2021-12-06 12:28:52 +01:00
awesome_milou
9d283738aa
Add preliminary work for HTTP health endpoint ( #68 )
...
* Add preliminary work for HTTP health endpoint
* Http: Fix infinite loop bug in Tx509KeypairGenerator::generateKey()
* update commandline
* Add TLS Support class for use with http server
* Add preliminary HTTP Server; TLS still broken; fix in later commit
* Fix TLS handshake, due to server being unable to serve key/certfile in 'Http.h/Http.cpp'; Cause was httlib not being threadsafe due to being a blocking http library
* Run clang format
* Add option to configure http server port via ServerConfig
* TConfig: add HTTPServerPort to config parsing step
* Fix SSL Cert / Key path not auto generating when not existing
* Add health endpoint; Fix SSL Cert serial no. not refreshing when regenerating
* Switch arround status codes in /health route
* Run clang format
Co-authored-by: Lion Kortlepel <development@kortlepel.com>
2021-12-05 18:24:55 +01:00
Lion Kortlepel
479bb9f931
TLuaEngine: Make WaitForAll timeout optional
2021-12-05 01:32:15 +01:00
Lion Kortlepel
86169ad0fa
TConsole: Add notice about help command on wrong command
2021-12-05 00:55:42 +01:00
Lion Kortlepel
265dd710cf
add status
command
2021-12-02 01:25:17 +01:00
Lion Kortlepel
98c7fea139
Possible fix for event handler timeouts
2021-11-29 02:56:41 +01:00
Lion Kortlepel
1bc9a5293e
Add kick response
2021-11-29 02:03:20 +01:00
Lion Kortlepel
c3151093e2
CMake: remove __linux completely
2021-11-29 01:42:23 +01:00
Lion Kortlepel
8f77f1c8c0
Add kick, fix cmakelists pretending to be on linux all the time
...
lol
2021-11-29 01:34:35 +01:00
Lion Kortlepel
19d67dee95
Add GetPlayerIDByName, kick, say
2021-11-29 01:14:37 +01:00
Lion Kortlepel
fc440bea2a
Add ability to switch into other lua states
2021-11-29 00:37:00 +01:00
Lion Kortlepel
c91f3ee33c
Print entering and leaving lua as raw
2021-11-29 00:17:09 +01:00
Lion Kortlepel
768d0466f4
Add simple command interface
2021-11-28 23:45:03 +01:00
Lion Kortlepel
5fdd7beac8
remove stray zip.h include
2021-11-07 23:56:22 +01:00
Lion Kortlepel
9f5fa8fb9b
Remove libzip
2021-11-06 13:03:20 +01:00
Lion Kortlepel
d027f7f29f
Lua: Kick properly (with ClientKick), add chat message printing
2021-10-02 01:28:58 +02:00
Lion Kortlepel
87ecc3f9f6
fix readme invalid cmake invocation, show ms in debug output
2021-10-01 02:03:11 +02:00
Lion Kortlepel
e7f29ce04f
Fix server event timing
2021-10-01 01:40:37 +02:00
Lion Kortlepel
e948edca8d
Add zip files with past logs
2021-09-30 23:24:23 +02:00
Lion Kortlepel
38dffc5462
Lua: Pass plugin path and filename to queue for later
2021-09-18 01:20:26 +02:00
Lion Kortlepel
a44050f0f1
Lua: Almost Working events, all triggers working
2021-09-17 00:21:43 +02:00
Lion Kortlepel
1c80a4deb7
Lua: working events, global and local
2021-09-16 18:14:11 +02:00
Lion Kortlepel
e602decb96
Lua: Fix multiple issues with events
2021-09-16 14:58:47 +02:00
Lion Kortlepel
5978665ad6
Lua: Fix threading related crash
2021-09-16 10:07:04 +02:00
Lion Kortlepel
2cf368c2b0
First working console
2021-09-16 03:40:24 +02:00
Lion Kortlepel
ba0678dade
Continue Lua Rewrite
2021-09-16 03:21:00 +02:00
Lion Kortlepel
dd4e4c4467
Start rewrite of lua, rename all print functions
2021-09-16 01:04:01 +02:00
Lion Kortlepel
c7cf0a733e
revert changes, they didn't fix it
2021-03-30 14:32:56 +02:00
Lion Kortlepel
24a34d7a97
possible crash fix
2021-03-30 14:20:31 +02:00
Lion Kortlepel
1c98921127
add debug print to diagnose crash
2021-03-30 14:19:03 +02:00
Lion Kortlepel
13f8be5d39
update players info
2021-03-18 23:44:14 +02:00
Lion Kortlepel
4cda6e8bc3
fully implement lua
2021-03-18 23:44:14 +02:00
Lion Kortlepel
459814a6ec
add lua engine, lua file, server, client, vehicle data, other stuff
2021-03-18 23:44:14 +02:00
Lion Kortlepel
e5e447c7af
begin rewrite: add lionkor/commandline
2021-03-18 23:44:14 +02:00