Fix database constraints and team builder save functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
megaproxy 2025-07-14 21:10:28 +01:00
parent 60dbcae113
commit 08f7aa8ea8
3 changed files with 382 additions and 20 deletions

View file

@ -70,17 +70,30 @@ Web: Enter PIN → Validate PIN → Apply Database Changes → Clear Request
## 🐛 Known Issues & Bugs
### None Currently Known ✅
All major bugs have been resolved:
- ✅ Fixed gym battle syntax errors
- ✅ Fixed player profile crashes with encounter data
- ✅ Fixed database column mapping issues
- ✅ Fixed indentation and import errors
### Current Issues - CRITICAL
- **Team Builder Auto-Move** - Active pets get moved to storage on page load automatically
- **Save Button Not Working** - Team builder save returns 501 "not implemented" error
- **Experience Not Saving** - Pet EXP doesn't persist or isn't visible in profiles
- **Achievement Travel Bug** - Players can't travel despite having achievements until catching a pet
- **Team Builder Save Auth** - PIN verification system not implemented in handlers
### Current Issues - HIGH PRIORITY
- **Item Spawn Rate** - Items too common, need lower spawn rates
- **Location Wild Pets** - Same pets listed multiple times, broken "+(number) more" button
- **Petdex Accuracy** - Missing types in summary, showing pet instances instead of locations
- **Pet Spawns Logic** - Common pets should spawn in most compatible locations
- **Missing Database Tables** - No species_moves table for move learning system
### Current Issues - MEDIUM PRIORITY
- **Team Command Navigation** - !team should link to web team page instead of IRC output
- **Pet Rename UX** - Should be done via team builder with edit buttons + PIN auth
- **Max Team Size** - Need to implement and enforce team size limits
### Recently Fixed
- **Player Profile Crash** - Fixed 'int' object has no attribute 'split' error
- **Battle System Syntax** - Resolved indentation issues in gym battle completion
- **Battle System Syntax** - Resolved indentation issues in gym battle completion
- **Encounter Data Mapping** - Corrected SQL column indices
- **Team Builder Drag-Drop** - Fixed drag and drop functionality with backup double-click
---