That's the first thing you need to do.
I dunno, when I had this problem, I had to change some stuff in 
write_to_buffer also, because it has a hard-coded output size limit in it.  
But I didn't even get to a hunk too large error, so maybe you've already 
changed that.
--Palrich.

On Monday 30 June 2003 12:03 pm, Dale Kingston wrote:
> Ok I'm having a problem with sending information out to players that gets
> too large and I was wondering if anyone could help explain to me if I can
> make this larger or not. I get the bug Hunk 33000 too large error and so I
> looked into it
>
>   for( iList = 0; iList < MAX_MEM_LIST && rgSizeList[iList] < sMem;
> iList++ );
>   if( iList == MAX_MEM_LIST )
>   {
>     bug("Hunk size %d too large.", sMem);
>     return NULL;
>   }
>
> So I looked at this rgSizeList:
>
> const int  rgSizeList [MAX_MEM_LIST] =
> {
>     16, 32, 64, 128, 256, 1024, 2048, 4096, 8192, 16384, 32768-64
> };
>
> Now what would be wrong if I were to add another field to this and make it.
>
> 65536-64
>
> Would that be bad?


Reply via email to