Problems with auto camp/rent

From: Alex Mann (alex4501@hotmail.com)
Date: 06/09/02


Hi

Im coding using circle30bpl21, I was originally using circle30bpl19 and
under that if you remove the If statement from do_quit where it checks if
the player is in a house, and if so remember the room they are in.

I have made the same change under bpl21 here is my do_quit:
ACMD(do_quit)
{

  if (IS_NPC(ch) || !ch->desc)
    return;

  if (subcmd != SCMD_QUIT && GET_LEVEL(ch) < LVL_IMMORT)
    send_to_char(ch, "You have to type quit--no less, to quit!\r\n");
  else if (GET_POS(ch) == POS_FIGHTING)
    send_to_char(ch, "No way!  You're fighting for your life!\r\n");
  else if (GET_POS(ch) < POS_STUNNED) {
    send_to_char(ch, "You die before your time...\r\n");
    die(ch);
  } else {
    act("$n has left the game.", TRUE, ch, 0, 0, TO_ROOM);
    mudlog(NRM, MAX(LVL_IMMORT, GET_INVIS_LEV(ch)), TRUE, "%s has quit the
game.", GET_NAME(ch));
    send_to_char(ch, "Goodbye, friend.. Come back soon!\r\n");

    if (free_rent)
      Crash_rentsave(ch, 0);

    GET_LOADROOM(ch) = IN_ROOM(ch); ** This is the line that should be
saving the exit room.****

    extract_char(ch);
  }
}


But for somereason its not working, has anyone else come across this in the
latter versions of circle.

Any suggestions appriciated

Thanks

Alex

Naryan World
telnet naryan.mudhost.com 7474



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT