Thats cool dude, but Im being helpful in order to increase evil...
The better you get at coding, the more frustrating your "next" problems
will become...
And when I stop helping ... thats when my evil intentions strike...
And as for only calling for help when really stumped, I understand. Im the same.
And I can see from your post-counter that its not lazy, its a true mental road-block.
Anyways, back on topic now...
Heres how to check thet the ME exists.
The PROC_GLOBAL is to prevent the entire function aborting when the ME vanishes.
Cause if the entire function aborts like that, the file gets left open...
...
if (filehandle)
{
proc_mode = PROC_GLOBAL;
...
while(temp < count)
{
if(!me) break; //abort reading if entity gone.
...
wait(1);
}
...