Conversation
|
It's useless.. Cheaters can find all the functions they need for their dirty work only by signatures, so the problem of protecting these functions lies directly with the fork. |
It's useless to compile as a separate library on forks |
|
I agree, but it seems to me that this is already a direct problem of a specific fork if its developers are not able to do such a trivial thing. Also, as I know, MTA doesn't support forks. |
If MTA didn't support forks, it wouldn't have created a Full AC for forks. This PR is not a problem, as we both know that the official version of MTA is always built using Lua as a static library. This will remove support for the old, Lua injectors. Which used this DLL in 90% of cases. |
Indeed, as far as I can tell, MTA doesn't support using its AC in forks, in the strong meanings of that word. From the MTA Wiki (see also this other article):
Out of the box AC capabilities in forks are thus best viewed as a courtesy the MTA team gives without strong guarantees rather than some sort of actual support. |
Ok. |
Yes, that's right. Removing this DLL may or may not be a good idea, regardless of the status of AC support in forks. I simply wanted to clarify what that status is. |
I think this is a good idea, as the official MTA shows |
|
The only hesitance I have with this change is that, as part of updates, people will have to always re-download the Lua stuff even though it never changes. How big is the Lua DLL? |
~400 KB |
|
Oh, are you saying the official builds are already statically linking Lua but the GitHub code doesn't have that? |
Yes |
|
Then I'm onboard - let's match it here. I'll take a look at this on the weekend if I remember. Before merging, I'd just like to compare this change against the official build server, to make sure we're not missing anything |
This comment was marked as off-topic.
This comment was marked as off-topic.
…into delete-luadll
|
qaisjp
left a comment
There was a problem hiding this comment.
We would only want this change to apply to Client and not Server, since it looks like Server is dynamically linked today?
E.g. Custom modules depend on separate Lua DLL
The Lua library situation on the server is, to me at least, a bit counterintuitive. When I was working on a proof-of-concept Rust SDK for server modules, I had to link against So the placement of Lua symbols on the server libraries has never been entirely consistent across platforms. That said, I agree that it's probably best to keep the currently observable server interfaces intact in this regard, as breaking already compiled modules for either platform is quite a steep ask. |
This will make it difficult to reversing the fork code and use multi-cheats for forks with Lua injectors.