Heya... Following my own arena thread>... I am trying to deduct what is missing in arena.tar.gz, the modified arena patch in the ftp site, so far I have been able of finding quite some things missing and it is working now, but I have one problem. When the arena is started players that sign up to it are snatched and taken to a random room inside the arena prep rooms, I believe they have to walk themselves to the arena, since it moves them only when signing up. So, after several failed attempts ("Noone was brave enough to enter") I made an exit to the actual arena rooms, no luck either, even if the players move to the rooms supposedly part of the arena, when the time runs out the match ends. I think it has to do with these functions not returning values right: In do_game(): ... }else if (num_in_arena() == 0){ in_arena = ARENA_OFF; silent_end(); ... (silent_end is the only option there is with the message I receive, so this must be it) int num_in_arena() { register struct char_data *i; struct descriptor_data *d; int num = 0; for (d = descriptor_list; d; d = d->next) if (!d->connected) { i = d->character; if (world[i->in_room].zone == ARENA_ZONE && ROOM_FLAGGED(IN_ROOM(i), ROOM_ARENA) && (i->in_room != NOWHERE)) { if(GET_LEVEL(i) < LVL_IMMORT) num++; } } return num; } So this function is not finding anyone in the rooms assigned to the arena, this are the definitions I have: #define ARENA_ZONE 83 /* (I am not sure about this number, the rooms this zone has are from 8300 to 8399, so I could be using the wrong number here, ideas?) */ Maybe the function is not right, but it should return the number of people in ROOM_ARENA flagged rooms inside the zone numebr 83, am I missing something? Well, it doesn't work..:), it returns 0 and the silent_end part comes. Since I am here, has anyone found the supposed use for the flags ARENA_START_CHAL1, ARENA_END_CHAL1 and 2? Thanks for any hints Eduo +-----------------------------------------------------------+ | 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/08/00 PST