Re: [newbie] arena.txt

From: SoulReaper Is here (death_comes_to_all@hotmail.com)
Date: 06/16/02


i solved all the errors in the compilation.. but i get the problem that it
won't print out any text. there are more places where it should print out
text but i copied this piece...

if(time_to_start >1) {
        sprintf(buf1, "The Killing Fields are open to levels %d thru %d",
                lo_lim, hi_lim);
        send_to_arena(buf1);
        sprintf(buf1, "%d coins/level to enter. %d hours to start\r\n",
                cost_per_lev, time_to_start);
        send_to_arena(buf1);
        sprintf(buf1, "Type arena to enter.");
        send_to_arena(buf1);
  } else {
      sprintf(buf1, "The Killing Fields are open to levels %d thru %d",
              lo_lim, hi_lim);
      send_to_arena(buf1);
      sprintf(buf1, "%d coins/level to enter. 1 hour to start\r\n",
              cost_per_lev);
      send_to_arena(buf1);
      sprintf(buf1, "Type arena to enter.");
      send_to_arena(buf1);

i tried to put in send_to_char(ch,
at one place, and it worked in do_awho, it printed out the info of the arena
match, but not the players in the arena.. this method however did not work
at these other places.. please help, sorry to bother y'all.. :)

_________________________________________________________________
Chatta med kompisar online, prova MSN Messenger: http://messenger.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