Re: iedit & oasis 2.0

From: Damian Jurzysta (interact@hem.passagen.se)
Date: 05/04/00


Hello Patrick.

On 05-Maj-00, you wrote:

PD>> has anyone been able to adapt the iedit patch to oasisolc 2.0? alot
PD>> seems to have changed compared to 1.6, I did my best to patch it in, but
PD>> the errors were unrecoverable and the code doesnt fit in at all.  --
PD>
PD>        Boy. That's a good question. I suppose I could write up a new
PD> patch, but really the iedit patch was a pretty simple one in the end.
PD> It's 12K long (about 13 pages). There's three functions which can be added
PD> anywhere (iedit_setup_existing(), do_iedit(), and copy_object()).  THere's
PD> a few defines that should be put in their specific place (OLC_IEDIT(), and
PD> CON_IEDIT..i wonder if I even use this?) - though really anywhere works.
PD> The only really tricky point left is simply in the 'oedit_parse' function.
PD> THere's one additional step to look and see if - when it saves - if you're
PD> in state 'CON_OEDIT' or 'CON_IEDIT' (i guess I do use this).  If you're in
PD> iedit, it does some slightly different saving.  It's really pretty easy
PD> though.  Iedit is just oedit with the state in 'CON_IEDIT' instead of
PD> 'CON_OEDIT'.

what you are saying is that I can take oedit_setup_existing(), do_oedit() and
copy those renaming them to iedit and finally changing all oedit reference to
iedit?

PD>        The harder part is making sure xapobjs are in.

no, that wasnt very difficult. I had no problems whatsoever adding it to my
bpl17 oasis 2.0 mud.
--
/Damian/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT