#googol play card probability crash - (0.5.5b)

7 messages · Page 1 of 1 (latest)

civic brook
#

i managed to make the probabilities on googol play card go above the regular e notation with oil lamp (im not actually sure how exactly i got it that big but the oil lamp cards seem to have a similar value when i looked so im assuming it was from that)

this causes a crash when calculating the score of the hand
im assuming this is because its not a normal number anymore, so it tries to compare a number with a table or whatever but i have no idea

line 184 in items/epic.lua

full log :

Oops! The game crashed:
main.lua:6311: [SMODS Cryptid "items/epic.lua"]:184: attempt to compare number with table

Additional Context:
Balatro Version: 1.0.1o-FULL
Modded Version: 1.0.0~BETA-0323b-STEAMODDED
LÖVE Version: 11.5.0
Lovely Version: 0.7.1
Platform: Windows
Steamodded Mods:
    1: Cryptid by MathIsFun_, Cryptid and Balatro Discords [ID: Cryptid, Priority: 114, Version: 0.5.5b, Uses Lovely]
    2: Talisman by MathIsFun_, Mathguy24, jenwalter666, cg-223 [ID: Talisman, Version: 2.2.0~dev, Uses Lovely]
        Break Infinity: omeganum
    3: Handy by SleepyG11 [ID: Handy, Version: 1.4.2, Uses Lovely]
    4: Cartomancer by stupxd aka stupid [ID: cartomancer, Priority: 69, Version: 4.13, Uses Lovely]
Lovely Mods:

Stack Traceback
===============
(3) global C function 'error'
(4) Lua field 'update' at file 'main.lua:6311'
Local variables:
 dt = number: 0.0446623
 success = boolean: false
 msg = string: "[SMODS Cryptid \"items/epic.lua\"]:184: attempt to compare number with table"
(5) Lua function '?' at file 'main.lua:934' (best guess)
(6) global C function 'xpcall'
(7) LÖVE function at file 'boot.lua:377' (best guess)
Local variables:
 func = Lua function '?' (defined at line 905 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"])
mild pawn
#

you're on a pretty old version, latest is 0.5.5d

civic brook
#

oop

#

assuming whatever is on the github is the latest, that line of code is identical to what breaks for me so it might still be doing that on the latest version

mild pawn
#

try it

#

regardless, the problem is in cry_prob not epic.lua anyway

civic brook
#

zamn