Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » My Stars! Epiphany.
Re: My Stars! Epiphany. Tue, 05 May 2020 02:46 Go to previous messageGo to previous message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
don't know if it will be useful or not...

In untangling the Spacedock bug, the amount of armor on the ship is one of the variables stored in the design block. I had hoped that I could just update the armor value (to, say 32,760). But it didn't work to change it in the .x file, because the host program apparently recalculated the value before storing it. I had to actually change the design to get it to work.

The Player block doesn't even include the score. So it seems likely that even if you can mangle a .r file, that the initial calculation is redone in the host.

On the other hand, the race block is also the only one I think with a checksum. so maybe it's not protected otherwise.


So I tried modifying the race block inside the .hst file. Interesting. When I open the .HST file, the Host Mode GUI says
#1 The Humanoids are still out --- HACKER

When I generate a turn, and look at the .M file, I get a message: "Your race definition has been tampered with. Statistics have been altered to bring you into compliance with the cosmic code. "

Hah!

That's a different result than I expected. I modify the race data block once the game is up-and-running (at least in the context of resetting the password in the .m, .hst., and .x files), in a way that I can't when trying to modify the .r file. I've never cared before about any other modification. But it can clearly tell when something changes. I wondered/hoped that might give me one of the never-identified blocks, but it didn't, so that HACKER flag is either set in the Player block, or I didn't quite get the data back correctly, and it shows up upon a recalculation fo score. *shrug*.

Rick
(If you want the script that can change bytes in the player block let me know)






[Updated on: Tue, 05 May 2020 02:58]




https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Your colonists have discovered a strange artifact ... how many of them?
Next Topic: Stars on Chromebook?
Goto Forum:
  


Current Time: Mon May 13 16:01:54 EDT 2024