Skip to content

Crash when selecting any consumable #63

Description

@Reshirou

I am not sure the cause of it, but every so often during a run I will instacrash any time I select a consumable. I think it happens when I have a large number of tags? Sorry if the crash log is lying when it blames Bunco for this. This crash has happened to me before adding better tags and quite a few other actually; I'll mark those with a crossout before they're listed in the log

Oops! The game crashed:
[SMODS Bunco "Bunco.lua"]:5219: attempt to index local 'card' (a nil value)

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-1620a-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.9.0
Platform: Windows
Steamodded Mods:
1: SDM_0's Stuff by SDM_0 [ID: sdm0sstuff, Version: 1.7.3a, Uses Lovely]
2: Card Sleeves by Larswijn [ID: CardSleeves, Priority: -10, Version: 1.9.3, Uses Lovely]~
3: Luna's Enhancedments by LunaAstraCassiopeia [ID: EnhancedEnhancements]
4: Galdur by Eremel_ [ID: galdur, Priority: -10000, Version: 1.2.1e, Uses Lovely]
5: All in Jest by Nevernamed, Survivalaren, RattlingSnow353, Jumbocarrot, ejwu2 [ID: allinjest, Priority: 9999, Version: 0.6.5, Uses Lovely]
6: Clear Nights by RainDance [ID: clearnights, Priority: 2, Version: 0.1.0, Uses Lovely]
7: Better Tags by WaffleDevs [ID: bettertags, Version: 1.0.4, Uses Lovely]
8: Lucky Rabbit by Fennex, Trif, HarmoniousJoker [ID: LuckyRabbit, Priority: 1, Version: 1.3.1, Uses Lovely]
9: ArtBox by SadCube [ID: artbox, Version: 0.7.3, Uses Lovely]
10: Plantain by TeamToaster [ID: plantain, Version: 1.2.1, Uses Lovely]
11: Ortalab by Ortalab Team [ID: ortalab, Version: 1.0.1c, Uses Lovely]
12: The Cracker Pack by sophiedeergirl, sugariimarii [ID: TheCrackerPack, Priority: 4, Version: 0.7.3, Uses Lovely]
13: Random by random71777 [ID: Random, Priority: 250, Version: 0.1a]
14: Better Vouchers This Run UI by Betmma [ID: BetterVouchersThisRunUI]
15: Too Many Jokers by cg [ID: toomanyjokers, Priority: -1000, Version: 4.9.1, Uses Lovely]
16: Paperback by Paperback Team [ID: paperback, Version: 0.8.1, Uses Lovely]
17: Osquo's Extensions by Osquo [ID: OSQUOSEXTENSIONS, Version: 1.3.3-1212a, Uses Lovely]
18: Rainy Days by RainDance [ID: rainydays, Priority: 1, Version: 0.5.0, Uses Lovely]
19: Glue for Modpacks by IcyEthics [ID: mutils, Version: 0.0.4-ALPHA]
20: Banner by SylviBlossom [ID: banner, Version: 1.2.1, Uses Lovely]
21: ExtraCredit by CampfireCollective [ID: extracredit, Priority: 1, Version: 1.3.0, Uses Lovely]
22: Penumbra by Ruby [ID: pbra, Priority: -10000, Version: 1.1.1, Uses Lovely]
23: Monarchy by itsmythie, Eremel_ [ID: monarchy, Priority: -2, Version: 1.0.0, Uses Lovely]
24: Rebalanced Stakes by Riosodu [ID: rebalanced_stakes, Version: 1.3.5, Uses Lovely]
25: Bunco by Firch, RENREN, Peas, minichibis, J.D., Guwahavel, Ciirulean, ejwu [ID: Bunco, Priority: -1, Version: 5.4.8b~JumboFork, Uses Lovely]
26: Black Seal by Infarctus, Riosodu [ID: black_seal, Version: 3.3.6, Uses Lovely]
27: MmmmmJokers by FlameThrowerFIM, HarmoniousJoker, SDM_0, queen of stupid, GhostSalt [ID: mxfj, Version: 1.0.4, Uses Lovely]
28: re:Unlock All by wingedcatgirl [ID: reUnlock, Version: 1.1.2, Uses Lovely]
29: Riosodu Commons by Riosodu [ID: riosodu_shared, Priority: -1, Version: 1.3.0, Uses Lovely]
30: Partner by baimao [ID: partner, Priority: -10, Version: 1.0.2g, Uses Lovely]
31: VanillaRedux by CyberGaster [ID: VanillaRedux, Version: 1.0.0]
32: An Astute Assortment by aaa147, ThunderEdge, CodeRevo [ID: AnAstuteAssortment, Version: 0.1.7]
33: Custom Suit Order by DigitalDetective47 [ID: SuitOrder, Priority: 1.79e+308, Version: 1.0.2]
34: Reverie by DVRP [ID: Reverie, Priority: 1, Version: 1.5.4c, Uses Lovely]
35: Handy by SleepyG11 [ID: Handy, Version: 1.5.1o, Uses Lovely]
36: Saturn by OceanRamen [ID: Saturn, Version: 0.2.2-E-ALPHA, Uses Lovely]
37: Malverk by Eremel_ [ID: malverk, Priority: -999999, Version: 1.1.4a, Uses Lovely]
38: Stone-verhaul by Meta [ID: Stoneverhaul, Version: 1.0.0]
Lovely Mods:

Stack Traceback

(3) Lua method 'remove_from_highlighted' at file 'Bunco.lua:5219' (from mod with id Bunco)
Local variables:
self = table: 0x2b8b1fa0 {click_offset:table: 0x2c0fc040, static_rotation:false, shuffle_amt:0, T:table: 0x2c0fc018, offset:table: 0x2b7521c8, role:table: 0x2ac90d08, last_aligned:-1 (more...)}
card = nil
force = nil
(*temporary) = number: 1
(*temporary) = number: 3
(*temporary) = string: "None"
(*temporary) = boolean: true
(*temporary) = boolean: false
(*temporary) = string: "lctrl"
(*temporary) = boolean: true
(*temporary) = boolean: false
(*temporary) = string: "lctrl"
(*temporary) = string: "rctrl"
(*temporary) = table: 0x2b0b59f8 {1:lctrl, 2:rctrl}
(*temporary) = string: ""
(*temporary) = string: "space"
(*temporary) = string: "attempt to index local 'card' (a nil value)"
(4) Lua upvalue 'bunc_original_add_to_highlighted' at file 'cardarea.lua:238'
Local variables:
self = table: 0x2b8b1fa0 {click_offset:table: 0x2c0fc040, static_rotation:false, shuffle_amt:0, T:table: 0x2c0fc018, offset:table: 0x2b7521c8, role:table: 0x2ac90d08, last_aligned:-1 (more...)}
card = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
silent = nil
(5) Lua method 'add_to_highlighted' at file 'Bunco.lua:5210' (from mod with id Bunco)
Local variables:
self = table: 0x2b8b1fa0 {click_offset:table: 0x2c0fc040, static_rotation:false, shuffle_amt:0, T:table: 0x2c0fc018, offset:table: 0x2b7521c8, role:table: 0x2ac90d08, last_aligned:-1 (more...)}
card = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
silent = nil
original_highlited_limit = number: 0
(6) Lua upvalue 'card_click_ref' at file 'card.lua:5649'
Local variables:
self = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
(7) Lua upvalue 'old' at file 'galdur.lua:180' (from mod with id galdur)
Local variables:
self = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
(8) Lua upvalue 'old_Card_click' at file 'steamodded.lua:259' (from mod with id toomanyjokers)
Local variables:
self = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
(9) Lua upvalue 'Card_click_ref' at file 'CardSleeves.lua:2548' (from mod with id CardSleeves)
Local variables:
self = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
(10) Lua field 'card_click' at file 'partner.lua:665' (from mod with id partner)
Local variables:
self = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
(11) Lua method 'click' at file '/utils/hooks.lua:14' (from mod with id monarchy)
Local variables:
self = table: 0x2d1bee88 {sprite_facing:front, static_rotation:false, ambient_tilt:0.2, parent:table: 0x2b8b1fa0, T:table: 0x2c07ea40, last_aligned:-1, extra_cost:0, highlighted:false (more...)}
(12) Lua upvalue 'Controller_update_ref' at file 'engine/controller.lua:378'
Local variables:
self = table: 0x2ae9da18 {held_button_times:table: 0x2b17fdb8, focus_cursor_stack_level:1, snap_cursor_to:table: 0x2d845588, interrupt:table: 0x2b17fe08, r_cursor_up:table: 0x2b105748 (more...)}
dt = number: 0.021301
(13) Lua method 'update' at file 'partner.lua:559' (from mod with id partner)
Local variables:
self = table: 0x2ae9da18 {held_button_times:table: 0x2b17fdb8, focus_cursor_stack_level:1, snap_cursor_to:table: 0x2d845588, interrupt:table: 0x2b17fe08, r_cursor_up:table: 0x2b105748 (more...)}
dt = number: 0.021301
(14) Lua upvalue 'gameUpdateRef' at file 'game.lua:3101'
Local variables:
self = table: 0x2ad84e40 {HUD_zodiac:table: 0x2c0fef40, F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x2c0fed40, F_ENGLISH_ONLY:false, viewed_stake:4 (more...)}
dt = number: 0.021301
(15) Lua upvalue 'update_ref' at Steamodded file 'src/ui.lua:456'
Local variables:
self = table: 0x2ad84e40 {HUD_zodiac:table: 0x2c0fef40, F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x2c0fed40, F_ENGLISH_ONLY:false, viewed_stake:4 (more...)}
dt = number: 0.021301
(16) Lua upvalue 'bunc_original_game_update' at file 'Penumbra.lua:383' (from mod with id pbra)
Local variables:
self = table: 0x2ad84e40 {HUD_zodiac:table: 0x2c0fef40, F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x2c0fed40, F_ENGLISH_ONLY:false, viewed_stake:4 (more...)}
dt = number: 0.021301
(17) Lua upvalue 'upd' at file 'Bunco.lua:1118' (from mod with id Bunco)
Local variables:
self = table: 0x2ad84e40 {HUD_zodiac:table: 0x2c0fef40, F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x2c0fed40, F_ENGLISH_ONLY:false, viewed_stake:4 (more...)}
dt = number: 0.021301
(18) Lua upvalue 'gameupdateref' at file 'util/animateObject.lua:86' (from mod with id OSQUOSEXTENSIONS)
Local variables:
self = table: 0x2ad84e40 {HUD_zodiac:table: 0x2c0fef40, F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x2c0fed40, F_ENGLISH_ONLY:false, viewed_stake:4 (more...)}
dt = number: 0.021301
(19) Lua upvalue 'gameUpdateRef' at file 'Utils/hooks.lua:812' (from mod with id allinjest)
Local variables:
self = table: 0x2ad84e40 {HUD_zodiac:table: 0x2c0fef40, F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x2c0fed40, F_ENGLISH_ONLY:false, viewed_stake:4 (more...)}
dt = number: 0.021301
(20) Lua method 'update' at line 32 of chunk '"5060"]'
Local variables:
self = table: 0x2ad84e40 {HUD_zodiac:table: 0x2c0fef40, F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x2c0fed40, F_ENGLISH_ONLY:false, viewed_stake:4 (more...)}
dt = number: 0.021301
(21) Lua upvalue 'love_update_ref' at file 'main.lua:1026'
Local variables:
dt = number: 0.021301
(22) Lua upvalue 'upd_ref' at file 'modules/controller.lua:1099' (from lovely module handy/controller)
Local variables:
dt = number: 0.021301
(23) Lua field 'update' at file 'steamodded.lua:94' (from mod with id toomanyjokers)
Local variables:
dt = number: 0.021301
(24) Lua function '?' at file 'main.lua:962' (best guess)
(25) global C function 'xpcall'
(26) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
func = Lua function '?' (defined at line 933 of chunk main.lua)
inerror = boolean: true
deferErrhand = Lua function '(LÖVE Function)' (defined at line 348 of chunk [love "boot.lua"])
earlyinit = Lua function '(LÖVE Function)' (defined at line 355 of chunk [love "boot.lua"])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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