On Wed, 6 Feb 2002, Brian Merkley wrote:

>Hey all!
>
>    I am running modified Rom 2.4 that I took over and currently there is no
>limit to how many items a player may have in his inventory or in backpacks.
>And if they view the inventory or backpack if it has over a certain amount
>of items (apparently over 200) the entire mud crashes. What is the best way
>to fix this? I have never tried to add a max_inventory check or possibly add
>weight to all items and add a weight limitation based off str. But the
>latter seems like a lot of work. I am just looking for an EZ fix to stop the
>crashes. Besides players really don't need to hoard that much equipment
>anyway.
>
>Thanks, Brian

I'd bet your problem is with buffer sizes... if you have printf_to_char()
available, suggest converting your display functions over to using that
instead bufferring and the sending the buffer all at once....

| dwight a campbell - [EMAIL PROTECTED] - http://rats.darktech.org - KD7KJG |
| yet another linux guru in training & reality avoidance therapist at large |
| tired of voting for the lesser evil?  vote kthulhu & yog-sothoth in 2004! |
| "When you live in a sick society, just about everything you do is wrong." |


Reply via email to