Balatro

Balatro

View Stats:
Error help?
I'm playing a modded version of Balatro, playing the ghost deck, and got all the way to Ante 18. I have a bed hand of [UI ERROR] and I think that is crashing the game, as I have no more discards, and 6 hands, and yet when I try to play my 1 card, I get this error :

Oops! The game crashed:
functions/misc_functions.lua:1137: attempt to compare nil with number

Additional Context:
Balatro Version: 1.0.1n-HIDDEN ACES
Modded Version: 1.0.0~ALPHA-1410d-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.7.1
Platform: Windows
Steamodded Mods:
1: Hosses22 Jokers by MARINA [ID: HosJkr]
2: Neato Jokers by Neato [ID: Neato_Jokers, Version: 1.0.3, Uses Lovely]
3: Hentai Cards by Makubex77, Pheubel (Code) [ID: HentaiCards, Version: 1.1]
4: Balustro by someone23832 [ID: Balustro, Priority: -20, Version: 0.11, Uses Lovely]
Lovely Mods:

Stack Traceback
===============
(3) Lua global 'check_and_set_high_score' at file 'functions/misc_functions.lua:1137'
Local variables:
score = string: "hand"
amt = number: inf
(*temporary) = number: inf
(*temporary) = nil
(*temporary) = table: 0x1c827428 {1:table: 0x1cb575d0, 2:table: 0x1d2cce68, 3:table: 0x1c7e5850, 4:table: 0x1d13be98 (more...)}
(*temporary) = string: "attempt to compare nil with number"
(4) Lua field 'evaluate_play' at file 'functions/state_events.lua:728'
Local variables:
e = nil
text = string: "High Card"
disp_text = string: "Tease"
poker_hands = table: 0x1de99cb8 {Flush House:table: 0x1e4840a8, Full House:table: 0x1e484108, top:table: 0x1e4842b0 (more...)}
scoring_hand = table: 0x1de99d48 {1:table: 0x1d82a1c0}
non_loc_disp_text = string: "High Card"
pures = table: 0x1e4843c8 {}
(5) Lua field 'func' at file 'functions/state_events.lua:464'
(6) Lua method 'handle' at file 'engine/event.lua:99'
Local variables:
self = table: 0x1c7e5850 {start_timer:true, timer:TOTAL, blockable:true, trigger:immediate, func:function: 0x1c8dce20 (more...)}
_results = table: 0x1c66b300 {blocking:true, pause_skip:false, time_done:false, completed:false}
(7) Lua method 'update' at file 'engine/event.lua:182'
Local variables:
self = table: 0x1c8273b0 {queue_last_processed:16.75, queues:table: 0x1c8273d8, queue_dt:0.016666666666667 (more...)}
dt = number: 0.0263092
forced = nil
(for generator) = C function: next
(for state) = table: 0x1c8273d8 {unlock:table: 0x1c827400, other:table: 0x1c827878, tutorial:table: 0x1c827450 (more...)}
(for control) = number: nan
k = string: "base"
v = table: 0x1c827428 {1:table: 0x1cb575d0, 2:table: 0x1d2cce68, 3:table: 0x1c7e5850, 4:table: 0x1d13be98 (more...)}
blocked = boolean: false
i = number: 3
results = table: 0x1c66b300 {blocking:true, pause_skip:false, time_done:false, completed:false}
(8) Lua upvalue 'gameUpdateRef' at file 'game.lua:2524'
Local variables:
self = table: 0x1c2205d0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1dbb29b0 (more...)}
dt = number: 0.0263092
http_resp = nil
(9) Lua method 'update' at Steamodded file 'src/ui.lua:84'
Local variables:
self = table: 0x1c2205d0 {F_GUIDE:false, F_CRASH_REPORTS:false, F_QUIT_BUTTON:true, HUD_tags:table: 0x1dbb29b0 (more...)}
dt = number: 0.0263092
(10) Lua field 'update' at file 'main.lua:992'
Local variables:
dt = number: 0.0263092
(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"])

If I could get some help solving this that would be great, as I'm trying to get the INF ante round.
< >
Showing 1-5 of 5 comments
https://www.reddit.com/r/balatro/comments/1e8oy0x/comment/le91n9d/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
I found this online, hope it helps. I believe your specific error occurs when you score too many points/too many effects happen for the game to process, such as having impossible amounts of barons/mimes.
Last edited by RazzberryMocha; Feb 10 @ 8:36pm
But now it seems like I will need to do that fix after EVERY ROUND!
Originally posted by EclipseGRD:
But now it seems like I will need to do that fix after EVERY ROUND!
I'd assume it's because you're just simply scoring too high perhaps. Here's a mod that increases the maximum score well past what you'd ever need.
https://github.com/MathIsFun0/Talisman
I’m not sure exactly if it just increases how much score can be represented before saying naneinf or if it’ll actually have an effect on the maximum score achievable, but it’s the best solution I have of right now.
Last edited by RazzberryMocha; Feb 10 @ 9:31pm
EclipseGRD Feb 10 @ 10:27pm 
Originally posted by RazzberryMocha:
Originally posted by EclipseGRD:
But now it seems like I will need to do that fix after EVERY ROUND!
I'd assume it's because you're just simply scoring too high perhaps. Here's a mod that increases the maximum score well past what you'd ever need.
https://github.com/MathIsFun0/Talisman
I’m not sure exactly if it just increases how much score can be represented before saying naneinf or if it’ll actually have an effect on the maximum score achievable, but it’s the best solution I have of right now.

already started new runs, but if I get that far again, I will tell you how it goes.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Feb 10 @ 8:03pm
Posts: 5