Script started on Mon Apr 14 20:06:27 1997 [circle@bishop src]$ make gcc -c -Wall -O -g act_wiz.c act_wiz.c: In function `do_mstat': act_wiz.c:1737: `buf1' undeclared (first use this function) act_wiz.c:1737: (Each undeclared identifier is reported only once act_wiz.c:1737: for each function it appears in.) act_wiz.c: In function `do_mset': act_wiz.c:3481: warning: implicit declaration of function `IF' act_wiz.c:3482: parse error before `{' act_wiz.c:3479: warning: unused variable `hunted' act_wiz.c:3488: `hunted' undeclared (first use this function) act_wiz.c:3488: warning: implicit declaration of function `get_char_area' act_wiz.c:3488: `arg' undeclared (first use this function) act_wiz.c: At top level: act_wiz.c:3497: parse error before `if' act_wiz.c:3520: `arg3' undeclared here (not in a function) act_wiz.c:3520: initializer element is not constant act_wiz.c:3520: warning: data definition has no type or storage class act_wiz.c:3521: parse error before `if' act_wiz.c:3525: parse error before string constant act_wiz.c:3525: warning: data definition has no type or storage class act_wiz.c:3530: parse error before `[' act_wiz.c:3530: conflicting types for `strcat' /usr/include/string.h:78: previous declaration of `strcat' act_wiz.c:3530: warning: data definition has no type or storage class act_wiz.c:3532: parse error before string constant act_wiz.c:3532: warning: data definition has no type or storage class act_wiz.c:3534: warning: parameter names (without types) in function declaration act_wiz.c:3534: conflicting types for `send_to_char' merc.h:2137: previous declaration of `send_to_char' act_wiz.c:3534: warning: data definition has no type or storage class act_wiz.c:3535: parse error before `return' act_wiz.c:3719: `arg3' undeclared here (not in a function) act_wiz.c:3719: initializer element is not constant act_wiz.c:3719: warning: data definition has no type or storage class act_wiz.c:3721: parse error before `if' act_wiz.c:3752: parse error before string constant act_wiz.c:3752: conflicting types for `do_mset' act_wiz.c:3359: previous declaration of `do_mset' act_wiz.c:3752: warning: data definition has no type or storage class make: *** [act_wiz.o] Error 1 [circle@bishop src]$ pico +3530 w act_wiz.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 4434 lines ][m[1;35H[7mFile: act_wiz.c[m[3;9Hif ( class == -1 )[4;9H{[5;13Hchar buf[MAX_STRING_LENGTH];[7;17Hstrcpy( buf, "Possible classes are: " );[8;17Hfor ( class = 0; class < MAX_CLASS; class++ )[9;17H{[10;21Hif ( class > 0 )[11;25Hstrcat( buf, " " );[12;21Hstrcat( buf, class_table[class].name );[13;17H}[14;13Hstrcat( buf, ".\n\r" );[16;13Hsend_to_char(buf,ch);[17;13Hreturn;[18;9H}[20;9Hvictim->class = class;[21;9Hreturn;[12;1H[22;1H[K[22;10H[7m[ line 3530 of 4435 (79%), character 83075 of 101814 (81%) ][m[12;1H[23;1H[K[24;1H[K[circle@bishop src]$ pico +3488 act_wiz.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 4434 lines ][m[1;35H[7mFile: act_wiz.c[m[3;9HCHAR_DATA *hunted = 0;[5;9HIF ( !IS_NPC(victim))[6;9H{[7;12Hsend_to_char("NOT ON PC'S.\n\r",ch);[8;12Hreturn;[9;9H}[11;9Hif (str_cmp(arg3, "."))[12;11Hif ( (hunted = get_char_area(victim, arg)) == NULL)[13;13H{[14;17Hsend_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[15;17Hreturn;[16;13H}[17;9Hvictim->hunting = hunted;[18;9Hreturn;[19;7H}[21;5Hif ( !str_prefix( arg2, "sex" ) )[12;1H[23;1H[K[24;1H[K[circle@bishop src]$ pico bugs [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;30H[7m[ File has long line ][m[22;1H[K[22;30H[7m[ File has long line ][m[22;1H[K[22;30H[7m[ File has long line ][m[22;1H[K[22;30H[7m[ File has long line ][m[22;1H[K[22;30H[7m[ File has long line ][m[22;1H[K[22;30H[7m[ File has long line ][m[22;1H[K[22;17H[7m[ File doesn't end with newline. Adding one. ][m[22;1H[K[22;32H[7m[ Read 51 lines ][m[22;1H[K[22;22H[7m[ Read 51 lines, Long lines wrapped ][m[1;35H[7m File: bugs[m[3;1HScript started on Mon Apr 14 20:06:27 1997[4;1H[circle@bishop src]$ make[5;1Hgcc -c -Wall -O -g act_wiz.c[6;1Hact_wiz.c: In function `do_mstat':[7;1Hact_wiz.c:1737: `buf1' undeclared (first use this function)[8;1Hact_wiz.c:1737: (Each undeclared identifier is reported only once[9;1Hact_wiz.c:1737: for each function it appears in.)[10;1Hact_wiz.c: In function `do_mset':[11;1Hact_wiz.c:3481: warning: implicit declaration of function `IF'[12;1Hact_wiz.c:3482: parse error before `{'[13;1Hact_wiz.c:3479: warning: unused variable `hunted'[14;1Hact_wiz.c:3488: `hunted' undeclared (first use this function)[15;1Hact_wiz.c:3488: warning: implicit declaration of function `get_char_area'[16;1Hact_wiz.c:3488: `arg' undeclared (first use this function)[17;1Hact_wiz.c: At top level:[18;1Hact_wiz.c:3497: parse error before `if'[19;1Hact_wiz.c:3520: `arg3' undeclared here (not in a function)[20;1Hact_wiz.c:3520: initializer element is not constant[21;1Hact_wiz.c:3520: warning: data definition has no type or storage class[3;1H[23;1H[K[24;1H[K[circle@bishop src]$ pico make Makefile [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;32H[7m[ Read 18 lines ][m[1;35H[7m File: Makefile[m[3;1HCC = gcc[4;1HPROF = -O -g[5;1HNOCRYPT =[6;1HC_FLAGS = -Wall $(PROF) $(NOCRYPT)[7;1HL_FLAGS = $(PROF)[9;1HO_FILES = act_comm.o act_enter.o act_info.o act_move.o act_obj.o act_wiz.o \[10;11Halias.o ban.o comm.o const.o db.o db2.o effects.o fight.o flags.o \[11;11Hhandler.o healer.o interp.o note.o lookup.o magic.o magic2.o \[12;11Hmusic.o recycle.o save.o scan.o skills.o special.o tables.o \[13;11Hupdate.o hunt.o[15;1Hrom: $(O_FILES)[16;9Hrm -f rom[17;9H$(CC) $(L_FLAGS) -o rom $(O_FILES)[19;1H.c.o: merc.h[20;9H$(CC) -c $(C_FLAGS) $<[3;1H[4;1H[5;1H[6;1H[7;1H[8;1H[9;1H[10;1H[11;1H[12;1H[12;9H[12;10H[12;11H[12;12H[12;13H[12;14H[12;15H[12;16H[12;17H[12;18H[12;19H[12;20H[12;21H[12;22H[12;23H[13;23H[22;1H[K[13;24H[13;25H[13;26H[1;70H[7mModified[m[13;25H [13;25H[13;24H [13;24H[13;23H [13;23H[13;22H [13;22H[13;21H [13;21H[13;20H [13;20H[23;1H [7mY[m Yes [K[24;2H[7mC[m Cancel [7mN[m No [K[22;1H[K[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [22;62H[m[7mYes[m[22;1H[K[7mFile Name to write : [22;22H[m[7mMakefile[m[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mT[m To Files [K[24;14H[7mT[m[7mA[m[7mB[m Complete [K[7m[22;30H[m[22;1H[K[22;34H[7m[ Writing... ][m[22;1H[K[22;32H[7m[ Wrote 18 lines ][m[23;1H[K[24;1H[K[circle@bishop src]$ pico act_wiz.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 4434 lines ][m[1;35H[7mFile: act_wiz.c[m[3;1H/***************************************************************************[4;2H* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *[5;2H* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *[6;2H* *[7;2H* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *[8;2H* Chastain, Michael Quan, and Mitchell Tse. *[9;2H* *[10;2H* In order to use any part of this Merc Diku Mud, you must comply with *[11;2H* both the original Diku license in 'license.doc' as well the Merc *[12;2H* license in 'license.txt'. In particular, you may not remove either of *[13;2H* these copyright notices. *[14;2H* *[15;2H* Much time and thought has gone into this software and you are *[16;2H* benefitting. We hope that you share your changes too. What goes *[17;2H* around, comes around. *[18;2H***************************************************************************/[20;1H/***************************************************************************[21;1H* ROM 2.4 is copyright 1993-1996 Russ Taylor *[3;1H[22;1H[K[7mSearch : [22;10H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;10Hdo_mstat[m[22;1H[K[3;1H#include <string.h>[K[4;1H#include <stdlib.h>[K[5;1H#include "merc.h"[K[6;1H#include "recycle.h"[K[7;1H#include "tables.h"[K[8;1H#include "lookup.h"[K[9;2H[K[10;1H/* command procedures needed */[K[11;1HDECLARE_DO_FUN(do_rstat );[K[12;1HDECLARE_DO_FUN(do_mstat );[K[13;1HDECLARE_DO_FUN(do_ostat );[K[14;1HDECLARE_DO_FUN(do_rset );[K[15;1HDECLARE_DO_FUN(do_mset );[K[16;1HDECLARE_DO_FUN(do_oset );[K[17;1HDECLARE_DO_FUN(do_sset );[K[18;1HDECLARE_DO_FUN(do_mfind );[K[19;1HDECLARE_DO_FUN(do_ofind );[20;1HDECLARE_DO_FUN(do_slookup );[K[21;1HDECLARE_DO_FUN(do_mload );[K[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;16H[13;16H[14;16H[15;16H[16;16H[17;16H[18;16H[19;16H[20;16H[21;16H[3;1HDECLARE_DO_FUN(do_ostat );[4;1HDECLARE_DO_FUN(do_rset );[5;1HDECLARE_DO_FUN(do_mset );[6;1HDECLARE_DO_FUN(do_oset );[7;1HDECLARE_DO_FUN(do_sset );[8;1HDECLARE_DO_FUN(do_mfind );[9;1HDECLARE_DO_FUN(do_ofind );[10;1HDECLARE_DO_FUN(do_slookup );[11;19Hmload[12;19Hoload[13;19Hquit [14;19Hlook[15;19Hstand[16;1H[K[17;1H[K[18;1H[K[19;1H/*[K[20;1H * Local functions.[K[21;1H */[K[12;16H[22;1H[K[7mSearch [do_mstat] : [22;21H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;21H[m[22;1H[K[3;1H[K[4;1H if (!str_cmp(arg,"obj"))[K[5;1H {[K[6;1H do_ostat(ch,string);[K[7;1H return;[K[8;1H }[K[9;1H[K[10;1H if(!str_cmp(arg,"char") || !str_cmp(arg,"mob"))[11;1H {[K[12;1H do_mstat(ch,string);[K[13;1H return;[K[14;1H }[K[15;1H[K[16;4H/* do it the old way */[18;4Hobj = get_obj_world(ch,argument);[19;1H if (obj != NULL)[20;2H {[K[21;2H do_ostat(ch,argument);[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;9H[22;1H[K[7mSearch [do_mstat] : [22;21H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;21H[m[22;1H[K[3;4Hif (obj != NULL)[4;4H{[K[5;4H do_ostat(ch,argument);[6;6Hreturn;[K[7;4H}[K[8;4H [9;3Hvictim = get_char_world(ch,argument);[10;3Hif (victim != NULL)[K[11;3H{ [12;5Hdo_mstat(ch,argument); [13;5Hreturn;[K[14;3H} [16;3Hlocation = find_location(ch,argument);[17;3Hif (location != NULL)[18;3H{[K[19;4H do_rstat(ch,argument);[20;4H return;[21;3H}[K[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;5H[22;1H[K[7mSearch [do_mstat] : [22;21H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;21H[m[22;1H[K[3;4H send_to_char(buf,ch);[4;4H }[5;5H}[K[6;6H[K[7;4H return;[8;1H}[9;3H[K[10;3H[K[11;3H [12;1Hvoid do_mstat( CHAR_DATA *ch, char *argument )[13;1H{[K[14;3H char buf[MAX_STRING_LENGTH];[15;5Hchar arg[MAX_INPUT_LENGTH];[16;3H AFFECT_DATA *paf;[K[17;3H CHAR_DATA *victim; [18;3H [19;5Hone_argument( argument, arg );[20;5H[K[21;3H if ( arg[0] == '\0' )[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;6H[13;2H[14;6H[15;6H[16;6H[17;6H[18;1H[19;6H[20;1H[21;6H[3;1H{[K[4;5Hchar buf[MAX_STRING_LENGTH];[5;5Hchar arg[MAX_INPUT_LENGTH];[6;5HAFFECT_DATA *paf;[7;5HCHAR_DATA *victim;[8;1H [9;5Hone_argument( argument, arg );[11;5Hif ( arg[0] == '\0' )[12;1H {[K[13;1H send_to_char( "Stat whom?\n\r", ch );[14;5H return;[K[15;5H}[K[16;5H[K[17;5Hif ( ( victim = get_char_world( ch, argument ) ) == NULL )[18;5H{[19;5H send_to_char( "They aren't here.\n\r", ch );[20;9Hreturn;[21;5H}[K[12;6H[13;1H[14;1H[15;6H[16;1H[17;6H[18;6H[19;1H[20;1H[21;6H[3;1H send_to_char( "Stat whom?\n\r", ch );[4;5H return;[K[5;5H}[K[6;5H[K[7;5Hif ( ( victim = get_char_world( ch, argument ) ) == NULL )[8;5H{[9;5H send_to_char( "They aren't here.\n\r", ch );[10;9Hreturn;[11;5H}[K[12;5H [13;5Hsprintf( buf, "Name: %s\n\r",[K[14;9Hvictim->name);[15;5Hsend_to_char( buf, ch );[17;5Hsprintf( buf,[K[18;5H "Vnum: %d Format: %s Race: %s Group: %d Sex: %s Room: %d\n\r",[19;9HIS_NPC(victim) ? victim->pIndexData->vnum : 0,[20;9HIS_NPC(victim) ? victim->pIndexData->new_format ? "new" : "old" : "pc",[21;5H race_table[victim->race].name,[12;1H[22;1H[K[7mSearch [do_mstat] : [22;21H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;21Hhunting[m[22;1H[K[3;5Hsend_to_char( buf, ch );[K[4;9H[K[5;5Hif ( IS_NPC(victim) && victim->spec_fun != 0 )[6;5H{[7;5H sprintf(buf,"Mobile has special procedure %s.\n\r", [8;5H spec_name(victim->spec_fun));[9;22Hbuf,ch);[K[10;5H}[K[11;5H [12;5Hif ( IS_NPC(victim) && victim->hunting != NULL)[13;5H{[K[14;8Hsprintf(buf, "Hunting victim: %s (%s)\n\r",[15;5H IS_NPC(victim->hunting) ? victim->hunting->short_descr[16;40H: victim->hunting->name,[17;5H IS_NPC(victim->hunting) ? "MOB" : "PLAYER" );[18;8Hstrcat(buf1, buf);[K[19;5H}[K[20;9H[K[21;9H[K[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;36H[12;35H[12;34H[12;33H[12;32H[12;31H[12;30H[12;29H[12;28H[12;27H[12;26H[12;25H[12;24H[12;23H[12;22H[12;21H[12;20H[12;19H[12;18H[12;17H[12;16H[12;15H[12;14H[12;13H[12;12H[12;11H[12;10H[12;9H[12;8H[12;7H[12;6H[12;5H[12;4H[13;4H[12;4H[22;1H[K[22;32H[7m[ Line Deleted. ][m[1;70H[7mModified[m[12;5H{[K[13;5H sprintf(buf, "Hunting victim: %s (%s)\n\r",[14;8H IS_NPC(victim->hunting) ? victim->hunting->short_descr[15;16H : victim->hunting->name,[K[16;16HIS_NPC(victim->hunting) ? "MOB" : "PLAYER" ); [17;8Hstrcat(buf1, buf);[K[18;5H}[K[19;5H [21;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[12;1H[12;5H sprintf(buf, "Hunting victim: %s (%s)\n\r",[13;8H IS_NPC(victim->hunting) ? victim->hunting->short_descr[14;16H : victim->hunting->name,[K[15;16HIS_NPC(victim->hunting) ? "MOB" : "PLAYER" ); [16;8Hstrcat(buf1, buf);[K[17;5H}[K[18;5H [20;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[21;5H{[K[12;1H[12;8H IS_NPC(victim->hunting) ? victim->hunting->short_descr[13;16H : victim->hunting->name,[K[14;16HIS_NPC(victim->hunting) ? "MOB" : "PLAYER" ); [15;8Hstrcat(buf1, buf);[K[16;5H}[K[17;5H [19;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[20;5H{[K[21;5H sprintf( buf,[12;1H[12;16H : victim->hunting->name,[K[13;16HIS_NPC(victim->hunting) ? "MOB" : "PLAYER" ); [14;8Hstrcat(buf1, buf);[K[15;5H}[K[16;5H [18;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[19;5H{[K[20;5H sprintf( buf,[21;9H "Spell: '%s' modifies %s by %d for %d hours with bits %s, level %d.$[12;1H[12;16HIS_NPC(victim->hunting) ? "MOB" : "PLAYER" ); [13;8Hstrcat(buf1, buf);[K[14;5H}[K[15;5H [17;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[18;5H{[K[19;5H sprintf( buf,[20;9H "Spell: '%s' modifies %s by %d for %d hours with bits %s, level %d.$[21;13Hskill_table[(int) paf->type].name,[K[12;1H[12;8Hstrcat(buf1, buf);[K[13;5H}[K[14;5H [16;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[17;5H{[K[18;5H sprintf( buf,[19;9H "Spell: '%s' modifies %s by %d for %d hours with bits %s, level %d.$[20;13Hskill_table[(int) paf->type].name,[K[21;13Haffect_loc_name( paf->location ), [12;1H[12;5H}[K[13;5H [15;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[16;5H{[K[17;5H sprintf( buf,[18;9H "Spell: '%s' modifies %s by %d for %d hours with bits %s, level %d.$[19;13Hskill_table[(int) paf->type].name,[K[20;13Haffect_loc_name( paf->location ), [21;13Hpaf->modifier,[K[12;1H[12;5H [14;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[15;5H{[K[16;5H sprintf( buf,[17;9H "Spell: '%s' modifies %s by %d for %d hours with bits %s, level %d.$[18;13Hskill_table[(int) paf->type].name,[K[19;13Haffect_loc_name( paf->location ), [20;13Hpaf->modifier,[K[21;18Hduration[12;1H[13;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[14;5H{[K[15;5H sprintf( buf,[16;9H "Spell: '%s' modifies %s by %d for %d hours with bits %s, level %d.$[17;13Hskill_table[(int) paf->type].name,[K[18;13Haffect_loc_name( paf->location ), [19;13Hpaf->modifier,[K[20;18Hduration[21;13Haffect_bit_name( paf->bitvector ),[12;1H[12;5Hfor ( paf = victim->affected; paf != NULL; paf = paf->next )[13;5H{[K[14;5H sprintf( buf,[15;9H "Spell: '%s' modifies %s by %d for %d hours with bits %s, level %d.$[16;13Hskill_table[(int) paf->type].name,[K[17;13Haffect_loc_name( paf->location ), [18;13Hpaf->modifier,[K[19;18Hduration[20;13Haffect_bit_name( paf->bitvector ),[21;13Hpaf->level[K[12;1H[22;1H[K[7mSearch [hunting] : [22;20H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;20Hhunt[m[22;1H[K[3;6Htrcpy( arg3, argument );[5;10Harg1[0] == '\0' || arg2[0] == '\0' || arg3[0] == '\0' )[7;10Hend_to_char("Syntax:\n\r",ch);[K[8;9Hsend_to_char(" set char <name> <field> <value>\n\r",ch);[9;22H " Field being one of:\n\r", ch );[10;5H send_to_char( " str int wis dex con sex class level\n\r", ch );[11;9Hsend_to_char( " race group gold silver hp mana move prac\n\r",ch);[12;5H send_to_char( " align train thirst hunger drunk full hunt\n\r", $[13;5H return;[14;5H}[K[15;13H[K[16;5Hif ( ( victim = get_char_world( ch, arg1 ) ) == NULL )[17;5H{[K[18;9Hsend_to_char( "They aren't here.\n\r", ch );[19;9Hreturn;[K[20;5H}[K[21;13H[K[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;65H[12;66H[12;67H[12;68H[12;69H[12;68H\n\r", [12;68H[12;67H\n\r", [12;67H[12;66H\n\r", ch ); [12;66H[12;65H\n\r", [12;65H[12;64H\n\r", [12;64H[22;1H[K[7mSearch [hunt] : [22;17H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;17Hhunted[m[22;1H[K[3;5H victim->perm_stat[STAT_CON] = value;[4;9Hreturn;[5;5H}[K[6;5H [7;1H/*************************************************/[8;1H/* ADDED BY JASON 4 12 97 */[K[9;9H[K[10;5Hif (!str_cmp(arg2, "hunt"))[K[11;5H{[K[12;9HCHAR_DATA *hunted = 0;[K[13;9H[K[14;5H IF ( !IS_NPC(victim))[15;9H{[16;5H send_to_char("NOT ON PC'S.\n\r",ch);[K[17;5H return;[18;9H}[K[19;9H[K[20;5H if (str_cmp(arg3, "."))[21;11Hif ( (hunted = get_char_area(victim, arg)) == NULL)[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;20H[11;6H[10;20H[9;1H[8;20H[8;19H[8;18H[8;17H[7;17H[7;16H[7;15H[7;14H[7;13H[7;12H[7;11H[7;10H[7;9H[7;8H[7;7H[7;6H[7;5H[7;4H[7;3H[7;2H[7;1H[22;1H[K[22;32H[7m[ Line Deleted. ][m[7;3H ADDED BY JASON 4 12 97 [8;1H[K[9;5Hif (!str_cmp(arg2, "hunt"))[10;5H{[K[11;5H CHAR_DATA *hunted = 0;[12;9H[K[13;9HIF ( !IS_NPC(victim))[14;9H{[K[15;9H send_to_char("NOT ON PC'S.\n\r",ch);[16;12Hreturn;[K[17;9H}[K[18;9H [19;9Hif (str_cmp(arg3, "."))[20;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[21;11H {[K[7;1H[K[8;5Hif (!str_cmp(arg2, "hunt"))[9;5H{[K[10;5H CHAR_DATA *hunted = 0;[11;9H[K[12;9HIF ( !IS_NPC(victim))[13;9H{[K[14;9H send_to_char("NOT ON PC'S.\n\r",ch);[15;12Hreturn;[K[16;9H}[K[17;9H [18;9Hif (str_cmp(arg3, "."))[19;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[20;11H {[K[21;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[7;1H[7;5Hif (!str_cmp(arg2, "hunt"))[8;5H{[K[9;5H CHAR_DATA *hunted = 0;[10;9H[K[11;9HIF ( !IS_NPC(victim))[12;9H{[K[13;9H send_to_char("NOT ON PC'S.\n\r",ch);[14;12Hreturn;[K[15;9H}[K[16;9H [17;9Hif (str_cmp(arg3, "."))[18;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[19;11H {[K[20;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[21;17Hreturn;[K[7;1H[7;5H{[K[8;5H CHAR_DATA *hunted = 0;[9;9H[K[10;9HIF ( !IS_NPC(victim))[11;9H{[K[12;9H send_to_char("NOT ON PC'S.\n\r",ch);[13;12Hreturn;[K[14;9H}[K[15;9H [16;9Hif (str_cmp(arg3, "."))[17;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[18;11H {[K[19;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[20;17Hreturn;[K[21;13H}[K[7;1H[7;5H CHAR_DATA *hunted = 0;[8;9H[K[9;9HIF ( !IS_NPC(victim))[10;9H{[K[11;9H send_to_char("NOT ON PC'S.\n\r",ch);[12;12Hreturn;[K[13;9H}[K[14;9H [15;9Hif (str_cmp(arg3, "."))[16;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[17;11H {[K[18;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[19;17Hreturn;[K[20;13H}[K[21;9Hvictim->hunting = hunted;[7;1H[7;9H[K[8;9HIF ( !IS_NPC(victim))[9;9H{[K[10;9H send_to_char("NOT ON PC'S.\n\r",ch);[11;12Hreturn;[K[12;9H}[K[13;9H [14;9Hif (str_cmp(arg3, "."))[15;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[16;11H {[K[17;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[18;17Hreturn;[K[19;13H}[K[20;9Hvictim->hunting = hunted;[21;9Hreturn;[K[7;1H[7;9HIF ( !IS_NPC(victim))[8;9H{[K[9;9H send_to_char("NOT ON PC'S.\n\r",ch);[10;12Hreturn;[K[11;9H}[K[12;9H [13;9Hif (str_cmp(arg3, "."))[14;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[15;11H {[K[16;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[17;17Hreturn;[K[18;13H}[K[19;9Hvictim->hunting = hunted;[20;9Hreturn;[K[21;7H}[K[7;1H[7;9H{[K[8;9H send_to_char("NOT ON PC'S.\n\r",ch);[9;12Hreturn;[K[10;9H}[K[11;9H [12;9Hif (str_cmp(arg3, "."))[13;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[14;11H {[K[15;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[16;17Hreturn;[K[17;13H}[K[18;9Hvictim->hunting = hunted;[19;9Hreturn;[K[20;7H}[K[21;7H [7;1H[7;9H send_to_char("NOT ON PC'S.\n\r",ch);[8;12Hreturn;[K[9;9H}[K[10;9H [11;9Hif (str_cmp(arg3, "."))[12;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[13;11H {[K[14;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[15;17Hreturn;[K[16;13H}[K[17;9Hvictim->hunting = hunted;[18;9Hreturn;[K[19;7H}[K[20;7H [21;5Hif ( !str_prefix( arg2, "sex" ) )[7;1H[7;12Hreturn;[K[8;9H}[K[9;9H [10;9Hif (str_cmp(arg3, "."))[11;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[12;11H {[K[13;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[14;17Hreturn;[K[15;13H}[K[16;9Hvictim->hunting = hunted;[17;9Hreturn;[K[18;7H}[K[19;7H [20;5Hif ( !str_prefix( arg2, "sex" ) )[21;5H{[K[7;1H[7;9H}[K[8;9H [9;9Hif (str_cmp(arg3, "."))[10;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[11;11H {[K[12;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[13;17Hreturn;[K[14;13H}[K[15;9Hvictim->hunting = hunted;[16;9Hreturn;[K[17;7H}[K[18;7H [19;5Hif ( !str_prefix( arg2, "sex" ) )[20;5H{[K[21;5H if ( value < 0 || value > 2 )[7;1H[7;9H [8;9Hif (str_cmp(arg3, "."))[9;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[10;11H {[K[11;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[12;17Hreturn;[K[13;13H}[K[14;9Hvictim->hunting = hunted;[15;9Hreturn;[K[16;7H}[K[17;7H [18;5Hif ( !str_prefix( arg2, "sex" ) )[19;5H{[K[20;5H if ( value < 0 || value > 2 )[21;9H{[K[7;1H[7;9Hif (str_cmp(arg3, "."))[8;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[9;11H {[K[10;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[11;17Hreturn;[K[12;13H}[K[13;9Hvictim->hunting = hunted;[14;9Hreturn;[K[15;7H}[K[16;7H [17;5Hif ( !str_prefix( arg2, "sex" ) )[18;5H{[K[19;5H if ( value < 0 || value > 2 )[20;9H{[K[21;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[7;1H[7;9H if ( (hunted = get_char_area(victim, arg)) == NULL)[8;11H {[K[9;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[10;17Hreturn;[K[11;13H}[K[12;9Hvictim->hunting = hunted;[13;9Hreturn;[K[14;7H}[K[15;7H [16;5Hif ( !str_prefix( arg2, "sex" ) )[17;5H{[K[18;5H if ( value < 0 || value > 2 )[19;9H{[K[20;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[21;13Hreturn;[K[7;1H[7;11H {[K[8;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[9;17Hreturn;[K[10;13H}[K[11;9Hvictim->hunting = hunted;[12;9Hreturn;[K[13;7H}[K[14;7H [15;5Hif ( !str_prefix( arg2, "sex" ) )[16;5H{[K[17;5H if ( value < 0 || value > 2 )[18;9H{[K[19;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[20;13Hreturn;[K[21;9H}[K[7;1H[7;13H send_to_char("Mob couldn't locate the victim to hunt.\n\r",ch);[8;17Hreturn;[K[9;13H}[K[10;9Hvictim->hunting = hunted;[11;9Hreturn;[K[12;7H}[K[13;7H [14;5Hif ( !str_prefix( arg2, "sex" ) )[15;5H{[K[16;5H if ( value < 0 || value > 2 )[17;9H{[K[18;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[19;13Hreturn;[K[20;9H}[K[21;9Hvictim->sex = value;[7;1H[7;17Hreturn;[K[8;13H}[K[9;9Hvictim->hunting = hunted;[10;9Hreturn;[K[11;7H}[K[12;7H [13;5Hif ( !str_prefix( arg2, "sex" ) )[14;5H{[K[15;5H if ( value < 0 || value > 2 )[16;9H{[K[17;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[18;13Hreturn;[K[19;9H}[K[20;9Hvictim->sex = value;[21;9Hif (!IS_NPC(victim))[7;1H[7;13H}[K[8;9Hvictim->hunting = hunted;[9;9Hreturn;[K[10;7H}[K[11;7H [12;5Hif ( !str_prefix( arg2, "sex" ) )[13;5H{[K[14;5H if ( value < 0 || value > 2 )[15;9H{[K[16;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[17;13Hreturn;[K[18;9H}[K[19;9Hvictim->sex = value;[20;9Hif (!IS_NPC(victim))[21;9H victim->pcdata->true_sex = value;[7;1H[7;9Hvictim->hunting = hunted;[8;9Hreturn;[K[9;7H}[K[10;7H [11;5Hif ( !str_prefix( arg2, "sex" ) )[12;5H{[K[13;5H if ( value < 0 || value > 2 )[14;9H{[K[15;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[16;13Hreturn;[K[17;9H}[K[18;9Hvictim->sex = value;[19;9Hif (!IS_NPC(victim))[20;9H victim->pcdata->true_sex = value;[21;9Hreturn;[K[7;1H[7;9Hreturn;[K[8;7H}[K[9;7H [10;5Hif ( !str_prefix( arg2, "sex" ) )[11;5H{[K[12;5H if ( value < 0 || value > 2 )[13;9H{[K[14;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[15;13Hreturn;[K[16;9H}[K[17;9Hvictim->sex = value;[18;9Hif (!IS_NPC(victim))[19;9H victim->pcdata->true_sex = value;[20;9Hreturn;[K[21;5H}[K[7;1H[7;7H}[K[8;7H [9;5Hif ( !str_prefix( arg2, "sex" ) )[10;5H{[K[11;5H if ( value < 0 || value > 2 )[12;9H{[K[13;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[14;13Hreturn;[K[15;9H}[K[16;9Hvictim->sex = value;[17;9Hif (!IS_NPC(victim))[18;9H victim->pcdata->true_sex = value;[19;9Hreturn;[K[20;5H}[K[21;5H [7;1H[7;7H [8;5Hif ( !str_prefix( arg2, "sex" ) )[9;5H{[K[10;5H if ( value < 0 || value > 2 )[11;9H{[K[12;9H send_to_char( "Sex range is 0 to 2.\n\r", ch );[13;13Hreturn;[K[14;9H}[K[15;9Hvictim->sex = value;[16;9Hif (!IS_NPC(victim))[17;9H victim->pcdata->true_sex = value;[18;9Hreturn;[K[19;5H}[K[20;5H [21;5Hif ( !str_prefix( arg2, "class" ) )[7;1H[23;1H [7mY[m Yes [K[24;2H[7mC[m Cancel [7mN[m No [K[22;1H[K[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [22;62H[m[7mYes[m[22;1H[K[7mFile Name to write : [22;22H[m[7mact_wiz.c[m[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mT[m To Files [K[24;14H[7mT[m[7mA[m[7mB[m Complete [K[7m[22;31H[m[22;1H[K[22;34H[7m[ Writing... ][m[22;1H[K[22;31H[7m[ Wrote 4402 lines ][m[23;1H[K[24;1H[K[circle@bishop src]$ make gcc -c -Wall -O -g act_wiz.c make: *** [act_wiz.o] Interrupt [circle@bishop src]$ pico ocnst. const.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 3075 lines ][m[1;35H[7m File: const.c[m[3;2H/***************************************************************************[4;2H* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *[5;2H* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *[6;2H* *[7;2H* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *[8;2H* Chastain, Michael Quan, and Mitchell Tse. *[9;2H* *[10;2H* In order to use any part of this Merc Diku Mud, you must comply with *[11;2H* both the original Diku license in 'license.doc' as well the Merc *[12;2H* license in 'license.txt'. In particular, you may not remove either of *[13;2H* these copyright notices. *[14;2H* *[15;2H* Much time and thought has gone into this software and you are *[16;2H* benefitting. We hope that you share your changes too. What goes *[17;2H* around, comes around. *[18;2H***************************************************************************/[20;1H/***************************************************************************[21;1H* ROM 2.4 is copyright 1993-1996 Russ Taylor *[3;1H[23;1H[K[24;1H[K[circle@bishop src]$ pico +2505 act_ const.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 3075 lines ][m[1;35H[7m File: const.c[m[3;5H{[4;9H"lightning breath",[5;9H{ 37, 40, 43, 46, 46, 40, 40, 40, 40, 40, 40 },[6;9H{ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 },[7;9Hspell_lightning_breath, TAR_CHAR_OFFENSIVE, POS_FIGHTING,[8;9HNULL, SLOT(204), 150, 24,[9;9H"blast of lightning", "!Lightning Breath!", ""[10;5H},[12;5H{[13;9H"hunt" {37, 37, 30, 20, 20, 20, 20, 20, 20, 20, 20},[14;9Hspell_null, TAR_IGNORE, POS_RESTING,[15;9H&gsn_hunt, SLOT(321), 0, 12,[16;9H"", "!Hunt!"[17;5H},[19;1H/*[20;2H* Spells for mega1.are from Glop/Erkenbrand.[21;2H*/[12;1H[22;1H[K[22;32H[7m[ Line Deleted. ][m[1;70H[7mModified[m[12;5H "hunt" {37, 37, 30, 20, 20, 20, 20, 20, 20, 20, 20},[13;9Hspell_null, TAR_IGNORE, POS_RESTING,[K[14;9H&gsn_hunt, SLOT(321), 0, 12,[K[15;9H"", "!Hunt!"[K[16;5H},[K[17;5H [18;1H/*[19;1H * Spells for mega1.are from Glop/Erkenbrand.[20;3H/[K[21;2H {[12;1H[12;9Hspell_null, TAR_IGNORE, POS_RESTING,[K[13;9H&gsn_hunt, SLOT(321), 0, 12,[K[14;9H"", "!Hunt!"[K[15;5H},[K[16;5H [17;1H/*[18;1H * Spells for mega1.are from Glop/Erkenbrand.[19;3H/[K[20;2H {[21;5H "general purpose",[12;1H[12;9H&gsn_hunt, SLOT(321), 0, 12,[K[13;9H"", "!Hunt!"[K[14;5H},[K[15;5H [16;1H/*[17;1H * Spells for mega1.are from Glop/Erkenbrand.[18;3H/[K[19;2H {[20;5H "general purpose",[21;9H{ 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53 },[12;1H[12;9H"", "!Hunt!"[K[13;5H},[K[14;5H [15;1H/*[16;1H * Spells for mega1.are from Glop/Erkenbrand.[17;3H/[K[18;2H {[19;5H "general purpose",[20;9H{ 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53 },[21;11H0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },[K[12;1H[12;5H},[K[13;5H [14;1H/*[15;1H * Spells for mega1.are from Glop/Erkenbrand.[16;3H/[K[17;2H {[18;5H "general purpose",[19;9H{ 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53 },[20;11H0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },[K[21;9Hspell_general_purpose, TAR_CHAR_OFFENSIVE, POS_FIGHTING,[12;1H[12;5H [13;1H/*[14;1H * Spells for mega1.are from Glop/Erkenbrand.[15;3H/[K[16;2H {[17;5H "general purpose",[18;9H{ 53, 53, 53, 53, 53, 53, 53, 53, 53, 53, 53 },[19;11H0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },[K[20;9Hspell_general_purpose, TAR_CHAR_OFFENSIVE, POS_FIGHTING,[21;9HNULL, SLOT(401), 0, 12,[K[12;1H[23;1H [7mY[m Yes [K[24;2H[7mC[m Cancel [7mN[m No [K[22;1H[K[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [22;62H[m[7mYes[m[22;1H[K[7mFile Name to write : [22;22H[m[7mconst.c[m[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mT[m To Files [K[24;14H[7mT[m[7mA[m[7mB[m Complete [K[7m[22;29H[m[22;1H[K[22;34H[7m[ Writing... ][m[22;1H[K[22;31H[7m[ Wrote 3069 lines ][m[23;1H[K[24;1H[K[circle@bishop src]$ pico db.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 3372 lines ][m[1;35H[7m File: db.c[m[3;1H/***************************************************************************[4;2H* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *[5;2H* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *[6;2H* *[7;2H* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *[8;2H* Chastain, Michael Quan, and Mitchell Tse. *[9;2H* *[10;2H* In order to use any part of this Merc Diku Mud, you must comply with *[11;2H* both the original Diku license in 'license.doc' as well the Merc *[12;2H* license in 'license.txt'. In particular, you may not remove either of *[13;2H* these copyright notices. *[14;2H* *[15;2H* Much time and thought has gone into this software and you are *[16;2H* benefitting. We hope that you share your changes too. What goes *[17;2H* around, comes around. *[18;2H***************************************************************************/[20;1H/***************************************************************************[21;1H* ROM 2.4 is copyright 1993-1996 Russ Taylor *[3;1H[22;1H[K[7mSearch : [22;10H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;10Hhung[m[22;1H[K[22;31H[7m[ "hung" not found ][m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[7mSearch [hung] : [22;17H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;17Hhunt[m[22;1H[K[3;1HCHAR_DATA * char_list;[K[4;1Hchar * help_greeting;[K[5;1Hchar log_buf [2*MAX_INPUT_LENGTH];[K[6;1HKILL_DATA kill_table [MAX_LEVEL];[K[7;1HNOTE_DATA * note_list;[K[8;1HOBJ_DATA * object_list;[K[9;1HTIME_INFO_DATA time_info;[K[10;1HWEATHER_DATA weather_info;[K[11;2H[K[12;1Hsh_int gsn_hunt;[K[13;1Hsh_int gsn_backstab;[K[14;1Hsh_int gsn_dodge;[K[15;1Hsh_int gsn_envenom;[K[16;1Hsh_int gsn_hide;[K[17;1Hsh_int gsn_peek;[K[18;1Hsh_int gsn_pick_lock;[K[19;1Hsh_int gsn_sneak;[20;1Hsh_int gsn_steal;[K[21;1H[K[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;29H[12;28H[12;27H[12;26H[12;25H[12;17H[12;9H[12;7H[12;6H[12;5H[12;4H[12;3H[12;2H[12;1H[22;1H[K[22;32H[7m[ Line Deleted. ][m[1;70H[7mModified[m[12;29Hbackstab;[13;29Hdodge; [14;29Henvenom;[15;29Hhide; [16;29Hpeek[17;30Hick_lock;[18;29Hsneak;[K[19;30Hteal[20;1H[K[21;1Hsh_int gsn_disarm;[12;1H[23;1H [7mY[m Yes [K[24;2H[7mC[m Cancel [7mN[m No [K[22;1H[K[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [22;62H[m[7mYes[m[22;1H[K[7mFile Name to write : [22;22H[m[7mdb.c[m[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mT[m To Files [K[24;14H[7mT[m[7mA[m[7mB[m Complete [K[7m[22;26H[m[22;1H[K[22;34H[7m[ Writing... ][m[22;1H[K[22;31H[7m[ Wrote 3371 lines ][m[23;1H[K[24;1H[K[circle@bishop src]$ pioc co fight.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 3448 lines ][m[1;35H[7m File: fight.c[m[3;1H/***************************************************************************[4;2H* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *[5;2H* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *[6;2H* *[7;2H* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *[8;2H* Chastain, Michael Quan, and Mitchell Tse. *[9;2H* *[10;2H* In order to use any part of this Merc Diku Mud, you must comply with *[11;2H* both the original Diku license in 'license.doc' as well the Merc *[12;2H* license in 'license.txt'. In particular, you may not remove either of *[13;2H* these copyright notices. *[14;2H* *[15;2H* Much time and thought has gone into this software and you are *[16;2H* benefitting. We hope that you share your changes too. What goes *[17;2H* around, comes around. *[18;2H***************************************************************************/[20;1H/***************************************************************************[21;1H* ROM 2.4 is copyright 1993-1996 Russ Taylor *[3;1H[4;1H* ROM 2.4 is copyright 1993-1996 Russ Taylor [5;1H* ROM has been brought to you by the ROM consortium [6;1H* Russ Taylor (rtaylor@efn.org)[7;1H* Gabrielle Taylor [8;1H* Brian Moore (zump@rom.org) [9;1H* By using this code, you have agreed to follow the terms of the[10;1H* ROM license, in the file Rom24/doc/rom.license [11;1H***************************************************************************/[12;2H[K[13;1H#if defined(macintosh)[K[14;1H#include <types.h>[K[15;1H#else[K[16;1H#include <sys/types.h>[K[17;1H#endif[K[18;1H#include <stdio.h>[K[19;1H#include <string.h>[20;1H#include <time.h>[K[21;1H#include "merc.h"[K[3;1H#include <time.h>[K[4;1H#include "merc.h"[K[5;1H[K[6;1H/* command procedures needed */[K[7;1HDECLARE_DO_FUN(do_backstab );[K[8;1HDECLARE_DO_FUN(do_emote );[K[9;1HDECLARE_DO_FUN(do_berserk );[K[10;1HDECLARE_DO_FUN(do_bash );[K[11;1HDECLARE_DO_FUN(do_trip );[K[12;1HDECLARE_DO_FUN(do_dirt );[13;1HDECLARE_DO_FUN(do_flee );[14;1HDECLARE_DO_FUN(do_kick );[15;1HDECLARE_DO_FUN(do_disarm );[16;1HDECLARE_DO_FUN(do_get );[17;1HDECLARE_DO_FUN(do_recall );[18;1HDECLARE_DO_FUN(do_yell );[19;1HDECLARE_DO_FUN(do_sacrifice );[20;1HDECLARE_DO_FUN(do_hunt );[21;1H[K[3;1H[4;1H[5;1H[6;1H[7;1H[8;1H[9;1H[10;1H[11;1H[12;1H[13;1H[14;1H[15;1H[16;1H[17;1H[18;1H[19;1H[20;1H[22;1H[K[22;32H[7m[ Line Deleted. ][m[1;70H[7mModified[m[20;1H[K[22;1H[K[7mSearch : [22;10H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;10Hmobs[m[22;1H[K[3;1H{[K[4;1H CHAR_DATA *ch;[5;5HCHAR_DATA *ch_next;[6;1H CHAR_DATA *victim;[K[7;1H[K[8;1H for ( ch = char_list; ch != NULL; ch = ch->next )[9;1H {[K[10;1H ch_next = ch->next;[K[11;1H/*[K[12;1H * HUNTING MOBS[K[13;1H */[K[14;1H IF ( IS_NPC(ch)[K[15;1H && ch->fighting == NULL[16;1H && IS_AWAKE(ch)[K[17;1H && ch->hunting != NULL)[18;1H {[K[19;1H hunt_victim(ch);[K[20;15Hcontinue;[21;12H}[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;12H[12;11H[12;10H[12;9H[12;8H[12;7H[12;6H[12;5H[12;4H[12;3H[12;2H[12;1H[11;1H[22;1H[K[22;32H[7m[ Line Deleted. ][m[11;1H * HUNTING MOBS[12;3H/[K[13;2H IF ( IS_NPC(ch)[14;9H && ch->fighting == NULL[15;17HIS_AWAKE(ch)[K[16;17Hch->hunting != NULL)[17;12H{[K[18;12H hunt_victim(ch);[19;15Hcontinue;[K[20;12H}[K[21;12H [11;1H[11;3H/[K[12;2H IF ( IS_NPC(ch)[13;9H && ch->fighting == NULL[14;17HIS_AWAKE(ch)[K[15;17Hch->hunting != NULL)[16;12H{[K[17;12H hunt_victim(ch);[18;15Hcontinue;[K[19;12H}[K[20;12H [21;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[11;1H[11;2H IF ( IS_NPC(ch)[12;9H && ch->fighting == NULL[13;17HIS_AWAKE(ch)[K[14;17Hch->hunting != NULL)[15;12H{[K[16;12H hunt_victim(ch);[17;15Hcontinue;[K[18;12H}[K[19;12H [20;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[21;9H continue;[K[11;1H[11;9H && ch->fighting == NULL[12;17HIS_AWAKE(ch)[K[13;17Hch->hunting != NULL)[14;12H{[K[15;12H hunt_victim(ch);[16;15Hcontinue;[K[17;12H}[K[18;12H [19;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[20;9H continue;[K[21;13H[K[11;1H[11;17HIS_AWAKE(ch)[K[12;17Hch->hunting != NULL)[13;12H{[K[14;12H hunt_victim(ch);[15;15Hcontinue;[K[16;12H}[K[17;12H [18;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[19;9H continue;[K[20;13H[K[21;9Hif ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[11;1H[11;17Hch->hunting != NULL)[12;12H{[K[13;12H hunt_victim(ch);[14;15Hcontinue;[K[15;12H}[K[16;12H [17;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[18;9H continue;[K[19;13H[K[20;9Hif ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[21;9H multi_hit( ch, victim, TYPE_UNDEFINED );[K[11;1H[11;12H{[K[12;12H hunt_victim(ch);[13;15Hcontinue;[K[14;12H}[K[15;12H [16;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[17;9H continue;[K[18;13H[K[19;9Hif ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[20;9H multi_hit( ch, victim, TYPE_UNDEFINED );[K[21;9Helse[K[11;1H[11;12H hunt_victim(ch);[12;15Hcontinue;[K[13;12H}[K[14;12H [15;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[16;9H continue;[K[17;13H[K[18;9Hif ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[19;9H multi_hit( ch, victim, TYPE_UNDEFINED );[K[20;9Helse[K[21;9H stop_fighting( ch, FALSE );[11;1H[11;15Hcontinue;[K[12;12H}[K[13;12H [14;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[15;9H continue;[K[16;13H[K[17;9Hif ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[18;9H multi_hit( ch, victim, TYPE_UNDEFINED );[K[19;9Helse[K[20;9H stop_fighting( ch, FALSE );[21;13H[K[11;1H[11;12H}[K[12;12H [13;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[14;9H continue;[K[15;13H[K[16;9Hif ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[17;9H multi_hit( ch, victim, TYPE_UNDEFINED );[K[18;9Helse[K[19;9H stop_fighting( ch, FALSE );[20;13H[K[21;9Hif ( ( victim = ch->fighting ) == NULL )[11;1H[11;12H [12;9Hif ( ( victim = ch->fighting ) == NULL || ch->in_room == NULL )[13;9H continue;[K[14;13H[K[15;9Hif ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[16;9H multi_hit( ch, victim, TYPE_UNDEFINED );[K[17;9Helse[K[18;9H stop_fighting( ch, FALSE );[19;13H[K[20;9Hif ( ( victim = ch->fighting ) == NULL )[21;9H continue;[K[11;1H[12;1H[13;1H[14;1H[15;1H[16;1H[17;1H[18;1H[19;1H[20;1H[21;1H[3;1H continue;[4;5H[K[5;5H if ( IS_AWAKE(ch) && ch->in_room == victim->in_room )[6;5H multi_hit( ch, victim, TYPE_UNDEFINED );[7;9Helse[8;5H stop_fighting( ch, FALSE );[K[9;5H [10;9Hif ( ( victim = ch->fighting ) == NULL )[11;13Hcontinue;[12;9H[K[13;9H/*[K[14;10H* Fun for the whole family![15;9H */[K[16;9Hcheck_assist(ch,victim);[K[17;5H}[K[18;13H[K[19;5Hreturn;[20;1H}[K[21;13H[K[12;1H[23;1H [7mY[m Yes [K[24;2H[7mC[m Cancel [7mN[m No [K[22;1H[K[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [22;62H[m[7mYes[m[22;1H[K[7mFile Name to write : [22;22H[m[7mfight.c[m[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mT[m To Files [K[24;14H[7mT[m[7mA[m[7mB[m Complete [K[7m[22;29H[m[22;1H[K[22;34H[7m[ Writing... ][m[22;1H[K[22;31H[7m[ Wrote 3436 lines ][m[23;1H[K[24;1H[K[circle@bishop src]$ pico interp.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;32H[7m[ Read 788 lines ][m[1;35H[7m File: interp.c[m[3;1H/***************************************************************************[4;2H* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *[5;2H* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *[6;2H* *[7;2H* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *[8;2H* Chastain, Michael Quan, and Mitchell Tse. *[9;2H* *[10;2H* In order to use any part of this Merc Diku Mud, you must comply with *[11;2H* both the original Diku license in 'license.doc' as well the Merc *[12;2H* license in 'license.txt'. In particular, you may not remove either of *[13;2H* these copyright notices. *[14;2H* *[15;2H* Much time and thought has gone into this software and you are *[16;2H* benefitting. We hope that you share your changes too. What goes *[17;2H* around, comes around. *[18;2H***************************************************************************/[20;1H/***************************************************************************[21;1H* ROM 2.4 is copyright 1993-1996 Russ Taylor *[3;1H[22;1H[K[7mSearch : [22;10H[m[7m[m[23;15H[7mY[m FirstLine [K[24;2H[7mC[m Cancel [7m^[m[7mV[m LastLine [K[7m[22;10Hhunt[m[22;1H[K[3;1H { "gain", do_gain, POS_STANDING, 0, LOG_NORMAL, 1 },[4;2H { "go", do_enter, POS_STANDING, 0, LOG_NORMAL, 0 },[5;1H/* { "group", do_group, POS_SLEEPING, 0, LOG_NORMAL, 1 }, */[6;2H { "groups", do_groups, POS_SLEEPING, 0, LOG_NORMAL, 1 },[7;2H { "hide", do_hide, POS_RESTING, 0, LOG_NORMAL, 1 },[8;2H { "play", do_play, POS_RESTING, 0, LOG_NORMAL, 1 },[9;1H/* { "practice", do_practice, POS_SLEEPING, 0, LOG_NORMAL, 1 }, */[10;2H { "qui", do_qui, POS_DEAD, 0, LOG_NORMAL, 0 },[11;2H { "quit", do_quit, POS_DEAD, 0, LOG_NORMAL, 1 },[12;2H { "hunt", do_hunt, POS_STANDING, 0, LOG_NORMAL, 0 },[13;2H { "recall", do_recall, POS_FIGHTING, 0, LOG_NORMAL, 1 },[14;2H { "/", do_recall, POS_FIGHTING, 0, LOG_NORMAL, 0 },[15;2H { "rent", do_rent, POS_DEAD, 0, LOG_NORMAL, 0 },[16;2H { "save", do_save, POS_DEAD, 0, LOG_NORMAL, 1 },[17;2H { "sleep", do_sleep, POS_SLEEPING, 0, LOG_NORMAL, 1 },[18;2H { "sneak", do_sneak, POS_STANDING, 0, LOG_NORMAL, 1 },[19;5H{ "split", do_split, POS_RESTING, 0, LOG_NORMAL, 1 },[20;1H { "steal", do_steal, POS_STANDING, 0, LOG_NORMAL, 1 },[21;1H { "train", do_train, POS_RESTING, 0, LOG_NORMAL, 1 },[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[12;8H[12;7H[12;6H[12;5H[12;4H[12;3H[12;2H[22;1H[K[22;32H[7m[ Line Deleted. ][m[1;70H[7mModified[m[12;8Hrecall", do_recall, POS_FIGHTING, 0, LOG_NORMAL, 1[13;8H/", do_recall, POS_FIGHTING, 0, LOG_NORMAL, 0[14;8Hrent", do_rent, POS_DEAD, [15;8Hsave", do_save, POS_DEAD, 0, LOG_NORMAL, 1[16;9Hleep", do_sleep, POS_SLEEPING,[17;9Hneak", do_sneak, POS_STAND[18;9Hplit", do_split, POS_RESTING, [19;9Hteal", do_steal, POS_STANDING,[20;8Htrain", do_train, POS_RESTING, [21;8Hvisible", do_visible, POS_SLEEPING,[12;1H[23;1H [7mY[m Yes [K[24;2H[7mC[m Cancel [7mN[m No [K[22;1H[K[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [22;62H[m[7mYes[m[22;1H[K[7mFile Name to write : [22;22H[m[7minterp.c[m[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mT[m To Files [K[24;14H[7mT[m[7mA[m[7mB[m Complete [K[7m[22;30H[m[22;1H[K[22;34H[7m[ Writing... ][m[22;1H[K[22;31H[7m[ Wrote 787 lines ][m[23;1H[K[24;1H[K[circle@bishop src]$ poic ico make gcc -c -Wall -O -g act_wiz.c make: *** [act_wiz.o] Interrupt [circle@bishop src]$ d rm *.o [circle@bishop src]$ make gcc -c -Wall -O -g act_comm.c gcc -c -Wall -O -g act_enter.c make: *** [act_enter.o] Interrupt [circle@bishop src]$ ten len net localhost 9000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. / \ _ ) (( )) ( (@) /|\ ))_(( /|\ _ |-|`\ / | \ (/\|/\) / | \ (@) | | ---------------------/--|-voV---\`|'/--Vov-|--\---------------------|-| |-| '^` (o o) '^` |-| | | `\Y/' | | |-| |-| | | Welcome to The Realms of Chaos | | |-| |-| | | | | |-| |-| | | | | |-| A ROM2.4 Based Code, Thanks To Furry, Hatchet, Kahn, Diku, Merc. |-| | |_____________________________________________________________________| | (@) l /\ / ( ( \ /\ l `\|-| l / V \ \ V \ l (@) l/ _) )_ \l `\ /' ` No stupid Names, You will get deleted, this means nothing from a book or movie, nothing cheese like morningstar, nothing that could be considered profane or vulgar. Its quuite easy, just make something up! No MULTIcharing, if you are caught all your characters will be deleted & your site possibly banned. Remember roleplaying is of utmost importance. Keep yourself in character. What is your name ->grehyton Password: Welcome Immortal! You are responsible for following the laws of immortal behavior. These can be found by typing 'help laws' or 'help commandments'. * Excessive loading is not allowed, and is grounds for deletion. * Asking for promotion is grounds for instant deletion. * Type 'help jobs' to get some idea of what you should be doing. [[0;37mHit Return to continue[0m] * You are responsible for knowing the rules (type 'rules'). Ignorance of the rules is no excuse. * Important commands: help, commands, news, notes * Use the delete command to erase unwanted characters [[0;37mHit Return to continue[0m] Welcome to Realm of Chaos. A valley in the dark dwarf forest [Room 5267] You are in a valley in the dark dwarf forest. Short black grass grows around you. Trails lead in all directions. [[0;37mExits[0;34m:[0m north east south up] You have no unread notes. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 7 0] Grehyton@localhost [ 6 0] Chardros@131.247.11.59 2 users [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m wh Chardros rejoins the real world. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m o [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 7 0] Grehyton@localhost 1 user [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 7 0] Grehyton@localhost 1 user [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 7 0] Grehyton@localhost 1 user [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m notes Huh? [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m note list [ 0 ] Chardros: The Cult of Chardros [ 1 ] Thrikalkan: test [ 2 ] Grehyton: -who- command. [ 3 ] Grehyton: stuff [ 4 ] Grehyton: PKILLING [ 5 ] Grehyton: scan [ 6 ] Grehyton: Class [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m note who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 5 4] Chrardros@suntan.eng.usf.edu [ 7 0] Grehyton@localhost 2 users [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m ban purge chrardros They aren't here. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m Newbie alert! Chrardros sighted. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 7 0] Grehyton@localhost 1 user [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m quit Alas, all good things must come to an end. Connection closed by foreign host. [circle@bishop src]$ cd .. [circle@bishop Rom24]$ cd player [circle@bishop player]$ ls Aeil Demosthenes Goragorozzo Nep Srader Vinog Alsaadi Devabadriel Grehyton Nimenon Synkaryon Waylander Ash Doogie Hexxen Omega Takenya Winkie Bastian Drako Hoohoo Ravana Tenelon Xonyx Baxter Drek Kashcackle Rhyder Terth scr Boromir Drykkar Mabelrode Salamadriel Thrasher Chardros Frezuk Maxim Shmitten Thrikalkan Cissalraps Galamadriel Mustobar Skiles Tilon Davewun Garmack Naylor Souroun Valerian [circle@bishop player]$ rm omega rm: omega: No such file or directory [circle@bishop player]$ rm Omega [circle@bishop player]$ rm scr rm: remove `scr', overriding mode 0644? y [circle@bishop player]$ rm Wind kie [circle@bishop player]$ ls Aeil Davewun Galamadriel Maxim Shmitten Thrasher Alsaadi Demosthenes Garmack Mustobar Skiles Thrikalkan Ash Devabadriel Goragorozzo Naylor Souroun Tilon Bastian Doogie Grehyton Nep Srader Valerian Baxter Drako Hexxen Nimenon Synkaryon Vinog Boromir Drek Hoohoo Ravana Takenya Waylander Chardros Drykkar Kashcackle Rhyder Tenelon Xonyx Cissalraps Frezuk Mabelrode Salamadriel Terth [circle@bishop player]$ rm Doogie [circle@bishop player]$ rm B Ash [circle@bishop player]$ rm ls Aeil Demosthenes Goragorozzo Naylor Souroun Tilon Alsaadi Devabadriel Grehyton Nep Srader Valerian Bastian Drako Hexxen Nimenon Synkaryon Vinog Baxter Drek Hoohoo Ravana Takenya Waylander Boromir Drykkar Kashcackle Rhyder Tenelon Xonyx Chardros Frezuk Mabelrode Salamadriel Terth Cissalraps Galamadriel Maxim Shmitten Thrasher Davewun Garmack Mustobar Skiles Thrikalkan [circle@bishop player]$ R rm HooH hoo [circle@bishop player]$ rm Souroun [circle@bishop player]$ ls Aeil Demosthenes Goragorozzo Nep Synkaryon Vinog Alsaadi Devabadriel Grehyton Nimenon Takenya Waylander Bastian Drako Hexxen Ravana Tenelon Xonyx Baxter Drek Kashcackle Rhyder Terth Boromir Drykkar Mabelrode Salamadriel Thrasher Chardros Frezuk Maxim Shmitten Thrikalkan Cissalraps Galamadriel Mustobar Skiles Tilon Davewun Garmack Naylor Srader Valerian [circle@bishop player]$ rm cd .. [circle@bishop Rom24]$ cd src [circle@bishop src]$ make gcc -c -Wall -O -g act_enter.c gcc -c -Wall -O -g act_info.c gcc -c -Wall -O -g act_move.c gcc -c -Wall -O -g act_obj.c gcc -c -Wall -O -g act_wiz.c gcc -c -Wall -O -g alias.c gcc -c -Wall -O -g ban.c gcc -c -Wall -O -g comm.c gcc -c -Wall -O -g const.c const.c:1833: warning: implicit declaration of function `WWSLOT' const.c:1833: initializer element for `skill_table[22].slot' is not constant make: *** [const.o] Error 1 [circle@bishop src]$ pico +1833 const.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 3069 lines ][m[1;35H[7m File: const.c[m[3;9HNULL, SLOT(80), 20, 12,[4;9H"", "!Create Spring!", ""[5;5H},[7;5H{[8;9H"create water",[9;9H{ 8, 3, 12, 11, 14, 15, 15, 15, 15, 15, 15 },[10;9H{ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 },[11;9Hspell_create_water, TAR_OBJ_INV, POS_STANDING,[12;9HNULL, WWSLOT(13), 5, 12,[13;9H"", "!Create Water!", ""[14;5H},[16;5H{[17;9H"cure blindness",[18;9H{ 53, 6, 53, 8, 20, 15, 15, 15, 15, 15, 15 },[19;9H{ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 },[20;9Hspell_cure_blindness, TAR_CHAR_DEFENSIVE, POS_FIGHTING,[21;9HNULL, SLOT(14), 5, 12,[12;1H[13;1H[14;1H[15;1H[16;1H[17;1H[18;1H[19;1H[20;1H[21;1H[3;9H"", "!Create Water!", "" [4;5H},[K[5;5H [6;5H{[7;5H "cure blindness",[8;9H{ 53, 6, 53, 8, 20, 15, 15, 15, 15, 15, 15 },[9;11H1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 },[K[10;9Hspell_cure_blindness, TAR_CHAR_DEFENSIVE, POS_FIGHTING,[11;9HNULL, SLOT(14), 5, 12,[K[12;9H"", "!Cure Blindness!", "" [13;5H},[K[14;5H [15;5H{[16;5H "cure critical",[17;9H{ 53, 13, 53, 19, 13, 15, 15, 15, 15, 15, 15 },[18;11H1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 },[K[19;9Hspell_cure_critical, TAR_CHAR_DEFENSIVE, POS_FIGHTING,[20;9HNULL, SLOT(15), 20, 12,[K[21;9H"", "!Cure Critical!", "" [12;1H[11;1H[10;1H[9;1H[8;1H[7;1H[6;1H[5;1H[4;1H[3;1H[3;9HNULL, SLOT(80), 20, 12,[4;5H "", "!Create Spring!", ""[5;5H},[6;5H [7;5H{[K[8;9H"create water",[K[9;11H8, 3, 12, 11, 14, 15, 15, 15, 15, 15, 15 },[10;9H{ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 },[K[11;9Hspell_create_water, TAR_OBJ_INV, POS_STANDING,[12;9HNULL, WWSLOT(13), 5, 12,[13;5H "", "!Create Water!", ""[14;5H},[15;5H [16;5H{[K[17;9H"cure blindness",[K[18;11H53, 6, 53, 8, 20, 15, 15, 15, 15, 15, 15 },[19;9H{ 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2 },[K[20;9Hspell_cure_blindness, TAR_CHAR_DEFENSIVE, POS_FIGHTING,[21;9HNULL, SLOT(14), 5, 12,[12;1H[11;1H[10;1H[11;1H[11;9H[11;10H[22;1H[K[11;11H[11;12H[11;13H[11;14H[11;15H[11;16H[11;17H[11;18H[11;19H[11;20H[11;21H[11;22H[11;23H[11;24H[11;25H[11;26H[11;27H[11;28H[11;33H[11;34H[11;35H[12;35H[12;36H[12;35H[1;70H[7mModified[m[12;34HSLOT(13), [12;34H[12;33HSLOT(13), [12;33H[23;1H [7mY[m Yes [K[24;2H[7mC[m Cancel [7mN[m No [K[22;1H[K[7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ? [22;62H[m[7mYes[m[22;1H[K[7mFile Name to write : [22;22H[m[7mconst.c[m[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mT[m To Files [K[24;14H[7mT[m[7mA[m[7mB[m Complete [K[7m[22;29H[m[22;1H[K[22;34H[7m[ Writing... ][m[22;1H[K[22;31H[7m[ Wrote 3069 lines ][m[23;1H[K[24;1H[K[circle@bishop src]$ make gcc -c -Wall -O -g const.c gcc -c -Wall -O -g db.c gcc -c -Wall -O -g db2.c gcc -c -Wall -O -g effects.c gcc -c -Wall -O -g fight.c gcc -c -Wall -O -g flags.c gcc -c -Wall -O -g handler.c gcc -c -Wall -O -g healer.c gcc -c -Wall -O -g interp.c gcc -c -Wall -O -g note.c gcc -c -Wall -O -g lookup.c gcc -c -Wall -O -g magic.c gcc -c -Wall -O -g magic2.c gcc -c -Wall -O -g music.c gcc -c -Wall -O -g recycle.c gcc -c -Wall -O -g save.c gcc -c -Wall -O -g scan.c gcc -c -Wall -O -g skills.c gcc -c -Wall -O -g special.c gcc -c -Wall -O -g tables.c gcc -c -Wall -O -g update.c rm -f rom gcc -O -g -o rom act_comm.o act_enter.o act_info.o act_move.o act_obj.o act_wiz.o alias.o ban.o comm.o const.o db.o db2.o effects.o fight.o flags.o handler.o healer.o interp.o note.o lookup.o magic.o magic2.o music.o recycle.o save.o scan.o skills.o special.o tables.o update.o [circle@bishop src]$ telnet localhost 9000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. / \ _ ) (( )) ( (@) /|\ ))_(( /|\ _ |-|`\ / | \ (/\|/\) / | \ (@) | | ---------------------/--|-voV---\`|'/--Vov-|--\---------------------|-| |-| '^` (o o) '^` |-| | | `\Y/' | | |-| |-| | | Welcome to The Realms of Chaos | | |-| |-| | | | | |-| |-| | | | | |-| A ROM2.4 Based Code, Thanks To Furry, Hatchet, Kahn, Diku, Merc. |-| | |_____________________________________________________________________| | (@) l /\ / ( ( \ /\ l `\|-| l / V \ \ V \ l (@) l/ _) )_ \l `\ /' ` No stupid Names, You will get deleted, this means nothing from a book or movie, nothing cheese like morningstar, nothing that could be considered profane or vulgar. Its quuite easy, just make something up! No MULTIcharing, if you are caught all your characters will be deleted & your site possibly banned. Remember roleplaying is of utmost importance. Keep yourself in character. What is your name ->grehyton Password: Welcome Immortal! You are responsible for following the laws of immortal behavior. These can be found by typing 'help laws' or 'help commandments'. * Excessive loading is not allowed, and is grounds for deletion. * Asking for promotion is grounds for instant deletion. * Type 'help jobs' to get some idea of what you should be doing. [[0;37mHit Return to continue[0m] * You are responsible for knowing the rules (type 'rules'). Ignorance of the rules is no excuse. * Important commands: help, commands, news, notes * Use the delete command to erase unwanted characters [[0;37mHit Return to continue[0m] wh^H^H Welcome to Realm of Chaos. A valley in the dark dwarf forest [Room 5267] You are in a valley in the dark dwarf forest. Short black grass grows around you. Trails lead in all directions. [[0;37mExits[0;34m:[0m north east south up] You have no unread notes. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [[0;37m59 Dwarf CRE[0m] [[0;37m CULT[0m ] Chardros the Reaper [[0;37m 1 Human Rog[0m] Lovebug the Pilferer [0;33mPlayers found[0m: 3 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m transfer lo [0;35mChardros gossips 'I'm saying that the intro screen clearly states'[0m [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m vebug 5267 Lovebug arrives from a puff of smoke. Ok. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m purge lovebug [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 6 0] Grehyton@localhost [ 7 0] Chardros@131.247.11.59 2 users [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m [0;35mChardros gossips 'No stupid names...no contrived names'[0m [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m ban suntan suntan has been banned. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m [0;35mChardros gossips 'I classify lovebug as both'[0m [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m ban sunbur flash sunflash has been banned. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m [0;35mChardros gossips 'No offence'[0m [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m quit Alas, all good things must come to an end. Connection closed by foreign host. [circle@bishop src]$ exit cd .. [circle@bishop Rom24]$ cd player [circle@bishop player]$ ls Aeil Demosthenes Goragorozzo Nep Synkaryon Vinog Alsaadi Devabadriel Grehyton Nimenon Takenya Waylander Bastian Drako Hexxen Ravana Tenelon Xonyx Baxter Drek Kashcackle Rhyder Terth Boromir Drykkar Mabelrode Salamadriel Thrasher Chardros Frezuk Maxim Shmitten Thrikalkan Cissalraps Galamadriel Mustobar Skiles Tilon Davewun Garmack Naylor Srader Valerian [circle@bishop player]$ telnet localhost 9000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. / \ _ ) (( )) ( (@) /|\ ))_(( /|\ _ |-|`\ / | \ (/\|/\) / | \ (@) | | ---------------------/--|-voV---\`|'/--Vov-|--\---------------------|-| |-| '^` (o o) '^` |-| | | `\Y/' | | |-| |-| | | Welcome to The Realms of Chaos | | |-| |-| | | | | |-| |-| | | | | |-| A ROM2.4 Based Code, Thanks To Furry, Hatchet, Kahn, Diku, Merc. |-| | |_____________________________________________________________________| | (@) l /\ / ( ( \ /\ l `\|-| l / V \ \ V \ l (@) l/ _) )_ \l `\ /' ` No stupid Names, You will get deleted, this means nothing from a book or movie, nothing cheese like morningstar, nothing that could be considered profane or vulgar. Its quuite easy, just make something up! No MULTIcharing, if you are caught all your characters will be deleted & your site possibly banned. Remember roleplaying is of utmost importance. Keep yourself in character. What is your name ->gerhy rehyton lPassword: Welcome Immortal! You are responsible for following the laws of immortal behavior. These can be found by typing 'help laws' or 'help commandments'. * Excessive loading is not allowed, and is grounds for deletion. * Asking for promotion is grounds for instant deletion. * Type 'help jobs' to get some idea of what you should be doing. [[0;37mHit Return to continue[0m] * You are responsible for knowing the rules (type 'rules'). Ignorance of the rules is no excuse. * Important commands: help, commands, news, notes * Use the delete command to erase unwanted characters [[0;37mHit Return to continue[0m] Welcome to Realm of Chaos. A valley in the dark dwarf forest [Room 5267] You are in a valley in the dark dwarf forest. Short black grass grows around you. Trails lead in all directions. [[0;37mExits[0;34m:[0m north east south up] You have no unread notes. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m unban suntan Huh? [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m wizhep^H lp at goto guild sockets wizhelp noloot advance trust violate allow ban deny disconnect flag freeze permban protect reboot set shutdown wizlock force load newlock nochannels noemote noshout notell pecho pardon purge restore slay teleport transfer poofin poofout gecho holylight incognito log memory mwhere owhere peace penalty echo return snoop stat string switch wizinvis vnum zecho clone wiznet immtalk imotd smote prefix [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m allow suntan Ban on suntan lifted. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m allow sunflash Ban on sunflash lifted. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m sockets [ 5 0] Grehyton@localhost 1 user [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m wiz at goto guild sockets wizhelp noloot advance trust violate allow ban deny disconnect flag freeze permban protect reboot set shutdown wizlock force load newlock nochannels noemote noshout notell pecho pardon purge restore slay teleport transfer poofin poofout gecho holylight incognito log memory mwhere owhere peace penalty echo return snoop stat string switch wizinvis vnum zecho clone wiznet immtalk imotd smote prefix [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m reboot Connection closed by foreign host. [circle@bishop player]$ telnet localhost 9000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. / \ _ ) (( )) ( (@) /|\ ))_(( /|\ _ |-|`\ / | \ (/\|/\) / | \ (@) | | ---------------------/--|-voV---\`|'/--Vov-|--\---------------------|-| |-| '^` (o o) '^` |-| | | `\Y/' | | |-| |-| | | Welcome to The Realms of Chaos | | |-| |-| | | | | |-| |-| | | | | |-| A ROM2.4 Based Code, Thanks To Furry, Hatchet, Kahn, Diku, Merc. |-| | |_____________________________________________________________________| | (@) l /\ / ( ( \ /\ l `\|-| l / V \ \ V \ l (@) l/ _) )_ \l `\ /' ` No stupid Names, You will get deleted, this means nothing from a book or movie, nothing cheese like morningstar, nothing that could be considered profane or vulgar. Its quuite easy, just make something up! No MULTIcharing, if you are caught all your characters will be deleted & your site possibly banned. Remember roleplaying is of utmost importance. Keep yourself in character. What is your name ->grehyton Password: Welcome Immortal! You are responsible for following the laws of immortal behavior. These can be found by typing 'help laws' or 'help commandments'. * Excessive loading is not allowed, and is grounds for deletion. * Asking for promotion is grounds for instant deletion. * Type 'help jobs' to get some idea of what you should be doing. [[0;37mHit Return to continue[0m] * You are responsible for knowing the rules (type 'rules'). Ignorance of the rules is no excuse. * Important commands: help, commands, news, notes * Use the delete command to erase unwanted characters [[0;37mHit Return to continue[0m] Welcome to Realm of Chaos. A valley in the dark dwarf forest [Room 5267] You are in a valley in the dark dwarf forest. Short black grass grows around you. Trails lead in all directions. [[0;37mExits[0;34m:[0m north east south up] ([0;37mHide[0m) ([0;31mRed Aura[0m) The drow scout is here sneaking among the shadows. You have no unread notes. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m who -l That's not a valid race, class, or clan. [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m up The darker dwarf forest [Room 5266] You see a more dense foliage in these stunted trees. The gloom caused by them is enhanced by a draft coming from all around. The trail leads down into a valley and west. [[0;37mExits[0;34m:[0m west down] [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m457mv[0;33m-[0m w The darker dwarf forest [Room 5265] You see a more dense foliage in these stunted trees. The gloom caused by them is enhanced by a draft coming from all around. The trail leads east and west. [[0;37mExits[0;34m:[0m east west] [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m454mv[0;33m-[0m w The darker dwarf forest [Room 5264] You see a more dense foliage in these stunted trees. The gloom caused by them is enhanced by a draft coming from all around. The trail turns east from the north. [[0;37mExits[0;34m:[0m north east] [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m451mv[0;33m-[0m w n The darker dwarf forest [Room 5263] You see a more dense foliage in these stunted trees. The gloom caused by them is enhanced by a draft coming from all around. The trail turns south from the west. [[0;37mExits[0;34m:[0m south west] [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m448mv[0;33m-[0m who [[0;37m60 Human IMP[0m] ([0;37mWizi[0m) [[0;37m ORDER[0m ] Grehyton the stealer of magic. [0;33mPlayers found[0m: 1 [0;33m-[0;34m772hp[0;33m-[0;34m709m[0;33m-[0;34m460mv[0;33m-[0m quit Alas, all good things must come to an end. Connection closed by foreign host. [circle@bishop player]$ ls Aeil Demosthenes Goragorozzo Nep Synkaryon Vinog Alsaadi Devabadriel Grehyton Nimenon Takenya Waylander Bastian Drako Hexxen Ravana Tenelon Xonyx Baxter Drek Kashcackle Rhyder Terth Boromir Drykkar Mabelrode Salamadriel Thrasher Chardros Frezuk Maxim Shmitten Thrikalkan Cissalraps Galamadriel Mustobar Skiles Tilon Davewun Garmack Naylor Srader Valerian [circle@bishop player]$ cd .. [circle@bishop Rom24]$ cd area [circle@bishop area]$ ls air.are dream.are help.are music.txt school.are arachnos.are drow.are hitower.are newthalos.are sewer.are area.lst dwarven.are hood.are nirvana.are shire.are astral.are dylan.are immort.are notes.not smurf.are bazaar.are east.are limbo.are ofcol.are social.are bugs.txt eastern.are mahntor.are ofcol2.are startup canyon.are galaxy.are marsh.are olympus.are thalos.are catacomb.are gnome.are mega1.are order.are tohell.are chapel.are grave.are midennir.are plains.are town.are core group.are midgaard.are pyramid.are trollden.are dearth.are grove.are mirror.are quifael.are valley.are deliv.are gtown.are mobfact.are redferne.are wyvern.are draconia.are haon.are moria.are rom.are [circle@bishop area]$ pine [1;24r[H[J[1;1H[7m PINE 3.95 MAIN MENU Folder: (CLOSED) 0 Messages [2;1H[m[K[3;1H[K[4;1H[K[5;1H[K[6;1H[K[7;1H[K[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[2;1H[4;10H ? HELP - Get help using Pine [5;10H [6;10H C COMPOSE MESSAGE - Compose and send a message [7;10H [8;10H I FOLDER INDEX - View messages in current folder [9;10H [7m[10;10H L FOLDER LIST - Select a folder to view [m[11;10H [12;10H A ADDRESS BOOK - Update address book [13;10H [14;10H S SETUP - Configure or update Pine [15;10H [16;10H Q QUIT - Exit the Pine program [21;4HCopyright 1989-1996. PINE is a trademark of the University of Washington.[23;1H[K[24;1H[K[A[7m?[m Help [7mP[m PrevCmd [7mR[m RelNotes [24;1H[7mO[m OTHER CMDS [7mL[m [ListFldrs] [7mN[m NextCmd [7mK[m KBLock [22;1H[K[7m[22;30H[Opening "INBOX" ][m[22;1H[7m[1;12H MAIN MENU Folder: INBOX 0 Messages [2;1H[m[22;1H[K[7m[22;21H[Folder "INBOX" opened with 0 messages][m[22;1H[7m[8;10H I FOLDER INDEX - View messages in current folder [m[10;10H L FOLDER LIST - Select a folder to view [24;14H[7mI[m [Index] [22;1H[K[7m[1;12H FOLDER INDEX Folder: INBOX Message 0 of 0 [2;1H[m[3;1H[K[4;1H[K[5;1H[K[6;1H[K[7;1H[K[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[23;14H[7mM[m Main Menu [7mP[m PrevMsg [7m-[m PrevPage [7mD[m Delete [7mR[m Reply [24;1H[24;14H[7mV[m [ViewMsg] [7mN[m NextMsg [7mSpc[m NextPage [7mU[m Undelete [7mF[m Forward [22;1H[7m[1;12H MAIN MENU Folder: INBOX 0 Messages [2;1H[m[K[3;1H[K[4;1H[K[5;1H[K[6;1H[K[7;1H[K[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[2;1H[4;10H ? HELP - Get help using Pine [5;10H [6;10H C COMPOSE MESSAGE - Compose and send a message [7;10H [8;10H I FOLDER INDEX - View messages in current folder [9;10H [7m[10;10H L FOLDER LIST - Select a folder to view [m[11;10H [12;10H A ADDRESS BOOK - Update address book [13;10H [14;10H S SETUP - Configure or update Pine [15;10H [16;10H Q QUIT - Exit the Pine program [21;4HCopyright 1989-1996. PINE is a trademark of the University of Washington.[23;1H[7m?[m Help [7mP[m PrevCmd [7mR[m RelNotes [24;1H[24;14H[7mL[m [ListFldrs] [7mN[m NextCmd [7mK[m KBLock [22;1H[7m[8;10H I FOLDER INDEX - View messages in current folder [m[10;10H L FOLDER LIST - Select a folder to view [24;14H[7mI[m [Index] [22;1H[7m[6;10H C COMPOSE MESSAGE - Compose and send a message [m[8;10H I FOLDER INDEX - View messages in current folder [24;14H[7mC[m [Compose] [22;1H[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mX[m Send [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mO[m Postpone [K[24;1H[7m^[m[7mC[m Cancel [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[1;1H[7m PINE 3.95 COMPOSE MESSAGE Folder: INBOX 0 Messages [m[2;1H[K[3;1H[K[4;1H[K[5;1H[K[6;1H[K[7;1H[K[3;1HTo : [4;1HCc : [5;1HAttchmnt: [6;1HSubject : [7;1H[7m----- Message Text -----[m[K[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[22;1H[K[23;1H[K[24;1H[K[22;1H[K[8;1H[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mX[m Send [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mO[m Postpone [K[24;1H[7m^[m[7mC[m Cancel [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[8;1H[7;1H----- Message Text -----[K[3;1H[7mTo :[m [23;31Hich Hdr [7m^[m[7mY[m PrvPg/Top [7m^[m[7mK[m Cut Line [7m^[m[7mO[m Postpone [K[24;15H[7mD[m Del Char [7m^[m[7mJ[m Attach [7m^[m[7mV[m NxtPg/End [7m^[m[7mU[m UnDel Line[7m^[m[7mT[m To AddrBk [K[3;11H[3;11Hc[Ke[Kl[Ke[Kr[K[3;1HTo : [22;1H[K[4;1H[7mCc :[m [3;11Hunknown <celer@bishop.lug.usf.edu>[8;1H[4;11H[4;1HCc : [5;1H[7mAttchmnt:[m [24;72HFiles [K[5;11H[5;1HAttchmnt: [6;1H[7mSubject :[m [24;66H [K[6;11HD[Ko[Kg[KG[Ko[Kd[KG[Ko[Kd[K[6;19H[K[K[6;18H[K[K[6;17H[K[Kd[Ko[KG[K [KF[K[6;21H[K[KP[Kh[Kc[Kk[Ke[KR[K[8;1H[6;1HSubject : [7;1H[7m----- Message Text -----[m[K[8;1H[23;31Head File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mO[m Postpone [K[24;15H[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[8;1H[9;1HHey[9;5Hmunchkin[9;14Hman.[10;1H[11;1HDOnUT![12;1H[11;1H[10;1H[9;1H[8;1H[7;1H----- Message Text -----[K[6;1H[7mSubject :[m [23;31Hich Hdr [7m^[m[7mY[m PrvPg/Top [7m^[m[7mK[m Cut Line [7m^[m[7mO[m Postpone [K[24;15H[7mD[m Del Char [7m^[m[7mJ[m Attach [7m^[m[7mV[m NxtPg/End [7m^[m[7mU[m UnDel Line [K[6;11H[6;1HSubject : [5;1H[7mAttchmnt:[m [24;66H[7m^[m[7mT[m To Files [K[5;11Hc[Ko[Km[Km[K.[Kc[K[5;1HAttchmnt: [22;1H[K[22;20H[7m[ File "/home/circle/comm.c" not found ][m[6;1H[7mSubject :[m [5;11H1. comm.c[8;1H[24;66H [K[6;11H[6;1HSubject : [5;1H[7mAttchmnt:[m [24;66H[7m^[m[7mT[m To Files [K[5;11H[22;1H[K[22;24H[7m[ Can't edit attachment number! ][m[5;11H[22;1H[K[22;24H[7m[ Can't edit attachment number! ][m[5;11H[22;1H[K[22;24H[7m[ Can't edit attachment number! ][m[5;11H[5;1HAttchmnt: [22;1H[K[22;20H[7m[ File "/home/circle/comm.c" not found ][m[4;1H[7mCc :[m [24;72HAddrBk [K[4;11H[4;1HCc : [5;1H[7mAttchmnt:[m [24;72HFiles [K[5;11H[5;1HAttchmnt: [22;1H[K[22;20H[7m[ File "/home/circle/comm.c" not found ][m[6;1H[7mSubject :[m [8;1H[24;66H [K[6;11H[6;1HSubject : [5;1H[7mAttchmnt:[m [24;66H[7m^[m[7mT[m To Files [K[5;11H[5;1HAttchmnt: [22;1H[K[22;20H[7m[ File "/home/circle/comm.c" not found ][m[4;1H[7mCc :[m [24;72HAddrBk [K[4;11H[4;1HCc : [5;1H[7mAttchmnt:[m [24;72HFiles [K[5;11H[K[8;1H[5;11H/[Kh[Ko[Km[Ke[K/[Kc[Ki[Kr[Kc[Kl[Ke[K/[KR[Ko[Km[K2[K4[K/[Ks[Kr[Kc[K/[Kc[Ko[Km[Km[K.[Kc[K[5;1HAttchmnt: [22;1H[K[22;1H[K[7m[22;9H[File /home/circle/Rom24/src/comm.c attached as type TEXT/PLAIN][m[22;1H[6;1H[7mSubject :[m [5;11H1. /home/circle/Rom24/src/comm.c (66 KB) ""[8;1H[24;66H [K[6;11H[22;1H[K[7mSend message? [23;1H[22;15H[m [K[24;1H[K[A [7mY[m [Yes] [24;1H[7m^C[m Cancel [7mN[m No [7m[22;15HYes[m[23;1H[K[24;1H[K[22;1H[K[7m[22;27H[Sending mail | |][m[22;1H[7m[22;47H0%[m[22;1H[7m[22;42H--->47[m[22;1H[K[7m[22;28H[Sending mail | 100% |][m[22;1H[K[7m[22;32H[Writing Fcc ][m[22;1H[7m[1;1H PINE 3.95 MAIN MENU Folder: INBOX 0 Messages [2;1H[m[K[3;1H[K[4;1H[K[5;1H[K[6;1H[K[7;1H[K[8;1H[K[9;1H[K[10;1H[K[11;1H[K[12;1H[K[13;1H[K[14;1H[K[15;1H[K[16;1H[K[17;1H[K[18;1H[K[19;1H[K[20;1H[K[21;1H[K[2;1H[4;10H ? HELP - Get help using Pine [5;10H [6;10H C COMPOSE MESSAGE - Compose and send a message [7;10H [8;10H I FOLDER INDEX - View messages in current folder [9;10H [7m[10;10H L FOLDER LIST - Select a folder to view [m[11;10H [12;10H A ADDRESS BOOK - Update address book [13;10H [14;10H S SETUP - Configure or update Pine [15;10H [16;10H Q QUIT - Exit the Pine program [21;4HCopyright 1989-1996. PINE is a trademark of the University of Washington.[23;1H[K[24;1H[K[A[7m?[m Help [7mP[m PrevCmd [7mR[m RelNotes [24;1H[7mO[m OTHER CMDS [7mL[m [ListFldrs] [7mN[m NextCmd [7mK[m KBLock [22;1H[K[7m[22;20H[Message sent and copied to "sent-mail".][m[22;1H[K[7mReally quit pine? [23;1H[22;19H[m [7mY[m [Yes] [23;28H [7mN[m No [7m[22;19HYes[m[22;1H[K[7m[22;31H[Closing "INBOX"...][m[22;1H[23;1H[K[24;1H[K[APine finished -- Closed empty folder "INBOX" [circle@bishop area]$ ls air.are dream.are help.are music.txt school.are arachnos.are drow.are hitower.are newthalos.are sewer.are area.lst dwarven.are hood.are nirvana.are shire.are astral.are dylan.are immort.are notes.not smurf.are bazaar.are east.are limbo.are ofcol.are social.are bugs.txt eastern.are mahntor.are ofcol2.are startup canyon.are galaxy.are marsh.are olympus.are thalos.are catacomb.are gnome.are mega1.are order.are tohell.are chapel.are grave.are midennir.are plains.are town.are core group.are midgaard.are pyramid.are trollden.are dearth.are grove.are mirror.are quifael.are valley.are deliv.are gtown.are mobfact.are redferne.are wyvern.are draconia.are haon.are moria.are rom.are [circle@bishop area]$ pico com cd .. [circle@bishop Rom24]$ cd comm.c bash: comm.c: No such file or directory [circle@bishop Rom24]$ pico cd src [circle@bishop src]$ pico comm.c [1;1H[H[J[7m UW PICO(tm) 2.9 New Buffer [m[23;1H[K[24;1H[K[23;1H[7m^[m[7mG[m Get Help [7m^[m[7mO[m WriteOut [7m^[m[7mR[m Read File [7m^[m[7mY[m Prev Pg [7m^[m[7mK[m Cut Text [7m^[m[7mC[m Cur Pos [K[24;1H[7m^[m[7mX[m Exit [7m^[m[7mJ[m Justify [7m^[m[7mW[m Where is [7m^[m[7mV[m Next Pg [7m^[m[7mU[m UnCut Text[7m^[m[7mT[m To Spell [K[3;1H[22;1H[K[22;33H[7m[ Reading file ][m[22;1H[K[22;31H[7m[ Read 2805 lines ][m[1;35H[7m File: comm.c[m[3;1H/***************************************************************************[4;2H* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *[5;2H* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *[6;2H* *[7;2H* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *[8;2H* Chastain, Michael Quan, and Mitchell Tse. *[9;2H* *[10;2H* In order to use any part of this Merc Diku Mud, you must comply with *[11;2H* both the original Diku license in 'license.doc' as well the Merc *[12;2H* license in 'license.txt'. In particular, you may not remove either of *[13;2H* these copyright notices. *[14;2H* *[15;2H* Thanks to abaddon for proof-reading our comm.c and pointing out bugs. *[16;2H* Any remaining bugs are, of course, our work, not his. :) *[17;2H* *[18;2H* Much time and thought has gone into this software and you are *[19;2H* benefitting. We hope that you share your changes too. What goes *[20;2H* around, comes around. *[21;2H***************************************************************************/[3;1H * around, comes around. [4;3H**************************************************************************/[5;2H[K[6;1H/**************************************************************************[7;1H* ROM 2.4 is copyright 1993-1996 Russ Taylor [8;1H* ROM has been brought to you by the ROM consortium[9;1H* Russ Taylor (rtaylor@efn.org)[10;1H* Gabrielle Taylor [11;1H* Brian Moore (zump@rom.org) [12;1H* By using this code, you have agreed to follow the terms of the [13;1H* ROM license, in the file Rom24/doc/rom.license[14;1H***************************************************************************/[15;2H[K[16;1H/*[K[17;4HThis file contains all of the OS-dependent stuff:[K[18;5H startup, signals, BSD sockets for tcp/ip, i/o, timing.[K[19;5H[K[20;4HThe data flow for input is:[K[21;3H Game_loop ---> Read_from_descriptor ---> Read[K[3;1H[3;4HThe data flow for input is:[K[4;3H Game_loop ---> Read_from_descriptor ---> Read[K[5;2H* Game_loop ---> Read_from_buffer[6;1H *[K[7;1H * The data flow for output is:[K[8;1H * Game_loop ---> Process_Output ---> Write_to_descriptor -> Write[K[9;1H *[K[10;1H * The OS-dependent functions are Read_from_descriptor and Write_to_descriptor.[11;1H * -- Furey 26 Jan 1993[K[12;1H */[K[13;1H[K[14;1H#if defined(macintosh)[K[15;1H#include <types.h>[16;1H#else[17;1H#include <sys/types.h>[K[18;1H#include <sys/time.h>[K[19;1H#endif[20;2H[K[21;1H#include <ctype.h>[K[3;1H[3;2H[K[4;1H#include <ctype.h>[K[5;1H#include <errno.h>[K[6;1H#include <stdio.h>[7;1H#include <string.h>[K[8;1H#include <stdlib.h>[K[9;1H#include <time.h>[10;2H[K[11;1H#include "merc.h"[K[12;1H#include "recycle.h"[14;1H/* command procedures needed */[15;1HDECLARE_DO_FUN(do_help );[16;1HDECLARE_DO_FUN(do_look );[17;1HDECLARE_DO_FUN(do_skills );[18;1HDECLARE_DO_FUN(do_outfit );[19;1HDECLARE_DO_FUN(do_unread );[21;1H[K[3;1H[4;1H[K[5;1H/*[K[6;1H * Malloc debugging stuff.[7;1H */[K[8;3Hf defined(sun) [9;2Hundef MALLOC_DEBUG[10;1H#endif[11;1H[K[12;3Hf defined(MALLOC_DEBUG)[13;1H#include <malloc.h>[14;1Hextern int malloc_debug args( ( int ) );[15;1Hextern int malloc_verify args( ( void ) );[16;1H#endif[K[17;1H[K[18;1H[K[19;1H[K[20;1H/*[21;2H* Signal handling.[3;1H/*[4;2H* Signal handling.[5;1H * Apollo has a problem with __attribute(atomic) in signal.h,[6;4H I dance around it. [8;13Hapollo)[9;2Hdefine __attribute(x)[12;13Hunix)[K[13;11Hsignal[14;1H#endif[K[15;1H[K[16;2Hif defined(apollo)[17;1H#undef __attribute[18;1H#endif[20;1H [21;2H[K[3;1H [4;2H[K[5;1H/*[K[6;4HSocket and TCP/IP stuff.[8;5H defined(macintosh) || defined(MSDOS)[9;1Hconst char echo_off_str [] = { '\0' };[10;1Hconst char echo_on_str [] = { '\0' };[11;1Hconst char go_ahead_str [] = { '\0' };[12;2Hendif[K[13;1H[K[14;2Hif defined(unix)[15;1H#include <fcntl.h>[16;3Hnclude <netdb.h> [17;2Hinclude <netinet/in.h>[18;2Hinclude <sys/socket.h>[19;1H#include "telnet.h"[20;1Hconst char echo_off_str [] = { IAC, WILL, TELOPT_ECHO, '\0' };[21;1Hconst char echo_on_str [] = { IAC, WONT, TELOPT_ECHO, '\0' };[3;1Hconst char echo_off_str [] = { IAC, WILL, TELOPT_ECHO, '\0' };[4;1Hconst char echo_on_str [] = { IAC, WONT, TELOPT_ECHO, '\0' };[5;1Hconst char go_ahead_str [] = { IAC, GA, '\0' };[6;1H#endif[K[7;2H [8;1H[K[9;1H[K[10;1H/*[K[11;1H * OS-dependent declarations.[K[12;1H */ [13;1H#if defined(_AIX)[14;3Hnclude <sys/select.h>[15;1Hint accept args( ( int s, struct sockaddr *addr, int *addrlen ) );[16;1Hint bind args( ( int s, struct sockaddr *name, int namelen ) );[17;1Hvoid bzero args( ( char *b, int length ) );[18;1Hint getpeername args( ( int s, struct sockaddr *name, int *namelen ) );[19;1Hint getsockname args( ( int s, struct sockaddr *name, int *namelen ) );[20;1Hint gettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[21;1Hint listen args( ( int s, int backlog ) );[K[3;1Hint gettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[4;1Hint listen args( ( int s, int backlog ) );[K[5;1Hint setsockopt args( ( int s, int level, int optname, void *optval,[6;1H int optlen ) );[7;1Hint socket args( ( int domain, int type, int protocol ) );[8;1H#endif[10;1H#if defined(apollo)[11;1H#include <unistd.h>[K[12;1Hvoid bzero args( ( char *b, int length ) );[13;2Hendif[K[14;1H[K[15;1H#if defined(__hpux)[K[16;9Haccept args( ( int s, void *addr, int *addrlen ) );[K[17;1Hint bind args( ( int s, const void *addr, int addrlen ) );[18;1Hvoid bzero args( ( char *b, int length ) );[K[19;12Hpeername args( ( int s, void *addr, int *addrlen ) );[K[20;12Hsockname args( ( int s, void *name, int *addrlen ) );[K[21;9Hgettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[3;1H[3;12Hsockname args( ( int s, void *name, int *addrlen ) );[K[4;9Hgettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[5;9Hlisten args( ( int s, int backlog ) );[K[6;1Hint setsockopt args( ( int s, int level, int optname,[7;1H const void *optval, int optlen ) );[K[8;1Hint socket args( ( int domain, int type, int protocol ) );[9;1H#endif[10;1H[K[11;3Hf defined(interactive)[12;1H#include <net/errno.h>[K[13;2Hinclude <sys/fnctl.h>[14;1H#endif[15;1H[K[16;1H#if defined(linux)[K[17;1H/*[K[18;1H Linux shouldn't need these. If you have a problem compiling, try[19;1H uncommenting accept and bind.[K[20;9Haccept args( ( int s, struct sockaddr *addr, int *addrlen ) );[21;9Hbind args( ( int s, struct sockaddr *name, int namelen ) );[3;1H[3;9Haccept args( ( int s, struct sockaddr *addr, int *addrlen ) );[4;9Hbind args( ( int s, struct sockaddr *name, int namelen ) );[5;1H*/[K[6;1H[K[7;1Hint close args( ( int fd ) );[K[8;9Hgetpeername args( ( int s, struct sockaddr *name, int *namelen ) );[9;1Hint getsockname args( ( int s, struct sockaddr *name, int *namelen ) );[10;1Hint gettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[11;1Hint listen args( ( int s, int backlog ) );[12;1Hint read args( ( int fd, char *buf, int nbyte ) );[13;1Hint select args( ( int width, fd_set *readfds, fd_set *writefds,[14;1H fd_set *exceptfds, struct timeval *timeout ) );[15;1Hint socket args( ( int domain, int type, int protocol ) );[16;1Hint write args( ( int fd, char *buf, int nbyte ) );[17;1H#endif[18;5H[K[19;1H#if defined(macintosh)[K[20;1H#include <console.h>[K[21;1H#include <fcntl.h>[K[3;1H#include <console.h>[K[4;1H#include <fcntl.h>[K[5;1H#include <unix.h>[6;1Hstruct timeval[7;1H{[K[8;1H time_t tv_sec;[K[9;1H time_t tv_usec;[K[10;1H};[K[11;1H#if !defined(isascii)[K[12;1H#define isascii(c) ( (c) < 0200 )[K[13;1H#endif[K[14;1Hstatic long theKeys [4];[K[15;1H[K[16;9Hgettimeofday args( ( struct timeval *tp, void *tzp ) );[19;17HMIPS_OS) [20;1Hextern int errno;[21;2Hendif[K[3;1Hextern int errno;[4;2Hendif[K[5;1H[K[6;1H#if defined(MSDOS)[7;1Hint gettimeofday args( ( struct timeval *tp, void *tzp ) );[8;1Hint kbhit args( ( void ) );[9;1H#endif[K[10;1H [11;9Hdefined(NeXT)[K[12;1Hint close args( ( int fd ) ); [13;1Hint fcntl args( ( int fd, int cmd, int arg ) );[14;1H#if !defined(htons)[K[15;1Hu_short htons args( ( u_short hostshort ) );[16;1H#endif[K[17;2Hif !defined(ntohl)[18;1Hu_long ntohl args( ( u_long hostlong ) );[19;2Hendif[K[20;1Hint read args( ( int fd, char *buf, int nbyte ) );[21;1Hint select args( ( int width, fd_set *readfds, fd_set *writefds,[3;1Hint read args( ( int fd, char *buf, int nbyte ) );[4;1Hint select args( ( int width, fd_set *readfds, fd_set *writefds,[5;29Hfd_set *exceptfds, struct timeval *timeout ) );[6;1Hint write args( ( int fd, char *buf, int nbyte ) );[7;1H#endif[K[8;1H[K[9;2Hif defined(sequent)[10;1Hint accept args( ( int s, struct sockaddr *addr, int *addrlen ) );[11;1Hint bind args( ( int s, struct sockaddr *name, int namelen ) );[14;1Hint getpeername args( ( int s, struct sockaddr *name, int *namelen ) );[15;1Hint getsockname args( ( int s, struct sockaddr *name, int *namelen ) );[16;1Hint gettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[17;18Hhtons[18;3Hshort htons args( ( u_short hostshort ) );[20;9Hlisten args( ( int s, int backlog ) );[K[21;1H#if !defined(ntohl)[K[3;1H[3;9Hlisten args( ( int s, int backlog ) );[K[4;1H#if !defined(ntohl)[K[5;1Hu_long ntohl args( ( u_long hostlong ) );[K[6;1H#endif[K[7;1Hint read args( ( int fd, char *buf, int nbyte ) );[8;1Hint select args( ( int width, fd_set *readfds, fd_set *writefds,[9;1H fd_set *exceptfds, struct timeval *timeout ) );[10;9Hsetsockopt args( ( int s, int level, int optname, caddr_t optval, [11;1H int optlen ) );[K[12;9Hsocket args( ( int domain, int type, int protocol ) );[13;9Hwrite args( ( int fd, char *buf, int nbyte ) );[14;1H#endif[K[15;1H[K[16;1H/* This includes Solaris Sys V as well */[K[17;5Hdefined(sun)[K[18;1Hint accept args( ( int s, struct sockaddr *addr, int *addrlen ) );[19;1Hint bind args( ( int s, struct sockaddr *name, int namelen ) );[20;1Hvoid bzero args( ( char *b, int length ) );[21;1Hint close args( ( int fd ) );[3;1Hvoid bzero args( ( char *b, int length ) );[4;1Hint close args( ( int fd ) );[5;1Hint getpeername args( ( int s, struct sockaddr *name, int *namelen ) );[6;1Hint getsockname args( ( int s, struct sockaddr *name, int *namelen ) );[7;9Hgettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[8;9Hlisten args( ( int s, int backlog ) );[K[9;1Hint read args( ( int fd, char *buf, int nbyte ) );[K[10;11Hlect args( ( int width, fd_set *readfds, fd_set *writefds, [11;29Hfd_set *exceptfds, struct timeval *timeout ) );[12;1H#if defined(SYSV)[K[13;5Hsetsockopt args( ( int s, int level, int optname, [14;1H const char *optval, int optlen ) );[15;1H#else[16;1Hint setsockopt args( ( int s, int level, int optname, void *optval,[17;1H int optlen ) );[18;1H#endif[K[19;9Hsocket args( ( int domain, int type, int protocol ) );[K[20;1Hint write args( ( int fd, char *buf, int nbyte ) );[21;1H#endif[K[3;1Hint write args( ( int fd, char *buf, int nbyte ) );[4;1H#endif[K[5;1H[K[6;1H#if defined(ultrix)[K[7;9Haccept args( ( int s, struct sockaddr *addr, int *addrlen ) );[8;9Hbind args( ( int s, struct sockaddr *name, int namelen ) );[9;1Hvoid bzero args( ( char *b, int length ) );[K[10;9Hclose args( ( int fd ) );[K[11;1Hint getpeername args( ( int s, struct sockaddr *name, int *namelen ) );[12;1Hint getsockname args( ( int s, struct sockaddr *name, int *namelen ) );[13;5H gettimeofday args( ( struct timeval *tp, struct timezone *tzp ) );[14;1Hint listen args( ( int s, int backlog ) );[K[15;1Hint read args( ( int fd, char *buf, int nbyte ) );[16;11Hlect args( ( int width, fd_set *readfds, fd_set *writefds,[17;29Hfd_set *exceptfds, struct timeval *timeout ) );[18;1Hint setsockopt args( ( int s, int level, int optname, void *optval,[19;1H int optlen ) );[K[20;9Hsocket args( ( int domain, int type, int protocol ) );[21;1Hint write args( ( int fd, char *buf, int nbyte ) );[3;1H[3;9Hsocket args( ( int domain, int type, int protocol ) );[4;1Hint write args( ( int fd, char *buf, int nbyte ) );[5;1H#endif[6;1H[K[7;1H[K[8;1H[K[9;1H/*[K[10;1H * Global variables.[K[11;1H */[K[12;1HDESCRIPTOR_DATA * descriptor_list; /* All open descriptors */[K[13;1HDESCRIPTOR_DATA * d_next; /* Next descriptor in loop */ [14;1HFILE * fpReserve; /* Reserved file handle */[15;1Hbool god; /* All new chars are gods! */[16;1Hbool merc_down; /* Shutdown */ [17;1Hbool wizlock; /* Game is wizlocked */ [18;1Hbool newlock; /* Game is newlocked */ [19;1Hchar str_boot_time[MAX_INPUT_LENGTH];[20;1Htime_t current_time; /* time of this pulse */[K[21;1H[K[3;1Htime_t current_time; /* time of this pulse */[K[4;1H[K[5;1H[K[7;1H/*[8;2H* OS-dependent local functions.[9;1H */[10;1H#if defined(macintosh) || defined(MSDOS)[11;1Hvoid game_loop_mac_msdos args( ( void ) );[12;1Hbool read_from_descriptor args( ( DESCRIPTOR_DATA *d ) );[K[13;1Hbool write_to_descriptor args( ( int desc, char *txt, int length ) );[14;1H#endif[K[15;1H[K[16;1H#if defined(unix)[K[17;1Hvoid game_loop_unix args( ( int control ) );[K[18;1Hint init_socket args( ( int port ) );[K[19;1Hvoid init_descriptor args( ( int control ) );[20;1Hbool read_from_descriptor args( ( DESCRIPTOR_DATA *d ) ); [21;1Hbool write_to_descriptor args( ( int desc, char *txt, int length ) );[3;1Hbool read_from_descriptor args( ( DESCRIPTOR_DATA *d ) ); [4;1Hbool write_to_descriptor args( ( int desc, char *txt, int length ) );[5;1H#endif[7;1H [8;2H[K[9;2H [10;1H/*[K[11;1H * Other local functions (OS-independent).[K[12;1H */[K[13;9Hcheck_parse_name args( ( char *name ) );[K[14;1Hbool check_reconnect args( ( DESCRIPTOR_DATA *d, char *name,[15;37Hbool fConn ) );[16;1Hbool check_playing args( ( DESCRIPTOR_DATA *d, char *name ) );[17;1Hint main args( ( int argc, char **argv ) );[18;1Hvoid nanny args( ( DESCRIPTOR_DATA *d, char *argument ) );[19;1Hbool process_output args( ( DESCRIPTOR_DATA *d, bool fPrompt ) );[20;1Hvoid read_from_buffer [21;1Hvoid stop_idling args( ( CHAR_DATA *ch ) );[K[3;1Hvoid read_from_buffer [4;1Hvoid stop_idling args( ( CHAR_DATA *ch ) );[K[5;1Hvoid bust_a_prompt args( ( CHAR_DATA *ch ) );[8;1Hint main( int argc, char **argv )[9;1H{[10;1H struct timeval now_time;[11;2H int port;[K[12;2H [13;1H#if defined(unix)[K[14;1H int control;[K[15;1H#endif[K[16;1H[K[17;1H /*[K[18;1H * Memory debugging if needed.[K[19;1H */[K[20;1H#if defined(MALLOC_DEBUG)[K[21;1H malloc_debug( 2 );[K[3;1H#if defined(MALLOC_DEBUG)[K[4;1H malloc_debug( 2 );[K[5;1H#endif[K[7;5H/*[8;1H * Init time.[K[9;1H */[10;5Hgettimeofday( &now_time, NULL );[11;5Hcurrent_time = (time_t) now_time.tv_sec;[12;5Hstrcpy( str_boot_time, ctime( ¤t_time ) );[13;1H[K[14;5H/*[K[15;1H * Macintosh console initialization.[16;6H*/[17;1H#if defined(macintosh)[18;5Hconsole_options.nrows = 31; [19;5Hcshow( stdout );[20;1H csetmode( C_RAW, stdin );[21;5Hcecho2file( "log file", 1, stderr );[3;1H csetmode( C_RAW, stdin );[4;5Hcecho2file( "log file", 1, stderr );[8;8HReserve one channel for our use.[10;5Hif ( ( fpReserve = fopen( NULL_FILE, "r" ) ) == NULL )[11;5H{[K[12;5H perror( NULL_FILE );[K[13;9Hexit( 1 );[14;5H} [15;6H[K[16;5H/* [17;1H * Get the port number.[18;5H */[K[19;5Hport = 4000;[K[20;5Hif ( argc > 1 )[K[21;5H{[K[3;1H[23;1H[K[24;1H[K[circle@bishop src]$ ld ld: no input files [circle@bishop src]$ rm *.o [circle@bishop src]$ ls Makefile fight.c merc.h.orig act_comm.c flags.c mike.c act_comm.c.orig get_char_area.c music.c act_enter.c handler.c music.h act_info.c handler.c.orig note.c act_info.c.orig healer.c oldfight.c act_move.c hunt.c patch-rom2.4-colour act_move.c.save hunt.readme recycle.c act_obj.c hunt.tar recycle.h act_wiz.c interp.c rom alias.c interp.c.orig save.c ban.c interp.h save.c.orig bugs interp.h.orig scan.c comm.c joe.c skills.c comm.c.orig joe1.c special.c const.c lookup.c tables.c db.c lookup.h tables.c.orig db.c.orig magic.c tables.h db.h magic.h telnet.h db2.c magic2.c typescript effects.c merc.h update.c [circle@bishop src]$ rm rom [circle@bishop src]$ cd .. [circle@bishop Rom24]$ cd .. [circle@bishop circle]$ ld s -Z Rom24 circle30bpl11 mail [circle@bishop circle]$ rm -Z rm: illegal option -- Z Try `rm --help' for more information. [circle@bishop circle]$ rm "-Z" rm: illegal option -- Z Try `rm --help' for more information. [circle@bishop circle]$ tar -c rm "-z" Z' " rm: illegal option -- Z Try `rm --help' for more information. [circle@bishop circle]$ mc [1;24r(B)0[24;1H[m[m [K[1;24r(B)0[?1h=[m[1;24r[H[J[22;1HHint: Tired of these messages? Turn them off from the Options/Layout menu.[1;1H[7m Left File Command Options Right [2;1H[ml[m[7m/nfsmounts/root/home/circle[mqqqqqqqqqqqkl[m/nfsmounts/root/home/circleqqqqqqqqqqqk[3;1Hx[m[1m Name [mx[m[1m Size [mx[m[1m MTime [mxx[m[1m Name [mx[m[1m Size [mx[m[1m MTime [mx[4;1Hx[m[7m/.. [m[7mx [m[7m1024[m[7mx[m[7mApr 8 22:21[mxx[m/..[14Cx[m 1024x[mApr 8 22:21x[5;1Hx[m/.xfm[12Cx[m 1024x[mDec 14 11:54xx[m/.xfm[12Cx[m 1024x[mDec 14 11:54x[6;1Hx[m/Rom24[11Cx[m 1024x[mMar 17 1996xx[m/Rom24[11Cx[m 1024x[mMar 17 1996x[7;1Hx[m/circle30bpl11 x[m 1024x[mMar 27 21:26xx[m/circle30bpl11 x[m 1024x[mMar 27 21:26x[8;1Hx[m/mail[12Cx[m 1024x[mApr 14 20:40xx[m/mail[12Cx[m 1024x[mApr 14 20:40x[9;1Hx[m -Z[14Cx[m8386560x[mApr 11 20:47xx[m -Z[14Cx[m8386560x[mApr 11 20:47x[10;1Hx[m .Xauthority[5Cx[6C[m0x[mFeb 20 16:30xx[m .Xauthority[5Cx[6C[m0x[mFeb 20 16:30x[11;1Hx[m*.Xclients[7Cx[5C[m92x[mFeb 2 06:19xx[m*.Xclients[7Cx[5C[m92x[mFeb 2 06:19x[12;1Hx[m .Xdefaults[6Cx[m 3785x[mAug 22 1996xx[m .Xdefaults[6Cx[m 3785x[mAug 22 1996x[13;1Hx[m .addressbook x[6C[m0x[mApr 13 18:17xx[m .addressbook x[6C[m0x[mApr 13 18:17x[14;1Hx[m .addressbook.lu x[m 2285x[mApr 13 18:17xx[m .addressbook.lu x[m 2285x[mApr 13 18:17x[15;1Hx[m .bash_history x[m 10065x[mApr 14 19:56xx[m .bash_history x[m 10065x[mApr 14 19:56x[16;1Hx[m .bash_logout x[5C[m24x[mJul 13 1994xx[m .bash_logout x[5C[m24x[mJul 13 1994x[17;1Hx[m .bash_profile x[m 220x[mAug 23 1995xx[m .bash_profile x[m 220x[mAug 23 1995x[18;1Hx[m .bashrc[9Cx[m 124x[mAug 23 1995xx[m .bashrc[9Cx[m 124x[mAug 23 1995x[19;1Htqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqutqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu[20;1Hx[m..[36Cxx[m..[36Cx[21;1Hmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj[24;1H[m1[7mHelp [m 2[7mMenu [m 3[7mView [m 4[7mEdit [m 5[7mCopy [m 6[7mRenMov[m 7[7mMkdir [m 8[7mDelete[m 9[7mPullDn[m 10[7mQuit [23;1H[m[circle@bishop circle]$[23;25HBBB[K[K[K2[KB[KB[K21~24~24~[21~21~[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[2;22Hqqqqqqq[4;2H[m/.. x [m1024x[mFeb 20 17:21[5;3Hbob [12C[9CApr 6 21:07[6;3Hcarlucci[8C[9CApr 13 22:5[7;4Heler [9CApr 14 20:41[8;2H[7m/circle [m[7mx [m[7m2048[m[7mx[m[7mApr 14 20:38[9;2H[m/dave[12Cx [m3072[5C 9 23:59[10;2H/drone [5Cx [m1024x[mMar 31 09:13[11;2H/drose [7Cx [m1024[5C25 19:27[12;2H/ftp [6Cx [m1024x[mDec 14 11:45[13;2H/gopher x [m1024x[mJul 2 1996[14;2H/httpd x [m1024x[mDec 14 11:45[15;2H/irish x [m1024[6C3 22:51[16;2H/jaequin x [m1024x[mFeb 22 08:58[17;2H/jatucker x [m1024x[mApr 1 23:58[18;2H/lenny [9Cx [m1024x[mFeb 22 08:58[20;2Hcircle[32C[23;25H[23;16Hhome]$[K[23;23H[2;22H[7m/circle[4;2H/.. [m[7mx [m[7m1024[m[7mx[m[7mApr 8 22:21[5;3H[m.xfm[12C[9CDec 14 11:54[6;3HRom24 [8C[9CMar 17 199[7;4Hircle30bpl11 [9CMar 27 21:26[8;2H/mail x [m1024x[mApr 14 20:40[9;2H -Z [12Cx[m8386560[5C11 20:47[10;2H .Xauthority[5Cx [m0x[mFeb 20 16:30[11;2H*.Xclients[7Cx [m92[5C 2 06:19[12;2H .Xdefaults[6Cx [m3785x[mAug 22 1996[13;2H .addressbook x [m0x[mApr 13 18:17[14;2H .addressbook.lu x [m2285x[mApr 13 18:17[15;2H .bash_history x [m10065[6C4 19:56[16;2H .bash_logout x [m24x[mJul 13 1994[17;2H .bash_profile x [m220x[mAug 23 1995[18;2H .bashrc[9Cx [m124x[mAug 23 1995[20;2H..