Anyone can contribute to PD

aidancheddar

Active Member
Okay, I'm sick of people on this forum thinking that making changes to PD's code is either wrong, or that there is some kinda conspiracy on the timing of me releasing patches that aren’t by Afr0, Rhys, or anyone else. The latter is more due joining the development team. However, even if I didn't, Project Dollhouse is licensed under the Mozilla Public License v1.1 (soon to be 2.0). What does this mean? Anyone with some knowledge in programming can contribute to Project Dollhouse without advanced permission. The code repository itself allows for anyone to fork (i.e. have their own local copy), modify and test Afr0 and the team's to our heart's content, and, if they wish push those modifications back to Afr0's.

This is known as open source and is why Project Dollhouse has been able to develop in the open and evolve so quickly. TSOR, in contrast, was not. We had only the developer's word to go by, and look where that got them. Now, I have no idea why Afr0 choose to open source, but I applaud him for doing so.

/*The contents of this file are subject to the Mozilla Public License Version 1.1
(the "License"); you may not use this file except in compliance with the
License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
the specific language governing rights and limitations under the License.
The Original Code is the TSOClient.
The Initial Developer of the Original Code is
Mats 'Afr0' Vederhus. All Rights Reserved.
Contributor(s):
*/
 
They allow other people to change the open source code. They probably have code that they save offline just in case the open source project on github gets screwed up.

Or am I uncorrect in assuming that you(or anyone) can change the github files?
 
That's correct. The clone is both online and offline. Git is decentralized, meaning you're not dependent on Afr0's Project Dollhouse git.
 
Did anyone say that you couldn't? Seems a little out of nowhere to re-state the obvious.
 
I've noticed (to the point of being accused) that some people here are unaware of what open source is and isn't.
 
If anyone can contribute to this project, that means, any people can do changes to the source, that can ruin the code, or modify it stability???
I also want to contribute but feel like my changes can broke something..
 
Anyone can write new code for the project and it'll probably be accepted into the main branch after its quality is reviewed. But if you don't like it, you can always host your own branch.
 
If anyone can contribute to this project, that means, any people can do changes to the source, that can ruin the code, or modify it stability???
I also want to contribute but feel like my changes can broke something..
That's why you can fork, and test your code.
 
What do you say about start doing stuff for build/buy mode, is hardly or can be done with actual code elements?
 
That's the shortest, easiest, and most straight-to-the-point syntax for arrays I can imagine...

Code:
int[,] matrix = new int[rows,cols];
for(i=0; i<rows; i++)
    for(j=0; j<cols; j++)
        matrix[i,j] = data[i,j];

^ A 2-dimensional array stored in row-major order.
 
That's the shortest, easiest, and most straight-to-the-point syntax for arrays I can imagine...
That's the point. I'm reading from a C# book and it's examples as well as writing down said examples in order to get an idea of what they're talking about.
 
Last edited:
I didn't know you could do that in C#, I just use array[row][col]
:D And this leads me to my next point, what I've learned from my ebook and writing down the examples provided has had a profound impact on my understanding of Project Dollhouse source code.
 
I still don't think you will be able to contribute with just basic syntax knowledge of c#. It might be a while before you're able to make substantial changes. (eg. don't even bother looking at the wall renderer right now, I haven't commented it yet and it's hilariously overcomplicated)
 
Then not anyone can contribute to PD, only those who understand the code and have programming experience...
 
Back
Top