[crossfire] Map cache

Preston Crow pc-crossfire04 at crowcastle.net
Sun Aug 28 20:25:17 CDT 2005


On Thu, 2005-08-25 at 18:57, Anton Oussik wrote:
>
     
      When the server comes across maps containing large amounts of items it
     
     >
     
      takes a long time to load. While it is loading the whole server
     
     >
     
      freezes for other players, and on very large maps (like the scorn sale
     
     >
     
      shop or some apartments) this can take in excess of 10 seconds on
     
     >
     
      metalforge.
     
     
The way I would solve this is to have the map loader count how many
objects it has loaded.  After some fixed number, it would stop until the
next time tick.  There would be no processing of objects, including
players, on a partially-loaded map.

This would eliminate the lag for everyone except the player entering the
cluttered map.

I'm just not sure if this is less work than the other approaches to
solving the problem that have been suggested.

--PC


    
    


More information about the crossfire mailing list