====Creating a Database Server for Testing====
====Link your github account to the forum====
====Public runtime logs====
==== The DME and You====
Hopefully this will cut down on needless commits/fixes in the future.
What is a DME, you ask? Well, it's the file that the Dream Maker compiler reads to figure out which files to include in your project!
When opened in the code editor, the file looks something like this:
This is a list of all those files that are 'ticked' in the file directory that you can see at the left! If you tick or untick a file and then compile the code, the DME will automatically update with your changes!
When do I commit the DME?
If you've added or removed/unticked a file, you'll need to commit the DME so that the complier knows that you're including those files now. If you don't, the code might not compile at all, because code in another file might reference an object in a file that wasn't included!
If you haven't made any new file additions, deletions, or renaming, then you shouldn't need to commit the DME at all! Less work for you!
What to do when committing the DME.
Before you commit the DME (ideally, before you even start coding), you'll want to change a certain option in the compiler.
Go to Build, and select the Preferences for tgstation... option.
Then this little window will pop up! Make sure the Automatically set FILE_DIR for sub-directories option is unticked!
What this little option does when ticked is, for example, allow you to use:
Code: Select all
playsound(src.loc, 'pop.ogg', 50, 0)
Code: Select all
playsound(src.loc, 'sound/effects/pop.ogg', 50, 0)
This is great, if you're a lazy jerk! Unfortunately, this also greatly increases the amount of time needed for the compiler to compile, and adds a bunch of lines to the DME. So untick it!