ClanGenOfficial / clangen

Warrior Cats fan game
https://clangen.io
Other
269 stars 481 forks source link

[BUG] Patrol bug (gen_med_vision1) - cat duplication on solo patrol #2962

Closed WaveSong19 closed 3 weeks ago

WaveSong19 commented 1 month ago

Type:

Describe the bug

a cat sent on solo herb gathering patrol is duplicated 3 times, patrol is a multi-cat patrol when it shouldn't

Grade:

Reproduce

Steps to reproduce the behavior:

  1. Put a medicine cat on a solo patrol
  2. With the specific patrol ID below, the error should reappear

Patrol ID + Outcome Print:

Patrol ID: gen_med_vision1

PATROL START ---------------------------------------------------
Patrol Leader: Redstripe
Random Cat: Redstripe
PATROL START ---------------------------------------------------
PATROL START ---------------------------------------------------Patrol Leader:Total Number of Possible Patrols | normal: 28, romantic: 0 

Patrol Leader:Redstripe Redstripe

Random Cat:Random Cat:  RedstripeRedstripe

Total Number of Possible Patrols | normal: 14, romantic: 1 
not a potential mate or current mate
---
Finding stat cat. Outcome Type: Success = True, Antag = False
Can Have Stat: ['p_l']
POSSIBLE STAT CATS ['Redstripe', 'Redstripe', 'Redstripe']
No Stat Cat Found
---
---
Finding stat cat. Outcome Type: Success = True, Antag = False
Can Have Stat: ['p_l']
POSSIBLE STAT CATS ['Redstripe', 'Redstripe', 'Redstripe']
No Stat Cat Found
---
---
Finding stat cat. Outcome Type: Success = True, Antag = False
Can Have Stat: []
POSSIBLE STAT CATS []
No Stat Cat Found
---
---
Finding stat cat. Outcome Type: Success = False, Antag = False
Can Have Stat: ['p_l']
POSSIBLE STAT CATS ['Redstripe', 'Redstripe', 'Redstripe']
No Stat Cat Found
---
---
Finding stat cat. Outcome Type: Success = False, Antag = False
Can Have Stat: []
POSSIBLE STAT CATS []
No Stat Cat Found
---
---
Finding stat cat. Outcome Type: Success = False, Antag = False
Can Have Stat: ['p_l']
POSSIBLE STAT CATS ['Redstripe', 'Redstripe', 'Redstripe']
No Stat Cat Found
---
---
Finding stat cat. Outcome Type: Success = False, Antag = False
Can Have Stat: []
POSSIBLE STAT CATS []
No Stat Cat Found
---
starting chance: 40 | EX_updated chance: 58
Redstripe updated chance to 58 | Redstripe updated chance to 58 | Redstripe updated chance to 58 | 
PATROL ID: gen_med_vision1 | SUCCESS: True
Relationship block incorrectly formatted: {'cats_to': ['p_l'], 'cats_from': ['patrol'], 'mutual': True, 'values': ['jealousy'], 'amount': -5}
PATROL END -----------------------------------------------------

Commit # or Game Version Number:

Dev Build: 0.9.0

Additional context

This is my first time using Github and submitting a bug, I hope I did it right, I'm sorry if I messed up something!

Screenshots

bug

LaurelWillow commented 1 month ago

I think this is the most cursed bug I've ever seen lmao

scribblecrumb commented 1 month ago

Interesting, I can't seem to replicate? It's either fixed or it's caused by something more complex. That print log especially is odd with how it displays the random cat and patrol leader choices...