Commit Graph

6193 Commits

Author SHA1 Message Date
Evil Factory fd324ac67e Fix Hook.Remove not being implemented properly 2026-04-10 09:58:43 -03:00
Evil Factory f6ea4df489 Load languages files even if the package is disabled 2026-04-10 00:36:36 -03:00
Evil Factory a86b8142eb Actually use the PackageId const everywhere we need to refer to our content package 2026-04-10 00:11:33 -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 b68ffa2725 Add LuaCsSetup.Lua back for compatibility 2026-04-09 13:56:56 -03:00
Evil Factory a85d489907 Fix modifyChatMessage hook 2026-04-09 12:39:39 -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 87e0191a97 - Debug tests. 2026-04-09 08:35:17 -04:00
Evil Factory 790378d2a5 Merge remote-tracking branch 'upstream/master' into develop 2026-04-09 09:12:16 -03:00
Regalis11 a4607dffad v1.12.6.2 (Spring Update 2026) 2026-04-09 15:10:07 +03:00
MapleWheels ef66d27ffe - Fixed network synchro of vars, needs synctype testing. 2026-04-09 05:34:50 -04:00
MapleWheels 84cb7cfeb7 server auth var. 2026-04-09 01:29:48 -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 3a5fbfde1e Fix cs enabled for session state not being preserved between reloads 2026-04-08 20:12:20 -03:00
Evil Factory b9b457262f Test Lua config mod 2026-04-08 19:56:32 -03:00
Evil Factory e161d92117 Fix settings not being properly exposed to Lua 2026-04-08 19:44:16 -03:00
MapleWheels 2e656509a8 - Added null check to get string value. 2026-04-08 17:53:12 -04:00
MapleWheels b0b4acf392 - Made readonly readonly. 2026-04-08 17:29:56 -04:00
Evil Factory e9673bf7f5 Update moonsharp 2026-04-08 18:29:29 -03:00
Evil Factory eeeb3d9db3 Expose all settings in Lua 2026-04-08 18:29:07 -03:00
Evil Factory c882b0bb45 Update moonsharp 2026-04-08 18:07:12 -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
MapleWheels ebe8ec455f LuaCs CSharp Enabled Rework
- New UI for the prompt

- Third time's the charm.

- Fixed TOCTOU for cs prompt on main menu. - Fixed SubEditor not running lua when don't run is selected for cs.

- LuaCs CSharp Enabled Rework
2026-04-08 16:31:42 -03: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
Evil Factory f05d4ef129 Fic CSharp enabling message printing before config got loaded 2026-04-04 12:24:12 -03:00
Evil Factory 4167448279 Fix Game.Settings being nil 2026-04-04 11:50:35 -03:00
MapleWheels 413cc3ed4c - Added setting to disable lua scripts caching in the storage service for scenarios that use extern editors. 2026-04-02 23:29:21 -04:00
MapleWheels 4f2da55a8e - Added legacy LuaCsPerformanceCounter.cs
- Added legacy redirects.
- Added IConsoleCommandsService injection to plugins.
2026-03-31 10:48:44 -04:00
Maplewheels f1808d9231 Added verbose cs compilation. 2026-03-29 00:30:18 -04:00
Evil Factory bcec409618 Fix deep-fried main menu text 2026-03-28 22:20:22 -03:00
Evil Factory 14c610e6c7 Re-added the install_cl_lua command 2026-03-28 21:50:13 -03:00
Evil Factory 958335a01c Replicate old Add() method signature structure 2026-03-28 14:14:11 -03:00
Evil Factory b358882016 This should be ItemPrefab, not Item, also add it the source code compat 2026-03-28 14:03:28 -03:00
Evil Factory b8f1642d9d Simplify command register 2026-03-28 13:04:11 -03:00
Evil Factory 64818775cb Whoops 2026-03-28 13:04:04 -03:00
Evil Factory 5bfa15564a Move partial classes to extension methods, the ones that can't, turn into Lua compatibility members 2026-03-28 12:51:53 -03:00
Evil Factory 2ea97d3d5e Add CallLuaFunction legacy redirect 2026-03-28 10:52:33 -03:00
Evil Factory bb2490eb13 Fix wrong arguments in RemovePatch 2026-03-27 21:58:06 -03:00