Commit Graph

4755 Commits

Author SHA1 Message Date
Evil Factory
ffeef7a0d3 Fix #45: mapEntityUpdateInterval and gapUpdateInterval are preserved between sessions 2022-03-01 13:09:43 -03:00
Evil Factory
08e0f72cbe fix merge issue: swapped net message types, fixes medical clinic and ready check 2022-02-28 21:46:54 -03:00
Evil Factory
6d00e210f0 added GameSettings and ChatBox 2022-02-28 19:57:06 -03:00
Evil Factory
acfec0986e Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-02-25 14:52:18 -03:00
Markus Isberg
a83f375681 Hotfix 0.16.7.0 2022-02-26 02:16:41 +09:00
Evil Factory
4c6549a39c fix crash when a FriendlyNPC attack another npc 2022-02-24 19:37:15 -03:00
Evil Factory
3d39a84850 Lua messages/errors message colours! 2022-02-24 16:06:27 -03:00
Evil Factory
f31142b754 Fix Map Entity Updates 2022-02-24 16:06:08 -03:00
Evil Factory
147307c891 register CrewManager 2022-02-24 16:05:53 -03:00
Evil Factory
df55ad1902 Fix errors 2022-02-24 14:34:01 -03:00
Evil Factory
6340304ae4 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git 2022-02-24 14:30:39 -03:00
Markus Isberg
102e089aa6 Unstable 0.16.6.1 2022-02-24 00:42:03 +09:00
Markus Isberg
e54cee163e Unstable 0.16.6.0 2022-02-23 01:18:50 +09:00
Evil Factory
db7a6a0bea register WreckAI and WreckAIConfig 2022-02-21 11:45:00 -03:00
Markus Isberg
a0696ecb74 Unstable 0.16.5.0 2022-02-17 00:03:08 +09:00
Evil Factory
d3e0625ef4 Lua is automatically initialized when entering singleplayer campaigns (doesn't include submarine editor) and roundStart && roundEnd hooks now work in CL Lua 2022-02-14 16:19:53 -03:00
Evil Factory
0d5ba52a15 added script to clr conversions for two gui event handles: Merge pull request #41 from zhu-rengong/gui_event_handle
added script to clr conversions for two gui event handles
2022-02-14 12:34:49 -03:00
zhurengong
6a539be58e added script to clr conversion for TextGetterHandler and OnSelectedHandler 2022-02-14 18:26:04 +08:00
Evil Factory
8f3ab34b50 remove semi colons from LuaSetup.lua 2022-02-11 18:19:06 -03:00
Evil Factory
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"
This reverts commit 62cda52342.
2022-02-11 18:16:10 -03:00
Evil Factory
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 2022-02-10 12:59:32 -03:00
Evil Factory
7a575e9b55 add some type method to LuaUserData: Merge pull request #37 from zhu-rengong/add_type_method
add some type method to LuaUserData
2022-02-10 12:27:27 -03:00
Evil Factory
2482abda5c allow make private static field/method accessiable: Merge pull request #38 from zhu-rengong/make_static_member_accessible
allow make private static field/method accessiable
2022-02-10 12:27:09 -03:00
zhurengong
8dca5fa491 allow make private static field/method accessiable 2022-02-10 15:16:41 +08:00
zhurengong
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.
2022-02-10 15:03:24 +08:00
Markus Isberg
2190fe08ef Unstable 0.16.3.0 2022-02-10 02:52:08 +09:00
Evil Factory
8ac7e08aac fix clients not getting correctly banned if this hook is present 2022-02-07 18:14:27 -03:00
Evil Factory
ffe544d406 add some networking registration 2022-02-07 18:06:46 -03:00
Evil Factory
4e73235276 fix broken registration, these classes aren't needed anyway 2022-02-07 17:34:17 -03:00
Evil Factory
0adcb7c3e2 add new hooks: human.CPRSuccess and human.CPRFailed 2022-02-07 17:12:26 -03:00
Evil Factory
1f751152db added loaded hook, called after all mods been loaded 2022-02-06 19:27:26 -03:00
Evil Factory
438070a81f improve docs and remove irrelevant example 2022-02-02 22:42:03 -03:00
Evil Factory
53231347bb rename hooks, introduce statusEffect.apply and update docs 2022-02-02 12:26:29 -03:00
Evil Factory
6b723c6fd0 add action type enum 2022-02-02 11:53:28 -03:00
Evil Factory
15294a4a61 rename item hooks to use the new name scheme, register body, new meleeWeapon.handleImpact hook and statusEffect.apply.ItemIdentifier hook 2022-02-02 11:52:08 -03:00
Evil Factory
efc62387ff add an try catch to better see what might be causing this unknown crash, 2022-02-01 22:38:44 -03:00
Markus Isberg
6814a11520 Unstable 0.16.2.0 2022-02-02 00:55:02 +09:00
Evil Factory
28b08becd1 add LimbType, fix broken links in docs and improve docs in general 2022-01-29 21:00:22 -03:00
Evil Factory
aec4d5482e ability to patch private method: Merge pull request #36 from zhu-rengong/patch_private_method
ability to patch private method
2022-01-28 10:26:05 -03:00
zhurengong
a728e1f209 ability to patch private method 2022-01-28 15:41:41 +08:00
Evil Factory
48d6fd99cd Merge pull request #34 from zhu-rengong/improve_harmony_hook
Improve Harmony Hook
2022-01-27 12:11:35 -03:00
zhurengong
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
2022-01-27 22:50:34 +08:00
Markus Isberg
b259af5911 Unstable 0.16.1.0 2022-01-27 00:30:32 +09:00
Evil Factory
740e51ce48 add "Range`1[System.Single]" to the default registration list 2022-01-23 19:50:39 -03:00
Evil Factory
6c5dddaae5 make event names case insensitive 2022-01-23 16:08:41 -03:00
Evil Factory
fe57d1eb87 update harmony to fix problem with __args not working correctly with static methods 2022-01-23 13:07:59 -03:00
Evil Factory
0a47c85a72 clientList.job hook 2022-01-19 19:42:54 -03:00
Evil Factory
33ca66fcae EntitySpawnerComponent 2022-01-17 10:10:59 -03:00
Evil Factory
36f201692a fix error in docs 2022-01-14 18:29:32 -03:00
Markus Isberg
7d6421a548 Unstable 0.16.0.0 2022-01-14 01:28:24 +09:00