Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Recipe Scan] Sub recipe optimization error #774

Closed
berickus opened this issue Dec 9, 2024 · 1 comment
Closed

[Recipe Scan] Sub recipe optimization error #774

berickus opened this issue Dec 9, 2024 · 1 comment
Assignees

Comments

@berickus
Copy link

berickus commented Dec 9, 2024

Describe the bug
This is on a maxed jeweler.
After Auctionator full scan, go to CraftSim.
When enabling sub recipe optimization, there is an immediate error about nil number format

To Reproduce
Steps to reproduce the behavior:

  1. Go to Recipe Scan
  2. Click on enable optimize sub recipes
  3. Click Scan Recipes

Expected behavior
Scan works without errors.

Screenshots
Screenshot 2024-12-09 143632

Screenshot 2024-12-09 143618

Addon Version: [e.g. 19.7.1]
19.7.2

Additional context
Message: Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:528: bad argument #1 to 'format' (number expected, got nil)
Time: Mon Dec 9 14:31:16 2024
Count: 1
Stack: Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:528: bad argument #1 to 'format' (number expected, got nil)
[string "=[C]"]: in function format' [string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:528: in function Round'
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:471: in function <Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:470>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/CraftSim/Classes/RecipeData.lua"]:1859: in function OptimizeSubRecipes' [string "@Interface/AddOns/CraftSim/Classes/RecipeData.lua"]:1291: in function continue'
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:1177: in function <Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:1176>

Locals: (*temporary) = "%.0f"
(*temporary) = nil
(*temporary) = "number expected, got nil"

@derfloh205
Copy link
Owner

#656 part of this

@derfloh205 derfloh205 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 13, 2025
@github-project-automation github-project-automation bot moved this from Backlog to Done in CraftSim Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants