[net.sources.games] Hack on the PC.

andre@micomvax.UUCP (Andre Scheunemann) (09/25/85)

I just ported hack version 1.0.2 to the PC using the Microsoft C compiler and
everything seems to work fine except that when I save a game and try to restart
it, I get a "Cannot read n bytes, read m bytes" message.  I checked it out and
there seems to be no reason for this since the end of file has not yet been
reached.  Has anyone else who ported hack to the PC encountered this problem.
If anyone knows what the problem is I would appreciate if you could send me
mail to tell me.

	Thanks in advance
	Andre
	...!philabs!micomvax!andre

slerner@sesame.UUCP (Simcha-Yitzchak Lerner) (10/04/85)

> I just ported hack version 1.0.2 to the PC using the Microsoft C compiler and
> everything seems to work fine except that when I save a game and try to restart
> it, I get a "Cannot read n bytes, read m bytes" message.  I checked it out and
> there seems to be no reason for this since the end of file has not yet been
> reached.  Has anyone else who ported hack to the PC encountered this problem.
> If anyone knows what the problem is I would appreciate if you could send me
> mail to tell me.
> 
> 	Thanks in advance
> 	Andre
> 	...!philabs!micomvax!andre

I suggest you check the MODE being used to read/write the files.  You
may need to set it to binary file mode?  Good luck.


-- 
Opinions expressed are public domain, and do not belong to Lotus
Development Corp.
----------------------------------------------------------------

Simcha-Yitzchak Lerner

              {genrad|ihnp4|ima}!wjh12!talcott!sesame!slerner
                      {cbosgd|harvard}!talcott!sesame!slerner
                       talcott!sesame!slerner@harvard.ARPA