362 Commits

Author SHA1 Message Date
Lion Kortlepel
479bb9f931
TLuaEngine: Make WaitForAll timeout optional 2021-12-05 01:32:15 +01:00
Lion Kortlepel
672c7d02d1
Common: Add lua warn 2021-12-05 01:31:44 +01:00
Lion Kortlepel
a289d0e872
Add timeout to WaitForAll 2021-12-05 01:09:41 +01:00
Lion Kortlepel
265dd710cf
add status command 2021-12-02 01:25:17 +01:00
Lion Kortlepel
c3151093e2
CMake: remove __linux completely 2021-11-29 01:42:23 +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
768d0466f4
Add simple command interface 2021-11-28 23:45:03 +01:00
Lion Kortlepel
fd7bea0f36
Add BEAMMP_{WINDOWS,LINUX,APPLE} preprocessor defines instead of platform specific ones 2021-11-27 02:11:22 +01:00
Lion Kortlepel
eae27633db
Add commandline arguments, implement --config, --version, --help 2021-11-26 19:04:21 +01:00
Lucca Jiménez Könings
1a2a123d87 Fix various macOS compatibility issues 2021-11-25 02:01:44 +01:00
Lucca Jiménez Könings
08a62261e7 Add temporary cmake mods to make project compile on macOS, add ifdefs in 'Compat.h' for target darwin 2021-11-25 02:01:44 +01:00
Lion Kortlepel
7079e80b71
Lua: Remove leading space in onChatMessage (fix #35) 2021-11-19 12:43:27 +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
fdc205f521
Add ScopedTimer, Remove some comments 2021-10-31 01:27:21 +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
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
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
27b5c6d850
Add GetFilename, GetExtension, 2021-09-20 22:45:12 +02:00
Lion Kortlepel
a3a18a3b56
Lua: Add CancelEventTimer 2021-09-20 16:09:17 +02: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
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
701e613990
Lua: Fix float printing
Now prints 0, not 0.000000, etc.
2021-09-19 12:10:38 +02:00
Lion Kortlepel
7dbf859529
Lua: Implement event arguments 2021-09-19 11:45:58 +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
3c7109b23f
Update Changelog, fix assert formatting 2021-09-17 15:21:06 +02:00
Lion Kortlepel
82a5fc3999
Assert: Fix compiler error 2021-09-17 15:06:13 +02:00
Lion Kortlepel
11d4d9ff91
remove old commandline path 2021-09-17 15:02:53 +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
a0c47d9947
move sentry-native 2021-09-17 14:17:27 +02:00
Lion Kortlepel
7db345cfbc
update submodules 2021-09-17 13:36:16 +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
fd3088c78f
Re-add SendChatMessage 2021-09-17 12:58:07 +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
bac476ec34
Lua: Set package.path and package.cpath before onInit is called 2021-09-17 02:19:45 +02:00
Lion Kortlepel
a44050f0f1
Lua: Almost Working events, all triggers working 2021-09-17 00:21:43 +02:00
Lion Kortlepel
4c03a90157
Lua: Add more old API 2021-09-16 22:31:09 +02:00