pyanodon / pybugreports

Central bug-report repository for pymods
The Unlicense
5 stars 1 forks source link

Copied Inserters are always blacklist mode #400

Closed Tindrith closed 5 months ago

Tindrith commented 5 months ago

Mod source

Factorio Mod Portal

Which mod are you having an issue with?

Operating system

=Windows 10

What kind of issue is this?

What is the problem?

Everytime an Inserter with a filter only on the right slot gets placed by a bot after copying or blueprinting the filter mode is automatically set to blacklisted. This destroys any multiplied setup relying on whitelisting.

Steps to reproduce

  1. Install the whole py-suite
  2. Start any new game
  3. Place an inserter setup with a whitelist and a filtered item only on the right filter slot
  4. Copy/blueprint the inserter
  5. Place the copy/blueprint
  6. Inserter filters get switched from whitelist to blacklist

Additional context

No response

Log file

No response

Dorus commented 5 months ago

I think this is a game problem. Py sets them to blacklist to retain default behavior, and cannot detect if a inserter has been placed by a blueprint. See discord discussion: https://discord.com/channels/560199483065892894/567718271823118347/1198240229660839966 and https://discord.com/channels/560199483065892894/567718271823118347/1198263450921615390

As a workaround, you can make your blueprint with wire and then it does properly copy the setting.

kingarthur91 commented 5 months ago

it was an issue with it not properly checking any other slot then the first for filters. its fixed now as of 2.1.21