ID:271327
 
I'm trying to make an Online RPG, so.. Where do I get the codes cause I'm pretty sure I can't create them on my own. I know how to edit/change them, just not create from scratch. If getting codes aren't possible, then can anyone show me where I can find code layouts to start from? I also need to learn how to host a game.

Any help is appreciated, and anyone who helps gets a mod/gm spot on my game when opened.

It's a DBZ RPG, and I plan to make another one soon there-after, A "Charmed" based one.

[link] (Replace "a code" with "codes")
In response to Popisfizzy
I Don't get what you mean.
In response to Shadow_Soul_16
You're implying there's some sort of plug-and-run system of programming. There isn't. There are many, many, many ways of doing the same thing.

For example:
proc/dec2hex(num)
if(!istext(num) && !isnum(num)) return
if(!isnum(num)) num = text2num(num)
var/base_string = "123456789ABCDEF"
var/r_num = null,string = null
var/len = 0
if(num >= 16)
while(num >= 16)
if(num%16) r_num += "[copytext(base_string,num%16,(num%16)+1)]"
else r_num += "0"
num = round(num/16)
len = length(r_num)
for(var/a = 1, a <= len, a ++) string = "[copytext(r_num,a,a+1)][string]"
if(num) num = copytext(base_string,num,num+1)
return "[num][string]"
return (num?copytext(base_string,num,num+1):num)

proc/dec2hex2(n)
var/b = round(log(4,(n || 4))) + 4
for(var/a = 0, a < b - (!n && 4 || 0), a += 4)
var/x = (n & (15 << a)) >> a
if(n < 16 && x != 0). = "[((x < 10 && "[x]") || ("[ascii2text(65 + (x - 10))]"))][.]"
if(!.) return "0"

proc/dec2hex3(d)
var/k = d & 15
. = (ascii2text((k < 10 ? (48+k) : (65+(k-10)))) + .)
d >>= 4


All three of these will convert a decimal value into a hexadecimal value, but they all look very different. The same thing applies to just about everything else in programming. You can do anything in tons of different ways.
In response to Popisfizzy
To put it differently, programming in itself is an art form. Some people design incredible pieces of art from scratch. Some people take pieces of others' work and put them together in its own seperate artful creation. And some people take other people's art and try to patch it together without understanding how it works.

There was a Myst novel that came out years ago that illustrated this point well. Gehn takes his son Atrus and "teaches" him the D'ni language for creating worlds. However, Gehn doesn't really understand the D'ni language, he simply pieces together different parts of the books without appreciating the subtleties of creating a world. As a result, his worlds are unstable and destroy themselves eventually. Atrus, on the other hand, recognizes the subtleties of creating worlds and creates his from scratch, quickly surpassing his father in ability. This is almost a direct metaphor to programming.

You're asking for the "codes" necessary to start a game, but there is no way of knowing what you are looking for exactly in terms of a game, and therefore no way of knowing which code would best suit your purposes. If you don't know the language enough to build from scratch, then you likely won't catch all of the subtleties in the code you use, and you'll either get compiler errors or things going on that have nothing to do with your game, and your game will be unstable.

However, if you click on the DM Guide button on the left of your screen and read through that, you should soon be able to build from scratch, and you don't need to build everything from scratch, there is some very handy code in the Demos section on the left which you can implement in your game.