Greetings:
I have been trying to get the wilderness code to work with with my Rom for a
while now and I am having a bit of trouble here. I can get the mud load and
everything looks right untill I make room 20000 and try to move around.
When I am in the room I can see the map and everything looks just fine
untill I try to move around. Everytime I try to move around I get this
"Alas, you cannot go that way.1" and it wont let me move.
Move_char *** act_move.c
void move_char( CHAR_DATA *ch, int door, bool follow )
{
CHAR_DATA *fch;
CHAR_DATA *fch_next;
ROOM_INDEX_DATA *in_room;
ROOM_INDEX_DATA *to_room;
EXIT_DATA *pexit;
int xx = ch->x;
int yy = ch->y;
int getroom = ch->room;
if ( door < 0 || door > 5 )
{
bug( "Do_move: bad door %d.", door );
return;
}
/*
* Exit trigger, if activated, bail out. Only PCs are triggered.
*/
if ( !IS_NPC(ch) && mp_exit_trigger( ch, door ) )
return;
in_room = ch->in_room;
if ( ( pexit = in_room->exit[door] ) == NULL
|| ( to_room = pexit->u1.to_room ) == NULL )
{
send_to_char( "Alas, you cannot go that way.1\n\r", ch );
return;
}
if ( IN_WILDERNESS(in_room->vnum) )
{
bool move_ch = TRUE;
switch ( map_data(ch->x,ch->y) )
If anyone can help me in trying to figure out why I cant me around the
wilderness it will be gratly appreciated.
-Abarak
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com