Lion Kortlepel
7079e80b71
Lua: Remove leading space in onChatMessage ( fix #35 )
2021-11-19 12:43:27 +01:00
Lion Kortlepel
fdc205f521
Add ScopedTimer, Remove some comments
2021-10-31 01:27:21 +02:00
Lion Kortlepel
50589fbe3d
send 'Om' to self
2021-10-26 17:39:59 +02:00
Lion Kortlepel
6189aed6e7
broadcast Om packets
2021-10-26 02:08:02 +02:00
Lion Kortlepel
c4d6aab08b
fix MP.HttpGET (was not passing contentType)
2021-10-08 08:44:20 +02:00
Lion Kortlepel
9eabd19e17
Report more errors, better
2021-10-01 03:52:12 +02:00
Lion Kortlepel
243e96d503
Check all futures
2021-10-01 03:27:24 +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
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
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
ba3fd0e144
add GetServerVersion
2021-09-09 12:14:30 +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
8fada3ac04
Sentry: add multiple more logging mechanisms, add [CHAT]
2021-09-08 19:55:03 +03:00
Lion Kortlepel
fe6e1e6266
Heartbeat: Try backup1 and backup2, refactor sentry reporting
2021-09-08 19:55:03 +03:00
Lion Kortlepel
f4ffa2cdda
Sentry: remove authkey, use id instead
2021-09-08 19:55:03 +03:00
Lion Kortlepel
1409d4ef80
Sentry: use locked contexts to send data to avoid races
2021-09-08 19:55:03 +03:00
Lion Kortlepel
51e662fdda
Compat: fix clash with socket() macro, Sentry: Add LogDebug
2021-09-08 19:55:03 +03:00
Lion Kortlepel
e11211f201
add GetServerVersion
2021-08-02 14:01:20 +02:00
Anonymous-275
9f636345ef
Removed abort that causes server crash
2021-08-01 15:42:23 +03:00
Lion Kortlepel
bceb3aefe4
TServer: Avoid blindly using std::string::find's result
2021-07-29 13:34:28 +02:00
Lion Kortlepel
6c72432992
possible fix #37
2021-07-29 13:34:28 +02:00
Lion Kortlepel
3c8e8399cb
Fix issue with not cancelling events on linux ( fix #29 )
2021-07-04 00:10:10 +02:00
Anonymous-275
7336d63f58
Added N packet flag
2021-05-23 19:21:04 +03:00
Anonymous-275
1bee72a175
Server config now uses json
2021-04-22 02:28:02 +03:00
Anonymous-275
534b457f48
Possible ghost connection ellimination
2021-03-31 20:15:42 +03:00
Anonymous-275
029cf94e68
UnicycleID reset
2021-03-31 19:58:02 +03:00
Anonymous-275
15f7a6ba85
Unicycle edit check
2021-03-31 19:49:52 +03:00
Anonymous-275
86b5d91579
Try to fix max car limit
2021-03-31 19:31:45 +03:00
Anonymous-275
31486bcb56
Car limit fix
2021-03-31 19:27:05 +03:00
Anonymous-275
08660d83dc
Unicycle bypass vehicle limit
2021-03-31 19:18:32 +03:00
Anonymous-275
7231c69e10
Lock when accessing vehicles
2021-03-31 12:42:29 +03:00
Anonymous-275
50549f3d1a
Copy set of shared ptrs
2021-03-31 00:36:15 +03:00
Anonymous-275
f323d50e34
Decreased the scope of read mutex
2021-03-31 00:05:05 +03:00
Anonymous-275
7ccc5a963a
Clear the queue if we failed to sync it
2021-03-30 22:10:57 +03:00
Lion Kortlepel
fc201efa4b
possibly fix some issues with not disconnecting disconnected players
2021-03-30 17:04:40 +02:00
Lion Kortlepel
667bd7f7c8
add name to debug print, update ping time each packet
2021-03-30 16:01:23 +02:00
Lion Kortlepel
e35d1b5457
attempt to fix mass timeout kick
2021-03-30 15:41:05 +02:00
Lion Kortlepel
1875c8832d
update ping time on any packet, not just ping packets, for now
2021-03-30 15:31:44 +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
Anonymous275
f0abfcc0ef
Added lua GetIdentifiers
2021-03-18 23:44:14 +02:00
Anonymous275
aadcd1abe5
SocketIO work
2021-03-18 23:44:14 +02:00
Anonymous275
57fc0ea74d
Update TServer.cpp
2021-03-18 23:44:14 +02:00
Anonymous275
fe4a1b28b5
Added onVehicleReset Event
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
Lion Kortlepel
f13523fbe5
fixed ghost player issue
2021-03-18 23:44:14 +02:00
Lion Kortlepel
32038046d5
add print on ping
2021-03-18 23:44:14 +02:00