Hello, Oy. Finally got the 128bit patch in, and buncha buncha errors. gcc -c -g -O2 -Wall comm.c comm.c: In function `send_to_outdoor': comm.c:2003: subscripted value is neither array nor pointer comm.c: In function `perform_act': comm.c:2046: subscripted value is neither array nor pointer comm.c:2049: subscripted value is neither array nor pointer comm.c:2074: subscripted value is neither array nor pointer comm.c:2074: subscripted value is neither array nor pointer comm.c:2074: subscripted value is neither array nor pointer comm.c:2077: subscripted value is neither array nor pointer comm.c:2077: subscripted value is neither array nor pointer comm.c:2077: subscripted value is neither array nor pointer comm.c:2081: subscripted value is neither array nor pointer comm.c:2081: subscripted value is neither array nor pointer comm.c:2081: subscripted value is neither array nor pointer comm.c:2084: subscripted value is neither array nor pointer comm.c:2084: subscripted value is neither array nor pointer comm.c:2084: subscripted value is neither array nor pointer comm.c: In function `act': comm.c:2189: subscripted value is neither array nor pointer comm.c:2212: subscripted value is neither array nor pointer *** Error code 1 line 2003: if (!AWAKE(i->character) || !OUTSIDE(i->character)) AWAKE define: #define AWAKE(ch) (GET_POS(ch) > POS_SLEEPING) GET_POS define: #define GET_POS(ch) ((ch)->char_specials.position) OUTSIDE define: #define OUTSIDE(ch) (!ROOM_FLAGGED((ch)->in_room, ROOM_INDOORS)) ROOM_FLAGGED define: #define ROOM_FLAGGED(loc, flag) (IS_SET_AR(ROOM_FLAGS(loc), (flag))) line 2046: i = PERS(ch, to); PERS define: #define PERS(ch, vict) (CAN_SEE(vict, ch) ? GET_NAME(ch) : "someone") CAN_SEE: #define CAN_SEE(sub, obj) (SELF(sub, obj) || \ ((GET_REAL_LEVEL(sub) >= (IS_NPC(obj) ? 0 : GET_INVIS_LEV(obj))) && \ IMM_CAN_SEE(sub, obj))) GET_REAL_LEVEL: #define GET_REAL_LEVEL(ch) \ (ch->desc && ch->desc->original ? GET_LEVEL(ch->desc->original) : \ GET_LEVEL(ch)) GET_INVIS_LEV: #define GET_INVIS_LEV(ch) CHECK_PLAYER_SPECIAL((ch), ((ch)->player_specials->saved.invis_level)) Sheesh, to go thru the rest of them would probably take the rest of the day. Hope someone can see the problem, or has had the same problem (and has been able to fix it), or can suggest a better alternative, as i still have a backup of the code b4 i added the patch :). The problems's gotta be in the defines, I guess. If you need more than this, let me know. Thanks Gordon Forsythe EXISTO ERGO EXCRITO | EXCRITO ERGO EXISTO +++++++++++++++++++++++++++++++++++++++++++++ Visit G on the web: |Coder for SlashFang MUD http://gman.base.org |mud.guam.net:4000 +++++++++++++++++++++++++++++++++++++++++++++ -- IMail Server for Windows NT. Evaluation version. Copyright (c) 1995-98 Ipswitch, Inc. http://www.ipswitch.com/ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST