Skip to content

3.3.0

Choose a tag to compare

@rjwut rjwut released this 05 Feb 18:57
· 5 commits to master since this release
19acb22

IAN v3.3.0 Release Notes

The principal goal of IAN v3.3.0 is to provide support for Artemis v2.7.0-1. Below are the full release notes.

New Features and Improvements

  • Support for beacons, probes, and tags (includes updates to OrdnanceType and BaseMessage).
  • New packet types supported: BayStatusPacket, BeaconConfigPacket, CommsButtonPacket, IdleTextPacket, SetSingleSeatSettingsPacket, SingleSeatTextPacket, TagPacket.
  • New properties exposed: ArtemisNebula.type, ArtemisNpc.targetX, ArtemisNpc.targetY, ArtemisNpc.targetZ, ArtemisNpc.tagged, ArtemisPlayer.climbDive, ArtemisPlayer.emergencyJumpCooldown, ArtemisPlayer.beaconType, ArtemisPlayer.beaconMode, ArtemisPlayer.nebulaType, ArtemisDrone.side, ArtemisDrone.y.
  • New enum AnomalyType for the different kinds of anomalies. Includes a getUpgrade() which returns the kind of Upgrade you get from picking up this anomaly (if this AnomalyType supports that). Removed Upgrade.fromAnomalyIndex() and Upgrade.getAnomalyIndex(); Upgrade.fromActivationIndex() is now just named fromIndex().
  • New enum BeaconMode for representing "attract" and "repel" modes for beacons.
  • New enum CommFilter for the different types of filters that can be applied to comm messages. CommsIncomingPacket.matches() returns true when the message matches the given filter. GameMasterMessagePacket updated to support filters.
  • CreatureType.CLASSIC renamed to TYPHON to match its new name; CreatureType.JELLY added.
  • GameType enum now includes BORDER_WAR and INFESTATION.
  • OrdinanceType can now translate to and from the three-character codes that are now used in vesselData.xml.
  • IAN can announce and discover games on the LAN. Use ServerDiscoveryRequester to discover games, and ServerDiscoveryResponder to announce them.
  • Support for turning off parsing in PacketReader has been removed. (You can get access to raw bytes through the Debugger interface).
  • ThreadedArtemisNetworkInterface now allows you to attach a Debugger to be notified of low-level events.
  • ThreadedArtemisNetworkInterface has a proxyTo() method to forward uncaptured events to another ArtemisNetworkInterface.
  • DestroyObjectPacket was renamed to DeleteObjectPacket so as to not imply that it caused an explosion effect.
  • EndGamePacket and GameOverPacket were refactored so that GameOverPacket is sent when the simulation ends (victory, player's ship is destroyed, etc.), while EndGamePacket is sent when the End Game button is clicked on the statistics page.
  • GameOverStatsPacket now supports section header rows.
  • GameMasterButtonClickPacket has been renamed to ButtonClickPacket (since now custom buttons are available for comms, too).
  • GameMasterMessagePacket supports a new Presentation enum that describes how the message is presented on the client.
  • ExplosionPacket now handles both packet subtypes 0x00 and 0x13.
  • SingleSeatCraft class now available.
  • Bay is now Comparable.
  • Vessel efficiency has been split into three separate properties: shipEfficiency, warpEfficiency, and jumpEfficiency.
  • Carrier-type vessels now expose the number of bays they have.
  • Weapon ports now expose the player damage they inflict (apparently only applies to single-seat craft).
  • Removed ArtemisBase.getIndex(), since bases don't have indexes anymore.
  • Float properties are now NaN when unspecified, unless the documentation says otherwise.
  • Compiled JDK version moved to Java 7, as Java 6 has reached end-of-life and Travis CI was complaining.

Bug Fixes

  • Fixed a bug with unspecified front and rear shields on BaseArtemisShip.
  • Fixed a bug where single and double scanning of NPC ships was incorrectly handled.
  • Removed error that occurs if an ArtemisPlayer receives a nebula type other than 0 - 3 inclusive, since apparently the actual game server does send other values.
  • Ship no longer throws an exception when given an accent color value of 1.0 and no longer incorrectly reports whether it has a name.
  • Fixed an error reading arguments in the ProxyDemo.
  • Fixed #10 (SenderThread does not terminate on IOException)
  • Fixed #18 (Newly registered protocols are not forwarded to PacketReader)
  • Fixed #19 (ServerDiscoveryRequester never terminates)
  • Fixed #20 (Server.java equals() method has a bug)

Internal Changes (no direct impact on users)

  • ThreadedArtemisNetworkInterface now uses a separate thread for event dispatching. This prevents the receiver thread from blocking on listeners.
  • Documentation improvements.