Hello! I'm trying to implement the magic portal in my mud, but at the
limits.c, something has made a knot... i'll show you the code and the error
msg:
---- part of code (limit.c) ----
if (j->in_obj)
obj_to_obj(jj, j->in_obj);
else if (j->carried_by)
obj_to_room(jj, j->carried_by->in_room);
else if (j->in_room != NOWHERE)
obj_to_room(jj, j->in_room);
else
core_dump();
}
extract_obj(j)
}
}
(PS: HERE IS THE LINE 478) }
if (GET_OBJ_VNUM(j) == 31)
{
if (GET_OBJ_VAL(j,0) > 0)
GET_OBJ_VAL(j,0)--;
if (GET_OBJ_VAL(j,0) == 1)
{
act("$p comeca a sumir!", FALSE, i, 0, 0, TO_ROOM);
act("$p comeca a sumir!", FALSE, i, 0, 0, TO_CHAR);
}
if (GET_OBJ_VAL(j,0) == 0)
{
act("$p some em uma nuvem de fumaca!", FALSE, i, 0, 0, TO_ROOM);
act("$p some em uma nuvem de fumaca!", FALSE, i, 0, 0, TO_CHAR);
extract_obj(j);
}
(PS: HERE IS THE LINE 501) }
------ end -----
----- the msg ----
limits.c: In function `point_update':
limits.c:478: parse error before `}'
limits.c:501: parse error at the end of input
---- end -----
please! help me! I really don't understand what is wrong!
[ ]'s
Alan
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT