external next up previous contents index
Next: 16.5 Hunting down code Up: Development and Porting Hints Previous: 16.3 Using the E_WEB

16.4 Porting Code from another MOO

   

The basics for porting are explained in the Newbie MOO Wiz FAQ and most information is taken from there.

Who do I ask for permission to port?

There are a few formal and informal rules you should respect:

Porting Algorithm

  1. Make sure that your client doesn't wrap lines (@wrap off)
  2. Try to figure out exactly what to port and how much work it might involve, then dump the objects you need.
  3. Next, create an object with the right parent on your own MOO using the @create command. E.g. if you want to port a fancy room with parent $room (#3) type: @create $room named ``Mike's Fancy Noisy Room'' or something like that. Write down the number, you will need it in the next step.
  4. Next, dump the object on the MOO from which you port:
  5. Edit the code (dump) you recorded (good luck with a bad MOO client!):
  6. Uploading code to your MOO:

A word of warning: Some objects (e.g. small social features or some kind of pets) can be ported quite easily, others do need good understanding of MOO programming. Still others need at least some wizard permission, though many objects that run under wizard permissions actually would run without if programmed in the right way.


next up previous contents index external
Next: 16.5 Hunting down code Up: Development and Porting Hints Previous: 16.3 Using the E_WEB

Daniel K. Schneider
Thu Apr 17 12:43:52 MET DST 1997