Dear Code Contributors: What language is Arelith is?

You have questions? We may have answers.

Moderators: Forum Moderators, Active DMs

Post Reply
User avatar
Rooshy41
Posts: 159
Joined: Wed Jan 11, 2017 5:42 am
Location: Eastern US

Dear Code Contributors: What language is Arelith is?

Post by Rooshy41 » Fri Mar 24, 2017 1:57 am

So in a pure OOC question. I'm really glad I've discovered this server, its pretty damn cool. I eventually plan on getting my PhD. in either Physics or Computer engineering, and in either case I'm going to have to get better at my coding. One day, if I know the language (and hence the question) and have some free time (And I hope you're all still around), I'd love to help contribute to the coding team!

And so I ask: What language is it in?

Seeing as how my University's Physics department is Sado-Masochistic, we were only taught how to use the C language :c.
"Look! It's an intelligent talking bear, it must be normal. Let's make it pay taxes."

https://xkcd.com/1223/

User avatar
High Primate
Posts: 800
Joined: Thu Sep 11, 2014 5:25 pm

Re: Dear Code Contributors: What language is Arelith is?

Post by High Primate » Fri Mar 24, 2017 2:28 am

NWScript is based on C.

http://nwn.wikia.com/wiki/NWScript
Some builds I've worked on (not recommended):
Charisma Battlecleric
"E-Dodge Brycer"

User avatar
Rooshy41
Posts: 159
Joined: Wed Jan 11, 2017 5:42 am
Location: Eastern US

Re: Dear Code Contributors: What language is Arelith is?

Post by Rooshy41 » Fri Mar 24, 2017 4:17 am

Welp. I'm both gladdened by this and saddened by this. I know C on one hand, yet on the other...

It's C....
"Look! It's an intelligent talking bear, it must be normal. Let's make it pay taxes."

https://xkcd.com/1223/

User avatar
Mithreas
Emeritus Admin
Emeritus Admin
Posts: 2555
Joined: Sat Sep 06, 2014 3:09 am

Re: Dear Code Contributors: What language is Arelith is?

Post by Mithreas » Fri Mar 24, 2017 6:03 am

It's simplified C. No memory management.

Of course, Arelith's infrastructure also includes C++, Ruby, Python, bash scripting and probably some other stuff I'm not aware of (though I think all my perl scripts have been retired :)). Running a server takes more code than just scripting.
xkcd.com is best viewed with Netscape Navigator 4.0 or below on a Pentium 3±1 emulated in Javascript on an Apple IIGS at a screen resolution of 1024x1.For security reasons, please leave caps lock on while browsing.

User avatar
Liareth
General Admin
General Admin
Posts: 1167
Joined: Mon Sep 08, 2014 8:25 am

Re: Dear Code Contributors: What language is Arelith is?

Post by Liareth » Fri Mar 24, 2017 9:58 am

As Mithreas explained above, we use a few other languages as well. Ruby for our language system and C++ for NWNX (which handles all the optimizations and other things you can't do in the base game).

User avatar
Peppermint
Posts: 1860
Joined: Mon Sep 08, 2014 4:44 pm

Re: Dear Code Contributors: What language is Arelith is?

Post by Peppermint » Fri Mar 24, 2017 10:01 am

Responding to your question, NwN uses the C-like NwNScript. Other skillsets are, frankly, optional for Arelith. You can do a ton with just script language, and that's what most of us use exclusively.

Post Reply