Mud coding language

... sit down, kick back and relax, and talk about anything that doesn't belong on one of the other forums.
Post Reply
Paridora
Posts: 31
Joined: Mon Jul 04, 2016 12:55 pm

Mud coding language

Post by Paridora » Mon Jan 16, 2017 5:27 pm

So I asked a little around the mud to get Ideas, and I think I am going to go with javascript.

But I didn't ask one question. What is the coding for this mud done in?

Elokar
Posts: 95
Joined: Sun Apr 12, 2015 3:08 am

Re: Mud coding language

Post by Elokar » Mon Jan 16, 2017 5:30 pm

Black magic apparently.

Paridora
Posts: 31
Joined: Mon Jul 04, 2016 12:55 pm

Re: Mud coding language

Post by Paridora » Mon Jan 16, 2017 5:34 pm

Does that make Vivienne a Black Magic Woman?

livendros
Posts: 525
Joined: Mon Apr 25, 2016 11:25 am

Re: Mud coding language

Post by livendros » Mon Jan 16, 2017 5:35 pm

I thought it to be more of the area of voodoo.


But ive also heard its something like c++. Im basing that on a 10ish year old memory fragment.

Astolfo
Posts: 572
Joined: Tue Apr 14, 2015 4:16 pm
Location: Lost in Space!

Re: Mud coding language

Post by Astolfo » Mon Jan 16, 2017 7:28 pm

Original Code - CircleMUD

It's its own thing really after all the years people have tinkered with it.
24 years. It's a hell of a thing to still be around!

Thuvia
Posts: 146
Joined: Sun Feb 22, 2015 12:22 pm

Re: Mud coding language

Post by Thuvia » Mon Jan 16, 2017 7:54 pm

Originally coded in C, switched over to C++ back in mid-2002.

http://wotmud.wikia.com/wiki/Update:MUD ... e_unstable

Vivienne
Posts: 478
Joined: Mon Feb 16, 2015 5:51 pm

Re: Mud coding language

Post by Vivienne » Tue Jan 17, 2017 6:09 pm

Oh great, now I have "Black Magic Woman" playing in my head over and over and over... Thank goodness Santana is decent. ;)

The original code base is C, then it went to C++, and somewhere in there Flash et al added in some mysterious alternate universe language that hasn't been seen since the Babylon nation was formed. Something like that.

suern
Posts: 147
Joined: Mon May 09, 2016 9:12 pm

Re: Mud coding language

Post by suern » Tue Jan 17, 2017 8:13 pm

Fun fact. That song was first written by Peter Green when he fronted Fleetwood Mac.

I don't know a thing about computers but I've got your back on useless music trivia.

Sybrina
Posts: 13
Joined: Wed Jun 24, 2015 4:03 pm

Re: Mud coding language

Post by Sybrina » Tue Jan 17, 2017 8:27 pm

Paridora wrote:So I asked a little around the mud to get Ideas, and I think I am going to go with javascript.

But I didn't ask one question. What is the coding for this mud done in?
Mmmmmm, yum. Sounds like a juicy Node.js project. If my memory is correct, the original CircleMUD used a single worker thread that ran a non-blocking select poll loop on the sockets opened for each client. All of the game logic was executed by this single thread (including state save/restore) which is why this mud may sometimes not respond while its doing something else in that thread causing what we know as "lag". Old fashion-y C stuff that is coming back as teams try to come up with solutions to C10k. I've dabbled in Node, and I know high-performance servers can be written using it. I am not sure how cross-client/socket communication works since state must be shared with low latency between clients. Interested to see what your solution will be.

Rico
Posts: 166
Joined: Thu Oct 01, 2015 11:17 pm

Re: Mud coding language

Post by Rico » Mon Jan 23, 2017 8:10 am

There's already a MUD engine designed in Node.js.

http://www.ranviermud.com/

Post Reply