Skip to content

AutoTrash crashes in spidertron when "min requested item is greater than max requested" #29

@credomane

Description

@credomane
The mod Auto Trash (5.3.13) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AutoTrash::on_gui_click (ID 1)
min (100) must be <= max (10).
stack traceback:
	[C]: in function 'set_request'
	__AutoTrash__/scripts/spidertron.lua:18: in function 'set_requests'
	__AutoTrash__/scripts/spidertron.lua:51: in function 'handler'
	__AutoTrash__/control.lua:119: in function <__AutoTrash__/control.lua:100>

The preset that crashes in the spidertron works just fine on a player character. Looking into the preset I was able to set my repair packs to request 100 but trash everything after 10. It was supposed to be 100/100 not sure how I did that. When applied to the player it sets it to 100/100 even though AutoTrash see 100/10. When applying the same preset to a spidertron AutoTrash crashes with the above error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions