Commit Graph

2072 Commits

Author SHA1 Message Date
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
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
Regalis11 4a03ee5ab2 v0.18.15.0 2022-07-14 16:54:36 +03:00
Evil Factory 275bb9204d chatMessage hook now works on singleplayer 2022-07-11 21:03:50 -03:00
Markus Isberg 497045de7e Build 0.18.13.0 2022-07-01 12:16:36 +09:00
Evil Factory 3976fc8f64 make command cl_reloadlua freely usable 2022-06-20 18:32:54 -03:00
Evil Factory 349cf89eb5 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-06-17 10:33:06 -03:00
Regalis11 631e59e8b8 Hotfix v0.18.12.0 2022-06-17 16:10:25 +03:00
Evil Factory 916fd7522e add Game.ForceVoice and Game.ForceLocalVoice
guess what i am going to use this for
2022-06-16 20:34:31 -03:00
Evil Factory 66c97ad100 re-add satellite resource language 2022-06-15 15:40:53 -03:00
Evil Factory c647295ccb fix projects 2022-06-15 15:28:02 -03:00
Evil Factory 7a09711296 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-06-15 13:26:49 -03:00
Markus Isberg 8e6c601162 Build 0.18.11.0 2022-06-16 01:03:48 +09:00
Markus Isberg 856f894203 Build 0.18.9.0 2022-06-14 04:14:47 +09:00
Markus Isberg 4f5a3bf8b9 Build 0.18.7.0 2022-06-08 21:52:38 +09:00
Evil Factory 0f72df789b call round end on sub editor 2022-06-07 15:05:39 -03:00
Evil Factory cac80c3d86 call round start on sub editor 2022-06-07 15:04:33 -03:00
Markus Isberg 5a10b444ee Build 0.18.6.0 2022-06-04 00:34:02 +09:00
Markus Isberg 6be757a45b Build 0.18.5.0 2022-06-03 22:29:04 +09:00
Markus Isberg 64db1a6a44 Build 0.18.4.0 2022-05-31 23:13:05 +09:00
Evil Factory 6922900bf1 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-05-30 12:29:28 -03:00
Juan Pablo Arce f74787cd10 v0.17.16.0 2022-05-30 10:25:24 -03:00
Markus Isberg 077917fa5d Build 0.18.2.0 2022-05-19 23:43:21 +09:00
Evil Factory 003aeb2cec Update Harmony (fixes patch hooks being randomly removed) 2022-05-14 00:09:17 -03:00