Register forum user name Search FAQ

SMAUG server FAQ

Frequently Asked Questions (FAQ) about SMAUG server.


Summary How do you specify the starting room vnum?
Question In SMAUG, where in the code, or config/setup files can you specify the starting room vnum? I want to change where beginning players start in the mud, and I don't want it to be out in front of the Academy.
Answer

A. They are defined in mud.h, as follows ...


#define ROOM_VNUM_SCHOOL	  10300
#define ROOM_AUTH_START		    100

There is code in comm.c as follows:


	    if (!sysdata.WAIT_FOR_AUTH)
	      char_to_room( ch, get_room_index( ROOM_VNUM_SCHOOL ) );
	    else
	      {
            char_to_room( ch, get_room_index( ROOM_AUTH_START ) );
            ch->pcdata->auth_state = 0;
            SET_BIT(ch->pcdata->flags, PCFLAG_UNAUTHED);
	      }

This puts a new player in the school (if no authorisation) or at the training area (if they are going through that).

You would need to recompile the server to change those. :)


Search for word or phrase

Enter a word or phrase in the box below to narrow the list down to those that match.

Search for:   

Leave blank to show all FAQs.

View all SMAUG server FAQ

[Back]

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