SWR Beginners Help

Posted by Malti on Thu 05 Jul 2007 10:23 PM — 5 posts, 20,966 views.

USA #0
Okay, this is pretty basic stuff but rather extensive. I am very familiar with the smaug and smaugFUSS. I have recently begun to rip apart (looking at code, redoing zones, etc) with SWR. I would like to redo a lot of the planets and areas, but there are several problems.

1) I have no idea how the planet system works
2) I have no idea what areas are dependent to run the mud
3) I believe that there is a limited number of vnums (hopefully i'm wrong)

So, I am hoping that someone could possibly point my in the direction of some documentation on both the aforementioned and possibly even the whole mud. If there isn't any significant documentation, perhaps someone here can enlighten me. I am using the latest version of SWRfote from the sourceforge site. Thanks in advance.
Amended on Thu 05 Jul 2007 10:26 PM by Malti
USA #1
I'm not familiar with SWR at all. But your answers can be found out by looking over the code.

As for the limit on vnums, it's either ~32k or ~2bil. Stock Smaug was ~32k, so I don't know if SWR changed it.

As for #2, check in mud.h for the items and mobs defined.
USA #2
I have been reading over the code, reading area, planet, and space system and I still do not understand a lot because it is pretty cryptic (lacking any usable documentation). I will keep plugging away and hopefully someone can lead me to some insightful answers. Also, they have updated swfote to hold 2bil vnums, and I will check mud.h. Thanks a bunch.
USA #3
Yeah, it probably doesn't have great documentation. But reading over the code should fully explain what is going on.

You might want to find some SWR specific forums to ask more on.
United Kingdom #4
I had a quick read through the code for you...
The planet system works on a star system base, yeh pretty obvious. But still, you need to create a planet using the MAKEPLANET command which then also lets you SETPLANET. This then seems to make it so you can adjust the size, type etc.

Now i've never played a SWR mud in my life so i have no idea if this is making any sense to you. Sorry if its not.

Once you've made 3 planets, you can then put them into a starsystem...

You got it; MAKESTARSYSTEM is the command your after next. You name your starsystem and also edit your starsystems also... you can add planets using the command SETSTARSYSTEM.

SETSTARSYSTEM also lets you change the gravity and population of the planet... yet again, makes no sense to me what so ever. So hopefully you understand that alot better than what I have... seeing as you've played SWR muds im guessing.

------------------------------------------------------------

in mud.h look for the following:

#define ROOM_VNUM_LIMBO 2
#define ROOM_VNUM_POLY 3
(There is alot more defined room_vnums)

This is more than likely to be the only areas you'll need... however I would advise looking deeper into mud.h and the code as this is me just quickly glancing through the code.

------------------------------------------------------------

Now from also a quick glance point of view... I have not seen any MAX_VNUMS which is usually defined in .h file when using 2billion vnums... so this would indicate that you have 32k vnums to use. But yet again, I could be wrong...


Like i've said, i am not use to SWR and I really have never played a SWR mud. Like Zeno said, your best going to a SWR specific forum for a more detailed answer... but I hope this helps in some way.