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
raptor is currently offline raptor

Master Chief Petty Officer
Creator of StarsWine
Created StarsWine

Messages: 97
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

Previous Topic: Fixing Stars!
Goto Forum:

Current Time: Thu Dec 12 10:22:01 EST 2019