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

Crash when redeeming crystal ball voucher #44

Open
Ow0cast opened this issue Jan 23, 2025 · 1 comment
Open

Crash when redeeming crystal ball voucher #44

Ow0cast opened this issue Jan 23, 2025 · 1 comment

Comments

@Ow0cast
Copy link

Ow0cast commented Jan 23, 2025

When I redeemed the Crystal Ball voucher the game crashed.

I am running on Windows 10 with the following mods:
Talisman v2.0.2 (Steamodded)
Blueprint v3.2 (Steamodded)

Below is the contents of the log file for that instance of Balatro

INFO - [♥] Lovely 0.6.0
INFO - [♥] Game directory is at "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Balatro"
INFO - [♥] Writing logs to "C:\\Users\\Nikki\\AppData\\Roaming\\Balatro\\Mods\\lovely\\log"
INFO - [♥] Using mod directory at "C:\\Users\\Nikki\\AppData\\Roaming\\Balatro\\Mods"
INFO - [♥] Found .lovelyignore in 'Cryptid', skipping it.
INFO - [♥] Cleaning up dumps directory at "C:\\Users\\Nikki\\AppData\\Roaming\\Balatro\\Mods\\lovely\\dump"
INFO - [♥] Initialization complete in 31ms
WARN - [♥] Pattern 'G.ARGS.score_intensity.organ = G.video_organ or G.ARGS.score_intensity.required_score > 0 and math.max(math.min(0.4, 0.1*math.log(G.ARGS.score_intensity.earned_score/(G.ARGS.score_intensity.required_score+1), 5)),0.) or 0' on target 'main.lua' resulted in no matches
WARN - [♥] Pattern 'if type(G.GAME.current_round.current_hand.chips) ~= \'number\' or type(G.GAME.current_round.current_hand.mult) ~= \'number\' then' on target 'main.lua' resulted in no matches
INFO - [♥] Applied 13 patches to 'main.lua'
INFO - [♥] Applied 2 patches to 'engine/string_packer.lua'
WARN - [♥] Pattern 'if not _RELEASE_MODE then' on target 'engine/controller.lua' resulted in no matches
INFO - [♥] Applied 3 patches to 'engine/controller.lua'
INFO - [♥] Applied 11 patches to 'back.lua'
INFO - [♥] Applied 5 patches to 'tag.lua'
INFO - [♥] Applied 2 patches to 'engine/moveable.lua'
INFO - [♥] Applied 2 patches to 'engine/sprite.lua'
INFO - [♥] Applied 2 patches to 'engine/animatedsprite.lua'
WARN - [♥] Pattern 'assembled_string = assembled_string..(type(subpart) == \'string\' and subpart or args.vars[tonumber(subpart[1])] or \'ERROR\')' on target 'functions/misc_functions.lua' resulted in no matches
INFO - [♥] Applied 43 patches to 'functions/misc_functions.lua'
INFO - [♥] Applied 33 patches to 'game.lua'
INFO - [♥] Applied 3 patches to 'globals.lua'
INFO - [♥] Applied 6 patches to 'engine/ui.lua'
WARN - [♥] Pattern '{n=G.UIT.T, config={text = G.GAME.hands[handname].chips, scale = 0.45, colour = G.C.UI.TEXT_LIGHT}},' on target 'functions/UI_definitions.lua' resulted in no matches
WARN - [♥] Pattern '{n=G.UIT.T, config={text = G.GAME.hands[handname].mult, scale = 0.45, colour = G.C.UI.TEXT_LIGHT}}' on target 'functions/UI_definitions.lua' resulted in no matches
INFO - [♥] Applied 83 patches to 'functions/UI_definitions.lua'
INFO - [♥] Applied 57 patches to 'functions/state_events.lua'
WARN - [♥] Regex '(?<indent>[\\t ]*)if G\\.F_NO_ACHIEVEMENTS then return end\\n[\\s\\S][\\s\\S]{16}--\\|LOCAL SETTINGS FILE' on target 'functions/common_events.lua' resulted in no matches
WARN - [♥] Pattern 'func = (function() if eval_func(card) then if not first or first then card:juice_up(0.1, 0.1) end;juice_card_until(card, eval_func, nil, 0.8) end return true end)' on target 'functions/common_events.lua' resulted in no matches
INFO - [♥] Applied 85 patches to 'functions/common_events.lua'
WARN - [♥] Pattern 'G.pack_cards:emplace(v)' on target 'functions/button_callbacks.lua' resulted in no matches
INFO - [♥] Applied 35 patches to 'functions/button_callbacks.lua'
WARN - [♥] Pattern 'if G.GAME.blind then G.E_MANAGER:add_event(Event({ func = function() G.GAME.blind:set_blind(nil, true, nil); return true end })) end' on target 'card.lua' resulted in no matches
INFO - [♥] Applied 125 patches to 'card.lua'
INFO - [♥] Applied 6 patches to 'cardarea.lua'
INFO - [♥] Applied 31 patches to 'blind.lua'
INFO - [♥] Applied 5 patches to 'engine/text.lua'
INFO - [G] Failed to connect to the debug server
INFO - [G] 2025-01-23 18:09:14 :: DEBUG :: DebugConsole :: Steamodded Debug Socket started !
INFO - [G] [Blueprint] Starting to load config
INFO - [G] [Blueprint] Reading config file: 
INFO - [G] [Blueprint] return {
	["INTERNAL_debug"] = false,
	["hello"] = true,
}
INFO - [♥] Applied 9 patches to 'engine/sound_manager.lua'
INFO - [♥] Applied 2 patches to 'engine/string_packer.lua'
INFO - [G] Loaded all Blueprint mod shaders successfully
INFO - [G] 2025-01-23 18:09:15 :: WARN  :: Loader :: Found lone Lua file BetterMouseAndGamepad_v1.0.6c.lua in Mods directory :: Please place the files for each mod in its own subdirectory.
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Processing Mod file (Legacy header): BetterMouseAndGamepad_v1.0.6c.lua
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Saving Mod Info: BetterMouseAndGamepad
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Processing Mod file (Legacy header): mod.lua
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Saving Mod Info: blueprint
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Processing Mod file (Legacy header): Cryptid.lua
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Saving Mod Info: Cryptid
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Processing Mod file (Legacy header): steamodded_metadata.lua
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Saving Mod Info: Talisman
INFO - [G] 2025-01-23 18:09:15 :: WARN  :: Loader :: Found lone Lua file spacereroll.lua in Mods directory :: Please place the files for each mod in its own subdirectory.
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Processing Mod file (Legacy header): spacereroll.lua
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Saving Mod Info: spacereroll
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Mod BetterMouseAndGamepad was unable to load: 
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Mod spacereroll was unable to load: 
INFO - [G] 2025-01-23 18:09:15 :: TRACE :: Loader :: Mod Cryptid was unable to load: 
INFO - [G] 2025-01-23 18:09:15 :: INFO  :: TIMER :: [0000] Injected Language in 0.001 ms
INFO - [G] 2025-01-23 18:09:15 :: INFO  :: TIMER :: [0000] Injected [INTERNAL] in 0.949 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0003] Injected Atlas in 353.505 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0007] Injected Sound in 5.144 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0008] Injected Stake in 0.113 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0004] Injected Rarity in 0.019 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0004] Injected ObjectType in 0.075 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0047] Injected Center in 0.351 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0007] Injected Undiscovered Sprite in 0.012 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0002] Injected Blind in 0.014 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0000] Injected Seal in 0.002 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0004] Injected Suit in 0.069 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0013] Injected Rank in 0.062 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0016] Injected DeckSkin in 0.035 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0012] Injected PokerHand in 0.033 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0020] Injected Challenge in 0.155 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0000] Injected Tag in 0.002 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0004] Injected Sticker in 0.086 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0000] Injected Shader in 0.002 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0000] Injected Keybind in 0.002 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0000] Injected Achievement in 0.014 ms
INFO - [G] 2025-01-23 18:09:16 :: INFO  :: TIMER :: [0000] Injected [INTERNAL] in 0.803 ms
INFO - [G] ERROR LOADING GAME: Card area 'shop_vouchers' not instantiated before load
INFO - [G] ERROR LOADING GAME: Card area 'shop_jokers' not instantiated before load
INFO - [G] ERROR LOADING GAME: Card area 'shop_booster' not instantiated before load
INFO - [G] line not found
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] 2025-01-23 18:09:53 :: ERROR :: StackTrace :: Oops! The game crashed
main.lua:2297: attempt to compare number with table
Stack Traceback
===============
(1) Lua local 'handler' at file 'main.lua:612'
	Local variables:
	 msg = string: "main.lua:2297: attempt to compare number with table"
	 (*temporary) = Lua function '?' (defined at line 31 of chunk [SMODS _ "src/logging.lua"])
	 (*temporary) = string: "Oops! The game crashed\
"
(2) LÖVE metamethod at file 'boot.lua:352'
	Local variables:
	 errhand = Lua function '?' (defined at line 598 of chunk main.lua)
	 handler = Lua function '?' (defined at line 598 of chunk main.lua)
(3) Lua field 'is_enough_to_win' at file 'main.lua:2297'
	Local variables:
	 chips = number: 0
	 (*temporary) = 0  {array:table: 0x158ece30, sign:1}
	 (*temporary) = number: 0
	 (*temporary) = string: "attempt to compare number with table"
(4) Lua function '?' at file 'main.lua:2218' (best guess)
	Local variables:
	 e = table: 0x15e09420  {click_offset:table: 0x15e33b88, children:table: 0x15e09448, parent:table: 0x15e09280 (more...)}
	 new_preview_text = string: "0"
	 should_juice = boolean: false
(5) Lua method 'update' at file 'engine/ui.lua:960'
	Local variables:
	 self = table: 0x15e09420  {click_offset:table: 0x15e33b88, children:table: 0x15e09448, parent:table: 0x15e09280 (more...)}
	 dt = number: 335.762
(6) Lua upvalue 'gameUpdateRef' at file 'game.lua:2755'
	Local variables:
	 self = table: 0x15154fe8  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x15f96530 (more...)}
	 dt = number: 0.0335796
	 http_resp = nil
	 move_dt = number: 0.0335796
	 (for generator) = C function: next
	 (for state) = table: 0x1515c910  {1:table: 0x154ed048, 2:table: 0x15ab0080, 3:table: 0x155b4ff8, 4:table: 0x15a070a0 (more...)}
	 (for control) = number: nan
	 k = number: 463
	 v = table: 0x15e09420  {click_offset:table: 0x15e33b88, children:table: 0x15e09448, parent:table: 0x15e09280 (more...)}
(7) Lua upvalue 'upd' at Steamodded file 'src/ui.lua:81' 
	Local variables:
	 self = table: 0x15154fe8  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x15f96530 (more...)}
	 dt = number: 0.0335796
(8) Lua method 'update' at file 'main.lua:1749'
	Local variables:
	 self = table: 0x15154fe8  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x15f96530 (more...)}
	 dt = number: 0.0335796
(9) Lua upvalue 'oldupd' at file 'main.lua:987'
	Local variables:
	 dt = number: 0.0335796
(10) Lua field 'update' at file 'main.lua:1776'
	Local variables:
	 dt = number: 0.0335796
(11) Lua function '?' at file 'main.lua:931' (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 902 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"])

INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] file not found: main.lua: No such file or directory
INFO - [G] 2025-01-23 18:09:53 :: INFO  :: StackTrace :: Additional Context:
Balatro Version: 1.0.1n-FULL
Modded Version: 1.0.0~ALPHA-1220a-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.6.0
Steamodded Mods:
    1: Talisman by MathIsFun_, Mathguy24, jenwalter666, cg-223 [ID: Talisman, Version: 2.0.2, Uses Lovely]
        Break Infinity: omeganum
    2: Blueprint by stupxd aka stupid, Jonathan [ID: blueprint, Priority: 69, Version: 3.2, Uses Lovely]
Lovely Mods:
    1: DVSimulate
    2: DVPreview
    3: DVSettings

If you need any more context, let me know and I will do my best to provide it

@Ow0cast
Copy link
Author

Ow0cast commented Jan 23, 2025

Update: It happened with the Telescope voucher too.

Oops! The game crashed:
main.lua:2297: attempt to compare number with table

Additional Context:
Balatro Version: 1.0.1n-FULL
Modded Version: 1.0.0~ALPHA-1220a-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.6.0
Steamodded Mods:
    1: Talisman by MathIsFun_, Mathguy24, jenwalter666, cg-223 [ID: Talisman, Version: 2.0.2, Uses Lovely]
        Break Infinity: omeganum
    2: Blueprint by stupxd aka stupid, Jonathan [ID: blueprint, Priority: 69, Version: 3.2, Uses Lovely]
Lovely Mods:
    1: DVSimulate
    2: DVPreview
    3: DVSettings

Stack Traceback
===============
(3) Lua field 'is_enough_to_win' at file 'main.lua:2297'
Local variables:
 chips = number: 0
 (*temporary) = 0  {array:table: 0x20b52198, sign:1}
 (*temporary) = number: 0
 (*temporary) = string: "attempt to compare number with table"
(4) Lua function '?' at file 'main.lua:2218' (best guess)
Local variables:
 e = table: 0x2130b9f8  {click_offset:table: 0x21546e20, children:table: 0x2130ba20, parent:table: 0x2130b858 (more...)}
 new_preview_text = string: "0"
 should_juice = boolean: false
(5) Lua method 'update' at file 'engine/ui.lua:960'
Local variables:
 self = table: 0x2130b9f8  {click_offset:table: 0x21546e20, children:table: 0x2130ba20, parent:table: 0x2130b858 (more...)}
 dt = number: 333.488
(6) Lua upvalue 'gameUpdateRef' at file 'game.lua:2755'
Local variables:
 self = table: 0x208e50b0  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x20d3ff58 (more...)}
 dt = number: 0.0333522
 http_resp = nil
 move_dt = number: 0.0333522
 (for generator) = C function: next
 (for state) = table: 0x208ec9d8  {1:table: 0x20c8c2c0, 2:table: 0x20d81188, 3:table: 0x2132d3d0, 4:table: 0x21318ca8 (more...)}
 (for control) = number: nan
 k = number: 317
 v = table: 0x2130b9f8  {click_offset:table: 0x21546e20, children:table: 0x2130ba20, parent:table: 0x2130b858 (more...)}
(7) Lua upvalue 'upd' at Steamodded file 'src/ui.lua:81' 
Local variables:
 self = table: 0x208e50b0  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x20d3ff58 (more...)}
 dt = number: 0.0333522
(8) Lua method 'update' at file 'main.lua:1749'
Local variables:
 self = table: 0x208e50b0  {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x20d3ff58 (more...)}
 dt = number: 0.0333522
(9) Lua upvalue 'oldupd' at file 'main.lua:987'
Local variables:
 dt = number: 0.0333522
(10) Lua field 'update' at file 'main.lua:1776'
Local variables:
 dt = number: 0.0333522
(11) Lua function '?' at file 'main.lua:931' (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 902 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"])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant