Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server Mode question



Eric writes:
> Actually, my idea was to watch the maps for changes.  Once every x
> amount of time, so a sum or an md5 on all of the maps.  Then if a
> map's checksum remains unchanged for a couple of hours then I was
> going to delete the /tmp file.
> --
> Would this work?
> Does anyone want to do that? (I'm getting cramped by classes at this
> point, and other things I want to work on.)

Well, I've just (the last 30 minutes) added a scheme which deletes
the tmp-files which haven't been used for a (configurable) while.

I can see the pros of the checksum method, but I believe the timeout
scheme is good enough in most cases, and better in some.

-Frank.