Commit Graph

146 Commits

Author SHA1 Message Date
Maplewheels d420e1efbb Added experimental fix for inlining issue in assembly init. 2026-05-23 18:27:34 -03:00
Evil Factory 3f199a9500 Remove hard coded string LuaCsForBarotrauma everywhere possible 2026-04-23 22:54:06 -03:00
Evil Factory 798954d182 Fix main menu text alignment 2026-04-21 22:58:42 -03:00
Evil Factory 93bdd03f54 Fix missing SettingControl in global Lua table 2026-04-21 12:58:53 -03:00
MapleWheels 96906ef89e Always purge cashes for plugin content on unloading. 2026-04-20 15:19:05 -04:00
Evil Factory 1e1fb642f0 Fix UseInternalAccessName 2026-04-20 14:33:49 -03:00
Evil Factory 7daefe6f16 Some tweaks to the text 2026-04-19 17:11:10 -03:00
Maplewheels f612112445 Fixed OnUpdate() not passing in deltaTime instead of totalTime. 2026-04-18 22:10:28 -04:00
Evil Factory ab77e9d40c Fix client.packages hook sending normal packages 2026-04-18 17:38:27 -03:00
Evil Factory bb21a09244 New icon for settings and make the top left text more user friendly 2026-04-18 16:36:36 -03:00
Evil Factory 12e05cb07e Fix LuaCs net messages received during connection initialization to be read incorrectly, happened because we would reset the BitPosition in our harmony patch which would cause the message to be read incorrectly later 2026-04-18 00:00:00 -03:00
Evil Factory 8896377f9c Add alias for human.CPRSuccess and human.CPRFailed 2026-04-15 07:54:51 -03:00
MapleWheels 17003e47cd - Fixed networking sync vars failing to sync initially.
- Fixed lua failing to differentiate overloads ISettingBase.
2026-04-14 12:17:12 -04:00
MapleWheels 38f0055b74 Added "RunUnrestricted" mode for lua scripts that need to run outside of sandbox. 2026-04-13 15:36:11 -04:00
MapleWheels a2c67f7af5 Changed csharp script compilation algorithm to be best effort. 2026-04-13 14:19:31 -04:00
MapleWheels 344027d757 Added LoggerService to Lua env. Made ILoggerService compliant with LuaCsLogger API. 2026-04-13 13:08:41 -04:00
MapleWheels addd3f7a45 Added legacy overload of AddCommand for mod compat. 2026-04-13 12:02:16 -04:00
Maplewheels a40e54f4e4 Added fallback compilation for UseInternalsAwareAssembly if the publicized script compilation fails. 2026-04-13 02:13:29 -04:00
Maplewheels c6ccc68b2e Fixed "Folder" attribute files not being found. 2026-04-11 23:20:11 -04:00
Evil Factory eeef7aff68 Register Voronoi2 stuff 2026-04-11 22:25:04 -03:00
Maplewheels 3605571f71 Added fallback friendly name resolution for ModConfig assembly contents. 2026-04-11 21:00:42 -04:00
Evil Factory f3535e242c Load console commands after executing and possible fix for the not console command permitted 2026-04-11 21:49:12 -03:00
Evil Factory 3cc7467d99 Fix hide username in logs config not doing anything 2026-04-10 22:10:44 -03:00
Evil Factory df8bfb1807 Fix LuaCs initializing too late for singleplayer campaigns and rework the C# prompt to only show when enabling mods/joining server 2026-04-10 21:40:32 -03:00
MapleWheels ccd0b9f7cc Added caching toggle to PluginManagementService 2026-04-10 18:13:25 -04:00
Evil Factory 5505f20925 PackageId -> PackageName 2026-04-10 16:50:15 -03:00
Evil Factory 1adf76168d Fix garbage network data being read by the game when reading LuaCs network messages 2026-04-10 13:37:01 -03:00
MapleWheels 9250e27953 - Fixed assembly logging style.
- Fixed double logging during execution.
2026-04-10 10:48:55 -04:00
MapleWheels c3a9551683 - Changed event aliases to be case insensitive. 2026-04-10 10:14:53 -03:00
Evil Factory fd324ac67e Fix Hook.Remove not being implemented properly 2026-04-10 09:58:43 -03:00
Evil Factory e3b2b34940 Fix Game.AssignOnExecute having command arguments be passed as varargs instead of a table 2026-04-09 23:54:21 -03:00
Evil Factory 928cfb4fde Re-add loaded Lua hook call 2026-04-09 12:09:00 -03:00
Evil Factory a9634988e9 Fix signalReceived hook not being called 2026-04-09 11:18:18 -03:00
MapleWheels ef66d27ffe - Fixed network synchro of vars, needs synctype testing. 2026-04-09 05:34:50 -04:00
MapleWheels 53be3f0073 Fixed lua attempting to invoke the base interface type. 2026-04-08 19:49:57 -04:00
MapleWheels 89aa818c0b Made Config initialization errors more forgiving to noobs. 2026-04-08 19:38:31 -04:00
Evil Factory e161d92117 Fix settings not being properly exposed to Lua 2026-04-08 19:44:16 -03:00
Evil Factory eeeb3d9db3 Expose all settings in Lua 2026-04-08 18:29:07 -03:00
Evil Factory 6c32873d4e Only register ILuaConfigService 2026-04-08 18:04:25 -03:00
MapleWheels bdd4dcfb9e Disabled caching on the ConfigService. 2026-04-08 16:27:01 -04:00
Evil Factory d440ccbce2 Register IConfigService and add back some missing APIs 2026-04-08 15:32:31 -03:00
MapleWheels 1294ba6dec - Added API to get package by name to PackageManagementService.cs and LuaScriptManagementService.cs
- Added ILuaConfigService to Lua API.
2026-04-08 11:03:52 -04:00
MapleWheels 4c8e016dea - Added extra source code translation (for CTS).
- Added localization to SettingList.cs display dropdown.
2026-04-08 08:09:45 -04:00
MapleWheels 232f7203e2 Fixed shared Csharp src files not being included if there weren't also architecture-specific files. 2026-04-07 16:07:55 -04:00
MapleWheels df0a4e62f5 Added logging for additional plugin loading exceptions. 2026-04-07 15:43:01 -04:00
MapleWheels 7055480015 - Fixed publicized Barotrauma.dll missing error on DedicatedServer.
- Fixed non-implemented folder search for ModConfig resources.
2026-04-05 13:09:34 -04:00
Evil Factory 0e14983e88 Allow System.Console 2026-04-05 11:20:08 -03:00
Evil Factory 9b05c51ae5 Fix calling Hook.Call directly from Lua being broken 2026-04-04 22:52:27 -03:00
Evil Factory 5e003bcf11 Fix missing Game.Commands 2026-04-04 22:30:46 -03:00
Evil Factory 121f670c8b Fix character.death hook getting called a billion times per second 2026-04-04 13:04:34 -03:00