Commit Graph

24 Commits

Author SHA1 Message Date
Shni
38046e4df8 feat: Implementar nuevas mejoras en Amayo Bot Editor
- Agregar selector de directorio multi-OS con validación y persistencia
- Implementar preview en tiempo real del código generado en CommandCreator y EventCreator
- Activar TypeScript strict mode y añadir snippets nativos para mejorar la experiencia de desarrollo
- Crear documentación detallada sobre las nuevas funcionalidades y cambios realizados
- Actualizar README con instrucciones de uso y solución de problemas comunes
- Modificar archivos clave para integrar las nuevas características y mejorar la usabilidad
2025-11-04 03:14:03 -06:00
Shni
954e0ba333 Creacion de la AEditor Basicamente un Editor solo para el bot
feat: Add new commands for Discord bot

- Implemented "Everyone" command that replies to the user when executed.
- Added "sdfsdfsdf" command with an alias "dfsf" that also replies to the user.
- Enhanced the command structure with type definitions for better type safety.
2025-11-04 03:09:23 -06:00
Shni
4aec262e54 feat: Implementar sistema de seguridad para comandos administrativos con guards y documentación 2025-10-31 22:58:09 -05:00
Shni
d8b9db33b6 feat: Capturar referencias locales al delegado de Prisma para evitar condiciones de carrera en setFlag y removeFlag 2025-10-31 22:45:57 -05:00
Shni
65d030448e feat: Mejorar el manejo de errores en el sistema de feature flags con logging detallado y agregar script de depuración 2025-10-31 21:33:35 -05:00
Shni
76ce4e4e4d feat: Agregar ejemplos de uso de feature flags en comandos y mejorar la configuración del proyecto 2025-10-31 21:18:46 -05:00
Shni
89d475ba66 feat: Implement feature flag system with helpers, service, and loader
- Added feature flag helpers and decorators for easy usage in commands.
- Created a feature flag service for managing flags, including initialization, caching, and evaluation strategies.
- Implemented a loader to initialize the feature flag service on bot startup.
- Defined types for feature flags, including configurations, contexts, evaluations, and statistics.
- Provided examples of feature flag usage in commands, demonstrating various patterns such as A/B testing, gradual rollouts, and access control.
2025-10-31 21:12:27 -05:00
Shni
852b1d02a2 feat: Add scripts for mob dependency management and server setup
- Implemented `findMobDependencies.ts` to identify foreign key constraints referencing the Mob table and log dependent rows.
- Created `fullServerSetup.ts` for idempotent server setup, including economy items, item recipes, game areas, mobs, and optional demo mob attacks.
- Developed `removeInvalidMobsWithDeps.ts` to delete invalid mobs and their dependencies, backing up affected scheduled mob attacks.
- Added unit tests in `testMobUnit.ts` and `mob.test.ts` for mob functionality, including stats computation and instance retrieval.
- Introduced reward modification tests in `testRewardMods.ts` and `rewardMods.unit.ts` to validate drop selection and coin multiplier behavior.
- Enhanced command handling for mob deletion in `mobDelete.ts` and setup examples in `setup.ts`, ensuring proper permissions and feedback.
- Created utility functions in `testHelpers.ts` for deterministic drop selection from mob definitions.
2025-10-14 14:58:38 -05:00
f761fde33a feat: Agregar archivo index.ejs para la vista principal del servidor 2025-10-09 22:34:35 -05:00
25137048d3 feat: Actualizar botón de acción en la página de inicio con nuevo diseño y funcionalidad 2025-10-09 22:24:39 -05:00
84ada00118 feat: Add new sections for Primeros Pasos, Racha Diaria, Recordatorios, Sistema de Juego, Tienda, Tips y un índice de contenidos; update styles for modern pixel art design 2025-10-09 22:12:13 -05:00
dbb098e2bf feat: Rediseño de interfaz con temática de Halloween
- Actualización de estilos CSS en pixel-sections.css para reflejar una paleta de colores suave de Halloween, incluyendo cambios en gradientes, bordes y sombras.
- Modificación de elementos en index.ejs para incluir decoraciones de Halloween como calabazas y fantasmas.
- Ajustes en layout.ejs y navbar.ejs para incorporar iconos y tooltips relacionados con Halloween.
- Creación de un nuevo archivo README para documentar los cambios y la nueva paleta de colores.
2025-10-09 21:47:18 -05:00
36aeb5573a Refactor code structure for improved readability and maintainability 2025-10-09 21:33:32 -05:00
09a5ceeeba Refactor code structure for improved readability and maintainability 2025-10-09 21:28:37 -05:00
dae147154f feat: Add comprehensive sections for basic examples, enchantments, statistics, FAQs, smelting, AI, inventory, achievements, mini-games, missions, first steps, daily streaks, reminders, game system, shop, and tips in EJS format 2025-10-09 21:14:12 -05:00
d9734ba948 feat: mejorar formato de salida en comandos de durabilidad e inventario 2025-10-09 03:00:06 -05:00
a2bf5550f9 feat: agregar comando para mostrar la durabilidad de items no-apilables en el inventario 2025-10-09 02:58:47 -05:00
79ece13420 fix: resolve durability and combat issues with stackable items
- Updated database schema to set stackable items as non-stackable.
- Implemented migration script to convert existing stackable items to instances with durability.
- Fixed combat logic to ensure players lose if no weapon is equipped.
- Added admin commands for inventory debugging and resetting.
- Enhanced item display to show durability instead of quantity.
- Conducted thorough testing and validation of changes.
2025-10-09 02:47:29 -05:00
e5801e49bd feat: implementar comando para regenerar durabilidad de items no inicializados 2025-10-09 02:30:55 -05:00
ed170f5298 fix: corregir error de inclusión de weaponItem en PlayerEquipment 2025-10-09 02:25:32 -05:00
646f62d2e9 feat(minigames): implement dual durability system for tools and weapons
- Introduced separation between `tool` (for gathering) and `weaponTool` (for combat) in minigames.
- Adjusted durability reduction logic to apply a 50% reduction for weapons used in combat to prevent instant breakage.
- Updated `RunResult` type to include `weaponTool` information.
- Enhanced `runMinigame` logic to handle weapon degradation during combat scenarios.
- Updated user commands to reflect both tool and weapon durability in outputs.
- Modified scheduled mob attacks to respect the new durability system.
- Added comprehensive documentation on the new dual durability feature and its implications for gameplay balance.
2025-10-09 02:23:51 -05:00
c564b30413 feat: agregar propuesta de migraciones futuras para el sistema RPG; incluir tablas para logging, efectos de estado avanzados y optimización de economía 2025-10-09 01:42:05 -05:00
b4737a536f feat(cache): migrar caché de guilds de Redis a Appwrite para mejorar rendimiento y persistencia 2025-10-07 10:55:45 -05:00
8be8ea5925 Add comprehensive documentation and improvement suggestions for Amayo bot
- Created README.md for static site documentation, detailing features, structure, local usage, and Heroku deployment.
- Added RESUMEN_CAMBIOS.md summarizing critical bug fixes, command updates, and documentation enhancements.
- Introduced SUGERENCIAS_Y_MEJORAS.md with a thorough analysis of the project, new feature suggestions, and technical improvements.
2025-10-07 10:23:15 -05:00