Commit Graph

468 Commits

Author SHA1 Message Date
Evil Factory 86066282cc make my eyes happier: Random is now deprecated, moved lots of code around in a way that makes more sense and better LuaUserData error handling 2022-03-17 12:47:19 -03:00
Evil Factory 6026a0246d move InstallClientSideLua Function 2022-03-17 11:56:34 -03:00
Evil Factory a5228583d0 Updated Moonsharp Interpreter, added support for implicit conversions, new types: LuaByte, LuaUShort and LuaFloat added to solve method overload conflict, support for setting UserData metatables, remove LuaUserData.AddCallMetaMethod and moved GUI object to Lua 2022-03-09 13:35:11 -03:00
Qowyn 2237aaafb3 Dummy commands instead of dropping unknown cmds
AddCommand now replaces commands for connected players and saved perms
2022-03-08 18:00:30 +01:00
Evil Factory a8fdc0f9c5 Improve Lua Networking 2022-03-03 19:34:52 -03:00
Evil Factory acfec0986e Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-02-25 14:52:18 -03:00
Markus Isberg a83f375681 Hotfix 0.16.7.0 2022-02-26 02:16:41 +09:00
Evil Factory df55ad1902 Fix errors 2022-02-24 14:34:01 -03:00
Evil Factory 6340304ae4 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-02-24 14:30:39 -03:00
Markus Isberg 102e089aa6 Unstable 0.16.6.1 2022-02-24 00:42:03 +09:00
Markus Isberg e54cee163e Unstable 0.16.6.0 2022-02-23 01:18:50 +09:00
Markus Isberg a0696ecb74 Unstable 0.16.5.0 2022-02-17 00:03:08 +09:00
Markus Isberg 2190fe08ef Unstable 0.16.3.0 2022-02-10 02:52:08 +09:00
Evil Factory 8ac7e08aac fix clients not getting correctly banned if this hook is present 2022-02-07 18:14:27 -03:00
Markus Isberg 6814a11520 Unstable 0.16.2.0 2022-02-02 00:55:02 +09:00
Markus Isberg b259af5911 Unstable 0.16.1.0 2022-01-27 00:30:32 +09:00
Evil Factory fe57d1eb87 update harmony to fix problem with __args not working correctly with static methods 2022-01-23 13:07:59 -03:00
Evil Factory 0a47c85a72 clientList.job hook 2022-01-19 19:42:54 -03:00
Markus Isberg 7d6421a548 Unstable 0.16.0.0 2022-01-14 01:28:24 +09:00
Evil Factory 994d881366 Merge branch 'dev' of https://github.com/Regalis11/Barotrauma.git 2022-01-13 12:41:56 -03:00
Markus Isberg d9baeaa2e1 Hotfix 0.15.23.0 2022-01-11 23:47:46 +09:00
Evil Factory 750d8948f1 add static ban method for endpoints 2022-01-08 00:44:58 -03:00
Evil Factory 89cb0389d1 wrong hook name 2021-12-28 12:38:52 -03:00
Evil Factory e6d170329a tryChangeClientName, LidgrenHandleConnection, handlePendingClient hooks and some other things 2021-12-28 12:37:51 -03:00
Evil Factory d033a43fc7 added restrictMessageSize 2021-12-25 18:25:34 -03:00
Evil Factory d39d4c8297 added clientList.hasCrown 2021-12-23 15:33:38 -03:00
Evil Factory 350d4c6e6d added clientList.hasPermission hook 2021-12-23 12:29:41 -03:00
Evil Factory 6f6ceb4084 fix issue which caused bots to duplicate 2021-12-18 02:29:42 -03:00
Evil Factory f71f598976 Merge branch 'dev' of https://github.com/Regalis11/Barotrauma.git 2021-12-16 15:09:48 -03:00
Markus Isberg e2ce85884e Hotfix 0.15.22.1 2021-12-17 02:41:06 +09:00
Evil Factory 9927b5370e Merge branch 'dev' of https://github.com/Regalis11/Barotrauma.git into Regalis11-dev 2021-12-16 12:46:42 -03:00
Markus Isberg a864a98d4f Unstable 0.15.22.0 2021-12-17 00:19:56 +09:00
Evil Factory 82ed9ff2fb Fix error which caused the server to crash if there was any bot present
When merged from the updated repo, for some reason it added this duplicated line of code
2021-12-16 12:19:15 -03:00
Evil Factory 368a037389 fix missing references in linux/mac projects 2021-12-15 16:00:10 -03:00
Evil Factory 24f63c78cb fix errors 2021-12-15 15:35:10 -03:00
Evil Factory bb1631a21c Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git into Regalis11-master 2021-12-15 14:45:31 -03:00
Markus Isberg 7d43cb1e91 0.15.21.0 2021-12-16 01:05:43 +09:00
Juan Pablo Arce 617d9ede88 Unstable v0.15.17.0 (Hex is out of town edition) 2021-12-03 13:31:10 -03:00
Evil Factory 7c8536127c added a way for lua to override people's jobs 2021-11-30 11:36:00 -03:00
Evil Factory da5ddbc073 fix compatibility itemprefab.AddToSpawnQueue not working 2021-11-23 18:17:59 -03:00
Evil Factory 63fb9e3354 fix reversed disableDisconnectCharacter 2021-11-19 16:21:32 -03:00
Markus Isberg 80f39cd2a3 Unstable 0.15.15.0 (and the one before it I forgor) 2021-11-18 21:34:30 +09:00
Evil Factory 2823f288ff added EndGame (was pretty sure this was already added) 2021-11-16 16:21:49 -03:00
Evil Factory 02d0c14d00 fix localhost not working for direct connection 2021-11-11 12:12:34 -03:00
Evil Factory 6cda213441 move LuaPlayer and CreateVector to a separate compatibility lua file 2021-11-09 17:58:48 -03:00
Evil Factory 89942fb8f5 added -ip so you are able to specify which ip to bind the server 2021-11-08 19:57:13 -03:00
Evil Factory 50427390f2 calling lua function inside an async function causes lots of issues (probably caused by the fact that it runs on a separate thread?), solved by creating a queue of functions to be called on the main thread 2021-11-08 14:29:07 -03:00
Evil Factory 9d45eb7402 fix http requests somehow causing weird errors when an exception happened inside it, for some reason i used registertype instead of createstatic, fix that, and added override disconnect character time 2021-11-08 12:12:35 -03:00
Evil Factory 72fff4ab73 replace harmony with a custom one that includes __params, some fixes in the lua setup and hook method is now actually useful 2021-11-05 20:40:50 -03:00
Evil Factory a8a0c96d57 move most of the registration code to Lua, include harmony, add useful perf methods to Time and a more useful(but still useless) error handling in the hook call 2021-11-04 11:30:36 -03:00