Commit Graph

2094 Commits

Author SHA1 Message Date
EvilFactory c665d3e9c7 Added settings that allow you to force turn on CSharp, treat forced mods as normal and allow for the workshop lua setup to be the preferred one 2022-12-29 15:58:51 -03:00
EvilFactory 8fdf2156dc Introduce the LuaCsLogger class and make everything use that instead 2022-12-29 15:58:51 -03:00
EvilFactory 5807900556 Merge https://github.com/Regalis11/Barotrauma into develop 2022-12-20 12:29:13 -03:00
Regalis11 b8fa677148 Build 0.20.16.1 2022-12-20 17:05:53 +02:00
EvilFactory dd71aacc49 Fix NRE in LuaCsInstaller in case the package isn't found 2022-12-17 22:24:24 -03:00
EvilFactory 2b871c8c48 Fix think hook getting called twice on the client 2022-12-15 09:12:03 -03:00
EvilFactory 5f4f0af89c Merge branch 'master' of https://github.com/Regalis11/Barotrauma into develop-unstable 2022-12-14 12:10:23 -03:00
Markus Isberg 2f7205fb4b Build 0.20.15.0 2022-12-14 13:44:15 +02:00
EvilFactory c739ea3952 Unstable fixes 2022-12-09 20:19:36 -03:00
EvilFactory 90c3cef977 Merge remote-tracking branch 'upstream/dev' into develop 2022-12-09 17:33:44 -03:00
Markus Isberg 6f788fb8b4 Build 0.20.12.0 2022-12-09 20:08:36 +02:00
Markus Isberg a10cc13566 Build 0.20.11.0 2022-12-07 17:40:58 +02:00
Markus Isberg f5cd0dbd1c Build 0.20.10.1 2022-12-07 06:29:38 +02:00
Markus Isberg 9d2f160314 Build 0.20.10.0 2022-12-05 19:48:59 +02:00
Markus Isberg 31d2dc658e Build 0.20.9.0 2022-12-01 21:59:53 +02:00
Markus Isberg df805574c4 Build 0.20.8.0 2022-11-25 19:56:30 +02:00
Markus Isberg ecb6d40b4b Build 0.20.7.0 2022-11-18 18:13:38 +02:00
EvilFactory 1533d07f23 Fix roundStart and roundEnd hooks being called twice in sub editor 2022-11-14 14:07:38 -03:00
Markus Isberg 8c8fd865c5 Build 0.20.6.0 2022-11-14 18:14:35 +02:00
EvilFactory 0853357300 Move think hook to a better place 2022-11-13 15:56:37 -03:00
Markus Isberg 54712b5dc9 Build 0.20.4.0 2022-11-11 17:57:23 +02:00
EvilFactory 09979cb4c9 Fix client-side commands working when they shouldn't 2022-10-28 15:14:43 -03:00
EvilFactory 43810a3509 Use WorkshopId instead and minor cleanup 2022-10-28 12:26:47 -03:00
Markus Isberg edaf4b09fe Build 0.20.0.0 2022-10-27 17:54:57 +03:00
EvilFactory 599db6be5e Merge https://github.com/Regalis11/Barotrauma 2022-10-20 12:14:02 -03:00
Regalis11 6cddd03918 v0.19.14.0 2022-10-20 17:05:24 +03:00
EvilFactory 8fef89a255 Merge https://github.com/Regalis11/Barotrauma 2022-10-06 12:44:55 -03:00
Markus Isberg 05c7b1f869 Build 0.19.11.0 2022-10-06 17:13:27 +03:00
EvilFactory 41e3eb48ea Merge https://github.com/Regalis11/Barotrauma into unstable 2022-10-05 12:19:53 -03:00
Regalis11 91f2f6f4f7 v0.19.10.0 (Hoist the Sails update) 2022-10-05 18:07:55 +03:00
EvilFactory a3eff91c1a Merge branch 'dev' of https://github.com/Regalis11/Barotrauma into unstable 2022-09-30 12:14:01 -03:00
Juan Pablo Arce d461d504dc v0.19.9.0 2022-09-30 12:08:01 -03:00
EvilFactory 77c63541eb Merge branch 'dev' of https://github.com/Regalis11/Barotrauma into unstable 2022-09-29 12:13:55 -03:00
Juan Pablo Arce 3ca584f2fc v0.19.8.0 2022-09-28 21:30:52 -03:00
Juan Pablo Arce 1fd2a51bbb Unstable v0.19.5.0 2022-09-14 12:48:12 -03:00
Juan Pablo Arce 3f2c843247 Unstable v0.19.3.0 2022-09-02 15:10:56 -03:00
EvilFactory ca89cbe418 refactor workshop installation: make LuaCsInstaller a little less cursed 2022-08-23 14:58:42 -03:00
EvilFactory 199d9b78f0 fix LuaCsUpdateChecker throwing fatal error when having a missing file 2022-08-20 19:43:47 -03:00
Juan Pablo Arce 1219615d64 Unstable v0.19.1.0 2022-08-19 13:59:08 -03:00
peelz eabc611a63 Fix typo in cl_xxx commands 2022-08-10 05:59:41 -04:00
peelz dd1b404c9b Refactor error/exception/message handling
This adds:
- LuaCsSetup.ExceptionHandler so we can decide how we want to handle
exceptions for unit tests
- LuaCsSetup.MessageHandler so we can redirect logs to the XUnit output
  helper
2022-08-10 05:59:41 -04:00
peelz 267644695a Add Sigil.dll to the list of files to deploy/update 2022-08-10 05:36:17 -04:00
peelz fb1005d255 Clean up dependencies 2022-08-09 17:50:00 -04:00
peelz 08836088fb Refactor hooking API
This completely changes how method patching works under the hood. Unlike
the previous API (`Hook.HookMethod`), the new API (`Hook.Patch`)
generates a Harmony patch method at runtime, using IL generation.

This fixes methods with ByRef (out/ref) parameters getting silently corrupted
due to the ByRef semantics being lost when passed through the `object[] __args`
parameter.

This new API also makes it possible to:
  - modify parameters (including ByRef params)
  - change the return value to `null` (old API would use `return nil`
    for Harmony control flow)
  - prevent execution of the original method (and other harmony
    patches), independently of modifying the return value
2022-08-09 17:50:00 -04:00
Evil Factory 9386181fce Merge branch 'Regalis11:master' into master 2022-08-09 13:39:27 -03:00
Juan Pablo Arce b17019db95 v0.18.15.1 2022-08-09 13:37:15 -03:00
EvilFactory 069567c681 LuaCs is now initialized after sub editor screen is first selected, added Game.IsSubEditor, Game.SubEditorScreen and registered editor screens 2022-07-27 20:01:20 -03:00
Regalis11 6b55adcdd9 v0.19.0.0 (unstable) 2022-07-20 18:47:07 +03:00
Evil Factory a083f8f69e fix compiler error 2022-07-14 12:33:31 -03:00
Evil Factory c5860d13d5 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-07-14 12:25:44 -03:00