Please help support TMC by visiting our sponsor

Member Discussions

terms


It's Not Just a Game |------[ http://www.retromud.org ]------| It's an ATTITUDE
6 Planets. 60 Races. 1,000 Skills & Spells. Infinite Possibilities.


[Previous] [Next] [Post] [Reply] [Topics] [Summary] [Search]


1. MOO Coding Wed Aug 26, 2009 [11:47 PM]
Centauri77
centauri777@yahoo.com
member since: Nov 5, 2005
Reply
I would like to bring up the subject of MOO coding:

History: have been coding on my own MOO for 4 years now, and I just love it, there isn't much I can't do inside of it.

I have been a programmer in various languages for some 25-30 years, so getting "good" at MOO-code was a matter of learning the Moo-WAY (sounds Zen, doesn't it?)

I'd really like to hear from *other* MOO-coders about what things they have done or like.

I know I have created objects like a Nuclear Plant where there is a core as one object, that has outputs, which is read by the Liquid Metallic Cooling Loops, and is also cooled on the other end by the Steam Boiler, so that the loop is an average of each two temps. The boiler temp and pressure itself is determined by the output to the Steam Generators etc.

To me, the power of MOO coding exceeds all others.


Thoughts?
Centauri


2. RE: MOO Coding Thu Aug 27, 2009 [12:00 AM]
cratylus
Email not supplied
member since: Feb 1, 2006
In Reply To
Reply
I liked it til you decided to put down all other code.

I can pretend you didn't say that thing, tho it's
probably best all around if you retract it. Some folks
aren't very good at pretending just to save someone
else face.

-Crat
http://lpmuds.net


3. RE: MOO Coding Thu Aug 27, 2009 [7:04 AM]
chaosprime
Email not supplied
member since: Jan 2, 2007
In Reply To
Reply
To me, the power of MOO coding exceeds all others.

You have tried all others, then?


4. RE: MOO Coding Thu Aug 27, 2009 [8:34 AM]
Gotrek
Email not supplied
member since: Feb 6, 2009
In Reply To
Reply
When I saw "MOO" I thought of that Old MacDonald had a farm children's song. :P


5. RE: MOO Coding Thu Aug 27, 2009 [11:28 AM]
Centauri77
centauri777@yahoo.com
member since: Nov 5, 2005
In Reply To
Reply
I should have know that last statment would get jumped on in such a way.

I certainly didn't mean to put down all other code. I just like the types of things can can be done because of the inheritance, and not having to change the server itself to make things happen.


6. RE: MOO Coding Thu Aug 27, 2009 [12:07 PM]
chaosprime
Email not supplied
member since: Jan 2, 2007
In Reply To
Reply
I just like the types of things can can be done because of the inheritance, and not having to change the server itself to make things happen.

LPC shares these properties, just so y'know. :)


7. RE: MOO Coding Wed Oct 28, 2009 [8:14 PM]
joshbenner
Email not supplied
member since: Oct 28, 2009
In Reply To
Reply
I've been coding MOO since the mid 90's -- I enjoy it. Just as with any language, there are good and bad things about it. I've tended to stick with it because of the speed with which I can respond to player needs and how the metaphors of what you're modeling translate easily into MOO code (as you described with your power plant example).

I wrote a space system in MOO (WNOHGB), and it does well enough, but is not near as performant as hard-coded systems. It's code-running virtual machine is a little rudimentry as far as virtualization goes these days, and the server fails to take advantage of modern hardware.


8. RE: MOO Coding Thu Oct 29, 2009 [10:37 AM]
Centauri77
centauri777@yahoo.com
member since: Nov 5, 2005
In Reply To
Reply
I recently implemented more in space as well, including the moving of the planets with a 3D coordinate system (and the moons movements around those planets), and it was "interesting" to say the least, but the updates are fast in the ways I've currently got it going. The biggest first hurdle was going from using the 3D coordinated back to angle then updating, and once I stored the "angle" itself and used that for positional data, things have been perfect ever since.

My test for this is one planet with the two moons opposite each other in orbit (updated individually) and for well over a month now, they've been spot on. But I do love doing simulations of all sorts.


It's Not Just a Game |------[ http://www.retromud.org ]------| It's an ATTITUDE
6 Planets. 60 Races. 1,000 Skills & Spells. Infinite Possibilities.