Commit Graph

4652 Commits

Author SHA1 Message Date
Evil Factory fe563a417c update docs 2021-12-03 11:31:38 -03:00
Evil Factory e70b0c9edc added NetworkConnections to registration list 2021-12-02 14:32:37 -03:00
Evil Factory aaf049697e Merge branch 'Regalis11:master' into master 2021-12-02 12:32:44 -03:00
Evil Factory edc1b131b2 add Content to whitelist 2021-12-01 19:41:07 -03:00
Juan Pablo Arce cdfd975174 Ignore GameAnalyticsKeys.cs regardless of the directory it's in 2021-12-01 14:17:53 -03:00
Evil Factory e4885bc525 fix lua added commands breaking after reloadlua 2021-11-30 15:39:38 -03:00
Evil Factory d30fb74d9a whoops mistake in docs 2021-11-30 11:38:45 -03:00
Evil Factory 7c8536127c added a way for lua to override people's jobs 2021-11-30 11:36:00 -03:00
Evil Factory 1972772fb3 fixed EnqueueFunction, apparently AddItem function doesn't actually adds an item. 2021-11-28 16:22:09 -03:00
Evil Factory a65160dcbd fix item hooks not working properly 2021-11-28 13:52:36 -03:00
Evil Factory 878dbb30bc register bunch of components and fix enumerations in documentation 2021-11-26 22:56:29 -03:00
Evil Factory a5721295bc register IdCard 2021-11-26 22:17:18 -03:00
Evil Factory 573806b823 added inventory docs 2021-11-26 18:55:40 -03:00
Evil Factory 72eb15248b fix duplicate in docs 2021-11-25 19:42:33 -03:00
Evil Factory 83a40bad6f added -- @remove, for removing duplicates from docs 2021-11-24 22:36:33 -03:00
Evil Factory 3127bfa037 fixed wrong hook type 2021-11-24 21:25:18 -03:00
Evil Factory 4436dd5226 improved docs 2021-11-24 21:25:10 -03:00
Evil Factory da5ddbc073 fix compatibility itemprefab.AddToSpawnQueue not working 2021-11-23 18:17:59 -03:00
Evil Factory 48aaca0fa7 Merge pull request #31 from zhu-rengong/fix_set_radio_range
fix bugs that call Player.SetRadioRange cause different results in di…
2021-11-22 13:58:40 -03:00
zhurengong 9dcfc5f80d fix bugs that call Player.SetRadioRange cause different results in different languages 2021-11-23 00:36:03 +08:00
Evil Factory ec89822fb3 make ClientPermissions a static table
Registering the enum is not possible, explained in the pull request #30
2021-11-21 13:45:05 -03:00
Evil Factory 63fb9e3354 fix reversed disableDisconnectCharacter 2021-11-19 16:21:32 -03:00
Evil Factory af3293ffbf Merge pull request #29 from zhu-rengong/check_permission_no_return
Fix the CheckPermission method does not return
2021-11-19 13:05:21 -03:00
zhurengong 8b312c0f65 Fix the CheckPermission method does not return 2021-11-19 23:48:26 +08:00
Evil Factory 1f84c0c801 fix module path not working correctly in workshop version and update workshop 2021-11-18 18:51:46 -03:00
Evil Factory 9582052e7d Merge pull request #27 from zhu-rengong/enable_control_husk
allow client to force control husk and add a hook
2021-11-18 17:32:21 -03:00
zhurengong b291624544 allow client to force control husk and add a hook 2021-11-19 03:32:29 +08:00
Evil Factory 3a4f3cded4 added job assigned hook 2021-11-16 19:41:02 -03:00
Evil Factory 2823f288ff added EndGame (was pretty sure this was already added) 2021-11-16 16:21:49 -03:00
Evil Factory 46166f124a add firesource 2021-11-13 12:16:08 -03:00
Evil Factory f723e29277 prettier error messages 2021-11-12 13:50:25 -03:00
Evil Factory 6f510137d9 Merge branch 'Regalis11:master' into master 2021-11-11 13:08:55 -03:00
Joonas Rikkonen 10e5fd5f3e Added GA key file to gitignore 2021-11-11 17:45:21 +02:00
Evil Factory f9302b36b5 forgot to include compatibility Lua lib in 6cda213 2021-11-11 12:23:32 -03:00
Evil Factory 02d0c14d00 fix localhost not working for direct connection 2021-11-11 12:12:34 -03:00
Evil Factory 50618c252d Merge pull request #26 from zhu-rengong/master
modified way to patch, can realize params map for compatibility, and try to hook Item in lua.
2021-11-11 11:18:53 -03:00
zhurengong d1188a1ea5 do a hook call inside callback param of HookMethod, and wrapped __params 2021-11-11 22:13:35 +08:00
zhurengong 9635db22fc Merge remote-tracking branch 'public/master' 2021-11-10 21:12:31 +08:00
zhurengong 6b1aca8efa modified way to patch, can realize params map for compatibility, and try to hook Item in lua. 2021-11-10 21:07:19 +08:00
Evil Factory 6cda213441 move LuaPlayer and CreateVector to a separate compatibility lua file 2021-11-09 17:58:48 -03:00
Evil Factory 5c6450c6a2 provide instance in Hook Method 2021-11-08 22:27:27 -03:00
Evil Factory 192c103597 fix compile error 2021-11-08 20:04:18 -03:00
Evil Factory 89942fb8f5 added -ip so you are able to specify which ip to bind the server 2021-11-08 19:57:13 -03:00
Evil Factory 50427390f2 calling lua function inside an async function causes lots of issues (probably caused by the fact that it runs on a separate thread?), solved by creating a queue of functions to be called on the main thread 2021-11-08 14:29:07 -03:00
Evil Factory 07b6bcc32b Merge pull request #25 from zhu-rengong/improve
move the registration of generic types to the lua side in a simple way
2021-11-08 13:52:08 -03:00
zhurengong 83d1c29917 move the registration of generic types to the lua side in a simple way 2021-11-09 00:16:48 +08:00
Evil Factory 9d45eb7402 fix http requests somehow causing weird errors when an exception happened inside it, for some reason i used registertype instead of createstatic, fix that, and added override disconnect character time 2021-11-08 12:12:35 -03:00
Evil Factory 72fff4ab73 replace harmony with a custom one that includes __params, some fixes in the lua setup and hook method is now actually useful 2021-11-05 20:40:50 -03:00
Evil Factory a8a0c96d57 move most of the registration code to Lua, include harmony, add useful perf methods to Time and a more useful(but still useless) error handling in the hook call 2021-11-04 11:30:36 -03:00
Evil Factory 2048389896 Merge branch 'master' of https://github.com/Regalis11/Barotrauma.git into Regalis11-master 2021-11-02 11:31:46 -03:00