Page 1 of 1
[2.0.37] Weird behaviour of request cancelation with auto-trash enabled
Posted: Mon Mar 03, 2025 8:50 pm
by Hares
Steps to Reproduce
- Deploy a requester chest
- Enable auto-trash (aka Trash unrequested)
- Connect it to the network in Set requests mode (requests 50 ore)
- Add group with -999999999... of that ore
Expected:
- Request canceled
- No items are requested
- Existing items are trashed
- Satisfaction is 0/0
Actual:
- Request canceled partially
- No items are requested
- Existing items are not trashed
- Satisfaction is 0/50
See Also
Re: [2.0.37] Weird behaviour of request cancelation with auto-trash enabled
Posted: Wed Apr 02, 2025 6:13 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.
Re: [2.0.37] Weird behaviour of request cancelation with auto-trash enabled
Posted: Wed Apr 02, 2025 6:35 pm
by Hares
Rseding91 wrote: Wed Apr 02, 2025 6:13 pm
Thanks for the report. This is now fixed for the next release.
What is correct behaviour after fix?
Re: [2.0.37] Weird behaviour of request cancelation with auto-trash enabled
Posted: Wed Apr 02, 2025 6:49 pm
by Rseding91
Hares wrote: Wed Apr 02, 2025 6:35 pm
Rseding91 wrote: Wed Apr 02, 2025 6:13 pm
Thanks for the report. This is now fixed for the next release.
What is correct behaviour after fix?
The two numbers are added and the clamp(value, 0, max) is used for the request amount. If both are set to "infinite max" then that's also the trash amount.