Lua patches
MagnetBox
Join Date: 2010-07-25 Member: 72813Members
I realize this game isn't open source but some of the minor issues can be traced back to Lua bugs. Since those are available in the Steam game folder, would it help the devs if we submitted patches to them? GetSatisfaction doesn't have a way to attach files (only images) to a topic, so I don't know the best avenue for this.
Is this something that would be desired or would it only distract/get in the way of the devs?
Is this something that would be desired or would it only distract/get in the way of the devs?
Comments
Actually, making a good mod would be one of the best ways. Either that or detailed code snippets in GetSatisfaction.
Just document what you did.
Giving them source code is a waste of your time. They're not asking for help with development, only testing.
If you have a good solution, why not?
yes i'm slightly biased since i wrote an irc bot in C with lua bindings and learned to love it :)
not only this, but if you think you've identified a bug, and you can make it go away, then you've got confirmation, and both the bug and the fix are reproducible. that's the best thing a maintainer can hope for.
yes i'm slightly biased since i wrote an irc bot in C with lua bindings and learned to love it :)<!--QuoteEnd--></div><!--QuoteEEnd-->
Yes, that is what I meant. I figured that with such a small dev team they could use some help. If I can assist with the minor but annoying issues while they tackle the large engine problems, then everyone wins.
There are strict rules for dev teams to ensure that many people can work on a game without overwriting changes and breaking the game for everyone else with your changes, I doubt having people make their own versions would be a good idea.
There are strict rules for dev teams to ensure that many people can work on a game without overwriting changes and breaking the game for everyone else with your changes, I doubt having people make their own versions would be a good idea.<!--QuoteEnd--></div><!--QuoteEEnd-->
I plan on submitting the patches directly to them and letting them integrate the changes into the codebase, not distributing them to the community. I understand the chaos that would create.
It's easy to run into all kinds of liability issues. The person who created the patch technically owns the copyright for that code, and would have to legally sign over rights to it. Depending on their location this could be difficult.
You also have to worry about things like people who have already given over the copyright for code the wrote at the time. Some companies have agreements along these lines, so someone who writes a patch on company time would not be able to sign over the copyright.
For much of the Lua code that will have bugs, it's probably not a really hard fix after you hunt it down. People can do that without any copyright concerns, which seems like the more appropriate trade-off between time, risk, and productivity.
It's still probable that you'd basically be submitting an old version of the code they're working on, if they change something and then you change something else in the same file, you can't stick the two together, you'd need to be fitted into the existing schedule to be of much use.
Any patching or merging program can handle this problem with ease. Most modern source control systems even have them built in. I would be submitting a patch, not the entire file anyways.