> > if (t->character) > > if (GET_LEVEL(t->character) < LVL_IMMORT) > > proc_color(tmp, 0); > > > > RIGHT before > > > > if (!failed_subst) > > write_to_q(tmp, &t->input, 0); > > > > This will strip the \c codes out of whatever they wrote. While you could > > do this other ways, I liked this so that other people wouldn't learn the > > codes. > > Wait, not being familar with the code that was sent out, and only being > familar with the code I wrote two years ago to accomplish this, there > seems to be a logic error here. I assume that proc_color(tmp, 0) removes > the color codes from the string (tmp)? If so, what you have effectively > done is make it so mortals cannot see the color, but they still may use > them. Am I correct in my assumption? No, this is in process_input. The information that the player is sending to the mud. If they are less than LVL_IMMORT, it strips out all the codes from their "input". However, any color codes that are put in by gods, or are in the game, are processed by the call to proc_color in process_output, sending the color codes to the players properly. -Pirahna From jelson@blaze.cs.jhu.edu Mon, 01 Jul 96 13:41:39 EDT X-SystemInfo: MyE-Mail: EMail X-ReplyTo-No: 1793 (There are no more replies.) X-Message-No: 1798 (database) From: Jeremy Elson <jelson@blaze.cs.jhu.edu> To: ShAnE wOlFf <wolff@j51.com> Subject: Re: Gnu-Win32 with Circlebpl11 Date: Mon, 1 Jul 96 13:41:00 Message-ID: <199607011741.TAA17887@flipper.pvv.ntnu.no> X-POP3-Rcpt: lk4150@per Return-Path: owner-circle@pvv.ntnu.no Received: from flipper.pvv.ntnu.no (43@flipper.pvv.ntnu.no [129.241.210.200]) by per.cybercity.dk (8.6.12/8.6.12) with ESMTP id TAA21239 for <lk4150@krull.dk>; Mon, 1 Jul 1996 19:41:50 +0200 Received: (from majordomo@localhost) by flipper.pvv.ntnu.no (8.7.5/8.6.12) id TAA17892 for circle-outgoing; Mon, 1 Jul 1996 19:41:56 +0200 Received: from blaze.cs.jhu.edu (root@blaze.cs.jhu.edu [128.220.13.50]) by flipper.pvv.ntnu.no (8.7.5/8.6.12) with ESMTP id TAA17887 for <circle@pvv.ntnu.no>; Mon, 1 Jul 1996 19:41:48 +0200 Received: from mail-clientby blaze.cs.jhu.edu with SMTP; Mon, 1 Jul 1996 17:41:40 GMT Received: by mail-client (4.1) id AA09580; Mon, 1 Jul 96 13:41:39 EDT Cc: circle@pvv.ntnu.no, jelson@pvv.ntnu.no Sender: owner-circle@pvv.ntnu.no Precedence: bulk > I downloaded GNU-WIn32 and most of the utilities for it yesterday > in hopes of compiling a binary for WIn-32. I was able to run all GNU > apps with no problems. (bash cat make gcc etc.... ) BUT. I get > plenty of errors when i run configure for circle. Is there some sort > of premade Makefile for this? I tried all the included makefiles. > Maybe someone would even upload a binairy. If not.. When I finaly > compile this thing I will probaly upload it to cs.jhu.edu. I would > perfer is someone sent me a makefile. Then I could apply patchs and > such. later. Does anyone ever read documentation anymore? People ask this question all the time but the answer can be quite easily found by reading a short text file. There is a file called README.WIN distributed with Circle that tells you to use the files conf.h.win and Makefile.win for Windows.
This archive was generated by hypermail 2b30 : 12/07/00 PST