Quickbar blueprint

by Dimava

Convert quickbar filters to blueprint and back. Store them in library, share them, do whatever you want - they are ordinary blueprints. *No UI will disturb you until you want to save or load quickbar build - take an empty BP to make UI appear*

Utilities
5 years ago
0.17
17

b Crash [fixed]

5 years ago
(updated 5 years ago)

Hi

Just got a crash with Quickbar blueprint.

Screenshot with context: https://i.imgur.com/csO2Up7.png

What I did:

  1. I pressed Control-X to get the new Cut blueprint
  2. I dragged it over an area containing cliffs and trees which I wanted my bots to deconstruct. My purpose was to use the new Cut blueprint as a quicker way of getting of deconstructing things, quicker than getting a deconstruction planner (because there's an easy keyboard shortcut for Cut, but not for the deconstruction planner.)
  3. The entities involved got marked with red Xs for deconstruction (as can be seen in screenshot), but immediately your mod crashed.
  4. I later disabled the mod and repeated the operation at the same place to confirm it did not crash without the mod.
    I noted that this resulted in my getting a blueprint containing some landfill (or grass-1 tile), so maybe the crash is nothing to do with deconstruction, but purely to do with a blueprint containing 100% grass/landfill?

Here's another screenshot of me doing a similar operation without your mod - you can see I appear to be holding a blueprint containing nothing but grass: https://i.imgur.com/ZlbsRbZ.png . If I then put this in my inventory, it looks like this: https://i.imgur.com/26dpRQk.png

So my guess is this 100% grass-1/landfill blueprint broke your detection of what kind of BP the player is holding?

Error message:

12519.763 Error MainLoop.cpp:1129: Exception at tick 107600554: The mod [color=cyan]Quickbar blueprint[/color] [signal=signal-Q][item=blueprint] caused a non-recoverable error.
Please report this error to the mod author.

Error while running event quick-bar-blueprint::on_player_cursor_stack_changed (ID 29)
quick-bar-blueprint/control.lua:94: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
quick-bar-blueprint/control.lua:94: in function 'has_qb_bp'
quick-bar-blueprint/control.lua:113: in function <quick-bar-blueprint/control.lua:105

I'm going to disable the mod for the time being.

Thanks

5 years ago

Thanks for report, fixed.
...
I just checked, and I can't cut cliffs and trees. Do you use some mod for that?
I currently delete bind for decon and shilf+delete for tree decon (delete for rememberong simplicity) in mod of PickerExtended family for same thing

5 years ago

Excellent, thanks for the fast fix!

Yeah actually using Cut for cliffs/trees really doesn't work very well. No I wasn't using a mod. it can remove them but only if there is something to blueprint underneath, so it worked when the cliffs/trees were on grass-1/landfill. But otherwise not. So it is not very reliable.

Yeah I do use Picker Extended. I've bound Control-Alt-Q for blank BP and Control-Alt-W for blank deconstruction planner. I just wanted to see if Cut worked as well :)

Thanks again for the quick fixes.

New response