Commit Graph

28 Commits

Author SHA1 Message Date
EvilFactory
29a2e07b1f Set TopLevelBinderFlags to IgnoreAccessibility for CsMods, so they are able to access non-public members by default 2023-04-28 14:45:45 -03:00
EvilFactory
94c68b9fe6 Added error overlay which is used to display errors in a more user friendly way, currently only used if the CSharp compilation fails 2023-01-06 19:58:15 -03:00
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
MapleWheels
d250c439d0 Support for Reflection Lookup of Mod Types (#117)
* Modified reflection utils to support lookup across multiple assemblies.
* Added registration of generated mod assembly to LuaCs Compiler.
2022-11-02 22:12:51 -03:00
EvilFactory
4164e36ec4 Fix Cs mods sometimes being added twice 2022-10-31 13:40:58 -03:00
EvilFactory
ba1157b07d Make init logs nicer 2022-10-30 16:34:01 -03:00
EvilFactory
5e29d1d8ba Fix mixed spaces and tabs 2022-10-28 12:29:35 -03:00
EvilFactory
1b020ff99e don't prevent further cs mods from being executed if one of them has a runtime error 2022-07-25 09:25:06 -03:00
Evil Factory
1af1fe45ca potential fix for the RunConfig.xml being used by another process 2022-07-07 10:36:38 -03:00
Evil Factory
bf0ea54cdd fixed cs mods not being loaded when downloading directly from server 2022-07-05 19:16:01 -03:00
Evil Factory
e5d4a38fd7 minor refactor to CsScriptLoader plus fixed source category regex not working as expected with some paths 2022-07-05 17:47:52 -03:00
Evil Factory
47e0351403 fix some of the formatting and remove usage of CsScriptFilter as it's pretty much useless 2022-06-29 12:12:47 -03:00
Oiltanker
6c22eea887 path regex fix for unix systems 2022-05-26 13:23:46 +03:00
Oiltanker
1ce8cb8cac cs RunConfig fix 2022-05-15 16:07:12 +03:00
Oiltanker
f2ca5fa57d declared & forced runs of cs mods 2022-05-14 01:44:01 +03:00
Oiltanker
fb079bf443 fix for non-local mods folder regex and mod assembly type not found 2022-05-02 15:23:57 +03:00
Oiltanker
e5215fb976 Cs source folder filter 2022-04-28 17:13:13 +03:00
Oiltanker
ed92a12db6 Cs mod store folder method for storing configs, etc. 2022-04-27 16:40:16 +03:00
Oiltanker
6a23dece35 CSharp preprocessor definitions 2022-04-25 18:11:27 +03:00
zhurengong
8a34ead2ef define cosntants for csharp parse options. 2022-04-25 21:15:30 +08:00
zhurengong
7c4d7d374b some improves and fixes:
1. should get the last loadded aseembly by checking its version instead of reversing.
2. fixed throw an exception when CsScriptRunner run the second time.
3. an argument carried by an UnregisterType called somewhere have had been accidentally removed.
2022-04-20 14:56:32 +08:00
Oiltanker
da251099a3 working serialization + cs mods one-time warning 2022-04-19 22:35:08 +03:00
zhurengong
6e0eae141b fixed assembly can't be unloaded 2022-04-19 15:45:51 +08:00
Oiltanker
d7368475fe Merge branch 'unstable-tests' of https://github.com/evilfactory/Barotrauma-lua-attempt into unstable-tests 2022-04-17 23:14:46 +03:00
Oiltanker
5c714ce124 fix CsScriptRunner 2022-04-17 22:59:12 +03:00
Oiltanker
a7b4004058 cs script runner + mod store + cs-lua interface 2022-04-17 16:05:00 +03:00
Evil Factory
b7395bedea Refactor and fix #56 2022-04-15 19:08:27 -03:00