Changing the starting vnum for new players

Posted by Zune on Tue 01 Jan 2008 04:58 PM — 8 posts, 31,512 views.

#0
I can't seem to find any documentation on this relatively simple task, so I figured I'd ask the wise denizens of Gammon's space. :)

How do I change the room vnum where new players spawn? Running smaugFUSS.

- Zune
#1
You mean where they start out in the game the first time they enter? it's hard coded. the code says dump them into room 100. err, I forget where thou in the files.
#2
Ok, I found it, it's in mud.h
rhese rooms are all hard coded.

#define ROOM_VNUM_LIMBO 2
#define ROOM_VNUM_POLY 3
#define ROOM_VNUM_CHAT 1200
#define ROOM_VNUM_TEMPLE 21001
#define ROOM_VNUM_ALTAR 21194
#define ROOM_VNUM_SCHOOL 10300
#define ROOM_AUTH_START 100
#define ROOM_VNUM_HALLOFFALLEN 21195
#define ROOM_VNUM_DEADLY 3009
#define ROOM_VNUM_HELL 6

enjoy
USA #3
In mud.h find:
#define ROOM_VNUM_SCHOOL        10300
#define ROOM_AUTH_START        100

and change them as desired. The first one is where players start if you turn player authorization off in cset and the second one is the room they start in if player authorization is turned on.
Amended on Tue 01 Jan 2008 06:06 PM by Conner
#4
Thanks gents. Princes among men. One other novice question: after editing .c files in smaugFUSS/src/, do I have to have to use MAKE in cygwin to make the changes final?
USA #5
Yes.
#6
Sorry for these noobish questions, guys.

I edited the vnum and saved the mud.h file in VIM. I opened cygwin, went to the smaugFUSS/src directory, and typed "make". I then had "make -s smaug" show. I rebooted the MUD and tried it and the new vnum isn't being used.

I'm almost sure this is a newbie programming problem related to compiling or something. Any suggestions?
USA #7
If you edit .h files, you need to make clean.