Maximum sendmap size, and your OS.

Started by Apollo, July 07, 2010, 12:09:08 AM

Previous topic - Next topic

Apollo

So. Here be the deal.
We are reaching some limitations in terms of how large a map we can send. With the HQ, we hit the limit. ( over 1 mb )

A simple fix is to run a search for the line stated below, and edit it to fit. It simply ups the maximum map size that the client will send to the server. ( over 10mb should suffice ) ;)

I'm not sure what file it's in, but a search should fix that.
The line I was told to edit is this:

if(len > 1024*1024) conoutf(CON_ERROR, "map is too large: %d", len);

Change if(len > 1024*1024)
to if(len > (10<<20)) or perhaps just  if(len > 4096*4096)
Either way, the send-map size will be above and beyond whats needed. ( I hope )

Most linux users can probably do it themselves. I'll upload a modified executable for windows later, unless somebody else does it first.

If I could rearrange the alphabet, I'd put your sister and I side by side.

Heav’n hath no rage like love to hatred turn’d, Nor Hell a fury, like a woman scorn’d.