Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I added the guild channel #70

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Interfaces/UI_Mapa.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ private void mapa_Control_Celda_Clic(CeldaMapa celda, MouseButtons botones, bool
switch (cuenta.game.manager.movimientos.get_Mover_A_Celda(celda_destino, mapa.celdas_ocupadas()))
{
case ResultadoMovimientos.EXITO:
cuenta.logger.log_informacion("UI_MAPA", $"Personaje desplazado a la casilla: {celda_destino.cellId}");
cuenta.logger.log_informacion("UI_MAP", $"Personnage se déplace à la cellule : {celda_destino.cellId}");
break;

case ResultadoMovimientos.MISMA_CELDA:
cuenta.logger.log_Error("UI_MAPA", "El jugador está en la misma a la seleccionada");
cuenta.logger.log_Error("UI_MAP", "Le joueur est dans la même cellule que le joueur sélectionné");
break;

default:
cuenta.logger.log_Error("UI_MAPA", $"Error desplazando el personaje a la casilla: {celda_destino.cellId}");
cuenta.logger.log_Error("UI_MAP", $"Erreur de déplacement à la cellule : {celda_destino.cellId}");
break;
}
}
Expand Down
3 changes: 2 additions & 1 deletion Interfaces/UI_Principal.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions Interfaces/UI_Principal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,17 +217,21 @@ private void textBox_enviar_consola_KeyDown(object sender, KeyEventArgs e)
case 0://General
cuenta.connexion.SendPacket("BM*|" + textBox_enviar_consola.Text + "|", true);
break;

case 1://Reclutamiento
case 1://Recrutement
cuenta.connexion.SendPacket("BM?|" + textBox_enviar_consola.Text + "|", true);
break;

case 2://Comercio
case 2://Commerce
cuenta.connexion.SendPacket("BM:|" + textBox_enviar_consola.Text + "|", true);
break;

case 3://Mensaje privado
case 3://Message privé
cuenta.connexion.SendPacket("BM" + textBox_nombre_privado.Text + "|" + textBox_enviar_consola.Text + "|", true);
break;

case 4://Canal guilde
cuenta.connexion.SendPacket("BM%|" + textBox_enviar_consola.Text + "|",true);
break;
}
break;
Expand Down