[Pogamut-list] SafeRunToLocation failing when the sockets are under heavy burden?

deus pogamut-forum at artemis.ms.mff.cuni.cz
Wed Oct 28 11:07:22 CET 2009


Re: SafeRunToLocation failing when the sockets are under heavy burden?

Author: deus

I think I have traced the problem down, we were doing a file write every time we were checking for distance from an items spawn point, so the computational burden was much higher than we thought (running 100-400 file opening, file writing and file closing commands is no fast task!) and when we commented out the file creation it worked quite alright. I would still like to hear from you guys if there is a problem with involving too much computations inside the doLogic class (although I doubt our computations will be as demanding as 400 file writes!)

cheers and sorry for my shortsightedness, 

Deus





More information about the Pogamut-list mailing list