void start_arena() { char buf[MAX_INPUT_LENGTH]; char buf1[MAX_INPUT_LENGTH]; char buf2[MAX_INPUT_LENGTH]; char arg[MAX_INPUT_LENGTH]; if (time_to_start == 0) { show_jack_pot(); in_arena = ARENA_RUNNING; /* start the blood shed */ time_left_in_game = game_length; start_game(); } else { if(time_to_start >1) { sprintf(buf, "The Killing Fields are open to levels %d thru %d", lo_lim, hi_lim); send_to_arena(buf); sprintf(buf, "%d coins/level to enter. %d hours to start\r\n", cost_per_lev, time_to_start); send_to_arena(buf); sprintf(buf, "Type arena to enter."); send_to_arena(buf); } else { sprintf(buf, "The Killing Fields are open to levels %d thru %d", lo_lim, hi_lim); send_to_arena(buf); sprintf(buf, "%d coins/level to enter. 1 hour to start\r\n", cost_per_lev); send_to_arena(buf); sprintf(buf, "Type arena to enter."); send_to_arena(buf); } time_to_start--; } } this function does not print out any text.. I have twisted and turned the code, but I just can't get it to print out anything, i am using bpl21.. and it is arena.patch that this piece of code comes from if you need to know. arena.c . the same thing goes for do_awho i have included the neccessary header files.. i think could it be because it's a void function? i'm a newbie with programming so i wouldn't know. #include "conf.h" #include "sysdep.h" #include "structs.h" #include "utils.h" #include "comm.h" #include "screen.h" #include "spells.h" #include "handler.h" #include "interpreter.h" #include "db.h" #include "arena.h" please help me with this one. i don't know if this question has been answered before.. but help _________________________________________________________________ Skicka och ta emot Hotmail-meddelanden på din mobilenhet: http://mobile.msn.com -- +---------------------------------------------------------------+ | 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/25/03 PDT