#[v0.8.1] Flower Pot - Stats Enhancer

1 messages · Page 1 of 1 (latest)

vestal acorn
#

Flower Pot is a QoL Balatro mod aimed at improving the stats page and storing these stats externally. As of v0.5, this is limited to only the "Card Stats" improvements, with plans of overhauling the entire tab and even adding more.
GitHub page: https://github.com/GauntletGames-2086/Flower-Pot

GitHub

Balatro QoL mod focused on player stats. Contribute to GauntletGames-2086/Flower-Pot development by creating an account on GitHub.

#

It is currently 1:30 AM, praying there isn't a critical crash here

inland crag
vestal acorn
#

HUH

#

Oh whoops

#

I forgor this was built on a different version of Steamodded

#

lmfao

inland crag
#

a few patches failed, not sure which ones are from your mod

vestal acorn
#

There's one, which is the super unsave regex so ig that one's on me

inland crag
#

the game.lua

#

not sure why would your mod cause this tbh?

#

or is it something you added

#

ok Im blind

#

says right there flower pot

#

xd

vestal acorn
#

SMODS.ConsumableType.ctype_buffer only exists on the Rarity - ObjectType draft PR

inland crag
#

ah

vestal acorn
#

Fixes pushed

#

I assume no startup crashes at least?

inland crag
#

checking

#

seems ok

#

looked through all menus, no crashes, good work!

vivid zodiac
#

ooooooo

#

Card stats?

gritty trout
#

Those were the vouchers I had since it seems voucher is the cause?

vestal acorn
#

I typed an arg wrong

#

Should be fixed?

compact atlas
lucid socket
#

You-know-that mod

compact atlas
#

Hmm? Or is it just bloody cryptid again

lucid socket
#

Yeah bloody Cryptid

compact atlas
#

It's always bloody cryptid. Idek why I ask, lol

lucid socket
silver forum
#
main.lua:1231: bad argument #1 to 'load' (function expected, got nil)

Additional Context:
Balatro Version: 1.0.1g-FULL
Modded Version: ???
Love2D Version: 11.5.0
Lovely Version: 0.5.0-beta6

Stack Traceback
===============
(3) global C function 'load'
(4) main chunk of file 'main.lua' at line 1231
(5) global C function 'require'
(6) Love2D function at file 'boot.lua:323' (best guess)
Local variables:
 c = table: 0x3ed7cb50  {identity:false, version:11.5, accelerometerjoystick:true, modules:table: 0x3ed7cd28 (more...)}
 openedconsole = boolean: false
 confok = boolean: true
 conferr = nil
(7) global C function 'xpcall'
(8) Love2D function at file 'boot.lua:362' (best guess)
Local variables:
 result = boolean: true
(9) global C function 'xpcall'
(10) Love2D function at file 'boot.lua:377' (best guess)
Local variables:
 func = Lua function '(Love2D Function)' (defined at line 355 of chunk [love "boot.lua"])
 inerror = boolean: true
 deferErrhand = Lua function '(Love2D Function)' (defined at line 348 of chunk [love "boot.lua"])
 earlyinit = Lua function '(Love2D Function)' (defined at line 355 of chunk [love "boot.lua"])```
#

crashes on startup

vestal acorn
#

Load function doesn't exist?

#

🤔

inland crag
#

no it says argument #1 to load is nil

vestal acorn
#

Oh

#

I know

#

If the Flower Pot mod file called Flower-Pot?

vestal acorn
#

[v0.6.0] Flower Pot - Stats Enhancer

#

This is what the menu looks like for context

inland crag
#

nice

vestal acorn
#

[v0.7.0] Flower Pot - Stats Enhancer

#

API is documented in core/api.lua file.

#

I will also be adding mod compat to this at some point.

#

Working on other stuff rn

vestal acorn
#

[v0.7.1] Flower Pot - Stats Enhancer

#

To find documentation:

  • Visit core/api.lua scroll to the bottom (might write GitHub docs at a later point).
    To use:
  • Follow implementation for vanilla (core/stats/records.lua) and modded jokers (core/mod_compat/*.lua). Should be straightforward.
forest lion
#

Hey! not sure if this is a flower pot issue, been getting this error lately

vestal acorn
#

I believe that the source code right now has a bugfix for this

#

This crash is to do with getting Fortune Teller before using a Tarot card

forest lion
vestal acorn
vestal acorn
#

[v0.7.2] Flower Pot - Stats Enhancer

gritty trout
vestal acorn
#

whoops

#

Bug should be fixed I think?

gritty trout
#

I'll try again after my run

vestal acorn
#

I can't remember if it's wrapping both numbers in to_big or having the OmegaNum value wrapped in to_number.

gritty trout
#

Used a planet card and it didn't crash 👍

vestal acorn
#

What does the Poker Hand stats menu say?

#

It might not crash but also might not save there

gritty trout
#

Seems to work fine (this is a fresh profile)

vestal acorn
#

Awesome

gritty trout
#

Hey, since vouchers have G.vouchers.cards, do you mind swapping line 44 of sdm0s_stuff compat function to this?

vestal acorn
#

Sure

gritty trout
#

Ty

vestal acorn
#

[v0.7.25] Flower Pot - Stats Enhancer

#

Might end up yoinking Galdur's deck selection code cause the rest of my ideas for it's UI are trashy compared to it.

marble stone
#

is this still installed with steammodded?

vestal acorn
#

Works with smods but doesn't need it.

#

Just lovely

wide garnet
#

I got a crash with this attempting to compare a number with a table in core/stats/other.lua @ line 74

#

this seems to be a talisman compat issue?

vestal acorn
#

Already fixed this one I'm pretty sure.

wide garnet
#

weird, the modpack im playing it with says it uses 0.7.25

vestal acorn
#

It wasn't a minor update, just a single commit from two days ago

wide garnet
#

i see

vestal acorn
#

oh wait different line lmfao

#

one sec

wide garnet
#

oki

vestal acorn
#

New commit, try now

wide garnet
#

i will in a sec

#

it appears to fix it

#

i havent tested everything, but it seems good

lucid socket
vestal acorn
#

Should be fixed.

analog cove
#

I'm trying to make my mod's jokers compatible, and most of them are working. But the important stat on one of my jokers is completely different from any other joker (the size of a table in the joker's vars), and I'm not quite sure how to create a new data type to keep track of

#

I did look at the mod compatibility files and cobbled this from that, and the tooltip works fine - it just always shows the default of 0

#

From what I can tell, the joker doesn't have a records dataset? So the card_progress.records is returning false

vestal acorn
#

Strange that the tooltip works since it looks like your joker is missing it's mod prefix.

analog cove
#

yeah, not sure why by my mod didn't actually add its prefix to the jokers

vestal acorn
#

When is it updating occupants, and what does card_progress looks like?

analog cove
#

Occupants updates within the joker's update function, so every frame

vestal acorn
#

Makes sense.

#

Flower Pot's stats only update when calculate_joker is called on that joker.

analog cove
#

ahh

vestal acorn
#

one second

#

Just updated to check + update the card records when the tooltip is being added, does that fix this?

analog cove
#

I'm dumb

#

joker keys are case sensitive

#

apparently my joker was j_Dollhouse, not j_dollhouse

#

works now

analog cove
#

I changed the patch in generate_card_ui to this because I was getting this error when hovering over jokers from my own mod that I gave FlowerPot stats to. The error would appear but other than that everything worked as intended. Changing to check for card being nil, got rid of the error without affecting anything else

vestal acorn
#

Why is my internet out now of all times

#

ok fixed

vestal acorn
#

[v0.8] Flower Pot - Stats Enhancer

polar marten
#

Deck stats bug

vestal acorn
#

These aren’t tracked by vanilla

#

Unless this is about them not updating?

polar marten
#

thank you for making this mod, loving it :)

vestal acorn
#

[v0.8.1] Flower Pot - Stats Enhancer

gritty trout
vestal acorn
#

Ok

#

Will fix in a bit

vestal acorn
#

Should be fixed

brittle frigate
#

thanks!

minor ivy
#

Deck stats are only tracking losses on white stake for me, tracks wins on anything though
Love the mod

vestal acorn
#

Is Steamodded installed?

#

Hmm maybe it's a bug without?

#

Actually I can't recreate this at all.

#

I'm using vanilla's logic for updating deck losses, so unless that's bugged it should be tracking correctly.

#

What's your modlist by any chance?

polar marten
#

For example, challenges

#

I didn’t check anything else as it was out of my use case

#

But worth checking

vestal acorn
#

set_deck_loss is not called if the game is seeded or it's during a challenge.

#

That's the only place it's called by default.

polar marten
#

Makes sense then

#

It’s strange because the profile template has losses in the challenge deck

#

But it’s never populated

minor ivy
# vestal acorn Hmm maybe it's a bug without?

Hey, sorry for leaving ya in the dark, but I just figured it out. I had tried with all other mods disabled and still had the issue so didnt wanna be a bother. I was using a save that had all stakes unlocked via galdur, it wasnt counting them because I hadn't done on any runs on red-orange stake, so I assume all stakes above white just werent active to be tracked for losses until I went thru each one. Appreciate your work!!

maiden wasp
vestal acorn
#

Boss blind history?

maiden wasp
#

ye

#

wait is that from a different mod?

vestal acorn
#

I got confused because I have local changes meant for boss blind stat tracking

#

But that wasn't merged yet

#

Right not this mod doesn't add any blind history or blind related tabs (yet).