I was just recently messing with the do_fire snippet... and umm there's one problem I came up with... in ACMD(do_fire) -towards the end- you'll see something like: roll = number(1, 101); strcpy(argt, shot_types[GET_OBJ_VAL(weapon, 0)]); if ( (num1+num2) >= roll ) { /* we hit 1) print message in room. 2) print rush message for mob in mob's room. 3) trans mob 4) set mob to fighting ch */ You'll want to change this line: strcpy(argt, shot_types[GET_OBJ_VAL(weapon, 0)]); to: sprintbit((long) GET_OBJ_VAL(weapon, 0), shot_types, argt); Otherwise it crashes. Good luck! :) Corey Hoitsma AKA -= Myrddin =- ____ choitsma@netcom.com L|azmania ah.net 7000 +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST