1
Modification Help / Re: Your first three proper add-ons
« on: April 09, 2008, 02:20:57 PM »User was banned for this post
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I looked up the CodeBlock::compile method in the engine, and I can confidently say that I don't think there is any writing of raw binary to the dso file. Anyone can attempt to prove me wrong, but i'm pretty happy with what i'm reading here.
After speaking with someone more knowledgeable than I on the subject, here's where I stand.
DSO: binary encoding, no; binary file format, yes.
I can post several resources that explain this upon request.
What is this disgusting waste of space? It sickens me.
Also, .DSO is Binary.
Who is this other incredibly irrelevant and evidently handicapped person?
.dso (usually will end with ".cs.dso") are binary files, when you run
Torque 2D it compiles all the .cs script files into binary .dso files.
.DSO is not Binary, it is encrypted, apparently in a form thats easier for torque to read(or so I've heard, please correct me on this). .cs files can be encrypted into .DSO to keep those who would edit it away.
Besides, open a .DSO with notepad. You wont see 0s and 1s.(or anything else that could stand in for binary)
Uh, I'm sure there are OpenGL rendering tutorials that will tell you exactly how to do what you've just done. Its no amazing feat, trust me.
And don't criticise Falcondude for butting in because you started this argument in the first place by trying to flame me.
I've heard many complaints about how you have been treating people, and it's stuff like this that can hurt a reputation.
I think that is my reputation. I'm not here to babysit the idiots of this community, of which there are uncountable hundreds.
Because I like to think that most of the people on these forums aren't ignorant douchebags like yourself, and would like to be notified when they do something "incorrectly".
What I don't see is why you think you have the right to waltz onto these forums, troll around, and then feel its your right to question my motives.
I haven't trolled this thread at all, the answer to the topic was already posted, the problem was solved, the author did not complain, it is an informational topic. I never said the content or syntax of Falcondude's reply was wrong, I was commenting on the style he uses to script. I know from experience that a lot of professional companies require you to program in one style, and it will almost certainly be the one I've described. So think of it as a favor of sorts. If people break the habit now and go into programming, they'll be much better off.
Its also interesting to note that you didn't even comment on the obvious troll in this thread?
I'm a freelance web programmer, i'd let you see my transaction log on PayPal, but I don't see why I have to prove anything to a troll like you.
Please dont use things off other people's maps, it will just make you look like a noob
I hope this stupid troll gets banned soon.
If the file is located in the shapes folder in addons it can be placed via f3 while in f11(editor mode) it can also be in base/data/shapes if I'm correct.
Someone who earns money through knowing how to program well. Who are you?
As functions grow and become more layered (and line lengths may become longer), it would be much more advantageous to have brackets on separate lines.
Referring to use of brackets on the same line as other things:
Wiki Link: http://en.wikipedia.org/wiki/Indent_style#K.26R_styleQuote from: WikiAdvantages of this style are that the beginning brace does not require an extra line by itself; and the ending brace lines up with the statement it conceptually belongs to. One disadvantage of this style is that the ending brace of a block takes up an entire line by itself, which can be partially resolved in if/else blocks and do/while blocks:Code: [Select]if (x < 0) {
printf("Negative");
negative(x);
} else {
printf("Positive");
positive(x);
}
This style makes it difficult to scan any source code for the opening brace of a block; however, it is otherwise as easy to find the beginning of the block by locating first line where the block 'pulls left' (where the indentation level decreases).