Avorion

Avorion

36 ratings
Order Book
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod
File Size
Posted
Updated
321.219 KB
23 Apr, 2020 @ 12:06pm
28 Apr, 2020 @ 11:21pm
5 Change Notes ( view )

Subscribe to download
Order Book

Description
Order Book gives an interface to save, edit, and load chains of craft orders.

Requires the GravyUI library, and should be compatible with mods which add more orders.

Features
  • Sync orders with craft
  • Read a chain of orders from a craft
  • Edit those orders
  • Rearrange the orders
  • Remove orders from the chain
  • Save the chain to a book
  • Read saved books
  • Replace an order chain on a craft
  • Append a chain of orders to a craft

Usage
Opening the Order Book Window

Press the "book" icon at the bottom right of the Galaxy Map

Load crafts order from the craft to the window

Select a craft, then press the "Load Orders" button.

Replace all orders on a craft with the orders in the window

Select a craft, then press the "Replace Orders" button.

Append orders in the window to the end of a crafts existing chain

Select a craft, hold shift, then press the "Append Orders" button.

Save orders in window to a book

Type a name in the text book, and click the "Write Book" button.

Read orders from a book to the window

Select the book from the dropdown, and click the "Read Book" button.

Edit, move, delete orders

In the main window, press the arrows to move an order up or down. To edit an order, click the pencil icon. This will open an edit window. Be careful, as you could break the order.

Relative Checkbox for Jumps

If a jump order has the "relative" checkbox checked, when you assign the orders to a craft, the relative jump order will be replaced with a jump to the sector the craft was in when the orders were assigned to the craft.

Bug Reporting / Feature Requests
Make a comment below, or report on the Avorion discord channel. I only support stable versions of Avorion. Beta versions will not be supported.

Change Log
v1.0 - Initial Release
v1.0.1 - Bug Fix
v1.1.0 - Interface Change/Improvements
v1.3 - Interface Improvement, Sync added
35 Comments
Calmaria 16 May, 2021 @ 10:58pm 
@Dev, Can you give this one another look? Id really like to try using it, but with the errors reported below, I think Id rather wait a bit.
Scanda 10 Nov, 2020 @ 1:36pm 
I tried it with version 1.3.4, but i can't create a new book. It says, i can't create an empty book, but i can't add any commands to it.
Xilr 21 Jun, 2020 @ 4:52pm 
We have found a serious bug. I can not tell you much about it, because I am not a programmer. Somehow on a dedicated server it causes crashes. The error message it leaves behind is NOT helpful in figuring out WHY it crashes or even what is going on. But after extensive mod removals one at a time, this one ended up the culprit.

The error message that gets generated just before the server crashes is as follows: "1 failed to acquire virtual int Faction::getIndex() const: 72, accessMutex [locked at <unknown>] after 10.016 seconds" We confirmed that the user who's sector triggered this had "JUST" set up a major trade route using Order book to assist him. It seemed to work, but a few hours later (after he was already in AFK mode) the problem started.
Hammelpilaw 29 May, 2020 @ 7:18am 
Having the same bug reports from players on my server, and need to remove this mod...
AprilsRealm 14 May, 2020 @ 5:06am 
[See Below]

This is the issue I was talking about, the sheer number of "books" being created was causing extreme lag on my server to the point where I have had to reset.
Squiffilect 13 May, 2020 @ 6:49am 
I've had to stop using this... It caused spinning ships and 1000s of duplicate books to the point it's take 3 to 5 seconds to delete a book and would make my game hang for periods of up to a minute at a time... A great idea and if fixed would be such a valuable mod.
Shrooblord 13 May, 2020 @ 3:39am 
Hey. I'm running into an issue where, when I log on after having overwritten my order book a bunch of times in a previous session, there's a lot of duplicate books. When I select them and press "Delete Book", it doesn't get rid of them, and doesn't spit out an error either. They're not stored as a Player Value so I can't go into the Entity Debugger and fix it manually. In fact, I'm a little perplexed as to where they *are* stored, looking at the code. It's pretty cool. But I'm also looking into it trying to find a fix. :P

Maybe you have a better idea of where this bug comes from and how to resolve it?
AprilsRealm 11 May, 2020 @ 10:41am 
Where is the data for this mod stored?

It has caused me nothing but pain on my server and id' like to delete the data and remove this mod permanently from my active mod list.
Ghost722nd 10 May, 2020 @ 3:27pm 
Same bug as "Ko" said, not crashing the server for me but the orders get duplicated and build up an endless list! Would be a shame to not be able to use it because of this! It's really helpful, thanks for this mod ;)
EyeOfMars 5 May, 2020 @ 7:08am 
So with this I can give my Miners/Salvagers/Warships orders and loops. Nice. Carrier command automates the orders for fighters and groups them. Is there a possiblity to combine them to make this mod (or a new one) give groups commands:
- Warships: Collect your Fighters and Patrol Sector order
- Salvagers: Salvage here and either jump to x/y to refine + come back + loop OR transfer cargo + loop
- Miner: ReMine

Atm its a bit annoying to manage 20+ ships after each one and doesnt feel like a commander of the fleet should feel. Giving out 3 orders for the 3 groups that then follow predefined "books! would be awesome!