Re: [ERROR SPAM]help.. arena code

From: George (gagreer@ham.muohio.edu)
Date: 10/18/96


On Fri, 18 Oct 1996, Brian Williams - Nashak wrote:

> arena.c: In function `do_bet':
> arena.c:85: structure has no member named `bet_amt'
> arena.c:89: structure has no member named `betted_on'

Forgot to add those two variables to char_data in structs.h

> arena.c:91: warning: implicit declaration of function `parsebet'
> arena.c:116: warning: implicit declaration of function `channeltalk'

No prototype, easy to fix.

> arena.c:116: `CHNL_SPORTS' undeclared (first use this function)
> arena.c:135: `PLR_PAROLE' undeclared (first use this function)

Missing #defines, PLR_PAROLE should be in structs.h, if you want it.
CHNL_SPORTS is a Stromism.

> arena.c: In function `find_game_winner':
> arena.c:348: warning: format argument is not a pointer (arg 4)
> arena.c:367: warning: passing arg 2 of `strncpy' makes pointer from
> integer with out a cast

Probaby due to the missing prototypes.

> arena.c:463: `LVL_AMBASSADOR' undeclared (first use this function)

LVL_IMMORT, I believe

---
George Greer, gagreer@dragon.ham.muohio.edu

+-----------------------------------------------------------+
| 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