Evil Factory
ffeef7a0d3
Fix #45 : mapEntityUpdateInterval and gapUpdateInterval are preserved between sessions
2022-03-01 13:09:43 -03:00
Evil Factory
6d00e210f0
added GameSettings and ChatBox
2022-02-28 19:57:06 -03:00
Evil Factory
f31142b754
Fix Map Entity Updates
2022-02-24 16:06:08 -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
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
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
zhurengong
a728e1f209
ability to patch private method
2022-01-28 15:41:41 +08: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
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
0ef0a82f6c
switch debug console functions to luasetup error handling
2022-01-06 16:49:38 -03:00
Evil Factory
fcd0b2cc6d
implement priority item updates, seems to work correctly after heavy testing in random servers
2022-01-02 18:57:35 -03:00
Evil Factory
036b42ca7e
new performance improvement setting and client-side lua fixes
2021-12-30 17:26:51 -03:00
Evil Factory
e6d170329a
tryChangeClientName, LidgrenHandleConnection, handlePendingClient hooks and some other things
2021-12-28 12:37:51 -03:00
Evil Factory
71e39f1422
add NetEntityEvent, CreateEntityEvent and item.readPropertyChange hook
2021-12-27 15:41:45 -03:00
Evil Factory
d033a43fc7
added restrictMessageSize
2021-12-25 18:25:34 -03:00
Evil Factory
b58d528502
fix
2021-12-11 23:45:54 -03:00
Evil Factory
d7655fa1a7
fixed empty functions causing errors
2021-12-09 11:59:11 -03:00
Evil Factory
7ab00eb161
exposed ServerPeer and ClientPeer to lua
2021-12-06 11:31:39 -03:00
Evil Factory
edc1b131b2
add Content to whitelist
2021-12-01 19:41:07 -03:00
Evil Factory
e4885bc525
fix lua added commands breaking after reloadlua
2021-11-30 15:39:38 -03:00
Evil Factory
1972772fb3
fixed EnqueueFunction, apparently AddItem function doesn't actually adds an item.
2021-11-28 16:22:09 -03:00
zhurengong
b291624544
allow client to force control husk and add a hook
2021-11-19 03:32:29 +08: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
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
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
578bba38a2
changes to client-side commands and added some physics related things
2021-10-07 11:46:57 -03:00
Evil Factory
1262c47e64
even more GUI
2021-10-04 11:46:13 -03:00
Evil Factory
fc811c67fb
basic file sandboxing
2021-10-03 19:27:27 -03:00
Evil Factory
446686e18c
docs update and entity.spawner
2021-10-03 12:13:45 -03:00
Evil Factory
31fcb5a1e2
added more actions and moved lobby update to networking which makes more sense
2021-10-01 12:54:06 -03:00
Evil Factory
6345166742
you can now load submarines dynamically and load them into the lobby screen and added entity spawner
2021-10-01 12:41:58 -03:00
Evil Factory
17ecef8c67
added a way to create console commands
2021-09-25 20:33:17 -03:00
Evil Factory
d81684cd19
fixed reloadlua breaking __call metamethods, fixed singleplayer crash, added fun things to client-side lua :)
2021-09-23 21:29:18 -03:00
Evil Factory
1f04fea3cc
fixed http request halting the main thread
2021-09-23 16:09:38 -03:00
Evil Factory
88eb227284
increased max players and made Signal work with __new
2021-09-22 13:10:41 -03:00
Evil Factory
b07e5d9b0b
refactor hooks with new LuaResult
2021-09-21 17:11:49 -03:00
Evil Factory
784baf550f
added client and server network communication
2021-09-20 16:15:29 -03:00
Evil Factory
c5d365eaa7
added Game.NetLobbyScreen
2021-09-19 19:40:48 -03:00
Evil Factory
1496313fd8
added Game.GameSession
2021-09-16 20:06:27 -03:00
Evil Factory
4075e71f7a
separated Lua source by client, server and shared
...
github desktop bugged
2021-09-15 12:59:58 -03:00