Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » New (?) Stars! Bug: 32k orders
Re: New (?) Stars! Bug: 32k orders Tue, 14 July 2020 05:31 Go to previous messageGo to previous message
russl5445 is currently offline russl5445

 
Crewman 3rd Class

Messages: 5
Registered: September 2008
Location: Tucson, AZ
I didn't realize that anybody was doing ongoing work to decode the Stars! files ... I thought I was the only one. Smile

I was just looking at the FileHashBlock last night, and the conclusion I came to is basically the same as you: that the first 2 bytes hold the length of the section(s) that follow. I wouldn't call that a "checksum," but that's just semantics. Smile

My assumption is that this was to solve races when a client might be trying to write out an update .X file, and the host might be looking for one. If the file length doesn't match the value predicted right up near the top of the file, then the host knows not to use the file (yet). I did some (very) quick experiments, and it seems like the rest of the block (15 bytes more) are constant - at least on a single machine. They seem not to change from turn to turn, or game to game. (Though I haven't done extensive testing yet.) I'm guessing that this must be where the "machine fingerprint" is stored.

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: rec.games.computer.stars or yahoo groops
Next Topic: Choices for diplomacy
Goto Forum:
  


Current Time: Sat May 04 02:19:12 EDT 2024