Commit Graph

4985 Commits

Author SHA1 Message Date
Evil Factory 6cc0c9eb6e register Barotrauma.GUINumberInput and Barotrauma.GUI 2022-04-07 15:24:45 -03:00
Markus Isberg 164d72ae3a Unstable 0.17.7.0 2022-04-08 00:34:17 +09:00
Evil Factory b20128b8cb register ScalableFont 2022-04-07 12:11:23 -03:00
Markus Isberg 95764d1fa8 Unstable 0.17.6.0 2022-04-04 16:46:08 +09:00
Evil Factory c6439d3e41 added Matrix datatype to registration 2022-04-02 21:28:48 -03:00
Evil Factory 34ffbea69d MakeMethodAccessible and MakeFieldAccessible now are recursive, so they include private members in inherit members 2022-04-02 20:54:54 -03:00
Evil Factory 2520fe7268 Most enums are now just tables, no need for registration 2022-04-02 16:55:43 -03:00
Evil Factory 4113b1ca2d improve HookMethod errors 2022-04-02 16:09:01 -03:00
Evil Factory a404ed1680 dont register the InputType enum, leaving it as numbers is more convenient 2022-04-02 15:59:05 -03:00
Evil Factory 3bcf97201a InputType enum 2022-04-02 15:44:12 -03:00
Evil Factory d3a7795be7 Merge pull request #55 from zhu-rengong/refactor_handle_reg
Fix bad code style, try to prevent brain damage
2022-03-31 14:00:12 -03:00
zhurengong 97ed4cc9f3 try to prevent brain damage 2022-04-01 00:57:02 +08:00
Evil Factory d23627f0af ability enums 2022-03-31 13:32:03 -03:00
Evil Factory 0a41d083fa Merge pull request #54 from zhu-rengong/register_gui_handlers
implemented script to clr conversions for all gui event handlers, fixes #53
2022-03-31 13:20:36 -03:00
zhurengong 246c84d5d1 implemented script to clr conversions for all gui event handlers 2022-03-31 23:57:59 +08:00
Evil Factory 0164a776c7 added item.created and item.removed hooks 2022-03-29 14:01:31 -03:00
Markus Isberg 44ded0225a Unstable 0.17.5.0 2022-03-30 01:20:59 +09:00
Markus Isberg c1b8e5a341 Unstable 0.17.4.0 2022-03-30 00:08:09 +09:00
Markus Isberg 2968e23ae8 Unstable 0.17.2.0 2022-03-30 00:06:59 +09:00
Evil Factory bd0a5980fb add static reference to all components 2022-03-29 11:52:26 -03:00
Evil Factory f527f88d3a removed applyAffliction and added character.applyDamage and character.applyAffliction 2022-03-29 11:25:53 -03:00
Evil Factory b2587f2307 campaign related registers 2022-03-28 20:03:10 -03:00
Evil Factory e15d997df4 Generics support and merge pull request that fixes #52 2022-03-28 18:31:54 -03:00
Evil Factory 11bf1ea294 added a way to decrease character updates 2022-03-28 18:16:52 -03:00
Evil Factory 9307fc0219 fix docs 2022-03-27 20:52:35 -03:00
Evil Factory 5fe506b73a Automatically convert Lua types in HookMethod 2022-03-27 16:07:34 -03:00
Evil Factory fe03f56217 Oiltanker's special hook (adds hook gameSession.getSessionCrewCharacters) 2022-03-26 14:32:13 -03:00
Evil Factory 05a65a1207 improve docs 2022-03-26 14:19:39 -03:00
Evil Factory fd377454a3 register Sonar 2022-03-26 13:04:31 -03:00
Evil Factory 91106ef7bd fix brain fart in LuaUserData 2022-03-25 20:45:27 -03:00
Evil Factory f9d7c0c2be All descriptors are now accessible via a global table, for easier access 2022-03-25 15:06:13 -03:00
Evil Factory 469abd6e86 nicer error message for when you already have cl lua installed, but you try to install it again 2022-03-24 16:15:51 -03:00
Evil Factory 68124fa8a5 allow status effect hook to trigger on characters 2022-03-24 14:01:19 -03:00
Evil Factory 61b8c132eb fix signalReceived hook not working correctly 2022-03-24 13:33:01 -03:00
Evil Factory d4dd6afec9 forgot to add callmethod 2022-03-22 15:11:04 -03:00
Evil Factory ab4f318806 added AttackResult 2022-03-22 15:08:25 -03:00
Juan Pablo Arce 4206f6db42 Unstable 0.17.3.0 2022-03-22 14:44:56 -03:00
Evil Factory 6eed83f1ee Ability to tag the patch, and can overwrite and remove the tagged patch
ability to tag the patch, and can overwrite and remove the tagged patch.
pull request #51 from zhu-rengong/tag_patches
2022-03-22 10:22:14 -03:00
Evil Factory 267f65dcfd added Faction 2022-03-22 10:02:27 -03:00
Evil Factory 8986faebdb default register gamemodes 2022-03-22 09:58:02 -03:00
zhurengong 9b2b47ec28 lowercase identifier 2022-03-22 20:52:16 +08:00
zhurengong a1ec0fc807 ability to tag the patch, and can overwrite and remove the tagged patch. 2022-03-22 18:09:18 +08:00
Evil Factory 9694895b71 fix client crash 2022-03-21 17:48:28 -03:00
Evil Factory 72cbbce35d added Game.Paused 2022-03-21 13:44:41 -03:00
Evil Factory a54c55004b Fix crash with some function hooks #49 from Qowyn/patch-1
Fix crash with some function hooks
2022-03-21 13:41:49 -03:00
Evil Factory ab7c6bbd43 Add AddLinked to MapEntity #50 from Qowyn/patch-2
Add AddLinked to MapEntity
2022-03-21 12:56:22 -03:00
Evil Factory 26939d9052 Fix CreateServerEventString #48 from Qowyn/fix-CreateServerEventString
Fix CreateServerEventString
2022-03-21 12:55:14 -03:00
Roland Firmont caac190a05 Add AddLinked to MapEntity
MapEntity.linkedTo is readonly and arrives as a table on lua side, making it impossible to add new Links.

Introducing AddLinked as an Addition makes it possible to link things.
2022-03-21 16:24:42 +01:00
Roland Firmont d80d4d91a3 Fix crash with some function hooks
Hooking functions that return float, ushort or byte causes a crash as the returned value will not match the expected type.
This fix will allow to return LuaFloat, LuaByte and LuaUShort instead.
Example hook that would crash without this: ItemComponent.DegreeOfSuccess
2022-03-21 16:12:29 +01:00
Roland Firmont 65dbc6fc00 Fix CreateServerEventString
Prevents AmbiguousMatchException
Reuses GetComponentString to get the component
Fixes wrong Invoke Parameters
2022-03-21 15:32:35 +01:00