Author Topic: Porting old 2.4.5 lib to FluffOS  (Read 6964 times)

Offline mistere

  • Acquaintance
  • *
  • Posts: 2
    • View Profile
Porting old 2.4.5 lib to FluffOS
« on: March 08, 2012, 02:40:00 am »
Hello LP-gods, I am in need of your wisdom!

I'm sitting on an old lib based on lpmud 2.4.5. We are discussing different ways to improve upon this ancient piece of work (most of it was developed around 91-98) that actually has a bunch of active players still. It's also a fairly large world.

I have been ignoring my urge to upgrade to driver to something slightly more modern, which seems to be FluffOS these days, but now I thought, "Why not ask on lpmuds.net?".

So, what do you guys think? Would it be possible without driving me insane? What do I need to know to avoid the biggest pitfalls? I'm just hoping for some input from someone with a bit of experience before I decide what to do.

I've been searching a bit, but to my surprise I havn't found much info on similar topics. I'm sure someone have at least tried going through the hassle of converting an old 2.4.5 lib to MudOS/FluffOS.

Thanks in advance!

Offline quixadhal

  • BFF
  • ***
  • Posts: 642
    • View Profile
    • WileyMUD
Re: Porting old 2.4.5 lib to FluffOS
« Reply #1 on: March 08, 2012, 08:16:29 pm »
You might also take a look at LDMUD, as that driver evolved directly from Amylaar's 3.2 and might be a bit closer to 2.4.5 than MudOS/FluffOS.

Also, I believe there *IS* a working 2.4.5 conversion for the DGD driver, so that might also be a good place to look.

Offline mistere

  • Acquaintance
  • *
  • Posts: 2
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #2 on: March 09, 2012, 07:19:29 am »
Thanks for your reply, quixadhal. I will read up on LDMUD and DGD and see if that would involve much less work.

I'm not very picky about what driver it is, but as FluffOS seems to be the most actively (and furthest?) developed one right now, I just prefered it without further knowledge about it. Especially after reading this:

Quote
Features added in FluffOS that are not present in MudOS include available MXP output, UTF-8 capability, support for running on 64-bit architectures, IPv6 support, and (optionally) stricter type checking of variables in LPC code.

I did a quick test on my lunch at work and got FluffOS to boot, but thats about it right now. Most of the work so far seems to be about obsolete efuns.

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #3 on: April 25, 2012, 12:14:52 pm »
This is a very good question. There may be a way.

Heaven 7 v3.0b was a popular 2.4.5  base for muds at one time.
After v3.0b MudOS support was dropped in H7. If you get heaven 7 3.0b you will have a very playable mud if you can get the bugs out of the way.

It is possible to use FluffOS, probably with some tweaking with it

I really wish someone would get bored an port the most widely accepted base(2.4.5) on FluffOS

Other options include
- MUDOS/FluffOS with Nightmare 3.3 library to get that base feeling or
- if you want alot done already use DS/Fluff.
-Lima Mudlib which has 2.4.5 in lpsscript already done, but no add-actions which bothers me

Offline Tricky

  • BFF
  • ***
  • Posts: 189
  • I like what I code and I code what I like!
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #4 on: April 25, 2012, 02:39:48 pm »
If you download ldmud (http://www.bearnip.com/ldmud/) and look in /mud/lp-245 you will find a version of 2.4.5 that has been converted to run on ldmud.

Quote from: README
This is the old LP 2.4.5 mudlib, slightly updated to run with LDMud 3.2.7
or newer. LP 2.4.5 is by all means a spartanic, if not to say primitive,
mudlib, but it also is small and easy to understand (not to mention the
historical value :-).

LP 2.4.5 is a compat-mode mudlib, but the provided simul_efun object provides
the necessary functions to let it run with a plain driver as well (just
the old parse_command() efun is not simulated).
For both modes the master object is 'obj/master.c'.

The topdirectory contains these files and directories:

  ACCESS.ALLOW: the usual access definition file
  WELCOME, NEWS, WIZNEWS: the messages printed on login
  WIZLIST     : the wizlist savefile

  doc/        : mudlib-specific documentation, to be complemented
                with the doc/ files from the driver distribution.
  log/        : logfiles generated by the mudlib
  obj/        : game objects
  players/    : player savefiles and wizard directories
  room/       : game rooms and include files
  sys/        : include files, including those from the driver distribution

Tricky

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #5 on: April 26, 2012, 10:11:50 am »
If you download ldmud (http://www.bearnip.com/ldmud/) and look in /mud/lp-245 you will find a version of 2.4.5 that has been converted to run on ldmud.

Quote from: README
This is the old LP 2.4.5 mudlib, slightly updated to run with LDMud 3.2.7
or newer. LP 2.4.5 is by all means a spartanic, if not to say primitive,
mudlib, but it also is small and easy to understand (not to mention the
historical value :-).

LP 2.4.5 is a compat-mode mudlib, but the provided simul_efun object provides
the necessary functions to let it run with a plain driver as well (just
the old parse_command() efun is not simulated).
For both modes the master object is 'obj/master.c'.

The topdirectory contains these files and directories:

  ACCESS.ALLOW: the usual access definition file
  WELCOME, NEWS, WIZNEWS: the messages printed on login
  WIZLIST     : the wizlist savefile

  doc/        : mudlib-specific documentation, to be complemented
                with the doc/ files from the driver distribution.
  log/        : logfiles generated by the mudlib
  obj/        : game objects
  players/    : player savefiles and wizard directories
  room/       : game rooms and include files
  sys/        : include files, including those from the driver distribution

Tricky

I've tried that compilation at one point, the lastest LDMUD driver v3.5 doesnt load 2.4.5 out of the box. I had a coder(Nostradamus) at my Dragonfire (2.4.5) who did the adjustements to get it to work, about 11 years ago.

The original poster wanted a current driver and its noteworthy that LDMUD is now getting some age on it.

Offline quixadhal

  • BFF
  • ***
  • Posts: 642
    • View Profile
    • WileyMUD
Re: Porting old 2.4.5 lib to FluffOS
« Reply #6 on: April 26, 2012, 10:29:06 am »
It worked for me.

I downloaded the current git repository (default branch is 3.3 stable).
./configure --enable-compat-mode
make && make install

Then ran the mud via ./ldmud -m ../lib --compat 4444

and connected to said port...
Quote
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Lars says: Let's get a body for your character ...
Welcome to the LPmud 2.4.5 mudlib.

Take a look around and see how LPmud used to look like in its early days.

For basic instructions, simply type 'help' after you logged in and explore
from there. You move by giving directions (e.g. 'north', 'down', 'northwest'
or their abbreviations 'n', 'd', 'nw').

When you want to become a wizard, log out and use a text editor to change your
level in the savefile (players/<yourname>.o) to 25 or higher. If you get bored
with this welcome message, you can write your own in the file /WELCOME.

To log in, enter the name of your game character at the prompt, or just
'guest'. If this is your first time, a new character will be created and you
will be asked a for your password and couple of other things.

Enjoy!

Version: 2.04.05
What is your name: What is your name: quixadhal
New character.
Password:
Password: (again)
You are now Quixadhal the utter novice (level 1).
Please enter your email address (or 'none'): none
Are you, male, female or other: male
Welcome, Sir!
--- In this place, a mud would print breaking news from the file /NEWS.
Castle of Nobody.
Death, clad in black.
Armageddon the game crasher.
> l
What?
> look
You are in the local village church.
There is a huge pit in the center,
and a door in the west wall. There is a button beside the door.
This church has the service of reviving ghosts. Dead people come
to the church and pray.
There is a clock on the wall.
There is an exit to south.
Castle of Nobody.
Death, clad in black.
Armageddon the game crasher.
>

I could try the 3.5 branch, but I suspect enabling compat mode is the key.  Perhaps the simul-efuns to allow it to run under native mode no longer work?

Offline paven

  • Acquaintance
  • *
  • Posts: 20
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #7 on: January 14, 2013, 05:47:40 pm »
LDmud runs 2.4.5 just fine (3.2 and 3.3 branches).  Now whether it will run 'your' 2.4.5 mudlib is a different story.  You will need to do some work with your mudlib to get it to run.

Pav

Offline FallenTree

  • BFF
  • ***
  • Posts: 486
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #8 on: February 02, 2013, 03:53:46 am »
I recently get a Chinese mudlib (built base on mudos pre22v11 I believe) to run on fluffos . Things generally works fine, the most changes needed is change of "protected" qualifier.

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #9 on: August 31, 2013, 06:27:56 pm »
Is the lib a 2.4.5 variant ( the Chinese one?)

Offline FallenTree

  • BFF
  • ***
  • Posts: 486
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #10 on: September 01, 2013, 04:32:36 pm »
I have no idea how version number works, almost all chinese muds root from ES2 lib from taiwan,   http://es2.muds.net/
 (they have lib available for download).

Chinese mud is a lot of like pop-MMORPG , only admin can code, they create man dynamic and static quests and user play spend time doing them, learn new skills, gain xp points and build guild, recruit people etc etc.

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #11 on: September 01, 2013, 05:07:14 pm »
Its interesting. I think its a custom mudlib. It doesnt have a master.c and the dir structure is like other chinese muds with that /u directory.

Offline FallenTree

  • BFF
  • ***
  • Posts: 486
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #12 on: September 01, 2013, 05:16:00 pm »
i think that is just because it was a skeleton. If you are interested, I'm working on cleanup my mudlib and publish it somewhere.

Offline Holyavenger

  • Friend
  • **
  • Posts: 92
    • View Profile
Re: Porting old 2.4.5 lib to FluffOS
« Reply #13 on: September 01, 2013, 06:37:54 pm »
i think that is just because it was a skeleton. If you are interested, I'm working on cleanup my mudlib and publish it somewhere.

Id be interested in seeing it. I worked on an LP since 2.4.5 and its still an interest even now. There's something timeless about muds. Graphics age, but text does not.