Re: [Circle] Thief Special Proc

From: Derek Karnes (dkarnes@mystech.com)
Date: 08/12/96


Haddixx wrote:
> 
> Does the theif special procedure work?  I set a mob as a thief and
> he never stole from anyone.  I even removed the !number(0,4) parts
> so he would try every time the special_procedure is called.  To
> me it looks like the special procedure never gets called.  Am I
> doing something wrong?  Help please.
> 
> -Haddixx
> 

For the mob to actually steal cash-

The mob has to be assigned in spec_assign.c and the victim of the mob
has to be of level < LVL_IMMORT and have cash.. Seems to work fine for
me and I haven't changed the spec at all, to my memory.. You could put a
printf in the npc_steal funct to see if it's actually getting called.



--
                                    \ | /
                        \  /---------------------\  /
			--   dkarnes@mystech.com   --
                        /  \---------------------/  \
				    / | \
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+


From mountcas@pluto.ee.cua.edu Mon, 12 Aug 96 18:46:31 EDT
X-SystemInfo: MyE-Mail: EMail
X-Message-No: 3679 (database)
From: Sean P. Mountcastle <mountcas@pluto.ee.cua.edu>
To: circle <circle@cspo.queensu.ca>
Subject: [Circle] [CODE] Help
Date: Mon, 12 Aug 96 23:46:00
Message-ID: <199608122246.SAA28755@pluto.ee.cua.edu>
X-POP3-Rcpt: lk4150@per
Return-Path: <@QUCDN.QueensU.CA:owner-circle@cspo.queensu.ca>
Received: from QUCDN.QueensU.CA (QUCDN.QueensU.CA [130.15.126.2]) by per.cybercity.dk (8.6.12/8.6.12) with SMTP id BAA30059 for <lk4150@krull.dk>; Tue, 13 Aug 1996 01:04:07 +0200
Received: from cspo.queensu.ca by QUCDN.QueensU.CA (IBM VM SMTP V2R2) with TCP;Mon, 12 Aug 96 19:11:01 EDT
Received: by cspo.queensu.ca (SMI-8.6/SMI-SVR4)id SAA18073; Mon, 12 Aug 1996 18:45:26 -0500
Received: from pluto.ee.cua.edu by cspo.queensu.ca (SMI-8.6/SMI-SVR4)
Received: (from mountcas@localhost) by pluto.ee.cua.edu (8.6.12/8.6.9) id SAA28755 for circle@cspo.queensu.ca; Mon, 12 Aug 1996 18:46:32 -0400
X-Mailer: ELM [version 2.3 PL11]
Sender: owner-circle@cspo.queensu.ca
Precedence: bulk

Hi,

	I need some help with this snippet of code, for some strange 
reason, I cannot get the telnet client into character mode:

void charmode_on(struct descriptor_data *d)
{
   char *on_string[] = 
   {
      (char) IAC,
      (char) DONT,
      (char) TELOPT_LINEMODE,
      (char) 0,
   };
   SEND_TO_Q(on_string, d);
}

Where the 'DONT' is I've  tried DO, WILL, WONT, I've also tried to use 
TELOPT_LFLOW, TELOPT_STATUS, TELOPT_NAWS, and a couple of others.

	If someone could help me out, I just need this and charmode_off 
to work so I can put a REAL editor in CircleMUD.  Many, many, thanks in 
advance.

	- Sean

Sean Mountcastle
----------------
Children aren't happy without something to ignore,
And that's what parents were created for.
		- Ogden Nash
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/07/00 PST