Commit Graph

548 Commits

Author SHA1 Message Date
Lion Kortlepel e602decb96 Lua: Fix multiple issues with events 2021-09-16 14:58:47 +02:00
Lion Kortlepel dca573b15c Fix more compile issues with lua, add TriggerGlobalEvent 2021-09-16 13:06:04 +02:00
Lion Kortlepel 26231c6272 Fix compile issue with asio, implement Lua events 2021-09-16 13:03:00 +02:00
Lion Kortlepel ebe3630ec8 LuaAPI: Implement GetOSName 2021-09-16 12:22:49 +02:00
Lion Kortlepel d7f7a81cb0 LuaAPI: Print: dump tables properly and recursively 2021-09-16 12:21:11 +02:00
Lion Kortlepel 9ef6c32864 CMake: fix include paths 2021-09-16 11:59:00 +02:00
Lion Kortlepel 9b9c18a4c1 Lua: Add variadic print, LuaAPI 2021-09-16 11:54:52 +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 c309fa28c6 update sol2 to v3.2.3 2021-09-16 01:09:24 +02:00
Lion Kortlepel f5b2be0a03 rename Assert to beammp_assert 2021-09-16 01:04:38 +02:00
Lion Kortlepel dd4e4c4467 Start rewrite of lua, rename all print functions 2021-09-16 01:04:01 +02:00
Lion Kortlepel d082620525 add sol2 2021-09-16 00:34:09 +02:00
Lion Kortlepel be90a8a2c0 add sol2 2021-09-16 00:33:13 +02:00
Lion Kortlepel 8b69127cdd Finish moving deps to deps/ 2021-09-16 00:22:33 +02:00
Lion Kortlepel bb34378b8e Move all dependencies to deps/ 2021-09-16 00:09:39 +02:00
Lion Kortlepel 35a3dab1ce TNetwork: clarify error messages 2021-08-07 23:51:56 +02:00
Lion Kortlepel 131ade02cd TNetwork: setsockopt: cast optval to void* 2021-08-02 14:23:20 +02:00
Lion Kortlepel 2c2f76b340 TNetwork: reuseaddr instead of reuseport 2021-08-02 14:15:30 +02:00
Lion Kortlepel 106d8e5863 Common: missed semicolon 2021-08-02 14:06:00 +02:00
Lion Kortlepel 1fb7cb6bc1 improve error reporting, remove duplicate code 2021-08-02 14:01:20 +02:00
Lion Kortlepel 9666fff622 CMake: remove mentions of luasocket again 2021-08-02 14:01:20 +02:00
Lion Kortlepel 5d5f155f0c remove luasocket-cmake 2021-08-02 14:01:20 +02:00
Lion Kortlepel cfe348770c Common: Add sstream include for std::stringstream 2021-08-02 14:01:20 +02:00
Lion Kortlepel 206120dcef CMake: include luasocket after finding lua 2021-08-02 14:01:20 +02:00
Lion Kortlepel 2a3bb1bef8 add luasocket 2021-08-02 14:01:20 +02:00
Lion Kortlepel 0faa46d48c remove luasocket again 2021-08-02 14:01:20 +02:00
Lion Kortlepel dae52a71fd add CMakeLists for lib/ 2021-08-02 14:01:20 +02:00
Lion Kortlepel c46c36bf09 add luasocket submodule 2021-08-02 14:01:20 +02:00
Lion Kortlepel ed3d0834e6 add ws2tcpip.h 2021-08-02 14:01:20 +02:00
Lion Kortlepel 9d4c6e880b fix version printing 2021-08-02 14:01:20 +02:00
Lion Kortlepel d39b5d7c77 use inet_ntop instead of inet_ntoa (STILL BROKEN THOUGH) 2021-08-02 14:01:20 +02:00
Lion Kortlepel b071906db5 clarify installation 2021-08-02 14:01:20 +02:00
Lion Kortlepel 8420cdb5bf Add Settings enum, better print 2021-08-02 14:01:20 +02:00
Lion Kortlepel e11211f201 add GetServerVersion 2021-08-02 14:01:20 +02:00
Lion Kortlepel 9595ef164e use fake version for lua update for now 2021-08-02 14:01:17 +02:00
Lion Kortlepel d18afdf84b Lua: add onShutdown 2021-08-02 14:01:01 +02:00
Lion Kortlepel 0acbb70d10 add ip to identifiers, changed value format 2021-08-02 14:01:01 +02:00
Lion Kortlepel 7a3848e640 fix luatable in GetPlayerIdentifiers 2021-08-02 14:01:01 +02:00
Lion Kortlepel 261aa8f320 fix comment 2021-08-02 14:01:01 +02:00
Lion Kortlepel e994cdd8a2 Add printRaw
Same as print() but does not prefix with time, date, filename, etc.
Use with care.
2021-08-02 14:01:01 +02:00
Lion Kortlepel 44e0f3aa21 add MP.HttpsGET, MP.HttpsPOST 2021-08-02 14:01:00 +02:00
Anonymous-275 8853cef809 TODO edit 2021-08-02 14:01:00 +02:00
Anonymous-275 fb76b8309a Fully working lua_Register 2021-08-02 14:01:00 +02:00
Lion Kortlepel a23946dddf switch to toml11
it's better, believe me
2021-08-02 14:01:00 +02:00
Anonymous-275 55ee1d3747 simpler lua_Register 2021-08-02 14:01:00 +02:00
Lion Kortlepel 4cd0093687 rebase 2021-08-02 14:01:00 +02:00
Lion Kortlepel cc88734279 implement GetOSName, start working on HttpsPOST 2021-08-02 14:01:00 +02:00
Anonymous-275 a865c95e2a lua Register 2021-08-02 14:01:00 +02:00