[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUDs
. -> [Folder]  General
. . -> [Subject]  Installing an OLC between similar codebases

Installing an OLC between similar codebases

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Jesse King   USA  (6 posts)  [Biography] bio
Date Tue 21 Jun 2005 09:52 AM (UTC)
Message
My friends and I are currently working with the Anatolia code base because we used to play in a mud that was created from it and we aspire to move in the same direction, we're advancing quite rapidly and have a decent amout of coding knowledge, however it does not streach as far as we'd like :).

Our problem is we'd like an OLC to use to build our areas inside of the mud. There was one built into the mud we used to play which was called Ethinis. Anyway, we're currently working inside of Anatolia Version 3.1.1.

We discovered a later modification of the Anatolia code called Icy Depths which contained its own OLC. I've read over the compiling issues with Icy Depths and all its wonderful problems, I was wondering if it was possible to strip the OLC from Icy Depts and install it into our Anatolia.

If this is indeed possible we need some help doing it, and I'm also asking for that help. As with everything due credit will be noted and the assistance would be greatly appreciated. If more details are needed please e-mail me at S0laris@comcast.net.

Thanks for your time.
[Go to top] top

Posted by Robert Powell   Australia  (367 posts)  [Biography] bio
Date Reply #1 on Tue 21 Jun 2005 11:46 PM (UTC)
Message
There are a number of ways you could do this, download Ivans OLC and install that, stip OLC out of another rom deriv like icy depths, but i dont see a point to that as its most likely Ivans OLC anyways, or lastly find the smaug port snippet of Oasis OLC and port that accross to work with rom.

Personally i have never liked Ivans OLC, it just never felt right, tho that could just be my liking for smaug olc and also circles Oasis OLC.

If it was me, i would choose to port Oasis OLC to rom, as this gives your builders a simple menu driven interface to do all the building work from.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
[Go to top] top

Posted by Jesse King   USA  (6 posts)  [Biography] bio
Date Reply #2 on Wed 22 Jun 2005 05:50 AM (UTC)
Message
Alright I have what seems to be Ivan's OLC. I found a ftp site that provided several versions. They all seem to contain the same instructions as follows:

--------------------------------------------------
To make this thing work :

1) Get Rom24b4a.tar.gz from Russ Taylor's homepage...this won't
work on any other version (it WILL work on Rom24b4 too I think).

2) Uncompress it, and copy patch.olc into Rom24/src .

3) cd to Rom24/src, and do a 'patch < patch.olc' .

4) Copy all the .c and .h files from this distribution to
Rom24/src .

4) Now do a 'make' and pray :)

5) Copy olc.hlp to the Rom24/area directory and add the dummy
object that's in the file limbo.are in this distribution
to the limbo.are that comes with Rom24.

6) Add this line to your pfile :

Sec 9

This will set your security to the highest possible.

7) Run the mud, log in and do an 'asave world', and shutdown.

8) Now, edit your area.lst file that's in Rom24/area :

- put immort.are under midgaard.are

- put haon.are under arachnos.are

9) In shire.are, in the #RESETS section, search two lines that looks
like :

O 0 3200 0 11.... and delete them.

10) Now, just run the mud and enjoy a not-so-buggy OLC :)
----------------------------------------------------------

According to the help file this OLC will not work with any other version besides Rom24b4a, which would prevent us from installing it into Anatolia unless there is some way to get them to work with each other. Please let me know if there is anymore help you can provide on this topic.


Thanks!

[Go to top] top

Posted by Jesse King   USA  (6 posts)  [Biography] bio
Date Reply #3 on Wed 22 Jun 2005 06:07 AM (UTC)
Message
Alright, I did some looking around and I've learned somthing about patch files. Its needed to add the olc commands and etc to the mud's code. So it is nessicary, this is where I'd need the coding help. If it would be possible to fix or change that patch file so it could properly patch the files in anatolia then I believe we could move on. I'd greatly appreciate the help. If any information is needed don't hesitate to ask.


S0laris@comcast.net

Jesse King.

Thank you for your support.
[Go to top] top

Posted by Robert Powell   Australia  (367 posts)  [Biography] bio
Date Reply #4 on Wed 22 Jun 2005 06:43 AM (UTC)

Amended on Wed 22 Jun 2005 06:50 AM (UTC) by Robert Powell

Message
There is no difference that matters between anatolia area formats and stock rom area formats, with minor tweeking of headers and some added sections i could open anatolia area's in Nick's AreaEditor, + on the version of anatolia 3.somethn i have it still loaded stock rom aread no problems. (infact i ported a lot of anatolia areas to smaug this way, Kudos to nick)

Now as for adding Ivans OLC, you need to run the patch, dont quote me, but to do that you would put the patch file in the src folder and type patch < patchfilename, see the man page on patch for more information.

Anantolia is a rom 2.4 derivitive, so this olc will work with that codebase, its just the patch file will fail in places, because the code will look slightly different.

But you will be told where it failed and then you can manualy edit the files and place the code in where it needs to be. It will be some work for someone with limited programming experience, but not immposible. Just folllow the instructions.


Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
[Go to top] top

Posted by Jesse King   USA  (6 posts)  [Biography] bio
Date Reply #5 on Wed 22 Jun 2005 05:36 PM (UTC)
Message
Great! I'll give it a run through.
[Go to top] top

Posted by Jesse King   USA  (6 posts)  [Biography] bio
Date Reply #6 on Wed 22 Jun 2005 08:32 PM (UTC)
Message
When working inside of a patch, what does " +++ ", " --- ", " + ", " - " before the lines mean?


I'm trying to determine exactly what the patch is doing, I tried patching Anatolia and got several reject files, those seem to be saying what couldn't be doen or an error occured here... But I'm not positive. Any help would be appreciated.

Thanks.

Jesse King.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #7 on Wed 22 Jun 2005 08:57 PM (UTC)
Message
Generally pluses mean "add this" and minuses mean "remove this", although some of it all means "add it after this" or "around this location" etc. The patches are meant to be more or less robust even when line numbers don't match up. I don't know the details of the patch format, but you can look at the manual for 'diff' to figure out what the format means exactly.

http://www.gnu.org/software/diffutils/manual/html_mono/diff.html#Context

If I'm not mistaken, you want the unified format.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Jesse King   USA  (6 posts)  [Biography] bio
Date Reply #8 on Sun 26 Jun 2005 09:59 PM (UTC)
Message
We've learned a lot about how patch works as well as the OLC we're trying to install. My partners are curious if anyone would be up for migrating the OLC into Anatolia for us, we would of course pay for the work done.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


20,419 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]