Avorion

Boxelware · Simulation

Avorion patch notes · Aug 26, 2017

Experiment

What's new in Multithreading Update Patchnotes: 75 changes to Avorion, released Aug 26, 2017.

Balance · 2

  • Improved weapon accuracy of ships in sectors without players.

    weapon accuracy in unpopulated sector
  • Fighters search for the mothership only every ~5 seconds when it is gone.

    fighter mothership search frequency

Content · 15

  • Added a new InputWindow class.

    inputwindow class
  • Added a planetary trading post that sells goods from a nearby planet.

    planetary trading post
  • Added a function returning indices of all present factions in a sector.

    faction index function
  • Minor spelling improvements to loading screen tips.

    loading screen tip spelling
  • Changed the setFont parameter from a string to a FontType enum.

    setfont parameter type
  • Added a toRandom() function to generate random Uuids.

    random uuid generation function
  • Improved the German translation.

    german translation
  • Renamed piratehunter.lua to pirateattackstarter.lua.

    script file rename (piratehunter.lua)
  • Added an execute() function to run code directly within scripts; it should not be called with client-sent code.

    script code execution function
  • Added callback functions to the script API for ListBox.

    listbox callback function
  • Planet specs are now controlled from within sectorspecifics.lua.

    planet specs control
  • Renamed events.lua to eventscheduler.lua.

    script file rename (events.lua)
  • Added debris when blocks are destroyed.

    debris on block destruction
  • Added an event where a freighter is chased by pirates.

    freighter pirate chase event
  • Added a damage type that can be applied to inflictDamage() or destroyBlocks() functions.

    new damage type

Controls · 1

  • Added a /workers server command for controlling the amount of worker threads.

    worker thread control command

System · 22

  • Added an AsyncShipGenerator.

    async ship generator
  • Added an AsyncPirateGenerator.

    async pirate generator
  • Added better support for multiple localizations.

    multiple localization support
  • The RCON interface requires a password configured in server.ini; without one, RCON is disabled.

    rcon password requirement
  • Server and client multithreading was reworked so both run smoother on machines with more CPU cores; machines with 2 or fewer cores should be unchanged.

    server and client multithreading
  • Added an RCON interface to the server on default port TCP 27015, allowing remote command entry as if over the command line.

    rcon interface
  • Server sector updates are now fully multithreaded.

    server sector updates multithreading
  • Status command prints the amount of worker threads into the filename.

    status command output
  • Plan damaging callbacks are bundled and sent at the end of a frame.

    plan damage callback batching
  • The script ai/fly.lua was renamed to ai/flythroughwormhole.lua.

  • Improved performance of plan damaging.

    plan damaging performance
  • Client particle updates are now fully multithreaded.

    client particle updates multithreading
  • Improved logging.

    logging
  • PlanGenerator can now generate plans asynchronously.

    async plan generation
  • Language config files are now .xml and can include more information, such as new fonts.

    language config file format
  • Sending performance stats to admins is now configurable in server.ini.

    admin performance stats sending
  • Script updates are staggered to avoid running at the same time, reducing performance outliers.

    script update scheduling
  • Frequent updates are gathered and sent at the end of a frame to save bandwidth.

    network update batching
  • The number of async script threads is configurable in server.ini, default 2.

    async script thread count
  • Player events are disabled while in sector (0:0).

    player events in sector (0:0)
  • Pirates, Xsotan and other enemies are generated asynchronously, reducing server lag when ships spawn.

    asynchronous enemy generation
  • The server can now use all its cores on calculating large battles, so performance should improve substantially.

    large battle calculation performance

UI · 7

  • Added icons to the transfer crew and goods UI.

    crew and goods transfer icon
  • An 'Add Fighters' button was added to the entitydbg.lua scripting debug tool.

    debug add fighters buttonfrom Multithreading Update Fixes ↗
  • Fixed AI health bar not working correctly.

    ai health bar
  • Improved window handling in the build menu.

    build menu window handling
  • Added display of the amount of goods on the current ship in the trading overview.

    trading overview goods amount
  • Trading overview now sorts correctly in all languages, not just English.

    trading overview sorting in all language
  • Fixed mouse position being reset after the loading screen.

    mouse position reset after loading screen

Fix · 27

  • Improved client rendering stability.

    rendering stability
  • Fixed some components always being added even after being removed from the descriptor.

    removed components being re-added
  • Fixed alliance ships being deleted when entering (0, 0).

    alliance ships deleted on entering (0, 0)
  • Shields and other components are now updated correctly.

    shield and component updatefrom Multithreading Update Fixes ↗
  • The camera now looks in the ship's facing direction when the player enters a ship.

    camera orientation on ship entryfrom Multithreading Update Fixes ↗
  • Fixed a crash when trying to invite non-existent players to an alliance.

    crash inviting non-existent players to alliance
  • Fixed alliance ships being unable to be controlled in strategy mode.

    alliance ship control in strategy mode
  • Fixed an issue when multiple mines with the same name are founded.

    duplicate mine naming
  • Fixed TurretAI not switching targets when the target goes out of range.

    turretai target switching
  • Cultists in asteroid ring sectors now behave as intended.

    cultist behavior in asteroid ring sector
  • Fixed fighters not being updated when a player is out of sector.

    fighters not updated when player out of sector
  • Fixed huge Small Xsotan Breeders.

    huge small xsotan breeder
  • A crash occurring when a mining ship is destroyed at the same time as a mining asteroid block was fixed.

    crash on simultaneous destructionfrom Multithreading Update Fixes ↗
  • Fixed some wreckages not displaying resources and not being recognized by salvaging AI ships.

    wreckage resources display and salvaging ai recognition
  • Fixed lasers and glows not showing up in asteroid rings when activating the Xsotan portal.

    lasers and glows missing in asteroid ring
  • Copy-pasting text via Ctrl-V is now possible on Linux.

    clipboard paste on linux
  • The 'Clear Sector' option in entitydbg.lua no longer deletes the player's own alliance ships.

  • Fixed a crash when shutting down the server with many players in the same group.

    crash on server shutdown with many players in group
  • Further issues related to multithreading and deleting entities were fixed.

    multithreading and entity deletion issuefrom Multithreading Update Fixes ↗
  • Fixed broken database conversion when fighters are on a ship.

    database conversion with fighters on ship
  • Fixed wreckages not being where they are supposed to be.

    wreckage position
  • Fixed AllianceRank not being registered in the scripting API.

    alliancerank scripting registration
  • Fixed wormhole guardian not aggroing alliances.

    wormhole guardian aggro
  • Fixed setting and getting script values from alliances.

    script values for alliance
  • Fixed ghost wreckages.

    ghost wreckage
  • Improved the aiming of salvaging turrets.

    aiming of salvaging turret
  • Some spelling issues were corrected.

Also in this patch1

  • Client sector updates are planned to run in parallel, but this is not yet done.

    client sector updates parallelization