Boh-Ahz wrote:
I don't know exactly what is the problem, so I don't know how much help
this is going to be, but the problem is not the buffer size. If you
look at void do_list, all it is doing is grabbing area_first, printing
out some stat's, and then getting the next area, printing out some
stats, getting the next...
I think you get the point. The only buffers in there are the char
arrays used to output to screen. area_first is just the pointer to the
first area in the linked list.
You might have changed yours at some point, but the stock do_alist in
the OLC 2.01 as released by Ivan has a call to add_buf
Nothing happens. Except the CPU goes up.
Am I missing something?
Yep, merc.h
struct buf_type
sh_int size; // size in k
change that to a long instead of a short