Lion Kortlepel
fdc205f521
Add ScopedTimer, Remove some comments
2021-10-31 01:27:21 +02:00
Lion Kortlepel
f98ef7d41c
Lua: Call local eventhandlers synchronously when TriggerGlobalEvent is called from inside a handling state
2021-09-18 00:05:51 +02:00
Lion Kortlepel
48caae25fd
Finalize master&new-lua-features merge
2021-09-17 14:58:40 +02:00
Lion Kortlepel
883d69ba27
Merge remote-tracking branch 'origin/master' into rewrite-lua
2021-09-17 14:24:12 +02:00
Lion Kortlepel
1d3958817f
Merge remote-tracking branch 'origin/new-lua-features' into rewrite-lua
...
This is the first of a few commits to merge the new lua features and the
rewrite
2021-09-17 13:29:44 +02:00
Lion Kortlepel
a44050f0f1
Lua: Almost Working events, all triggers working
2021-09-17 00:21:43 +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
3fc397814c
Move update check to after initialization (since its blocking)
2021-09-11 11:38:06 +03:00
Lion Kortlepel
b1664bb184
Application: Perform hard-shutdown after 3 Ctrl+C's
2021-09-11 11:38:06 +03:00
Lion Kortlepel
b055fd8bda
GracefullyShutdown: Add "subsystem x/y shutting down" message
...
Remove old "X shutting down", "X shut down" messages, they were bad and
confusing
2021-09-11 11:38:06 +03:00
Lion Kortlepel
a514591650
Main: Add Ctrl+C handler for windows
2021-09-11 11:38:06 +03:00
Lion Kortlepel
943159cd40
Lua: add onShutdown
2021-09-09 12:13:37 +03:00
Lion Kortlepel
8250d5876f
bump to 2.3.1, fix sentry
...
Fix sentry url length print
remove quotes
github actions is cursed
add debug print
test action
Dont use curl on windows
I dont know why the windows build doesnt report to sentry, so ill try
this.
Change timeout to 20 minutes instead of 5
this is a hacky workaround anyways, so i really dont see why it should
only be 5. 5 is barely enough.
temporarily enable debug mode on sentry
CMake: Use breakpad on windows instead of crashpad
CMake: Sentry: use inproc backend
Since cmake refuses to set my variables, I will do it this way.
I am so tired of this github workflow garbage
Sentry: disable debug again, set
sentry_options_set_symbolize_stacktraces to true, fix memory leak
Sentry: hotfix: dont free options
somehow that causes it to crash, and i cannot be bothered to find out
why right now
2021-09-08 19:55:03 +03:00
Lion Kortlepel
0d5ef404f6
Sentry: ensure user is set up before version check
2021-09-08 19:55:03 +03:00
Lion Kortlepel
809a851c71
add trace() as DEBUG debug()
...
Replace DEBUG debug() with trace() everywhere
2021-09-08 19:55:03 +03:00
Lion Kortlepel
fe36191baf
fix github actions
...
Possible fix for sentry url not showing up in windows build
possible fix for sentry, again
add static_assert in attempt to fix issue with sentry
use target_compile_definitions instead of add_compile_definitions
2021-09-08 19:55:03 +03:00
Lion Kortlepel
003a8269aa
Fix url
2021-09-08 19:55:03 +03:00
Lion Kortlepel
12123582ad
add non-working GET for version
2021-09-08 19:55:03 +03:00
Lion Kortlepel
b9f594896a
Sentry: setup user after config init so that we can sent the authkey
2021-09-08 19:55:03 +03:00
Lion Kortlepel
f4fc182d5e
movre TSentry include up, possibly fixing windows actions issue with
...
macros
im really starting to appreciate that windows API includes clash with
each other because of macros, its super fun
2021-09-08 19:55:03 +03:00
Lion Kortlepel
d1a0eaffab
Sentry: move print as it was blocking (?)
2021-09-08 19:55:03 +03:00
Lion Kortlepel
969cd93358
rename Sentry to TSentry
...
windows filenames arent case-sensitive so it doesnt know which
sentry.h we mean.
2021-09-08 19:55:03 +03:00
Lion Kortlepel
b3a8b1a682
CMakeLists: move sentry back in, add C to languages
2021-09-08 19:55:03 +03:00
Lion Kortlepel
2774a73d83
Sentry: move welcome message to after version print
2021-09-08 19:55:03 +03:00
Lion Kortlepel
739eaad199
Sentry: print welcome string on startup
2021-09-08 19:55:03 +03:00
Lion Kortlepel
a7c28a8d0d
fix curl, print segfault
2021-09-08 19:55:03 +03:00
Lion Kortlepel
2b4fec6d11
Sentry: implement basic exception reporting, error breadcrumbs
2021-09-08 19:55:03 +03:00
Lion Kortlepel
da41862f49
working sentry-native
2021-09-08 19:55:03 +03:00
Lion Kortlepel
d18afdf84b
Lua: add onShutdown
2021-08-02 14:01:01 +02:00
Lion Kortlepel
208a41d45f
remove unused
2021-06-23 01:54:17 +02:00
Lion Kortlepel
1abf6d5adf
Fully implement TOML config file, delete .idea folder
...
The new config is called "ServerConfig.toml" and uses the TOML library.
It's nice.
2021-06-23 01:54:17 +02:00
Lion Kortlepel
b4850f09a9
fully switch to new backend urls
2021-03-30 01:02:53 +02:00
Lion Kortlepel
3094d382ff
implement thread names in debug mode
2021-03-30 00:30:24 +02:00
Lion Kortlepel
40cae31885
Merge TUDPServer and TTCPServer into TNetwork
...
this gets rid of a bunch of unclear cases which I mistakenly created
while refactoring for this rewrite. One example is having to call into
TTCPServer to do UDP sending in some cases.
2021-03-18 23:44:14 +02:00
Lion Kortlepel
df3269756c
set locale (do this in the launcher, too, please!)
2021-03-18 23:44:14 +02:00
Anonymous275
9b1bf071a8
Fixed lua crash caused by lion with optimizations
2021-03-18 23:44:14 +02:00
Anonymous275
218504e674
Fixed windows build not compiling
2021-03-18 23:44:14 +02:00
Lion Kortlepel
e04a569e33
attempt to fix ghost player issue
2021-03-18 23:44:14 +02:00
Lion Kortlepel
13f8be5d39
update players info
2021-03-18 23:44:14 +02:00
Lion Kortlepel
3dd2e1c278
attempt #1 to fix LuaEngine being nullptr :(
2021-03-18 23:44:14 +02:00
Lion Kortlepel
d360403c56
finish rewrite, builds fully
2021-03-18 23:44:14 +02:00
Lion Kortlepel
bf74b1ae32
add udpserver, tcpserver
2021-03-18 23:44:14 +02:00
Lion Kortlepel
f19a012509
add PPSMonitor
2021-03-18 23:44:14 +02:00
Lion Kortlepel
ef5db013b3
add socketio, http post & get
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
Lion Kortlepel
f9cb9af078
add real uptime counter, for use in lua later
2021-02-10 11:21:42 +01:00