Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Player messages fully decoded
Player messages fully decoded Mon, 02 December 2019 08:16 Go to previous message
raptor is currently offline raptor

 
Chief Warrant Officer 1
Creator of StarsWine
Created StarsWine

Messages: 138
Registered: June 2014
An update to the StarsAPI:

Message text sent between players can now be fully decoded. Source code found here:

https://github.com/stars-4x/starsapi/blob/master/src/main/ja va/org/starsautohost/starsapi/block/MessageBlock.java

This is the code to do the byte decoding starting at offset 10 (0-indexed). The MessageBlock itself is still missing some info, but most important attributes are there.

Edit: Updated code after refactor


[Updated on: Tue, 03 December 2019 10:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Utility to clean .m files
Next Topic: Stars! disassembly and history of 2.6jrc4
Goto Forum:
  


Current Time: Thu Apr 18 06:48:14 EDT 2024