вывод из самбомудлей модов для азероткор
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
name: Bug report
|
||||
description: Create a bug report to help us improve.
|
||||
title: "Bug: "
|
||||
body:
|
||||
- type: textarea
|
||||
id: current
|
||||
attributes:
|
||||
label: Current Behaviour
|
||||
description: |
|
||||
Description of the problem or issue here.
|
||||
Include entries of affected creatures / items / quests / spells etc.
|
||||
If this is a crash, post the crashlog (upload to https://gist.github.com/) and include the link here.
|
||||
Never upload files! Use GIST for text and YouTube for videos!
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected
|
||||
attributes:
|
||||
label: Expected Behaviour
|
||||
description: |
|
||||
Tell us what should happen instead.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: reproduce
|
||||
attributes:
|
||||
label: Steps to reproduce the problem
|
||||
description: |
|
||||
What does someone else need to do to encounter the same bug?
|
||||
placeholder: |
|
||||
1. Step 1
|
||||
2. Step 2
|
||||
3. Step 3
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: extra
|
||||
attributes:
|
||||
label: Extra Notes
|
||||
description: |
|
||||
Do you have any extra notes that can help solve the issue that does not fit any other field?
|
||||
placeholder: |
|
||||
None
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: commit
|
||||
attributes:
|
||||
label: AC rev. hash/commit
|
||||
description: |
|
||||
Copy the result of the `.server debug` command (if you need to run it from the client get a prat addon)
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: os
|
||||
attributes:
|
||||
label: Operating system
|
||||
description: |
|
||||
The Operating System the Server is running on.
|
||||
i.e. Windows 11 x64, Debian 10 x64, macOS 12, Ubuntu 20.04
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: custom
|
||||
attributes:
|
||||
label: Custom changes or Modules
|
||||
description: |
|
||||
List which custom changes or modules you have applied, i.e. Eluna module, etc.
|
||||
placeholder: |
|
||||
None
|
||||
validations:
|
||||
required: false
|
||||
@@ -0,0 +1,33 @@
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "Feature: "
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Thank you for taking your time to fill out a feature request. Remember to fill out all fields including the title above.
|
||||
An issue that is not properly filled out will be closed.
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Describe your feature request or suggestion in detail
|
||||
description: |
|
||||
A clear and concise description of what you want to happen.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: Describe a possible solution to your feature or suggestion in detail
|
||||
description: |
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: additional
|
||||
attributes:
|
||||
label: Additional context
|
||||
description: |
|
||||
Add any other context or screenshots about the feature request here.
|
||||
validations:
|
||||
required: false
|
||||
+294
@@ -0,0 +1,294 @@
|
||||
#  AzerothCore
|
||||
|
||||
# mod-aoe-loot
|
||||
|
||||
[English](README.md) | [Español](README_ES.md)
|
||||
|
||||
[](https://github.com/azerothcore/mod-aoe-loot/actions)
|
||||
|
||||
## Description
|
||||
|
||||
This module enables Area of Effect (AOE) looting functionality for AzerothCore, allowing players to loot multiple nearby corpses by interacting with just one of them. All items and gold from corpses within the configured range are automatically collected into a single loot window.
|
||||
|
||||
## Features
|
||||
|
||||
- **AOE Looting**: Automatically collect loot from multiple nearby corpses with a single interaction
|
||||
- **Player Toggle Commands**: Individual players can enable/disable AOE loot using `.aoeloot on/off` commands
|
||||
- **Multi-language Support**: Full internationalization support with English and Spanish translations (easily extensible to other languages)
|
||||
- **Configurable Range**: Server administrators can set the maximum distance for AOE loot collection
|
||||
- **Group Support**: Optional group looting with configurable settings
|
||||
- **Performance Optimized**: Limits number of corpses processed to maintain server stability
|
||||
- **Smart Item Management**:
|
||||
- Automatic gold accumulation with overflow protection
|
||||
- Quest items sent directly to inventory
|
||||
- Maximum 15 items per loot window to prevent UI issues
|
||||
- **Corpse Management**: Automatically cleans up looted corpses to reduce clutter
|
||||
|
||||
## Recent Updates
|
||||
|
||||
### v2.0 - Player Control & Internationalization
|
||||
- ✅ Added `.aoeloot on/off` player commands for individual control
|
||||
- ✅ Implemented multi-language support via `acore_string` system
|
||||
- ✅ Fixed enum ID alignment issues
|
||||
- ✅ Complete English and Spanish translations
|
||||
- ✅ Improved code documentation and structure
|
||||
|
||||
### v1.x - Core Functionality
|
||||
- Initial AOE loot implementation
|
||||
- Configuration system
|
||||
- Range and group settings
|
||||
|
||||
## Requirements
|
||||
|
||||
- AzerothCore v3.0.0+ (latest master branch recommended)
|
||||
- MySQL 8.0+
|
||||
- Compiler with C++17 support
|
||||
|
||||
## Installation
|
||||
|
||||
### 1. Clone the Module
|
||||
|
||||
Navigate to your AzerothCore modules directory:
|
||||
|
||||
```bash
|
||||
cd <ACoreDir>/modules
|
||||
git clone https://github.com/azerothcore/mod-aoe-loot.git
|
||||
```
|
||||
|
||||
### 2. Compile
|
||||
|
||||
Re-compile AzerothCore:
|
||||
|
||||
```bash
|
||||
cd <ACoreDir>/build
|
||||
cmake ../ -DCMAKE_INSTALL_PREFIX=/path/to/server -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
|
||||
make -j $(nproc)
|
||||
make install
|
||||
```
|
||||
|
||||
### 3. Configure
|
||||
|
||||
Edit your `worldserver.conf` file (or create `AOELoot.conf` in configs folder):
|
||||
|
||||
```conf
|
||||
###################################################################################################
|
||||
# AOE LOOT MODULE CONFIGURATION
|
||||
###################################################################################################
|
||||
|
||||
#
|
||||
# AOELoot.Enable
|
||||
# Description: Enable or disable the AOE Loot module globally
|
||||
# Default: 1 (enabled)
|
||||
# 0 (disabled)
|
||||
|
||||
AOELoot.Enable = 1
|
||||
|
||||
#
|
||||
# AOELoot.Range
|
||||
# Description: Maximum distance (in yards) to collect loot from nearby corpses
|
||||
# Default: 30.0
|
||||
# Range: 5.0 - 100.0
|
||||
|
||||
AOELoot.Range = 30.0
|
||||
|
||||
#
|
||||
# AOELoot.Group
|
||||
# Description: Allow AOE looting when player is in a group
|
||||
# Default: 1 (allowed)
|
||||
# 0 (not allowed)
|
||||
|
||||
AOELoot.Group = 1
|
||||
|
||||
#
|
||||
# AOELoot.Message
|
||||
# Description: Show informational message on player login
|
||||
# Default: 1 (show message)
|
||||
# 0 (no message)
|
||||
|
||||
AOELoot.Message = 1
|
||||
|
||||
###################################################################################################
|
||||
```
|
||||
|
||||
### 4. Corpse Decay Configuration (IMPORTANT)
|
||||
|
||||
For optimal experience, modify the corpse decay settings in `worldserver.conf`:
|
||||
|
||||
```conf
|
||||
#
|
||||
# Rate.Corpse.Decay.Looted
|
||||
# Description: Multiplier for Corpse.Decay.* to configure how long creature corpses stay
|
||||
# after they have been looted.
|
||||
# Default: 0.5
|
||||
# Recommended: 0.01 (for AOE Loot module)
|
||||
|
||||
Rate.Corpse.Decay.Looted = 0.01
|
||||
```
|
||||
|
||||
**Why this is important:** The default decay rate (0.5) can cause corpses to linger after being looted via AOE, creating visual clutter. Setting this to 0.01 ensures corpses disappear quickly after looting.
|
||||
|
||||
### 5. Restart Server
|
||||
|
||||
Restart your worldserver to load the module:
|
||||
|
||||
```bash
|
||||
./worldserver
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
### For Players
|
||||
|
||||
#### Commands
|
||||
- `.aoeloot on` - Enable AOE looting for your character
|
||||
- `.aoeloot off` - Disable AOE looting for your character
|
||||
|
||||
#### How to Use
|
||||
1. Kill multiple enemies in close proximity
|
||||
2. Right-click on any corpse to loot
|
||||
3. All items from nearby corpses will appear in a single loot window
|
||||
4. Quest items are automatically added to your inventory
|
||||
|
||||
**Note:** Player preferences reset on logout. AOE loot is enabled by default if the module is active.
|
||||
|
||||
### For Administrators
|
||||
|
||||
The module can be controlled through configuration file settings (see Configuration section above).
|
||||
|
||||
## Configuration Options
|
||||
|
||||
| Option | Type | Default | Description |
|
||||
|--------|------|---------|-------------|
|
||||
| `AOELoot.Enable` | Boolean | 1 | Enable/disable module globally |
|
||||
| `AOELoot.Range` | Float | 30.0 | Maximum loot collection radius (5.0 - 100.0) |
|
||||
| `AOELoot.Group` | Boolean | 1 | Allow AOE loot in groups |
|
||||
| `AOELoot.Message` | Boolean | 1 | Show login message |
|
||||
|
||||
## Multi-language Support
|
||||
|
||||
The module includes full multi-language support through AzerothCore's `acore_string` system.
|
||||
|
||||
### Currently Supported Languages
|
||||
- 🇬🇧 English (en_US)
|
||||
- 🇪🇸 Spanish (es_ES / es_MX)
|
||||
|
||||
### Adding More Languages
|
||||
|
||||
To add additional language support, update the SQL file:
|
||||
|
||||
```sql
|
||||
UPDATE `acore_string` SET
|
||||
`locale_frFR` = 'Votre traduction ici',
|
||||
`locale_deDE` = 'Ihre Übersetzung hier',
|
||||
`locale_ruRU` = 'Ваш перевод здесь'
|
||||
WHERE `entry` BETWEEN 50000 AND 50007;
|
||||
```
|
||||
|
||||
Supported locale columns:
|
||||
- `locale_koKR` (Korean)
|
||||
- `locale_frFR` (French)
|
||||
- `locale_deDE` (German)
|
||||
- `locale_zhCN` (Chinese Simplified)
|
||||
- `locale_zhTW` (Chinese Traditional)
|
||||
- `locale_ruRU` (Russian)
|
||||
|
||||
## Technical Details
|
||||
|
||||
### Database Entries
|
||||
|
||||
The module uses `acore_string` entries 50000-50007:
|
||||
|
||||
| Entry | Constant | Purpose |
|
||||
|-------|----------|---------|
|
||||
| 50000 | AOE_ACORE_STRING_MESSAGE | Login message |
|
||||
| 50001 | AOE_ITEM_IN_THE_MAIL | Mail notification (reserved) |
|
||||
| 50002-50003 | - | Reserved for future use |
|
||||
| 50004 | AOE_LOOT_ALREADY_ENABLED | "Already enabled" message |
|
||||
| 50005 | AOE_LOOT_ENABLED | "Enabled" confirmation |
|
||||
| 50006 | AOE_LOOT_ALREADY_DISABLED | "Already disabled" message |
|
||||
| 50007 | AOE_LOOT_DISABLED | "Disabled" confirmation |
|
||||
|
||||
### Performance Considerations
|
||||
|
||||
- Maximum 10 corpses processed per loot operation (hardcoded for stability)
|
||||
- Maximum 15 items per loot window
|
||||
- Gold overflow protection (prevents exceeding uint32 max value)
|
||||
- Efficient corpse filtering and cleanup
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Issue: AOE loot not working
|
||||
|
||||
**Solutions:**
|
||||
- Verify module is enabled: `AOELoot.Enable = 1`
|
||||
- Check if you disabled it personally: use `.aoeloot on`
|
||||
- Ensure you're within range (default 30 yards)
|
||||
- If in group, check `AOELoot.Group` setting
|
||||
|
||||
### Issue: Corpses not disappearing
|
||||
|
||||
**Solution:**
|
||||
- Set `Rate.Corpse.Decay.Looted = 0.01` in worldserver.conf
|
||||
|
||||
### Issue: Messages in wrong language
|
||||
|
||||
**Solution:**
|
||||
- Verify SQL was imported correctly
|
||||
- Check client locale settings
|
||||
- Confirm `acore_string` table has translations for your locale
|
||||
|
||||
### Issue: "Already enabled/disabled" messages appearing incorrectly
|
||||
|
||||
**Solution:**
|
||||
- This is expected behavior - preferences reset on logout
|
||||
- On first login, AOE loot is enabled by default
|
||||
|
||||
## Known Limitations
|
||||
|
||||
- Player preferences do not persist across logout/login sessions
|
||||
- Maximum 10 corpses processed at once (performance limit)
|
||||
- Quest items sent to inventory may fill bags quickly
|
||||
- Range limited to 100 yards maximum
|
||||
|
||||
## Future Enhancements
|
||||
|
||||
Potential features for future versions:
|
||||
- [ ] Database persistence for player preferences
|
||||
- [ ] Configurable max corpses limit
|
||||
- [ ] Quest item mail option (instead of direct inventory)
|
||||
- [ ] Visual range indicator
|
||||
- [ ] Per-character settings UI
|
||||
- [ ] Statistics tracking (total items/gold looted)
|
||||
|
||||
## Credits
|
||||
|
||||
- **acidmanifesto** - [Original author and concept](https://github.com/azerothcore/mod-aoe-loot/pull/2)
|
||||
- **AzerothCore Community** - Hooks, updates, and improvements
|
||||
- **Contributors** - Player commands, multi-language support, and bug fixes
|
||||
|
||||
## Links
|
||||
|
||||
- **AzerothCore:** [Repository](https://github.com/azerothcore) | [Website](https://azerothcore.org/) | [Discord](https://discord.gg/PaqQRkd)
|
||||
- **Module Repository:** [GitHub](https://github.com/azerothcore/mod-aoe-loot)
|
||||
- **Issues & Suggestions:** [Issue Tracker](https://github.com/azerothcore/mod-aoe-loot/issues)
|
||||
|
||||
## License
|
||||
|
||||
This module is released under the [GNU AGPL v3 License](https://github.com/azerothcore/mod-aoe-loot/blob/master/LICENSE).
|
||||
|
||||
---
|
||||
|
||||
### Support
|
||||
|
||||
If you encounter any issues or have suggestions:
|
||||
1. Check the [Troubleshooting](#troubleshooting) section
|
||||
2. Search [existing issues](https://github.com/azerothcore/mod-aoe-loot/issues)
|
||||
3. Join the [AzerothCore Discord](https://discord.gg/PaqQRkd)
|
||||
4. Create a [new issue](https://github.com/azerothcore/mod-aoe-loot/issues/new) with detailed information
|
||||
|
||||
**Please include:**
|
||||
- AzerothCore commit hash
|
||||
- Operating system and version
|
||||
- Complete error messages (if any)
|
||||
- Configuration settings
|
||||
- Steps to reproduce the issue
|
||||
+293
@@ -0,0 +1,293 @@
|
||||
#  AzerothCore
|
||||
|
||||
# mod-aoe-loot
|
||||
|
||||
[English](README.md) | [Español](README_ES.md)
|
||||
|
||||
[](https://github.com/azerothcore/mod-aoe-loot/actions)
|
||||
|
||||
## Descripción
|
||||
|
||||
Este módulo habilita la funcionalidad de saqueo en área (AOE) para AzerothCore, permitiendo a los jugadores saquear múltiples cadáveres cercanos interactuando con solo uno de ellos. Todos los objetos y oro de los cadáveres dentro del rango configurado se recopilan automáticamente en una sola ventana de botín.
|
||||
|
||||
## Características
|
||||
|
||||
- **Saqueo AOE**: Recolecta automáticamente el botín de múltiples cadáveres cercanos con una sola interacción
|
||||
- **Comandos de Activación Individual**: Los jugadores pueden activar/desactivar el saqueo AOE usando los comandos `.aoeloot on/off`
|
||||
- **Soporte Multi-idioma**: Internacionalización completa con traducciones en inglés y español (fácilmente extensible a otros idiomas)
|
||||
- **Rango Configurable**: Los administradores del servidor pueden establecer la distancia máxima para la recolección de botín AOE
|
||||
- **Soporte de Grupo**: Saqueo en grupo opcional con configuración personalizable
|
||||
- **Optimizado para Rendimiento**: Limita el número de cadáveres procesados para mantener la estabilidad del servidor
|
||||
- **Gestión Inteligente de Objetos**:
|
||||
- Acumulación automática de oro con protección contra desbordamiento
|
||||
- Objetos de misión enviados directamente al inventario
|
||||
- Máximo de 15 objetos por ventana de botín para evitar problemas de interfaz
|
||||
- **Gestión de Cadáveres**: Limpia automáticamente los cadáveres saqueados para reducir el desorden visual
|
||||
|
||||
## Actualizaciones Recientes
|
||||
|
||||
### v2.0 - Control del Jugador e Internacionalización
|
||||
- ✅ Agregados comandos `.aoeloot on/off` para control individual del jugador
|
||||
- ✅ Implementado soporte multi-idioma mediante el sistema `acore_string`
|
||||
- ✅ Corregidos problemas de alineación de IDs en enums
|
||||
- ✅ Traducciones completas en inglés y español
|
||||
- ✅ Mejorada la documentación y estructura del código
|
||||
|
||||
### v1.x - Funcionalidad Principal
|
||||
- Implementación inicial del saqueo AOE
|
||||
- Sistema de configuración
|
||||
- Ajustes de rango y grupo
|
||||
|
||||
## Requisitos
|
||||
|
||||
- AzerothCore v3.0.0+ (se recomienda la última rama master)
|
||||
- MySQL 8.0+
|
||||
- Compilador con soporte para C++17
|
||||
|
||||
## Instalación
|
||||
|
||||
### 1. Clonar el Módulo
|
||||
|
||||
Navega al directorio de módulos de AzerothCore:
|
||||
|
||||
```bash
|
||||
cd <DirectorioACore>/modules
|
||||
git clone https://github.com/azerothcore/mod-aoe-loot.git
|
||||
```
|
||||
|
||||
### 2. Compilar
|
||||
|
||||
Recompila AzerothCore:
|
||||
|
||||
```bash
|
||||
cd <DirectorioACore>/build
|
||||
cmake ../ -DCMAKE_INSTALL_PREFIX=/ruta/al/servidor -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
|
||||
make -j $(nproc)
|
||||
make install
|
||||
```
|
||||
|
||||
### 3. Configurar
|
||||
|
||||
Edita tu archivo `worldserver.conf` (o crea `AOELoot.conf` en la carpeta de configuraciones):
|
||||
|
||||
```conf
|
||||
###################################################################################################
|
||||
# CONFIGURACIÓN DEL MÓDULO AOE LOOT
|
||||
###################################################################################################
|
||||
|
||||
#
|
||||
# AOELoot.Enable
|
||||
# Descripción: Habilita o deshabilita el módulo AOE Loot globalmente
|
||||
# Por defecto: 1 (habilitado)
|
||||
# 0 (deshabilitado)
|
||||
|
||||
AOELoot.Enable = 1
|
||||
|
||||
#
|
||||
# AOELoot.Range
|
||||
# Descripción: Distancia máxima (en yardas) para recolectar botín de cadáveres cercanos
|
||||
# Por defecto: 30.0
|
||||
# Rango: 5.0 - 100.0
|
||||
|
||||
AOELoot.Range = 30.0
|
||||
|
||||
#
|
||||
# AOELoot.Group
|
||||
# Descripción: Permitir saqueo AOE cuando el jugador está en un grupo
|
||||
# Por defecto: 1 (permitido)
|
||||
# 0 (no permitido)
|
||||
|
||||
AOELoot.Group = 1
|
||||
|
||||
#
|
||||
# AOELoot.Message
|
||||
# Descripción: Mostrar mensaje informativo al iniciar sesión
|
||||
# Por defecto: 1 (mostrar mensaje)
|
||||
# 0 (sin mensaje)
|
||||
|
||||
AOELoot.Message = 1
|
||||
|
||||
###################################################################################################
|
||||
```
|
||||
|
||||
### 4. Configuración de Degradación de Cadáveres (IMPORTANTE)
|
||||
|
||||
Para una experiencia óptima, modifica la configuración de degradación de cadáveres en `worldserver.conf`:
|
||||
|
||||
```conf
|
||||
#
|
||||
# Rate.Corpse.Decay.Looted
|
||||
# Descripción: Multiplicador para Corpse.Decay.* que configura cuánto tiempo permanecen
|
||||
# los cadáveres de las criaturas después de ser saqueados.
|
||||
# Por defecto: 0.5
|
||||
# Recomendado: 0.01 (para el módulo AOE Loot)
|
||||
|
||||
Rate.Corpse.Decay.Looted = 0.01
|
||||
```
|
||||
|
||||
**Por qué es importante:** La tasa de degradación predeterminada (0.5) puede hacer que los cadáveres permanezcan después de ser saqueados mediante AOE, creando desorden visual. Establecer esto en 0.01 asegura que los cadáveres desaparezcan rápidamente después del saqueo.
|
||||
|
||||
### 5. Reiniciar el Servidor
|
||||
|
||||
Reinicia tu worldserver para cargar el módulo:
|
||||
|
||||
```bash
|
||||
./worldserver
|
||||
```
|
||||
|
||||
## Uso
|
||||
|
||||
### Para Jugadores
|
||||
|
||||
#### Comandos
|
||||
- `.aoeloot on` - Activar el saqueo AOE para tu personaje
|
||||
- `.aoeloot off` - Desactivar el saqueo AOE para tu personaje
|
||||
|
||||
#### Cómo Usar
|
||||
1. Mata múltiples enemigos en proximidad cercana
|
||||
2. Haz clic derecho en cualquier cadáver para saquear
|
||||
3. Todos los objetos de los cadáveres cercanos aparecerán en una sola ventana de botín
|
||||
4. Los objetos de misión se agregan automáticamente a tu inventario
|
||||
|
||||
**Nota:** Las preferencias del jugador se restablecen al cerrar sesión. El saqueo AOE está habilitado por defecto si el módulo está activo.
|
||||
|
||||
### Para Administradores
|
||||
|
||||
El módulo puede controlarse a través de la configuración del archivo (ver sección de Configuración arriba).
|
||||
|
||||
## Opciones de Configuración
|
||||
|
||||
| Opción | Tipo | Por Defecto | Descripción |
|
||||
|--------|------|-------------|-------------|
|
||||
| `AOELoot.Enable` | Booleano | 1 | Habilitar/deshabilitar módulo globalmente |
|
||||
| `AOELoot.Range` | Decimal | 30.0 | Radio máximo de recolección de botín (5.0 - 100.0) |
|
||||
| `AOELoot.Group` | Booleano | 1 | Permitir saqueo AOE en grupos |
|
||||
| `AOELoot.Message` | Booleano | 1 | Mostrar mensaje de inicio de sesión |
|
||||
|
||||
## Soporte Multi-idioma
|
||||
|
||||
El módulo incluye soporte completo multi-idioma a través del sistema `acore_string` de AzerothCore.
|
||||
|
||||
### Idiomas Actualmente Soportados
|
||||
- 🇬🇧 Inglés (en_US)
|
||||
- 🇪🇸 Español (es_ES / es_MX)
|
||||
|
||||
### Agregar Más Idiomas
|
||||
|
||||
Para agregar soporte de idiomas adicionales, actualiza el archivo SQL:
|
||||
|
||||
```sql
|
||||
UPDATE `acore_string` SET
|
||||
`locale_frFR` = 'Votre traduction ici',
|
||||
`locale_deDE` = 'Ihre Übersetzung hier',
|
||||
`locale_ruRU` = 'Ваш перевод здесь'
|
||||
WHERE `entry` BETWEEN 50000 AND 50007;
|
||||
```
|
||||
|
||||
Columnas de localización soportadas:
|
||||
- `locale_koKR` (Coreano)
|
||||
- `locale_frFR` (Francés)
|
||||
- `locale_deDE` (Alemán)
|
||||
- `locale_zhCN` (Chino Simplificado)
|
||||
- `locale_zhTW` (Chino Tradicional)
|
||||
- `locale_ruRU` (Ruso)
|
||||
|
||||
## Detalles Técnicos
|
||||
|
||||
### Entradas de Base de Datos
|
||||
|
||||
El módulo utiliza las entradas `acore_string` 50000-50007:
|
||||
|
||||
| Entrada | Constante | Propósito |
|
||||
|---------|-----------|-----------|
|
||||
| 50000 | AOE_ACORE_STRING_MESSAGE | Mensaje de inicio de sesión |
|
||||
| 50001 | AOE_ITEM_IN_THE_MAIL | Notificación de correo (reservado) |
|
||||
| 50002-50003 | - | Reservado para uso futuro |
|
||||
| 50004 | AOE_LOOT_ALREADY_ENABLED | Mensaje "Ya activado" |
|
||||
| 50005 | AOE_LOOT_ENABLED | Confirmación "Activado" |
|
||||
| 50006 | AOE_LOOT_ALREADY_DISABLED | Mensaje "Ya desactivado" |
|
||||
| 50007 | AOE_LOOT_DISABLED | Confirmación "Desactivado" |
|
||||
|
||||
### Consideraciones de Rendimiento
|
||||
|
||||
- Máximo 10 cadáveres procesados por operación de saqueo (fijo para estabilidad)
|
||||
- Máximo 15 objetos por ventana de botín
|
||||
- Protección contra desbordamiento de oro (previene exceder el valor máximo uint32)
|
||||
- Filtrado y limpieza eficiente de cadáveres
|
||||
|
||||
## Solución de Problemas
|
||||
|
||||
### Problema: El saqueo AOE no funciona
|
||||
|
||||
**Soluciones:**
|
||||
- Verifica que el módulo esté habilitado: `AOELoot.Enable = 1`
|
||||
- Comprueba si lo desactivaste personalmente: usa `.aoeloot on`
|
||||
- Asegúrate de estar dentro del rango (30 yardas por defecto)
|
||||
- Si estás en grupo, verifica la configuración `AOELoot.Group`
|
||||
|
||||
### Problema: Los cadáveres no desaparecen
|
||||
**Solución:**
|
||||
- Establece `Rate.Corpse.Decay.Looted = 0.01` en worldserver.conf
|
||||
|
||||
### Problema: Mensajes en idioma incorrecto
|
||||
|
||||
**Solución:**
|
||||
- Verifica que el SQL se importó correctamente
|
||||
- Comprueba la configuración de localización del cliente
|
||||
- Confirma que la tabla `acore_string` tiene traducciones para tu localización
|
||||
|
||||
### Problema: Mensajes "Ya activado/desactivado" aparecen incorrectamente
|
||||
|
||||
**Solución:**
|
||||
- Este es el comportamiento esperado - las preferencias se restablecen al cerrar sesión
|
||||
- En el primer inicio de sesión, el saqueo AOE está habilitado por defecto
|
||||
|
||||
## Limitaciones Conocidas
|
||||
|
||||
- Las preferencias del jugador no persisten entre sesiones de inicio/cierre de sesión
|
||||
- Máximo 10 cadáveres procesados a la vez (límite de rendimiento)
|
||||
- Los objetos de misión enviados al inventario pueden llenar las bolsas rápidamente
|
||||
- Rango limitado a un máximo de 100 yardas
|
||||
|
||||
## Mejoras Futuras
|
||||
|
||||
Características potenciales para versiones futuras:
|
||||
- [ ] Persistencia en base de datos para preferencias del jugador
|
||||
- [ ] Límite configurable de cadáveres máximos
|
||||
- [ ] Opción de envío de objetos de misión por correo (en lugar de inventario directo)
|
||||
- [ ] Indicador visual de rango
|
||||
- [ ] Interfaz de configuración por personaje
|
||||
- [ ] Seguimiento de estadísticas (objetos/oro total saqueado)
|
||||
|
||||
## Créditos
|
||||
|
||||
- **acidmanifesto** - [Autor original y concepto](https://github.com/azerothcore/mod-aoe-loot/pull/2)
|
||||
- **Comunidad AzerothCore** - Hooks, actualizaciones y mejoras
|
||||
- **Colaboradores** - Comandos de jugador, soporte multi-idioma y correcciones de errores
|
||||
|
||||
## Enlaces
|
||||
|
||||
- **AzerothCore:** [Repositorio](https://github.com/azerothcore) | [Sitio Web](https://azerothcore.org/) | [Discord](https://discord.gg/PaqQRkd)
|
||||
- **Repositorio del Módulo:** [GitHub](https://github.com/azerothcore/mod-aoe-loot)
|
||||
- **Problemas y Sugerencias:** [Rastreador de Problemas](https://github.com/azerothcore/mod-aoe-loot/issues)
|
||||
|
||||
## Licencia
|
||||
|
||||
Este módulo se publica bajo la [Licencia GNU AGPL v3](https://github.com/azerothcore/mod-aoe-loot/blob/master/LICENSE).
|
||||
|
||||
---
|
||||
|
||||
### Soporte
|
||||
|
||||
Si encuentras algún problema o tienes sugerencias:
|
||||
1. Consulta la sección [Solución de Problemas](#solución-de-problemas)
|
||||
2. Busca en [problemas existentes](https://github.com/azerothcore/mod-aoe-loot/issues)
|
||||
3. Únete al [Discord de AzerothCore](https://discord.gg/PaqQRkd)
|
||||
4. Crea un [nuevo problema](https://github.com/azerothcore/mod-aoe-loot/issues/new) con información detallada
|
||||
|
||||
**Por favor incluye:**
|
||||
- Hash del commit de AzerothCore
|
||||
- Sistema operativo y versión
|
||||
- Mensajes de error completos (si los hay)
|
||||
- Configuraciones utilizadas
|
||||
- Pasos para reproducir el problema
|
||||
@@ -0,0 +1,12 @@
|
||||
name: core-build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: azerothcore/reusable-workflows/.github/workflows/core_build_modules.yml@main
|
||||
with:
|
||||
module_repo: ${{ github.event.repository.name }}
|
||||
Reference in New Issue
Block a user