Commit Graph

385 Commits

Author SHA1 Message Date
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
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
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
be90a8a2c0 add sol2 2021-09-16 00:33:13 +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
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
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
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
Anonymous-275
9f636345ef Removed abort that causes server crash 2021-08-01 15:42:23 +03:00
Lion Kortlepel
3d0d5e9e4c minor fixes, version bump 2021-07-31 21:57:06 +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
7d4fd44dbf print heartbeat on heartbeat 2021-07-15 01:04:06 +02:00
Lion Kortlepel
71c2af1224 TNetwork: kick everyone before shutdown
in the future this can be used to show a message to the clients that the
server is shutting down
2021-07-11 20:27:35 +02:00
Lion Kortlepel
2e112fc5f1 fix typo that prevented TCP thread from shutting down properly
sometimes, i guess
2021-07-11 20:00:31 +02:00
Lion Kortlepel
3c8e8399cb Fix issue with not cancelling events on linux (fix #29) 2021-07-04 00:10:10 +02:00
Lion Kortlepel
7bc230974a fix typo 2021-06-23 23:50:18 +02:00
Anonymous-275
b1ab7e65da Possible windows compile fix 2021-06-23 20:03:42 +03:00
Lion Kortlepel
c82c53e3d1 remove debug prints 2021-06-23 16:40:08 +02:00
Lion Kortlepel
9e861ab993 parse old Server.cfg if it exists 2021-06-23 16:39:08 +02:00
Lion Kortlepel
db92f2867d put a line between header and content of toml 2021-06-23 01:54:17 +02:00
Lion Kortlepel
208a41d45f remove unused 2021-06-23 01:54:17 +02:00
Lion Kortlepel
f2915f9c2a remove dead code 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
6f3960d2c2 final commit for the fix to linux lua - fix #27 2021-06-23 01:52:39 +02:00
Lion Kortlepel
6cb19a7991 (possibly) Fix linux lua issue 2021-06-23 01:47:37 +02:00
Anonymous-275
7336d63f58 Added N packet flag 2021-05-23 19:21:04 +03:00