Commit Graph

  • 62c2769eb8 fix not being able to input parameter names with length 0 in HookMethod Evil Factory 2022-03-11 12:35:55 -03:00
  • 394dda97f3 fix broken client-side registration Evil Factory 2022-03-09 21:01:39 -03:00
  • 2a7837138e Accidentally left Vector2 without the metatable Evil Factory 2022-03-09 17:33:52 -03:00
  • 631d434a8e Update README.md Evil Factory 2022-03-09 13:46:16 -03:00
  • a5228583d0 Updated Moonsharp Interpreter, added support for implicit conversions, new types: LuaByte, LuaUShort and LuaFloat added to solve method overload conflict, support for setting UserData metatables, remove LuaUserData.AddCallMetaMethod and moved GUI object to Lua Evil Factory 2022-03-09 13:35:11 -03:00
  • 92dbca40a8 Potential solution for #46: Merge pull request #47 from Qowyn/lua Evil Factory 2022-03-08 14:26:03 -03:00
  • 2237aaafb3 Dummy commands instead of dropping unknown cmds AddCommand now replaces commands for connected players and saved perms Qowyn 2022-03-08 18:00:30 +01:00
  • 245619ab72 added File.CreateDirectory Evil Factory 2022-03-07 16:29:32 -03:00
  • 9dbab36575 added IsSinglePlayer and IsMultiplayer to Game Evil Factory 2022-03-07 12:15:58 -03:00
  • e7ceaf9f78 Workaround: Hooks aren't called while in singlepalyer loading screen (fixes weird threading error) Evil Factory 2022-03-06 18:44:19 -03:00
  • 509b35352f Update readme. Evil Factory 2022-03-06 10:57:30 -03:00
  • a2dc2c5ed0 update docs Evil Factory 2022-03-05 23:12:56 -03:00
  • 422edc7fa4 new status effect tag added: "LuaHook", can be used to call lua hooks inside status effects Evil Factory 2022-03-05 22:30:30 -03:00
  • 9c0bcaa44f use Game.GameSettings instead of GetEnabledContentPackages Evil Factory 2022-03-05 21:32:31 -03:00
  • abf329dd21 add Unregister functions to LuaUserData Evil Factory 2022-03-05 12:01:38 -03:00
  • a8fdc0f9c5 Improve Lua Networking Evil Factory 2022-03-03 19:34:52 -03:00
  • dd42269f31 visual studio is unable to delete this file via normal means Evil Factory 2022-03-03 13:58:43 -03:00
  • 7cfee859a1 fix massive brain damage in Timer.Wait (why did i choose to use async) Evil Factory 2022-03-03 13:54:46 -03:00
  • ffeef7a0d3 Fix #45: mapEntityUpdateInterval and gapUpdateInterval are preserved between sessions Evil Factory 2022-03-01 13:09:43 -03:00
  • 08e0f72cbe fix merge issue: swapped net message types, fixes medical clinic and ready check Evil Factory 2022-02-28 21:46:54 -03:00
  • 6d00e210f0 added GameSettings and ChatBox Evil Factory 2022-02-28 19:57:06 -03:00
  • acfec0986e Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git Evil Factory 2022-02-25 14:52:18 -03:00
  • 3974067915 Unstable 0.17.0.0 Markus Isberg 2022-02-26 02:43:01 +09:00
  • a83f375681 Hotfix 0.16.7.0 Markus Isberg 2022-02-26 02:16:41 +09:00
  • 4c6549a39c fix crash when a FriendlyNPC attack another npc Evil Factory 2022-02-24 19:37:15 -03:00
  • 3d39a84850 Lua messages/errors message colours! Evil Factory 2022-02-24 16:06:27 -03:00
  • f31142b754 Fix Map Entity Updates Evil Factory 2022-02-24 16:06:08 -03:00
  • 147307c891 register CrewManager Evil Factory 2022-02-24 16:05:53 -03:00
  • df55ad1902 Fix errors Evil Factory 2022-02-24 14:34:01 -03:00
  • 6340304ae4 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git Evil Factory 2022-02-24 14:30:39 -03:00
  • 102e089aa6 Unstable 0.16.6.1 Markus Isberg 2022-02-24 00:42:03 +09:00
  • e54cee163e Unstable 0.16.6.0 Markus Isberg 2022-02-23 01:18:50 +09:00
  • db7a6a0bea register WreckAI and WreckAIConfig Evil Factory 2022-02-21 11:45:00 -03:00
  • a0696ecb74 Unstable 0.16.5.0 Markus Isberg 2022-02-17 00:03:08 +09:00
  • d3e0625ef4 Lua is automatically initialized when entering singleplayer campaigns (doesn't include submarine editor) and roundStart && roundEnd hooks now work in CL Lua Evil Factory 2022-02-14 16:19:53 -03:00
  • 0d5ba52a15 added script to clr conversions for two gui event handles: Merge pull request #41 from zhu-rengong/gui_event_handle Evil Factory 2022-02-14 12:34:49 -03:00
  • 6a539be58e added script to clr conversion for TextGetterHandler and OnSelectedHandler zhurengong 2022-02-14 18:21:49 +08:00
  • 8f3ab34b50 remove semi colons from LuaSetup.lua Evil Factory 2022-02-11 18:19:06 -03:00
  • 21f314aed0 Revert "limit how many errors can be sent per second (prevents message queue from overflowing and stopping all commands from working) and removed useless semicolons that i added for some reason here" Evil Factory 2022-02-11 18:16:10 -03:00
  • 62cda52342 limit how many errors can be sent per second (prevents message queue from overflowing and stopping all commands from working) and removed useless semicolons that i added for some reason here Evil Factory 2022-02-10 12:59:32 -03:00
  • 7a575e9b55 add some type method to LuaUserData: Merge pull request #37 from zhu-rengong/add_type_method Evil Factory 2022-02-10 12:27:27 -03:00
  • 2482abda5c allow make private static field/method accessiable: Merge pull request #38 from zhu-rengong/make_static_member_accessible Evil Factory 2022-02-10 12:27:09 -03:00
  • 8dca5fa491 allow make private static field/method accessiable zhurengong 2022-02-10 15:16:41 +08:00
  • 9d68458eb2 add some type method to LuaUserData 1. RegisterGenericType: solves some types that cannot be found directly by strings, such as MapEntity.SelectedList(HashSet<MapEntity>) 2. IsTargetType: can be used to know whether MapEntity is Item, Character, or Structure. zhurengong 2022-02-10 15:01:58 +08:00
  • 2190fe08ef Unstable 0.16.3.0 Markus Isberg 2022-02-10 02:52:08 +09:00
  • 8ac7e08aac fix clients not getting correctly banned if this hook is present Evil Factory 2022-02-07 18:14:27 -03:00
  • ffe544d406 add some networking registration Evil Factory 2022-02-07 18:06:46 -03:00
  • 4e73235276 fix broken registration, these classes aren't needed anyway Evil Factory 2022-02-07 17:34:17 -03:00
  • 0adcb7c3e2 add new hooks: human.CPRSuccess and human.CPRFailed Evil Factory 2022-02-07 17:12:26 -03:00
  • 1f751152db added loaded hook, called after all mods been loaded Evil Factory 2022-02-06 19:27:26 -03:00
  • 438070a81f improve docs and remove irrelevant example Evil Factory 2022-02-02 22:42:03 -03:00
  • 53231347bb rename hooks, introduce statusEffect.apply and update docs Evil Factory 2022-02-02 12:26:29 -03:00
  • 6b723c6fd0 add action type enum Evil Factory 2022-02-02 11:53:28 -03:00
  • 15294a4a61 rename item hooks to use the new name scheme, register body, new meleeWeapon.handleImpact hook and statusEffect.apply.ItemIdentifier hook Evil Factory 2022-02-02 11:52:08 -03:00
  • efc62387ff add an try catch to better see what might be causing this unknown crash, Evil Factory 2022-02-01 22:38:44 -03:00
  • 6814a11520 Unstable 0.16.2.0 Markus Isberg 2022-02-02 00:55:02 +09:00
  • 28b08becd1 add LimbType, fix broken links in docs and improve docs in general Evil Factory 2022-01-29 21:00:22 -03:00
  • aec4d5482e ability to patch private method: Merge pull request #36 from zhu-rengong/patch_private_method Evil Factory 2022-01-28 10:26:05 -03:00
  • a728e1f209 ability to patch private method zhurengong 2022-01-28 15:41:41 +08:00
  • 48d6fd99cd Merge pull request #34 from zhu-rengong/improve_harmony_hook Evil Factory 2022-01-27 12:11:35 -03:00
  • 6daf410e50 Improve Harmony Hook 1. Hook.HookMethod can patch overloaded methods based on parameter types 2. Hook.HookMethod can add more patches to the method 3. Find all hook methods by the address of the function (origin method), not by the method path (string). 4. Fixed unable to add postfix patch to method (__params changed to __args) 5. Fix patching method will cause duplicate patches to be added zhurengong 2022-01-25 21:54:56 +08:00
  • b259af5911 Unstable 0.16.1.0 Markus Isberg 2022-01-27 00:30:32 +09:00
  • 740e51ce48 add "Range`1[System.Single]" to the default registration list Evil Factory 2022-01-23 19:50:39 -03:00
  • 6c5dddaae5 make event names case insensitive Evil Factory 2022-01-23 16:08:41 -03:00
  • fe57d1eb87 update harmony to fix problem with __args not working correctly with static methods Evil Factory 2022-01-23 13:07:59 -03:00
  • 0a47c85a72 clientList.job hook Evil Factory 2022-01-19 19:42:54 -03:00
  • 33ca66fcae EntitySpawnerComponent Evil Factory 2022-01-17 10:10:59 -03:00
  • 36f201692a fix error in docs Evil Factory 2022-01-14 18:29:32 -03:00
  • 7d6421a548 Unstable 0.16.0.0 Markus Isberg 2022-01-14 01:28:24 +09:00
  • 994d881366 Merge branch 'dev' of https://github.com/Regalis11/Barotrauma.git Evil Factory 2022-01-13 12:41:56 -03:00
  • f5fe166e8c ballast flora registers Evil Factory 2022-01-11 22:00:43 -03:00
  • d9baeaa2e1 Hotfix 0.15.23.0 Markus Isberg 2022-01-11 23:47:46 +09:00
  • 5049b2ecbd remove itemThink because it uses so much cpu time, because it can literally be called 1000 times a second, blame jimmyl for committing this horrible hook Evil Factory 2022-01-08 16:55:05 -03:00
  • 750d8948f1 add static ban method for endpoints Evil Factory 2022-01-08 00:44:58 -03:00
  • 0ef0a82f6c switch debug console functions to luasetup error handling Evil Factory 2022-01-06 16:49:38 -03:00
  • b3757b49ff include mysterious .net core file in the files to be copied Evil Factory 2022-01-04 11:26:48 -03:00
  • fcd0b2cc6d implement priority item updates, seems to work correctly after heavy testing in random servers Evil Factory 2022-01-02 18:57:35 -03:00
  • afd58681d7 Update installing-lua-for-barotrauma-manually.md Evil Factory 2022-01-02 12:05:56 -03:00
  • 595f80e429 fix broken GUI library Evil Factory 2022-01-01 15:27:31 -03:00
  • 729cef7f3c allow client-side lua to be reloaded in multiplayer Evil Factory 2022-01-01 11:38:29 -03:00
  • c399da8038 remove file move Evil Factory 2021-12-30 18:29:32 -03:00
  • 8a6259b9a3 Delete blacklist_files.zip Evil Factory 2021-12-30 17:27:48 -03:00
  • 036b42ca7e new performance improvement setting and client-side lua fixes Evil Factory 2021-12-30 17:26:51 -03:00
  • fee9cf4fa3 fix installing docs Evil Factory 2021-12-29 21:33:19 -03:00
  • d8d5bcb5fa update docs Evil Factory 2021-12-29 21:20:50 -03:00
  • 370ee8f1b3 convert UInt64 type to string, to avoid loosing precision with SteamIDs Evil Factory 2021-12-28 15:16:43 -03:00
  • 89cb0389d1 wrong hook name Evil Factory 2021-12-28 12:38:52 -03:00
  • e6d170329a tryChangeClientName, LidgrenHandleConnection, handlePendingClient hooks and some other things Evil Factory 2021-12-28 12:37:51 -03:00
  • 71e39f1422 add NetEntityEvent, CreateEntityEvent and item.readPropertyChange hook Evil Factory 2021-12-27 15:41:45 -03:00
  • f04d897370 fix client-side lua errors Evil Factory 2021-12-26 13:32:45 -03:00
  • d033a43fc7 added restrictMessageSize Evil Factory 2021-12-25 18:25:34 -03:00
  • d39d4c8297 added clientList.hasCrown Evil Factory 2021-12-23 15:33:38 -03:00
  • 350d4c6e6d added clientList.hasPermission hook Evil Factory 2021-12-23 12:29:41 -03:00
  • 6f6ceb4084 fix issue which caused bots to duplicate Evil Factory 2021-12-18 02:29:42 -03:00
  • f71f598976 Merge branch 'dev' of https://github.com/Regalis11/Barotrauma.git Evil Factory 2021-12-16 15:09:48 -03:00
  • e2ce85884e Hotfix 0.15.22.1 Markus Isberg 2021-12-17 02:41:06 +09:00
  • 9927b5370e Merge branch 'dev' of https://github.com/Regalis11/Barotrauma.git into Regalis11-dev Evil Factory 2021-12-16 12:46:42 -03:00
  • a864a98d4f Unstable 0.15.22.0 Markus Isberg 2021-12-17 00:19:56 +09:00
  • 82ed9ff2fb Fix error which caused the server to crash if there was any bot present Evil Factory 2021-12-16 12:19:15 -03:00
  • 368a037389 fix missing references in linux/mac projects Evil Factory 2021-12-15 16:00:10 -03:00