Skip to content

Game crashes on win and crashes on trying to start new run #1195

@lilypadgamer1234

Description

@lilypadgamer1234

Was playing on blue deck, white stake, and crashes on win, and crashes when trying to start a new run.
Crash on win =

Oops! The game crashed:
functions/misc_functions.lua:1179: attempt to index field 'wins_by_key' (a nil value)


Development version of Steamodded detected! If you are not actively developing a mod, please try using the latest release instead.



Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-1403d-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.9.0
Platform: Windows
Steamodded Mods:
    1: Celestial Funk by Lime_Effy [ID: celestial_funk_limeeffy, Version: 1.0.0]
    2: Achievements Enabler by Steamo [ID: AchievementsEnabler]
    3: Malverk by Eremel_ [ID: malverk, Priority: -999999, Version: 1.1.4, Uses Lovely]
    4: Yuri Blueprint Brainstorm  by eaze [ID: DereBS]
    5: Legendere Jokers by eaze [ID: DereJkr]
    6: Deltarune Face Cards by CubeGuy, _VioMarks_, Hectordudeman [ID: DeltaruneDeck, Version: 1.1.0]
    7: Yuri EvenSteven OddTodd  by eaze [ID: DereEO]
Lovely Mods:

Stack Traceback
===============
(3) Lua global 'set_joker_win' at file 'functions/misc_functions.lua:1179'
Local variables:
 (for generator) = C function: next
 (for state) = table: 0x230cee70  {1:table: 0x22a7fbd8, 2:table: 0x22bcf6a0, 3:table: 0x22df3a80, 4:table: 0x230a31b0, 5:table: 0x22e85278}
 (for control) = number: nan
 k = number: 1
 v = table: 0x22a7fbd8  {under_overlay:false, click_offset:table: 0x22b84400, original_T:table: 0x22bdaf68, children:table: 0x22a73470, ambient_tilt:0.2, parent:table: 0x233cce18 (more...)}
 (*temporary) = nil
 (*temporary) = string: "stake_white"
 (*temporary) = nil
 (*temporary) = string: "stake_white"
 (*temporary) = number: 1
 (*temporary) = string: "attempt to index field 'wins_by_key' (a nil value)"
(4) Lua global 'win_game' at file 'functions/state_events.lua:3'
(5) Lua field 'func' at file 'functions/state_events.lua:163'
(6) Lua method 'handle' at file 'engine/event.lua:96'
Local variables:
 self = table: 0x22e2d398  {start_timer:true, timer:TOTAL, blockable:false, trigger:immediate, func:function: 0x2312f488, delay:0, complete:false, time:61.575280038428, blocking:false (more...)}
 _results = table: 0x23122ca8  {blocking:false, pause_skip:false, time_done:false, completed:false}
(7) Lua method 'update' at file 'engine/event.lua:184'
Local variables:
 self = table: 0x23185368  {queues:table: 0x23185390, queue_last_processed:18.7, append_count:0, append_queue:base, queue_dt:0.016666666666667, queue_timer:18.804682619146 (more...)}
 dt = number: 0.0167031
 forced = nil
 (for generator) = C function: next
 (for state) = table: 0x23185390  {unlock:table: 0x23185480, other:table: 0x23185520, tutorial:table: 0x231854d0, base:table: 0x231854a8, achievement:table: 0x231854f8}
 (for control) = number: nan
 k = string: "base"
 v = table: 0x231854a8  {1:table: 0x23438318, 2:table: 0x22e2d398, 3:table: 0x23507848, 4:table: 0x22d1ecd0, 5:table: 0x22ee9100, 6:table: 0x230db150, 7:table: 0x230db250 (more...)}
 blocked = boolean: false
 i = number: 2
 results = table: 0x23122ca8  {blocking:false, pause_skip:false, time_done:false, completed:false}
(8) Lua upvalue 'gameUpdateRef' at file 'game.lua:2617'
Local variables:
 self = table: 0x22a80f08  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x23838240, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x237be408 (more...)}
 dt = number: 0.0167031
 http_resp = nil
(9) Lua method 'update' at Steamodded file 'src/ui.lua:190' 
Local variables:
 self = table: 0x22a80f08  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x23838240, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x237be408 (more...)}
 dt = number: 0.0167031
(10) Lua field 'update' at file 'main.lua:1018'
Local variables:
 dt = number: 0.0167031
(11) Lua function '?' at file 'main.lua:957' (best guess)
(12) global C function 'xpcall'
(13) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
 func = Lua function '?' (defined at line 928 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"])
`

Crash on trying to start new run = 
`Oops! The game crashed:
[SMODS _ "src/overrides.lua"]:586: attempt to index field 'wins_by_key' (a nil value)


Development version of Steamodded detected! If you are not actively developing a mod, please try using the latest release instead.



Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-1403d-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.9.0
Platform: Windows
Steamodded Mods:
    1: Celestial Funk by Lime_Effy [ID: celestial_funk_limeeffy, Version: 1.0.0]
    2: Achievements Enabler by Steamo [ID: AchievementsEnabler]
    3: Malverk by Eremel_ [ID: malverk, Priority: -999999, Version: 1.1.4, Uses Lovely]
    4: Yuri Blueprint Brainstorm  by eaze [ID: DereBS]
    5: Legendere Jokers by eaze [ID: DereJkr]
    6: Deltarune Face Cards by CubeGuy, _VioMarks_, Hectordudeman [ID: DeltaruneDeck, Version: 1.1.0]
    7: Yuri EvenSteven OddTodd  by eaze [ID: DereEO]
Lovely Mods:

Stack Traceback
===============
(3) Lua field 'stake_option' at Steamodded file 'src/overrides.lua:586' 
Local variables:
 _type = string: "New Run"
 middle = table: 0x234647f0  {nodes:table: 0x23464910, n:4, config:table: 0x23464880}
 stake_options = table: 0x23465ac0  {}
 curr_options = table: 0x23465ae8  {}
 deck_usage = table: 0x22c38100  {order:1, count:1, wins:table: 0x22c342e8, losses:table: 0x22c38128}
 (*temporary) = table: 0x22ad7688  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, F_ENGLISH_ONLY:false, viewed_stake:1, sort_id:24, F_DISCORD:true, STAGE:1, F_MOBILE_UI:false (more...)}
 (*temporary) = nil
 (*temporary) = string: "stake_white"
 (*temporary) = number: 1
 (*temporary) = table: 0x2318b6d8  {_saved_d_u:true, original_key:white, loc_txt:table: 0x2318bc78, sticker_pos:table: 0x2318b910, _u:true, injected:true, stake_level:1, order:1 (more...)}
 (*temporary) = string: "stake_white"
 (*temporary) = table: 0x23464a10  {velocity:table: 0x23465310, click_offset:table: 0x23464db8, children:table: 0x23465108, T:table: 0x23464c00, CT:table: 0x23464c00, shadow_height:0.2 (more...)}
 (*temporary) = nil
 (*temporary) = string: "attempt to index field 'wins_by_key' (a nil value)"
(4) Lua function '?' at file 'functions/button_callbacks.lua:1258' (best guess)
Local variables:
 e = table: 0x22d13cb8  {velocity:table: 0x23463e60, click_offset:table: 0x23463550, UIT:5, children:table: 0x22d13ce0, shadow_height:0.2, parent:table: 0x232b1598, VT:table: 0x23463d70 (more...)}
 (*temporary) = table: 0x22ea93d0  {func:RUN_SETUP_check_stake, colour:table: 0x22a78dd0, object:table: 0x22ea9460, insta_func:true}
 (*temporary) = table: 0x22b9c220  {remove_group:function: 0x22a61060, draw:function: 0x22a610e0, print_topology:function: 0x22b9b7f8, recalculate:function: 0x22a61100, init:function: 0x22a8c068 (more...)}
 (*temporary) = table: 0x23464790  {}
(5) Lua method 'set_values' at file 'engine/ui.lua:463'
Local variables:
 self = table: 0x22d13cb8  {velocity:table: 0x23463e60, click_offset:table: 0x23463550, UIT:5, children:table: 0x22d13ce0, shadow_height:0.2, parent:table: 0x232b1598, VT:table: 0x23463d70 (more...)}
 _T = table: 0x23232ca8  {y:3.8, h:0, x:0, w:0}
 recalculate = nil
(6) Lua method 'calculate_xywh' at file 'engine/ui.lua:160'
Local variables:
 self = table: 0x22b38798  {velocity:table: 0x231aa7f0, click_offset:table: 0x2308dec8, shadow_parrallax:table: 0x22e50648, children:table: 0x22e507d0, definition:table: 0x2312a908 (more...)}
 node = table: 0x22d13cb8  {velocity:table: 0x23463e60, click_offset:table: 0x23463550, UIT:5, children:table: 0x22d13ce0, shadow_height:0.2, parent:table: 0x232b1598, VT:table: 0x23463d70 (more...)}
 _T = table: 0x23366f18  {y:3.8, h:0, x:0, w:0}
 recalculate = nil
 _scale = number: 1
 _nt = table: 0x23232ca8  {y:3.8, h:0, x:0, w:0}
 _ct = table: 0x22dd3c98  {y:0, h:0, x:0, w:0}
 padding = number: 0
(7) Lua method 'calculate_xywh' at file 'engine/ui.lua:185'
Local variables:
 self = table: 0x22b38798  {velocity:table: 0x231aa7f0, click_offset:table: 0x2308dec8, shadow_parrallax:table: 0x22e50648, children:table: 0x22e507d0, definition:table: 0x2312a908 (more...)}
 node = table: 0x232b1598  {content_dimensions:table: 0x232b16d8, ARGS:table: 0x232b16b0, UIT:4, children:table: 0x232b15c0, parent:table: 0x22d13c90, UIBox:table: 0x22b38798 (more...)}
 _T = table: 0x233655f8  {y:3.8, h:0, x:0, w:0}
 recalculate = nil
 _scale = number: 1
 _nt = table: 0x23476928  {y:3.8, h:2.2, x:0, w:6.8}
 _ct = table: 0x23366f18  {y:3.8, h:0, x:0, w:0}
 padding = number: 0
 (for index) = number: 1
 (for limit) = number: 2
 (for step) = number: 1
 i = number: 1
 fac = number: 1
 _tw = nil
 _th = nil
 (for generator) = C function: builtin#6
 (for state) = table: 0x232b15c0  {1:table: 0x22d13cb8}
 (for control) = number: 1
 k = number: 1
 v = table: 0x22d13cb8  {velocity:table: 0x23463e60, click_offset:table: 0x23463550, UIT:5, children:table: 0x22d13ce0, shadow_height:0.2, parent:table: 0x232b1598, VT:table: 0x23463d70 (more...)}
(8) Lua method 'calculate_xywh' at file 'engine/ui.lua:185'
Local variables:
 self = table: 0x22b38798  {velocity:table: 0x231aa7f0, click_offset:table: 0x2308dec8, shadow_parrallax:table: 0x22e50648, children:table: 0x22e507d0, definition:table: 0x2312a908 (more...)}
 node = table: 0x22d13c90  {content_dimensions:table: 0x232b1538, ARGS:table: 0x232b1510, UIT:4, children:table: 0x23216dd8, parent:table: 0x23211ef0, UIBox:table: 0x22b38798 (more...)}
 _T = table: 0x232a7ed8  {y:3.8, h:3.8, x:0, w:8.8987804878049}
 recalculate = nil
 _scale = number: 1
 _nt = table: 0x233655d0  {y:3.8, h:0, x:0, w:0}
 _ct = table: 0x233655f8  {y:3.8, h:0, x:0, w:0}
 padding = number: 0
 (for index) = number: 1
 (for limit) = number: 2
 (for step) = number: 1
 i = number: 1
 fac = number: 1
 _tw = nil
 _th = nil
 (for generator) = C function: builtin#6
 (for state) = table: 0x23216dd8  {1:table: 0x232b1598}
 (for control) = number: 1
 k = number: 1
 v = table: 0x232b1598  {content_dimensions:table: 0x232b16d8, ARGS:table: 0x232b16b0, UIT:4, children:table: 0x232b15c0, parent:table: 0x22d13c90, UIBox:table: 0x22b38798 (more...)}
(9) Lua method 'calculate_xywh' at file 'engine/ui.lua:185'
Local variables:
 self = table: 0x22b38798  {velocity:table: 0x231aa7f0, click_offset:table: 0x2308dec8, shadow_parrallax:table: 0x22e50648, children:table: 0x22e507d0, definition:table: 0x2312a908 (more...)}
 node = table: 0x23211ef0  {parent:table: 0x22b38798, ARGS:table: 0x23211f40, UIT:7, children:table: 0x23211f18, content_dimensions:table: 0x23212030, UIBox:table: 0x22b38798 (more...)}
 _T = table: 0x22ba9988  {x:0, w:1, y:0, h:1, scale:1, r:0}
 recalculate = nil
 _scale = nil
 _nt = table: 0x22d887c0  {y:0, h:6.6, x:0, w:6}
 _ct = table: 0x232a7ed8  {y:3.8, h:3.8, x:0, w:8.8987804878049}
 padding = number: 0
 (for index) = number: 1
 (for limit) = number: 2
 (for step) = number: 1
 i = number: 1
 fac = number: 1
 _tw = number: 8.89878
 _th = number: 3.8
 (for generator) = C function: builtin#6
 (for state) = table: 0x23211f18  {1:table: 0x23212090, 2:table: 0x22d13c90, 3:table: 0x22d10c60, 4:table: 0x230590e0}
 (for control) = number: 2
 k = number: 2
 v = table: 0x22d13c90  {content_dimensions:table: 0x232b1538, ARGS:table: 0x232b1510, UIT:4, children:table: 0x23216dd8, parent:table: 0x23211ef0, UIBox:table: 0x22b38798 (more...)}
(10) Lua method 'init' at file 'engine/ui.lua:67'
Local variables:
 self = table: 0x22b38798  {velocity:table: 0x231aa7f0, click_offset:table: 0x2308dec8, shadow_parrallax:table: 0x22e50648, children:table: 0x22e507d0, definition:table: 0x2312a908 (more...)}
 args = table: 0x22ea53c0  {config:table: 0x22b386a8, definition:table: 0x2312a908}
(11) Lua global 'UIBox' at file 'engine/object.lua:35'
Local variables:
 self = table: 0x22b9c220  {remove_group:function: 0x22a61060, draw:function: 0x22a610e0, print_topology:function: 0x22b9b7f8, recalculate:function: 0x22a61100, init:function: 0x22a8c068 (more...)}
 obj = table: 0x22b38798  {velocity:table: 0x231aa7f0, click_offset:table: 0x2308dec8, shadow_parrallax:table: 0x22e50648, children:table: 0x22e507d0, definition:table: 0x2312a908 (more...)}
(12) Lua function '?' at file 'functions/button_callbacks.lua:1321' (best guess)
Local variables:
 e = table: 0x22b93378  {pixellated_rect:table: 0x231fa858, click_offset:table: 0x22f45300, children:table: 0x22b933a0, parent:table: 0x22b931d8, T:table: 0x22f45210 (more...)}
 _infotip_object = table: 0x23047eb8  {click_offset:table: 0x230ce6e8, children:table: 0x23047ee0, parent:table: 0x23216a60, T:table: 0x230a49c8, offset:table: 0x23037620, role:table: 0x22c69598 (more...)}
 tab_contents = table: 0x23216388  {click_offset:table: 0x22c584d0, children:table: 0x232163b0, parent:table: 0x22d01a98, T:table: 0x22c58258, offset:table: 0x22df15d0, role:table: 0x22df1840 (more...)}
 (*temporary) = table: 0x230e9e08  {object:table: 0x230af098, colour:table: 0x22a78dd0, id:tab_contents}
(13) Lua method 'click' at file 'engine/ui.lua:987'
Local variables:
 self = table: 0x22b93378  {pixellated_rect:table: 0x231fa858, click_offset:table: 0x22f45300, children:table: 0x22b933a0, parent:table: 0x22b931d8, T:table: 0x22f45210 (more...)}
(14) Lua method 'update' at file 'engine/controller.lua:373'
Local variables:
 self = table: 0x22e58268  {held_button_times:table: 0x22e78df8, focus_cursor_stack_level:1, snap_cursor_to:table: 0x22e16178, interrupt:table: 0x22e65ba0, GAMEPAD:table: 0x22e8b020 (more...)}
 dt = number: 0.0167142
(15) Lua upvalue 'gameUpdateRef' at file 'game.lua:2754'
Local variables:
 self = table: 0x22ad7688  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, F_ENGLISH_ONLY:false, viewed_stake:1, sort_id:24, F_DISCORD:true, STAGE:1, F_MOBILE_UI:false (more...)}
 dt = number: 0
(16) Lua method 'update' at Steamodded file 'src/ui.lua:190' 
Local variables:
 self = table: 0x22ad7688  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, F_ENGLISH_ONLY:false, viewed_stake:1, sort_id:24, F_DISCORD:true, STAGE:1, F_MOBILE_UI:false (more...)}
 dt = number: 0.0167142
(17) Lua field 'update' at file 'main.lua:1018'
Local variables:
 dt = number: 0.0167142
(18) Lua function '?' at file 'main.lua:957' (best guess)
(19) global C function 'xpcall'
(20) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
 func = Lua function '?' (defined at line 928 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"])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions