On Thu, 18 Jul 1996, Brad Johnson wrote: > Hello! > > I've done a large amount of editing on my bpl11 code, and have added in > the teleport code, as well as the OasisOLC code. Editing an existing room > causes no problems, but now when I attempt to create a new room, it > crashes on the following line: > > #0 0x5b904 in redit_disp_menu (d=0x144000) at redit.c:537 > (537) sprintbit(room->tele->mask, teleport_bits, buf3); > > #1 0x5a142 in redit_setup_new (d=0x144000) at redit.c:71 > #2 0x4c16e in do_olc (ch=0x143400, argument=0xbffff88d " 5001", cmd=209, > subcmd=0) at olc.c:213 > #3 0x402ad in command_interpreter (ch=0x143400, > argument=0xbffff888 "redit 5001") at interpreter.c:664 > #4 0x20ee in game_loop (mother_desc=3) at comm.c:609 > #5 0x1648 in init_game (port=9000) at comm.c:248 > #6 0x153e in main (argc=1, argv=0xbffffc70) at comm.c:218 > > Any ideas for this, or anything else that a person would need to solve it? > I'm sure it's some bonehead mistake I made earlier, but I can't find it > for the life of me. > Nevermind, it WAS a boneheaded mistake, placed some code in the wrong place... Brad Johnson nightwlf@wizard.com From goamkows@kirk.geog.sc.edu Thu, 18 Jul 96 14:49:34 EDT X-SystemInfo: MyE-Mail: EMail X-Message-No: 2600 (database) From: goamkows <goamkows@kirk.geog.sc.edu> To: circle <circle@pvv.ntnu.no> Subject: Re: New Class Date: Thu, 18 Jul 96 14:49:00 Message-ID: <CMM.0.90.0.837715774.goamkows@janeway.geog.sc.edu> Reply-To: goamkows@kirk.geog.sc.edu (goamkows) 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 UAA05168 for <lk4150@krull.dk>; Thu, 18 Jul 1996 20:55:23 +0200 Received: (from majordomo@localhost) by flipper.pvv.ntnu.no (8.7.5/8.6.12) id VAA09005 for circle-outgoing; Thu, 18 Jul 1996 21:06:50 +0200 Received: from ido.phys.unit.no (ido.phys.unit.no [129.241.26.49]) by flipper.pvv.ntnu.no (8.7.5/8.6.12) with SMTP id VAA08983 for <circle@pvv.ntnu.no>; Thu, 18 Jul 1996 21:06:24 +0200 Received: from otis.cla.sc.edu (otis.cla.sc.edu [129.252.1.2]) by ido.phys.unit.no (8.6.12/8.6.12) with SMTP id UAA29624 for <circle@pvv.ntnu.no>; Thu, 18 Jul 1996 20:45:13 +0200 Received: from kirk.geog.sc.edu by otis.cla.sc.edu (4.1/SMI-4.1)id AA15038; Thu, 18 Jul 96 14:45:00 EDT Received: from janeway.geog.sc.edu by kirk.geog.sc.edu (4.1/SMI-4.1)id AA21856; Thu, 18 Jul 96 13:40:56 EDT Sender: owner-circle@pvv.ntnu.no Precedence: bulk :P This got me thinking. Would it be possible to associate the fighter :P class with the knight class? What is mean is this: Since the knight :P will (for example) have all of the skills of a standard fighter, plus :P maybe some extras - would there be a way to do away with all of the :P checks (GET_CLASS(ch) != CLASS_KNIGHT) and avoid having to put them :P throughout the code? yeah, write your code in C++ and make classes objects :) the four basic classes become the base objects, and other classes can be derived from them. this would even make multi-classing fairly easy, come to think of it, since you can have more than one base object (if i understand correctly, i'm still learning C++ :)
This archive was generated by hypermail 2b30 : 12/07/00 PST