MajorMUD:Documentation: Difference between revisions

From Wiki³
mNo edit summary
Line 58: Line 58:
* {{mono|DUERGAR INVASION}}
* {{mono|DUERGAR INVASION}}
* {{mono|SARACEN INVASION}}
* {{mono|SARACEN INVASION}}
== Multiple MUDs ==
This method converts your currently installed MUD to new call letters (i.e. WCC to WBB) and then allows you to install a second MUD using the standard {{mono|SETUP.EXE}}.
If you don't have a currently installed MUD, install it normally and test it out and then come back to this.
* Note: Backup your whole {{mono|C:\WGSERV}} directory somewhere just in case something goes wrong.
=== Renaming ===
# Disable the MajorMUD and MajorMUD Plus modules through the offline utils menu ({{mono|WGSDMOD.EXE}})
# Locate your Worldgroup directory in Command Line mode (what used to be MS-DOS), typically {{mono|CD C:\WGSERV}}
# Run {{mono|COPY WCC*.* WBB*.*}}
# Run {{mono|DEL WCC*.*}}
# Go into the WGSDFCVT sub-directory, {{mono|CD WGSDFCVT}} and repeat steps 3 & 4
# Go into the GCVIRDAT sub-directory, {{mono|CD GCVIRDAT}} and repeat steps 3 & 4
# Exit Command Line mode
=== Hex Editing ===
{| class="sortable" style="float:right;margin-left:20px;"
|+* The {{mono|.MDF}} file's are renamed to {{mono|.DMD}} when they are disabled, and vice versa.
|- bgcolor="#ffdead"
!Filename
!Filename
!Filename
|- bgcolor="#cccfe5"
|{{mono|WBBMMHLP.h}}
|{{mono|wbbmmud.dmd}} or {{mono|wbbmmud.mdf}}*
|{{mono|WGSDFCVT\WBBTEXT.CV_}}
|- bgcolor="#e3e6ff"
|{{mono|wbbmmpls.dll}}
|{{mono|WBBMMUD.h}}
|{{mono|WGSDFCVT\WBBGEN4.CV_}}
|- bgcolor="#cccfe5"
|{{mono|wbbmmpls.dmd}} or {{mono|wbbmmpls.mdf}}*
|{{mono|WBBMMUD.mcv}}
|{{mono|WGSDFCVT\WBBGEN3.CV_}}
|- bgcolor="#e3e6ff"
|{{mono|WBBMMPLS.h}}
|{{mono|WBBMMUD.msg}}
|{{mono|WGSDFCVT\WBBGEN2.CV_}}
|- bgcolor="#cccfe5"
|{{mono|WBBMMPLS.mcv}}
|{{mono|WBBMMUD.UIC}}
|{{mono|WGSDFCVT\WBBGEN1.CV_}}
|- bgcolor="#e3e6ff"
|{{mono|WBBMMPLS.msg}}
|{{mono|wbbmmutl.exe}}
|
|- bgcolor="#cccfe5"
|{{mono|wbbmmud.dll}}
|{{mono|WBBTEXT.h}}
|
|}
This process needs to be done for the entire list of files to the right one at a time.
# Open the file in the hex editor
# Initiate a "replace" operation (usually Edit --> Replace)
# Make sure that you have "Match Case" enabled/selected.<br/>Also make sure you're searching for "Text" or "Strings"
# Search for {{mono|WCC}} and replace with {{mono|WBB}} (replace All when it asks)
# Search for {{mono|wcc}} and replace with {{mono|wbb}} (replace All when it asks)
# Save and Close
=== Finalizing ===
# Change the module name.
## Edit the file {{mono|WBBMMUD.DMD}} with Notepad.
## Change {{mono|Module Name: MajorMUD}} to something different.<br/>Example: {{mono|Module Name: CrazyMUD}}<br/>Do the same for the other line below:<br/>{{mono|Add-On Utility: WBBMMUTL -- MajorMUD Utilities}} {{=}}&gt; {{mono|Add-On Utility: WBBMMUTL -- CrazyMUD Utilities}}
## Do the same for "WBBMMPLS.DMD".<br/>&#42; Note: if you still have MajorMUD as an enabled module you would need to edit the {{mono|.MDF}} files as opposed to {{mono|.DMD}}.
# Re-Enable the modules from the Offline Util., they should now show up with your new module name
# Fix/Add the page in the Menu Editor ({{mono|WGSRUNMT.EXE}}), since it will have the wrong module name now.
# You may want to go into the Security and Accouting for MajorMUD and MajorMUD Plus and check the key names. Hex editing most likely changed the keys for things like gameop and sysop from {{mono|WCCGAMEOP}} to {{mono|WBBGAMEOP}}. Though, you probably want it this way, and then just add the new keys to whichever classes.
# Use NMR to change all the references in the rooms database for WCC files to WBB files. this is under tools --> rooms --> change dat call letters (NMR v1.4 required)
# Run an Offline Recovery
# Test out the Realm (best to test with your lines closed for the first time).<br/>Gain some EXP with a character and Exit and Re-Enter the Realm.
&#42; Note: After writing this tutorial Worldgroup did crash on me the first time I gained EXP with a character. After I restarted Worldgroup back up though it was fine from then on.
You can install another instance of MajorMUD by using the setup like it was a fresh install on a BBS without MajorMUD.
=== Other Options ===
You may also want to change the name that appears next to things in the Audit Trail.
# Open up {{mono|wbbmmud.dll}} and {{mono|wbbmmpls.dll}} in a Hex Editor
# Replace all instances of {{mono|MajorMUD}} with {{mono|CustmMUD}} or w/e you want.<br/>The only tricky part here is you can't change the length of the text {{mono|MajorMUD}}.<br/>Therefore you must replace the letters letter for letter (aka your custom name *must* be no longer and no shorter then 8 characters).<ref>How to setup multiple MUDs - by Syntax</ref>


= References =
= References =

Revision as of 13:16, 19 July 2014

Icon  Back to Category:MajorMUD

The documentation and configuration files for MajorMUD are sometimes confusing and archaic, for this I have created this section. Hopefully this will relieve the stress from figuring out what is what.

General

  • WCCMMPLS.DOC: MajorMUD Plus! Entertainment Edition Documentation &#151; contains information on what comes with plus.
  • WCCMMUD.DOC: MajorMUD User Documentation &#151; contains information on character creation, commands and customizing the mud environment.
  • WCCMMUD.LIC: MajorMUD License &#151; contains the limited warranty and license
  • WCCMMUD.NOT: MajorMUD Release Notes &#151; contains the user changelog from Version 0.1e to current (1.11p).

Sysop

  • WCCMMPLS.REL: MajorMUD Plus! Entertainment Edition Readme &#151; contains information on installation, configuration and sysop functions.
  • WCCMMSYS.NOT: MajorMUD Sysop Functions &#151; contains information on the sysop menu and in-game commands.
  • WCCMMSYS.REL: MajorMUD Sysop-Only Release Notes &#151; contains the sysop-only changelog from Version 1.1n to current (1.11p).
  • WCCMMUD.RLN: MajorMUD Readme &#151; contains information on installation, configuration and troubleshooting.

Configuration

  • WCCMMUD.INI: MajorMUD Sysop Command Config &#151; contains general, logging and sysop command settings.

Tweaks

Two-Handed Weapon MegaMud Fix

In v1.11p they changed the way two-handed weapons were displayed, for anyone who's curious, here's the fix for this to set them back to what they used to be.

Use Hex Workshop or equivalent in order to make the changes.

  • 0x392D7: 68 41 49 48 00 => 68 4F 49 48 00

Codec of Twinks

The codec of twinks is a hidden Sysop option in the WCCMMUD.INI configuration file. With this option enabled you will have access to an additional array of Sysop commands.

To enable this option edit or create the file WCCMMUD.INI in your main BBS folder (C:\WGSERV). Add the line for the codec of twinks as follows then save and restart your BBS.

CODEC_OF_TWINKS=78

Additional Commands

This is the complete list of additional commands that are added by the codec of twinks.

  • Summon monsters, items or spells to your current location.
    SYS SUMMON <monster number>, SYS SUMMON <item>, SYS SUMMON <spell>
  • Teleport to any map and room in the game.
    SYS E <room#> <map#>
  • List a users Quest Flags (ie. what they have completed).
    SYS GOD <character> ABILITIES
  • Tweak the statistics of everyone simultaneously, or reset all edits to this.
    SYS TWEAK and SYS EDIT CLEAR

There are also commands that require you to be located in a certain room in order for them to work, these include the invasions and the alignment and high level spell stuff.

Room #238 Map #1

From this room you can use the following commands. They do not need to be proceeded by SYS, just issue the commands.

  • EXPME : gives experience points
  • GOODRING : gives you the good alignment quest ring
  • NEUTRING : gives you the neutral alignment quest ring
  • EVILRING : gives you the evil alignment quest ring
  • GOOD[1-5] / NEUT[1-5] / EVIL[1-5] : gives you complete flags for alignment quests at the level you assign
  • LEARN SPELL : gives you the spells: Eye of Magnus, Bigheal, Combat Fury, Death Gaze, Glove of Invulnerability, Judgement of Doom, Negate Magic, Sphere of Isolation (must be a caster class in order to get these)

Support Chamber

From the support chamber you can now start monster invasions, which can be summoned at max once per day. Again there is no need to proceed the command with SYS as long as you are in the Support Chamber.

  • ORC INVASION
  • RED INVASION
  • CULT INVASION
  • GREEN INVASION
  • DUERGAR INVASION
  • SARACEN INVASION

Multiple MUDs

This method converts your currently installed MUD to new call letters (i.e. WCC to WBB) and then allows you to install a second MUD using the standard SETUP.EXE.

If you don't have a currently installed MUD, install it normally and test it out and then come back to this.

* Note: Backup your whole C:\WGSERV directory somewhere just in case something goes wrong.

Renaming

  1. Disable the MajorMUD and MajorMUD Plus modules through the offline utils menu (WGSDMOD.EXE)
  2. Locate your Worldgroup directory in Command Line mode (what used to be MS-DOS), typically CD C:\WGSERV
  3. Run COPY WCC*.* WBB*.*
  4. Run DEL WCC*.*
  5. Go into the WGSDFCVT sub-directory, CD WGSDFCVT and repeat steps 3 & 4
  6. Go into the GCVIRDAT sub-directory, CD GCVIRDAT and repeat steps 3 & 4
  7. Exit Command Line mode

Hex Editing

* The .MDF file's are renamed to .DMD when they are disabled, and vice versa.
Filename Filename Filename
WBBMMHLP.h wbbmmud.dmd or wbbmmud.mdf* WGSDFCVT\WBBTEXT.CV_
wbbmmpls.dll WBBMMUD.h WGSDFCVT\WBBGEN4.CV_
wbbmmpls.dmd or wbbmmpls.mdf* WBBMMUD.mcv WGSDFCVT\WBBGEN3.CV_
WBBMMPLS.h WBBMMUD.msg WGSDFCVT\WBBGEN2.CV_
WBBMMPLS.mcv WBBMMUD.UIC WGSDFCVT\WBBGEN1.CV_
WBBMMPLS.msg wbbmmutl.exe
wbbmmud.dll WBBTEXT.h

This process needs to be done for the entire list of files to the right one at a time.

  1. Open the file in the hex editor
  2. Initiate a "replace" operation (usually Edit --> Replace)
  3. Make sure that you have "Match Case" enabled/selected.
    Also make sure you're searching for "Text" or "Strings"
  4. Search for WCC and replace with WBB (replace All when it asks)
  5. Search for wcc and replace with wbb (replace All when it asks)
  6. Save and Close

Finalizing

  1. Change the module name.
    1. Edit the file WBBMMUD.DMD with Notepad.
    2. Change Module Name: MajorMUD to something different.
      Example: Module Name: CrazyMUD
      Do the same for the other line below:
      Add-On Utility: WBBMMUTL -- MajorMUD Utilities => Add-On Utility: WBBMMUTL -- CrazyMUD Utilities
    3. Do the same for "WBBMMPLS.DMD".
      * Note: if you still have MajorMUD as an enabled module you would need to edit the .MDF files as opposed to .DMD.
  2. Re-Enable the modules from the Offline Util., they should now show up with your new module name
  3. Fix/Add the page in the Menu Editor (WGSRUNMT.EXE), since it will have the wrong module name now.
  4. You may want to go into the Security and Accouting for MajorMUD and MajorMUD Plus and check the key names. Hex editing most likely changed the keys for things like gameop and sysop from WCCGAMEOP to WBBGAMEOP. Though, you probably want it this way, and then just add the new keys to whichever classes.
  5. Use NMR to change all the references in the rooms database for WCC files to WBB files. this is under tools --> rooms --> change dat call letters (NMR v1.4 required)
  6. Run an Offline Recovery
  7. Test out the Realm (best to test with your lines closed for the first time).
    Gain some EXP with a character and Exit and Re-Enter the Realm.

* Note: After writing this tutorial Worldgroup did crash on me the first time I gained EXP with a character. After I restarted Worldgroup back up though it was fine from then on.

You can install another instance of MajorMUD by using the setup like it was a fresh install on a BBS without MajorMUD.

Other Options

You may also want to change the name that appears next to things in the Audit Trail.

  1. Open up wbbmmud.dll and wbbmmpls.dll in a Hex Editor
  2. Replace all instances of MajorMUD with CustmMUD or w/e you want.
    The only tricky part here is you can't change the length of the text MajorMUD.
    Therefore you must replace the letters letter for letter (aka your custom name *must* be no longer and no shorter then 8 characters).[1]

References

  1. ^ How to setup multiple MUDs - by Syntax

MajorMUD is Copyright © 2014 Metropolis, Inc. and is not affiliated with this site.