Skip to content

Constant crash when playing against The serpent #733

Description

@Pewewe2212

Any time I play or discard a hand that has less than 3 cards against the serpent there's a game crash
Game does not crash when playing or discarding 3 or more cards
Jokers are Exeggcutor, mega Alakazam, Lampent, Numel and Daschbun and item slot has the mega stone (in case that matters)

Oops! The game crashed:
functions/state_events.lua:352: attempt to index a nil value

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-1531zeebee-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.9.0
Platform: Windows
Steamodded Mods:
1: Pokermon by InertSteak, Please See Credits Page [ID: Pokermon, Priority: -1, Version: 3.7.0-0421b, Uses Lovely]
2: Handy by SleepyG11 [ID: Handy, Version: 1.5.1p, Uses Lovely]
Lovely Mods:

Stack Traceback

===============
(3) Lua field 'draw_from_deck_to_hand' at file 'functions/state_events.lua:352'
Local variables:
e = nil
hand_space = number: 3
cards_to_draw = table: 0x06e3d6a0 {1:table: 0x087e8ae8}
space_taken = number: 1
limit = number: 0
flags = table: 0x07fb9d60 {}
unfixed = boolean: true
n = number: 1
(for index) = number: 2
(for limit) = number: 3
(for step) = number: 1
i = number: 2
(*temporary) = nil
(*temporary) = number: 15
(*temporary) = table: 0x07fba190 {start_timer:false, timer:TOTAL, blockable:true, trigger:immediate, func:function: 0x07fba128, delay:0, complete:false, time:39.068510581676, blocking:true (more...)}
(*temporary) = string: "base"
(*temporary) = nil
(*temporary) = table: 0x06b70b80 {1:table: 0x08518c38, 2:table: 0x07696e88, 3:table: 0x098dc8c8, 4:table: 0x098dcdc0, 5:table: 0x098dd2b8, 6:table: 0x098dd7b0, 7:table: 0x098ddce8 (more...)}
(*temporary) = number: 32
(*temporary) = string: "attempt to index a nil value"
(4) Lua field 'func' at file 'game.lua:3480'
(5) Lua method 'handle' at file 'engine/event.lua:96'
Local variables:
self = table: 0x098e4c18 {start_timer:true, timer:TOTAL, blockable:true, trigger:immediate, func:function: 0x098e4bf8, delay:0, complete:false, time:39.068510581676, blocking:true (more...)}
_results = table: 0x073a3a60 {blocking:true, pause_skip:false, time_done:false, completed:false}
(6) Lua method 'update' at file 'engine/event.lua:185'
Local variables:
self = table: 0x06b70a40 {queues:table: 0x06b70a68, queue_last_processed:11.916666666667, append_count:0, append_queue:base, queue_dt:0.016666666666667, queue_timer:12.041833354996 (more...)}
dt = number: 0.0166384
forced = nil
(for generator) = C function: next
(for state) = table: 0x06b70a68 {unlock:table: 0x06b70b58, other:table: 0x06b70bf8, tutorial:table: 0x06b70ba8, base:table: 0x06b70b80, achievement:table: 0x06b70bd0}
(for control) = number: nan
k = string: "base"
v = table: 0x06b70b80 {1:table: 0x08518c38, 2:table: 0x07696e88, 3:table: 0x098dc8c8, 4:table: 0x098dcdc0, 5:table: 0x098dd2b8, 6:table: 0x098dd7b0, 7:table: 0x098ddce8 (more...)}
blocked = boolean: false
i = number: 28
results = table: 0x073a3a60 {blocking:true, pause_skip:false, time_done:false, completed:false}
(7) Lua upvalue 'gameUpdateRef' at file 'game.lua:2695'
Local variables:
self = table: 0x06469010 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x088fcfb8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x08883700 (more...)}
dt = number: 0.0166384
http_resp = nil
(8) Lua upvalue 'upd' at Steamodded file 'src/ui.lua:439'
Local variables:
self = table: 0x06469010 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x088fcfb8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x08883700 (more...)}
dt = number: 0.0166384
(9) Lua upvalue 'upd' at file 'functions/pokeanimations.lua:98' (from mod with id Pokermon)
Local variables:
self = table: 0x06469010 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x088fcfb8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x08883700 (more...)}
dt = number: 0.0166384
(10) Lua method 'update' at file 'functions/displaycard.lua:6' (from mod with id Pokermon)
Local variables:
self = table: 0x06469010 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x088fcfb8, F_ENGLISH_ONLY:false, viewed_stake:1, HUD:table: 0x08883700 (more...)}
dt = number: 0.0166384
(11) Lua upvalue 'love_update_ref' at file 'main.lua:1023'
Local variables:
dt = number: 0.0166384
(12) Lua field 'update' at file 'modules/controller.lua:1099' (from lovely module handy/controller)
Local variables:
dt = number: 0.0166384
(13) Lua function '?' at file 'main.lua:962' (best guess)
(14) global C function 'xpcall'
(15) 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"])

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