piperita has disappeared

waterpanther7

Well-Known Member
Jan 28, 2021
201
69
29
she disappeared from the bar when i recruited San and Cae
 

Attachments

  • 2025-05-03.png
    2025-05-03.png
    3.5 MB · Views: 16
  • CoC2_Song_302.coc2
    103.4 KB · Views: 1

Tarnakus

Well-Known Member
Oct 31, 2020
349
125
Yeah, it seems too much buttons there - if you do Jaelyn scene (with Dal) - Jael button disappear and Piperita shows up briefly.
 

Tarnakus

Well-Known Member
Oct 31, 2020
349
125
that's not a fix though
Of course it is not a full fix; it's a workaround. I'm not a developer of this game. However, I did check your save and proposed that workaround for you, despite it being an edited save, which many people here dismiss. Your comment came across as quite dismissive of the investigation.

Regardless, having already looked at the code while checking the save, I have an idea how the core issue could be addressed. You need to change the first argument of the addButton call for the Piperita button from the standard t++ to:
Code:
((t == 6) ? ++t : t++)
1746355971966.png
If I were even more bored, there is probably a more robust fix that should be done inside the addButton method to take into account navigational buttons (if they are there). Or, the problem is even deeper, and the codebase doesn't know if navigational buttons will be present or not. Which again is fixable – either addButton should know about navigationals, or during the addition of navigationals, the code should inspect already present buttons and move them to make place for them. Ofc this section is speculative as any change to addButton can break a lot of stuff.
 

waterpanther7

Well-Known Member
Jan 28, 2021
201
69
29
Of course it is not a full fix; it's a workaround. I'm not a developer of this game. However, I did check your save and proposed that workaround for you, despite it being an edited save, which many people here dismiss. Your comment came across as quite dismissive of the investigation.

Regardless, having already looked at the code while checking the save, I have an idea how the core issue could be addressed. You need to change the first argument of the addButton call for the Piperita button from the standard t++ to:
Code:
((t == 6) ? ++t : t++)
If I were even more bored, there is probably a more robust fix that should be done inside the addButton method to take into account navigational buttons (if they are there). Or, the problem is even deeper, and the codebase doesn't know if navigational buttons will be present or not. Which again is fixable – either addButton should know about navigationals, or during the addition of navigationals, the code should inspect already present buttons and move them to make place for them. Ofc this section is speculative as any change to addButton can break a lot of stuff.
I'm very sorry i did not mean to come as dismissive i'm just rather blunt I apologize that's how I came off after you answered my report
 
  • Like
Reactions: Tarnakus