Commit Graph

118 Commits

Author SHA1 Message Date
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 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
Evil Factory 2048389896 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git into Regalis11-master 2021-11-02 11:31:46 -03:00
Joonas Rikkonen 3a35dbfe6c Release v0.15.13.0 2021-11-02 13:19:59 +02:00
Evil Factory bae2390eb1 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git into Regalis11-master 2021-10-27 14:41:47 -03:00
Evil Factory 8ef6ec90ca Revert "what the fuck"
This reverts commit 16e90bea61.

Revert "fix merge conflicts, warning: still broken"

This reverts commit 1f0f411d4f.
2021-10-27 13:59:19 -03:00
Evil Factory 1f0f411d4f fix merge conflicts, warning: still broken 2021-10-27 13:35:10 -03:00
Joonas Rikkonen 234fb6bc06 Release v0.15.12.0 2021-10-27 18:50:57 +03:00
Evil Factory 8ba8b7c0c6 traitor hooks 2021-10-11 12:36:22 -03:00
Evil Factory 8500525722 client side lua install command thing 2021-10-08 10:44:24 -03:00
Evil Factory 8ff490bfee make spam filter disabler actually work 2021-10-03 18:31:02 -03:00
Evil Factory 31fcb5a1e2 added more actions and moved lobby update to networking which makes more sense 2021-10-01 12:54:06 -03:00
Evil Factory 6345166742 you can now load submarines dynamically and load them into the lobby screen and added entity spawner 2021-10-01 12:41:58 -03:00
Evil Factory b65b84539c fix voice 2021-09-26 15:03:29 -03:00
Evil Factory 17ecef8c67 added a way to create console commands 2021-09-25 20:33:17 -03:00
Evil Factory d81684cd19 fixed reloadlua breaking __call metamethods, fixed singleplayer crash, added fun things to client-side lua :) 2021-09-23 21:29:18 -03:00
Evil Factory b07e5d9b0b refactor hooks with new LuaResult 2021-09-21 17:11:49 -03:00
Evil Factory 784baf550f added client and server network communication 2021-09-20 16:15:29 -03:00
Evil Factory 6c1cd3c5d3 docs update and server event for item components 2021-09-19 13:26:35 -03:00
Evil Factory beb9b10eb3 docs updated now with fields 2021-09-15 19:17:31 -03:00
Evil Factory 4075e71f7a separated Lua source by client, server and shared
github desktop bugged
2021-09-15 12:59:58 -03:00
Evil Factory 6e5de74f37 new GetComponentString, and docs updated 2021-09-13 16:47:05 -03:00
Evil Factory b480e6797c workshop installer program fix 2021-09-13 12:57:31 -03:00
Evil Factory d3dfe0e51b register AI controllers 2021-09-12 23:11:41 -03:00
Evil Factory 656af7df2f new documentation and some fixes in code 2021-09-12 15:58:59 -03:00
Evil Factory 3cd5a23af7 forgot to add itemprefab 2021-09-11 13:14:18 -03:00
Evil Factory ffb24594bc refactoring things out, removing unused additions 2021-09-10 19:10:05 -03:00
Evil Factory 813aaf29b8 making things more organized, turning Player deprecated, preparing for nlua and using partial classes for additions to another barotrauma classes 2021-09-10 18:32:19 -03:00
Evil Factory 8d26ef859d add holdable, registered explosion and hook fixes 2021-09-09 11:19:43 -03:00
Evil Factory 01eec1e9ad lets hope this doesn't break anything: returned type by hook is now the last hook registered 2021-09-08 13:05:34 -03:00
Evil Factory eb28b3a7f1 fixed: barotrauma for some reason ignores content packages that only contain lua scripts 2021-09-08 11:41:20 -03:00
Evil Factory 2888383b8f moved lua initialization to be after the server is running 2021-09-07 17:32:20 -03:00
Evil Factory 76f389dff9 new signalReceived hook with better performance
signalReceived.YourComponent, with the checks in the lua-side this hook was being called too many times and it was using up to 10% cpu of the server
2021-09-07 11:02:24 -03:00
Evil Factory 5df4207521 made the loader a lua script and added a few useful functions 2021-09-06 23:30:52 -03:00
Evil Factory 995d0d9488 added IsDedicated 2021-09-06 15:39:06 -03:00
Evil Factory 4c137167da fixed component exception and removed client permission temporary 2021-09-04 21:17:48 -03:00
jimmyl f938607119 more types 2021-09-04 13:04:47 +02:00
Evil Factory 6fff9875da clientpermissions enum 2021-09-03 15:10:38 -03:00
Evil Factory 2512513561 added Game.RoundStarted 2021-09-03 12:47:54 -03:00
Evil Factory ce0da8581a serverLog hook and added a way to notify clients in custom interface 2021-09-03 12:15:29 -03:00
Evil Factory 1fbd7ee7f8 added a way to know which content packages are enabled 2021-09-02 18:39:00 -03:00
Evil Factory 8b54f93f66 registered pair of jobprefab so you can get job preferences 2021-09-02 11:25:54 -03:00
Evil Factory 169555b041 added Hook.Remove and increased perfomance of hooks slightly 2021-09-02 11:06:03 -03:00
Evil Factory 7359b1846a dofile, loadfile, require, dostring, load replaced 2021-09-01 14:08:46 -03:00
Evil Factory 53fd4b1258 made modules partially work and replace/removed useless functions 2021-09-01 13:47:30 -03:00
Evil Factory 4d494ce9b2 whoopps again 2021-08-31 16:50:01 -03:00
Evil Factory c98c37743f add hook for changing local voice range 2021-08-29 17:30:29 -03:00
jimmyl 67dd27f4fe made changes as suggested by evilfactory 2021-08-29 20:40:07 +02:00
jimmyl 63ef6c82cb characterdeath with killer and killing affliction
why this wasnt already a feature i do not know
2021-08-29 20:03:37 +02:00