From: "Jim" <realm@CITLINK.NET>
> I followed the newest race add walkthru that was compiled from all the
> other snippets and was for bpl21. I checked the stats of items and none
> are !race...as well as tried all races and none can use even basic stock
> stuff (leather sleeves, long sword etc...) But thanx for the reply..
Ok, time to get some code on the table (figuratively speaking, of course).
How does your align check look ?
I figure you have changed a line in equip_char() to look something like
this:
if (invalid_align(ch, obj) || invalid_class(ch, obj) ||
invalid_race(ch,obj)) {
act("You are zapped by $p and instantly let go of it.", FALSE, ch, obj,
0, TO_CHAR);
...
How does invalid_race() (or what you called it) look ?
Try putting in log calls in the invalid_race() -or equivalent- function:
log("invalid_race: ch=%s, GET_RACE(ch)=%d", GET_NAME(ch), GET_RACE(ch));
This way, you can see if the problem occurs due to improper initialization.
Get back to us with more specific bug reports when you have done this.
Welcor
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/26/03 PDT