TEMPEST.114 Posted December 9, 2022 Posted December 9, 2022 (edited) as the title says... has anyone done this? Is there a tutorial or guide? I've never made a DLL but I have had training (many, many years ago) in C++. Edited December 9, 2022 by Elphaba
TKu Posted December 9, 2022 Posted December 9, 2022 You can share the script files itself, that is the intended way. Or do you want to hide the code to the consumer? A dll itself ist not executable directly. 1 1
Grimes Posted December 10, 2022 Posted December 10, 2022 You can compile lua scripts as is and include them in the miz file. Some have done it for missions and mods. If you are really curious whats in the code there are ways to decompile it so it just protects against those who don't care enough to do that. IMO find an open source license that you like. Its a small community and people are generally pretty good about giving credit to any code they borrowed or took heavy inspiration from. https://opensource.org/licenses The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
HC_Official Posted December 10, 2022 Posted December 10, 2022 10 hours ago, Grimes said: You can compile lua scripts as is and include them in the miz file. Some have done it for missions and mods. If you are really curious whats in the code there are ways to decompile it so it just protects against those who don't care enough to do that. IMO find an open source license that you like. Its a small community and people are generally pretty good about giving credit to any code they borrowed or took heavy inspiration from. https://opensource.org/licenses It would be great is some of the larger persistant MP servers would publish their mission files (with the lua code to make them work) publicly No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
Grimes Posted December 10, 2022 Posted December 10, 2022 2 hours ago, HC_Official said: It would be great is some of the larger persistant MP servers would publish their mission files (with the lua code to make them work) publicly Donno if that is pointed toward Grayflag, but the intention is to do it eventually. That said I think there is a difference between hosting a server and posting code that is compiled/redacted for anyone to use. One is trying to get people to join a server that has assorted costs with running it (and the exclusivity of that code) and the other is posting code with the intent for others to use. One of those is trying to extract a competitive advantage and other is kinda being a dick about it. 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
cfrag Posted December 10, 2022 Posted December 10, 2022 2 hours ago, Grimes said: and other is kinda being a dick about it. Nicely said. IMHO, the advantage of openly publishing code is that other people can help find bugs, maintain it when the creator loses interest, and most importantly, implement new ideas based on that code - „standing on the shoulders of giants“-like. I think it would have been much more difficult and less rewarding for me to write most of my missions hadn‘t I been able to dissects @Grimes et al‘s code that is freely available. Each to their own, of course. 1
Recommended Posts