Repository navigation
3.3.0
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
OrdnanceTypeandBaseMessage). - 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
AnomalyTypefor the different kinds of anomalies. Includes agetUpgrade()which returns the kind ofUpgradeyou get from picking up this anomaly (if thisAnomalyTypesupports that). RemovedUpgrade.fromAnomalyIndex()andUpgrade.getAnomalyIndex();Upgrade.fromActivationIndex()is now just namedfromIndex(). - New enum
BeaconModefor representing "attract" and "repel" modes for beacons. - New enum
CommFilterfor the different types of filters that can be applied to comm messages.CommsIncomingPacket.matches()returnstruewhen the message matches the given filter.GameMasterMessagePacketupdated to support filters. CreatureType.CLASSICrenamed toTYPHONto match its new name;CreatureType.JELLYadded.GameTypeenum now includesBORDER_WARandINFESTATION.OrdinanceTypecan now translate to and from the three-character codes that are now used invesselData.xml.- IAN can announce and discover games on the LAN. Use
ServerDiscoveryRequesterto discover games, andServerDiscoveryResponderto announce them. - Support for turning off parsing in
PacketReaderhas been removed. (You can get access to raw bytes through theDebuggerinterface). ThreadedArtemisNetworkInterfacenow allows you to attach aDebuggerto be notified of low-level events.ThreadedArtemisNetworkInterfacehas aproxyTo()method to forward uncaptured events to anotherArtemisNetworkInterface.DestroyObjectPacketwas renamed toDeleteObjectPacketso as to not imply that it caused an explosion effect.EndGamePacketandGameOverPacketwere refactored so thatGameOverPacketis sent when the simulation ends (victory, player's ship is destroyed, etc.), whileEndGamePacketis sent when theEnd Gamebutton is clicked on the statistics page.GameOverStatsPacketnow supports section header rows.GameMasterButtonClickPackethas been renamed toButtonClickPacket(since now custom buttons are available for comms, too).GameMasterMessagePacketsupports a newPresentationenum that describes how the message is presented on the client.ExplosionPacketnow handles both packet subtypes0x00and0x13.SingleSeatCraftclass now available.Bayis nowComparable.Vesselefficiency has been split into three separate properties:shipEfficiency,warpEfficiency, andjumpEfficiency.- 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
NaNwhen 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
ArtemisPlayerreceives a nebula type other than 0 - 3 inclusive, since apparently the actual game server does send other values. Shipno longer throws an exception when given an accent color value of1.0and 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)
ThreadedArtemisNetworkInterfacenow uses a separate thread for event dispatching. This prevents the receiver thread from blocking on listeners.- Documentation improvements.