Jump to content
IGNORED

Star Ship HSC


Wizzard

Recommended Posts

I tried another game and it seems that Star Ship HSC does not report game variation 10, both normal and expert difficulty.

I am not doing it on purpose, I just like to explore various variations of the games I never played before :)

Edited by Wizzard
Link to comment
Share on other sites

@Omegamatrix

 

I changed the transformation from:

return [
 (dechex($post_array[0] - 1) + (($post_array[1] & 128 ) == 128 ) * 17),
 dechex($post_array[2])
];

 

to:

return [
 (dechex($post_array[0]) - 1 + (($post_array[1] & 128 ) == 128 ) * 17),
 dechex($post_array[2])
];

 

I think this should fix the issue with the BCD value 10  (decimal 16) sent as gamevariation

 

Link to comment
Share on other sites

1 hour ago, Wizzard said:

I tried another game and it seems that Star Ship HSC does not report game variation 10, both normal and expert difficulty.

I am not doing it on purpose, I just like to explore various variations of the games I never played before :)

@Wizzard I fixed the game variation for your scores that were affected by this bug.

 

 

Link to comment
Share on other sites

15 hours ago, Al_Nafuur said:

@Omegamatrix

 

I changed the transformation from:


return [
 (dechex($post_array[0] - 1) + (($post_array[1] & 128 ) == 128 ) * 17),
 dechex($post_array[2])
];

 

to:


return [
 (dechex($post_array[0]) - 1 + (($post_array[1] & 128 ) == 128 ) * 17),
 dechex($post_array[2])
];

 

I think this should fix the issue with the BCD value 10  (decimal 16) sent as gamevariation

 

Cool. I haven't used that transform in any game so it shouldn't affect anything.

 

BTW if you ever need to change the value from BCD to Binary in the game code itself than I have a blog entry on that:

 

https://atariage.com/forums/blogs/entry/17463-bcd-to-binary/

 

 

  • Thanks 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...