
Pages:<< prev 1 next >>



Apprentice

GroupMembers
Posts58
JoinedNov 22, 2010
Hi all,
I would like to ask you something. I'm trying to change the name of the rooms when they are created. I know that the name is "The void" or "Floating in the void", but I haven't found this text in the codebase.
Could you tell me where can I find the default name of the rooms?
Thanks for all.
I would like to ask you something. I'm trying to change the name of the rooms when they are created. I know that the name is "The void" or "Floating in the void", but I haven't found this text in the codebase.
Could you tell me where can I find the default name of the rooms?
Thanks for all.



Apprentice

GroupMembers
Posts58
JoinedNov 22, 2010
Hi Aurin,
In smaugfuss, for example. I thought that this message was in the same place in all the codebases. Isn't it?
Thanks again.
In smaugfuss, for example. I thought that this message was in the same place in all the codebases. Isn't it?
Thanks again.



Magician

GroupMembers
Posts189
JoinedSep 5, 2010
Honestly not sure if it's the same everywhere, but you can find what you're looking for in db.c and look for function: ROOM_INDEX_DATA *make_room( int vnum, AREA_DATA * area )



Apprentice

GroupMembers
Posts58
JoinedNov 22, 2010
Hi,
thanks a lot, aurin. I've been looking for this message for weeks with no results.
Thanks again,
Antram
thanks a lot, aurin. I've been looking for this message for weeks with no results.
Thanks again,
Antram



Sorcerer

GroupMembers
Posts723
JoinedMar 5, 2005
Just grep and you'll find it.
db.c:5373: pRoomIndex->name = STRALLOC( "Floating in a void" );



Apprentice

GroupMembers
Posts58
JoinedNov 22, 2010
Hi,
Thanks Zeno. I didn't know this command. It seems to be very interesting.
Thanks again,
Antram
Thanks Zeno. I didn't know this command. It seems to be very interesting.
Thanks again,
Antram

Fledgling

GroupMembers
Posts16
JoinedOct 9, 2011
Wouldn't it be in the /area files?
edit: And I still can't get the gravatar to work.
edit: And I still can't get the gravatar to work.




Magician

GroupMembers
Posts239
JoinedJun 13, 2008
No, it would be in db.c for when you first create the room. After the room is created then that string gets stored in the zone.are file after the area is saved.
ayuri
ayuri
Pages:<< prev 1 next >>