How to MultiMUD - v2

Discussion on running your own board and editing MajorMUD.
Post Reply
User avatar
syntax
Site Admin
Posts: 517
Joined: Tue Jun 02, 2009 10:02 am

How to MultiMUD - v2

Post by syntax »

Circa 2003...

How to setup multiple MUDs - by Syntax
--------------------------------------------------------------

NOTE: this method converts your currently installed mud to new call letters (IE: 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. Then come back here.

preparation: copy your whole WG directory somewhere just incase something goes wrong.

1. disable the majormud and majormud plus modules through the offline utils menu ("wgsdmod.EXE")

2. go to your worldgroup directory in DOS (ahh it's lovely aint it?)

3. type “ copy wcc*.* wbb*.* ”

4. type “ del wcc*.* ”

5. go to the WGSDFCVT subfolder and repeat steps 3 & 4

6. go to the GCVIRDAT subfolder and repeat steps 3 & 4

7. exit DOS

8. hex edit the files listed below, i recommend "Hex Workshop" ... it's da bomb.

a) open the file in the hex editor
b) initiate a "replace" operation (usually Edit --> Replace)
c) make sure on the option screen somewhere you have "match case" enabled/selected. also make sure you're searching for "text" or "strings"
d) search for "WCC" and replace with "WBB" (replace All when it asks)
e) search for "wcc" and replace with "wbb" (replace All when it asks)
f) save and close
-->repeat for each file below:

WBBMMHLP.h
wbbmmpls.dll
wbbmmpls.dmd (or wbbmmpls.mdf if you still have mud plus as an enabled module)*
WBBMMPLS.h
WBBMMPLS.mcv
WBBMMPLS.msg

wbbmmud.dll
wbbmmud.dmd (or wbbmmud.mdf if you still have mud as an enabled module)*
WBBMMUD.h
WBBMMUD.mcv
WBBMMUD.msg
WBBMMUD.UIC
wbbmmutl.exe
WBBTEXT.h

WGSDFCVT\WBBTEXT.CV_
WGSDFCVT\WBBGEN4.CV_
WGSDFCVT\WBBGEN3.CV_
WGSDFCVT\WBBGEN2.CV_
WGSDFCVT\WBBGEN1.CV_

* the .mdf file's are renamed to .dmd when they become disabled ... the opposite is true then they're enabled

9. change the module name. edit the file "WBBMMUD.DMD" with notepad. change the "Module Name: MajorMUD" to what you want. So like: "Module Name: CrazyMUD" Do the same for the other line below, "Add-On Utility: WBBMMUTL -- MajorMUD Utilities" ==> "Add-On Utility: WBBMMUTL -- CrazyMUD Utilities". 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".

10. re-enable the modules from the offline util, they should now show up with your new module name

11. fix/add the page in the menu editor (wgsrunmt.exe), since it will have the wrong module name now.

12. you may want to go into the security and accouting for majormud and majormud plus and check the key names. step 8 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.

13. 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)

14. run an offline recovery

15. test out the board (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, it did crash on me the first time i gained exp with a char. after i started it back up tho it was fine from then on <shrug>.

16. now you can install another mud by using the setup like it was a fresh install on a bbs without mud.


Other Options
--------------------

a) you may also want to change the name that appears next to things in the audit trail and such buy opening up wbbmmud.dll and wbbmmpls.dll in a hex editor and replacing 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". so you must replace the letters letter for letter (aka your custom name MUST be no longer and no shorter then 8 characters).
Attachments
How_to_MultiMUD_-_v2_-_ForumsHQ_-_2016-02-28_02.25.12.png
How_to_MultiMUD_-_v2_-_ForumsHQ_-_2016-02-28_02.25.12.png (144.71 KiB) Viewed 4251 times


User avatar
AdmiralAcid
Posts: 35
Joined: Thu Feb 22, 2018 11:42 am

Re: How to MultiMUD - v2

Post by AdmiralAcid »

syntax wrote:You could use it to sync a "standard" realm with a "pvp realm" so that every night people get their latest character to use in the pvp realm. They could then kill off their character and know they have a "fresh" one coming after cleanup to try more pvp.
Anatole wrote: It already is possible. I do it!
If you are setup to multimud just add this to the end of your wgsclean.bat

copy /Y wccuser2.dat wbbuser2.dat
copy /Y wccitow2.dat wbbitow2.dat
copy /Y wccgang2.dat wbbgang2.dat
copy /Y wccbank2.dat wbbbank2.dat

I thought originally I would have to setup a bot to issue a sys reset to force a database recover but I never had a problem

You may need to tell your users to do SET STATLINE FULL when leaving their main realm and going to the PVP realm.


Image
Post Reply