Exemple #1
0
        private void enviar_Paquete_Movimiento()
        {
            string path_string = PathFinderUtil.get_Pathfinding_Limpio(actual_path, false, mapa);

            cuenta.conexion.enviar_Paquete("GA001" + path_string);
            cuenta.personaje.evento_Personaje_Pathfinding_Minimapa(actual_path);
        }
Exemple #2
0
        private void enviar_Paquete_Movimiento()
        {
            if (cuenta.Estado_Cuenta == EstadoCuenta.REGENERANDO)
            {
                cuenta.conexion.enviar_Paquete("eU1", true);
            }

            string path_string = PathFinderUtil.get_Pathfinding_Limpio(actual_path);

            cuenta.conexion.enviar_Paquete("GA001" + path_string, true);
            personaje.evento_Personaje_Pathfinding_Minimapa(actual_path);
        }
Exemple #3
0
        private void enviar_Paquete_Movimiento()
        {
            if (cuenta.AccountState == AccountStates.REGENERATION)
            {
                cuenta.connexion.SendPacket("eU1", true);
            }

            string path_string = PathFinderUtil.get_Pathfinding_Limpio(actual_path);

            cuenta.connexion.SendPacket("GA001" + path_string, true);
            personaje.evento_Personaje_Pathfinding_Minimapa(actual_path);
        }
        private void Send_Movimiento()
        {
            if (cuenta.AccountStatus == AccountStatus.Regenerating)
            {
                cuenta.Connection.Send("eU1", true);
            }

            string path_string = PathFinderUtil.get_Pathfinding_Limpio(actual_path);

            cuenta.Connection.Send("GA001" + path_string, true);
            personaje.evento_Personaje_Pathfinding_Minimapa(actual_path);
        }
Exemple #5
0
        // Token: 0x06000459 RID: 1113 RVA: 0x000100C4 File Offset: 0x0000E4C4
        private void enviar_Paquete_Movimiento()
        {
            bool flag = this.cuenta.Estado_Cuenta == EstadoCuenta.REGENERANDO;

            if (flag)
            {
                this.cuenta.conexion.enviar_Paquete("eU1", true);
            }
            string str = PathFinderUtil.get_Pathfinding_Limpio(this.actual_path);

            this.cuenta.conexion.enviar_Paquete("GA001" + str, true);
            this.personaje.evento_Personaje_Pathfinding_Minimapa(this.actual_path);
        }
Exemple #6
0
        // Token: 0x06000457 RID: 1111 RVA: 0x0000FFC0 File Offset: 0x0000E3C0
        public async Task get_Mover_Celda_Pelea(KeyValuePair <short, MovimientoNodo>?nodo)
        {
            bool flag = !this.cuenta.esta_luchando();

            if (!flag)
            {
                bool flag2 = nodo == null || nodo.Value.Value.camino.celdas_accesibles.Count == 0;
                if (!flag2)
                {
                    bool flag3 = nodo.Value.Key == this.cuenta.juego.pelea.jugador_luchador.celda.id;
                    if (!flag3)
                    {
                        nodo.Value.Value.camino.celdas_accesibles.Insert(0, this.cuenta.juego.pelea.jugador_luchador.celda.id);
                        List <Celda> lista_celdas = (from c in nodo.Value.Value.camino.celdas_accesibles
                                                     select this.mapa.get_Celda_Id(c)).ToList <Celda>();
                        await this.cuenta.conexion.enviar_Paquete_Async("GA001" + PathFinderUtil.get_Pathfinding_Limpio(lista_celdas), false);

                        this.personaje.evento_Personaje_Pathfinding_Minimapa(lista_celdas);
                    }
                }
            }
        }
Exemple #7
0
        public async Task get_Mover_Celda_Pelea(KeyValuePair <short, MovimientoNodo>?nodo)
        {
            if (!cuenta.esta_luchando())
            {
                return;
            }

            if (nodo == null || nodo.Value.Value.camino.celdas_accesibles.Count == 0)
            {
                return;
            }

            if (nodo.Value.Key == cuenta.pelea.jugador_luchador.celda_id)
            {
                return;
            }

            nodo.Value.Value.camino.celdas_accesibles.Insert(0, cuenta.pelea.jugador_luchador.celda_id);

            await cuenta.conexion.enviar_Paquete_Async("GA001" + PathFinderUtil.get_Pathfinding_Limpio(nodo.Value.Value.camino.celdas_accesibles, true, mapa));

            cuenta.personaje.evento_Personaje_Pathfinding_Minimapa(nodo.Value.Value.camino.celdas_accesibles);
        }
        public async Task get_Mover_Celda_Pelea(KeyValuePair <short, MovimientoNodo>?nodo)
        {
            if (!cuenta.IsFighting())
            {
                return;
            }

            if (nodo == null || nodo.Value.Value.camino.celdas_accesibles.Count == 0)
            {
                return;
            }

            if (nodo.Value.Key == cuenta.game.fight.jugador_luchador.celda.cellId)
            {
                return;
            }

            nodo.Value.Value.camino.celdas_accesibles.Insert(0, cuenta.game.fight.jugador_luchador.celda.cellId);
            List <Cell> lista_celdas = nodo.Value.Value.camino.celdas_accesibles.Select(c => mapa.GetCellFromId(c)).ToList();
            await cuenta.connexion.SendPacketAsync("GA001" + PathFinderUtil.get_Pathfinding_Limpio(lista_celdas), false);

            personaje.evento_Personaje_Pathfinding_Minimapa(lista_celdas);
        }
Exemple #9
0
        public async Task get_Mover_Celda_Pelea(KeyValuePair <short, MovimientoNodo>?nodo)
        {
            if (!cuenta.esta_luchando())
            {
                return;
            }

            if (nodo == null || nodo.Value.Value.camino.celdas_accesibles.Count == 0)
            {
                return;
            }

            if (nodo.Value.Key == cuenta.juego.pelea.jugador_luchador.celda.id)
            {
                return;
            }

            nodo.Value.Value.camino.celdas_accesibles.Insert(0, cuenta.juego.pelea.jugador_luchador.celda.id);
            List <Celda> lista_celdas = nodo.Value.Value.camino.celdas_accesibles.Select(c => mapa.get_Celda_Id(c)).ToList();

            await cuenta.conexion.enviar_Paquete_Async("GA001" + PathFinderUtil.get_Pathfinding_Limpio(lista_celdas), false);

            personaje.evento_Personaje_Pathfinding_Minimapa(lista_celdas);
        }