133 Commits

Author SHA1 Message Date
Lion Kortlepel
cd19ae0836
Add shutting down / shutdown states to state keeper 2021-12-07 14:25:04 +01:00
Lion Kortlepel
a1335e8c7d
Add statuses, status messages 2021-12-06 13:17:54 +01:00
Lion Kortlepel
62cc1e9ce4
Http: Add config value to turn it off, move all http settings into a category in the config 2021-12-06 09:53:13 +01:00
Lion Kortlepel
479bb9f931
TLuaEngine: Make WaitForAll timeout optional 2021-12-05 01:32:15 +01:00
Lion Kortlepel
a289d0e872
Add timeout to WaitForAll 2021-12-05 01:09:41 +01:00
Lion Kortlepel
eb67f483b2
Another possible fix for deadlock 2021-11-29 03:07:20 +01:00
Lion Kortlepel
98c7fea139
Possible fix for event handler timeouts 2021-11-29 02:56:41 +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
Lucca Jiménez Könings
1a2a123d87 Fix various macOS compatibility issues 2021-11-25 02:01:44 +01:00
Lion Kortlepel
7169e65305
clarify thread names 2021-11-21 03:19:02 +01:00
Lion Kortlepel
f8af134dc9
start writing http lua stuff, also heartbeat debug printing 2021-11-08 22:08:07 +01:00
Lion Kortlepel
701a7feee3
remove boost, add httplib, temporarily remove http* lua 2021-11-07 23:54:33 +01:00
Lion Kortlepel
af14188ec0
remove spammy debug 2021-10-01 04:22:33 +02:00
Lion Kortlepel
1ee45c9d1a
Ignore BEAMMP_FN_NOT_FOUND errors 2021-10-01 04:09:40 +02:00
Lion Kortlepel
d1f890752a
Report errors on WaitForAll 2021-10-01 03:56:18 +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
932fbe2b2f
reintroduce waiting for results 2021-10-01 03:01:28 +02:00
Lion Kortlepel
e7f29ce04f
Fix server event timing 2021-10-01 01:40:37 +02:00
Lion Kortlepel
33ebfa82f0
Remove spammy TRACE 2021-09-22 21:08:01 +02:00
Lion Kortlepel
9d0caf2c7d
Lua: Implement Hot-Reload 2021-09-21 16:21:09 +02:00
Lion Kortlepel
fe3ccafc1d
Lua: Add various FS functions 2021-09-21 00:27:09 +02:00
Lion Kortlepel
23ffa25d78
Lua: Add FS.GetParentFolder 2021-09-20 23:44:17 +02:00
Lion Kortlepel
908f67a799
Fix compile error 2021-09-20 23:40:28 +02:00
Lion Kortlepel
27b5c6d850
Add GetFilename, GetExtension, 2021-09-20 22:45:12 +02:00
Lion Kortlepel
041db23a69
Lua: info,debug -> trace 2021-09-20 16:23:38 +02:00
Lion Kortlepel
a3a18a3b56
Lua: Add CancelEventTimer 2021-09-20 16:09:17 +02:00
Lion Kortlepel
9efe352e7a
Lua: Working MP.CreateEventTimer 2021-09-20 15:41:40 +03:00
Lion Kortlepel
3edb9322d4
Lua: Simple CreateEventTimer improvements 2021-09-20 13:39:14 +03:00
Lion Kortlepel
4bf89706b4
Lua: Add MP.CreateTimedEvent as CreateThread replacement 2021-09-20 12:43:00 +03:00
Lion Kortlepel
a97791d4ee
Please MSVC stop being so bad 2021-09-20 00:46:13 +02:00
Lion Kortlepel
6f9f790c5b
Lua: Add FS.Remove, FS.Rename (move), FS.Copy, FS.Exists 2021-09-20 00:36:22 +02:00
Lion Kortlepel
4de80e0c7a
Lua: Remove debug prints, add GetLuaMemoryUsage 2021-09-19 23:55:24 +02:00
Lion Kortlepel
366a7dc9a6
Lua: Add Lua panic handler 2021-09-19 23:34:27 +02:00
Lion Kortlepel
60b86e2be6
Create TLuaChunk constructor to satisfy MSVC 2021-09-19 12:12:38 +02:00
Lion Kortlepel
7dbf859529
Lua: Implement event arguments 2021-09-19 11:45:58 +02:00
Lion Kortlepel
7f63dd8d7d
Lua: Add FS, FS.CreateDirectory 2021-09-19 01:30:59 +02:00
Lion Kortlepel
1ff5107707
Lua: Add MP.PrintRaw 2021-09-19 01:20:17 +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
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
be3ac45abb
add MP.HttpsGET, MP.HttpsPOST 2021-09-17 15:30:30 +02:00
Lion Kortlepel
48caae25fd
Finalize master&new-lua-features merge 2021-09-17 14:58:40 +02:00
Lion Kortlepel
c2b73d93b5
Lua: Implement more core functions 2021-09-17 12:56:08 +02:00
Lion Kortlepel
9a37ed4341
Lua: Add GetPlayerName 2021-09-17 12:45:34 +02:00
Lion Kortlepel
ed6f5282d9
Nice fix. 2021-09-17 02:36:06 +02:00
Lion Kortlepel
1880536276
Lua: Call onInit properly 2021-09-17 02:26:49 +02:00