I need the code to make myself owner, Help please?
( BTW no bad comments. Like everybody says: If you don't have something nice to say, don't say anything at all.)
You were already told yesterday there is no single way to do this. There are a number of ways, and it all depends on what system you are using.
We weren't being mean yesterday. We were giving you the right answer. You just don't know enough about programming yet to see that. |
I also agree with the post above mine.
Also, try reading the DM guide. http://www.byond.com/docs/guide/ It may be a a lot, but it helps. You can also find some tutorials on YouTube. Also Zilals guide: http://zilal.byondhome.com/tutorials/zbt.html It isn't much but it could be worth reading. |
While I agree with the comments already posted, I learned through examining demos, either by copy and pasting them into a project or by altering them. I never read anything other than the help-on, because not everyone enjoys reading to learn. So, I'll give an example of how to create an admin system which will have you as admin, and explain how everything works.
Here we go: /* Essentially, you can give an admin power to do anything in a game. Just have to know how to make the verb. The verbs I provided are basic examples, but you can look through the resources to find better verbs that you can copy and paste into your game. Just be sure to change the path to match your own. I hope you found this useful. |
In response to Albro1
|
|
Albro1 wrote:
So now copy-pasting is encouraged? Since when? I believe ss4toby was attempting to express (albeit poorly) the value of learning by example and reverse engineering. What he doesn't know, however, is that in his thread yesterday, the OP posted an entire DM file consisting of a number of thousands of lines of code that was so hopelessly backward and against standards and practices of even the most basic form of reason and logic, that the only option the OP has to learn is to abandon the codebase he is working on completely. Learning by example and reverse engineering is only as good as the example you have on hand, and the OP's example that he is refusing to accept is rancid, is only going to hurt him in the long run. |
Looks guys, you're being closed minded. As stated, some people simply get bored learning through reading. Therefore, BYOND loses potential programmers if that were the only method offering. I do admit, copying and pasting/reverse engineering has huge downfalls to learning the language accurately, but it does offer some advantages too. In essence, the copying and pasting method is really only bad when bad examples are given.
|
He already has an entire source, though. If he had the intention to learn from looking at code, he wouldn't be asking how to make himself an owner. He just wants things handed to him, which we aren't here to do.
|
I use the first one. You'll have to code what verbs you want yourself, which I'm sure you know. If you need any more help, feel free to page me. I'll give you a test code if there's any errors to show you that it works.