-
Posts
1,671 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by MattAtlas
-
Matt's Guide to Contribution and Coding
MattAtlas replied to MattAtlas's topic in Guides & Tutorials
Pull Requests TBU -
Matt's Guide to Contribution and Coding
MattAtlas replied to MattAtlas's topic in Guides & Tutorials
Your Coding Environment Coding is something that's a bit too abstract to teach in a simple forum post. I cannot immediately teach you how to code. You'll need to start yourself and ask for help as you go along. However, I can teach you how to get started. It will come naturally with trial and error. At first, that'll be your only way of doing it if you're not familiar with other coding languages, but that's fine. It's how most of us, and how I too, started coding. You'll feel demotivated at first because your stuff won't work, but that's normal. Everyone felt that, and I did too. If I gave up when I did I wouldn't be a maintainer today. But let's get started: We will use Visual Studio Code as your coding environment. It's where you'll write your code and do some other things that we'll talk about later. For now, let's focus on getting it. Download it and install it - it'll be rather straightforward. Once you're done, right click the Aurora.3 folder and you should have a new option - Open with Code or something along those lines. Click it, and you'll open the folder with Visual Studio Code. The interface looks a bit daunting but it's pretty simple. At the left, in order from top to bottom, you have: Files, Search (this is extremely important), Source Control (think about it like gitkraken, you won't use it since you already have a git client), Debug and Run (useless to us), Extensions (for theming and lang support), Project Manager (useless). To get started, you can try out the search function. You'll see a search bar at the top left, just type in the name of an item that's familiar to you. You'll find out some results and you can click one of them. You'll notice that this looks horrid. The code is all white and unreadable. Let's fix that. Click the Extensions button (the one with four squares) and type in 'DM' in the search bar. You'll get a long list but we only need two: BYOND DM Language Support and DreamMaker Language Client. Install both of them and restart VSC once you're done. These do the following: - syntax highlighting; - autocompletion when you type in functions or defines. These are both extremely handy features that you'll love. Next up, follow the guide here to set up your admin config: https://github.com/Aurorastation/Aurora.3 Now, let's get back inside the Aurora.3 folder. You'll notice this file: Open it. This will launch BYOND's native coding environment, but we'll only be using it to compile and host the codebase. If you press control + shift + T at once, you'll compile the codebase and launch DreamDaemon. That's a lot of words, so let's get into what they mean. Compiling is when your code is put together, elaborated and scanned for errors by DreamMaker. When you change the code you'll need to compile it to see any changes ingame. Hosting is when you launch the server, using DreamDaemon. One more extremely important thing to keep in mind: press F1 in Dream Maker to bring up BYOND's native reference. This is extremely handy and important. You can search around to see definitions of DM's native functions (procs), variables, types, operators, etc. Keep it in mind. Once you get VSC, compiling, hosting and the admin perms working, you're all set. Come on over to our discord in #code_dungeon and get started. -
Part one of the guide is up.
-
Github Part of learning how to code is setting up your Github environment to make pull requests. For this guide, we'll be using Gitkraken. There are a myriad of other git clients out there, but this is the one I use and the one I'll teach you how to use. A small foreword: if you're having trouble at any point, please message me on Discord: mattatlas#6970 First of all, download Gitkraken here: https://www.gitkraken.com/download And download Git here too: https://git-scm.com/download/win Install both of them, then make a new folder for your environments. Right click on an empty space and you should see this; Click Git Bash Here and a CLI will pop up. We're going to download the code now, but we can't push our code to the main repo, so we'll need to make our own 'copy', called a fork. Go here: https://github.com/Aurorastation/Aurora.3 This is our main github repo. Make a github account if you need to, then at the top right you should see a Fork button. Press it and wait for it to complete. What you're making is a copy of this repo that's tied to your github account. This is where you'll push your code. When your fork's done, Github should redirect you to it. If it hasn't, click your name at the top right, press "My Repositories", and click Aurora.3. Your link should look like this: https://github.com/NonQueueingMatt/Aurora.3 To download the code, press the green "Clone or download" button at the top right and copy the link there. It'll look like this: https://github.com/NonQueueingMatt/Aurora.3.git Go to the CLI we opened earlier and put this in: git clone https://github.com/YourGithubNameHere/Aurora.3.git It'll now start downloading. Once it's done, right click that folder and you'll have the option to open it with GitKraken. Click that and follow its instructions if needed. You should see something like this: It looks complex, but trust me, it's very easy. On the left, in the Local section, you can see the branches that are physically there in your folder. A branch is basically where you'll be writing your code - a "snapshot" of that version of the code. In the center you can see the branch tree. This helps you visualize all the current branches and their diversion points. For example, if we look at the hunger_tweaks branch, we can see that I made changes to it, so it diverged from the cyan master branch. On the right you can see the commit names. Each time you finish a piece of code and you make it ready to push by staging it, you can give that commit a name. Now, there's still some prep we need to do. On the left, scroll down until you see the icon of a cloud with Remote written next to it. Hover over that with your mouse and you'll see a big green plus. Type in Aurora.3 in the Github section and you should find a repo named Aurorastation/Aurora.3. Put whatever you want as the name and click Add Remote. What we did just now was make GitKraken start tracking the main repo's branches, so you'll never have to update your fork's master branch. You'll be able to directly make branches off of the main master branch, which is very important. That's all for the setup! To test if it's working, you should see this icon in the branch tree: Right click the master name and click Create branch here. It'll prompt you for the branch name and you can put in whatever. After that, you'll see Gitkraken switch to the branch you just made. We're going to be coding in that branch in the next piece of the tutorial.
-
Have you ever looked at a mechanic and said FUCK I WISH THIS WAS BETTER? Have you ever looked at our gamemode selection and said FUCK I WISH WE HAD MORE GAMEMODES? Have you ever been killed by a weapon and wanted to nerf it? Okay, not that one. Anyways! It's always great to have more contributors, so I'm going to be teaching people DM and Github upon request, free of charge. Just hit me up on Discord and we'll get started. I'll be posting a very basic guide in the forums in the next few days. What do you need to learn to code? Determination. That's it. I, too, didn't know coding before I decided to start. I almost gave up and look at where I am now.
-
[ACCEPTED] TheSenate's Command Whitelist
MattAtlas replied to TheSenate's topic in Whitelist Applications Archives
This is accepted. -
[ACCEPTED] Niennab's Command Whitelist App
MattAtlas replied to niennab's topic in Whitelist Applications Archives
Fuck me, finally an Idris liaison. Anywho I think this app was long overdue. Great roleplayer, amazing person. +1 -
I understand why you want this but bringing something that seems so precious to work sounds pretty unbelievable to me.
-
https://github.com/Aurorastation/Aurora.3/pull/7788/files
-
I personally think that item prices in game are fucking ridicolous right now. It's hard to make comparisons and parallels or make up prices for shit when we have such a wild disparity. For example, a bottle of water costs 12 credits or so. 4€ per 44cl bottle of water. How does this make sense? How much does a liter of water even cost normal people? You'd think goods would cost less with how abundant they are now. But I guess price gouging is a thing, right? Cola costs fifteen credits. That's about 5€ per 33cl can of cola with relatively unchanged wages. As above. Cigarettes cost TWO HUNDRED CREDITS. Something's wrong here. That's about 66€ per pack of cigarettes. Who buys this shit? How are cigarettes even still so expensive? Yes, there was an embargo, but with prices so high then surely there wouldn't be an appeal anymore. Only the rich would keep buying them. Yet we keep cigarettes in the loadout, where everyone can get them anyways. Nobody considers the embargo when selecting cigarettes from the loadout. I understand why it was made to be this way, but it's really not obvious and fighting to keep it has less benefits than problems. I personally want reasonable prices and reasonable, well-defined wages as a start. Oh yeah, as an aside, I've been playing here for 3 years and I didn't know there was an embargo until now. That should make it obvious just how dumb keeping the prices high are: I guarantee you almost nobody cares about the embargo.
-
PR's been closed, locking.
-
You can already meta offstation antags by looking at the readied player amount and the effective player amount in-game, so...?
-
This doesn't matter. The construction level ladder above the bar maint was also asteroid. You can just put in a small buffer room there.
-
As per title. I intend to make cutting wounds or bullet holes (and maybe burns) apply tears, holes and carbonized areas respectively to your uniform. They'll be bloody at first, of course. Progress will be shown here as I go along.
-
ok ill figure out what to use like tomorrow
-
Read mind will essentially just be them asking you a question psionically, so. You can choose not to answer or give bullshit answers as needed.
-
The one on the right looks cool. So the one without the top handle. Really think that should be the sprite used tbqh.
-
All of these have been recently fixed and merged. Is it still a problem?
-
Skrell will get the following abilities: - Mind Assay, it'll tell them about the psionic grade and psionic skills of another human. - Read Mind, it'll give the person they use it on a textbox with a question that the user asks. The user will then receive the inputted response. - Current skrell abilities.
-
https://github.com/Aurorastation/Aurora.3/pull/7717 Why? To rewrite skrell abilities into a better system and give better integration and more possibilities with psionics. To make new psionic-based antags and psionic antag tools.
-
My main worry is the dilution of round types, really. Even one gamemode getting removed has pretty big impacts on repetetition. I'm probably leaning to no on the removal because of that, but I also definitely hate most malf rounds. I would switch to yes once the gamemode PR is merged however.
-
@ReadThisNamePlz and I will look into this complaint.
-
[2 Dismissal; Bin 2019-12-22] separate Secret
MattAtlas replied to There b pirates's topic in Archive
Voting for dismissal. Extended being in secret is necessary because of metagaming.