Ejemplo n.º 1
0
        private void OnMapInfo(Client client, Packet p)
        {
            MapInfoPacket packet = p as MapInfoPacket;

            if (packet == null)
            {
                return;
            }
            portals.Clear();
            currentMapName = packet.Name;

            if (packet.Name == "Oryx's Castle" && enabled)
            {
                // If the new map is oryx, go back to the nexus.
                Log("Escaping from oryx's castle.");
                Escape(client);
                return;
            }
            if (packet.Name == "Nexus" && config.AutoConnect && enabled)
            {
                // If the new map is the nexus, start moving towards the realms again.
                isInNexus = true;
                gotoRealm = true;
                MoveToRealms(client);
            }
            else
            {
                gotoRealm = false;
                if (enabled)
                {
                    followTarget = true;
                }
            }
        }
Ejemplo n.º 2
0
 // Token: 0x0600047A RID: 1146 RVA: 0x00017F54 File Offset: 0x00016154
 public void MapInfo(MapInfoPacket mapInfo)
 {
     if (mapInfo.Name.Contains("Pet Yard"))
     {
         this._isPetYard = true;
     }
 }
Ejemplo n.º 3
0
    public void _DT5vfLbxw23gMixKpQ7yxEiQkEe(MapInfoPacket mapInfo)
    {
        if (!mapInfo._MapName.Contains("Pet Yard"))
        {
            return;
        }
        while (true)
        {
            int num = -460678157;
            while (true)
            {
                uint num2;
                switch ((num2 = (uint)num ^ 0xA21FB735u) % 3u)
                {
                case 0u:
                    break;

                default:
                    return;

                case 2u:
                    goto IL_0034;

                case 1u:
                    return;
                }
                break;
IL_0034:
                _t4KMngpne0NUuJ6bUZ4OoBMeFV = true;
                num = (int)((num2 * 1866495082) ^ 0x76C7BB24);
            }
        }
    }
Ejemplo n.º 4
0
 // Token: 0x06000493 RID: 1171 RVA: 0x00018D04 File Offset: 0x00016F04
 public void MapInfo(MapInfoPacket mapInfo)
 {
     this._isSafeMap              = this._safeMapNames.Contains(mapInfo.Name);
     this._lastUseItem            = 0;
     this._nextAltAttack          = 0;
     this._lastAutoAbilityAttempt = 0;
 }
Ejemplo n.º 5
0
 public Map(MapInfoPacket info)
 {
     UUID   = info.Fp;
     Width  = info.Width;
     Height = info.Height;
     Data   = new ushort[Width, Height];
 }
Ejemplo n.º 6
0
        private void OnMapInfo(Client client, Packet p)
        {
            MapInfoPacket packet = p as MapInfoPacket;

            if (packet == null)
            {
                return;
            }
            portals.Clear();
            currentMapName = packet.Name;

            if (packet.Name == "Oryx's Castle" && enabled)
            {
                Log("Escaping from oryx's castle.");
                Escape(client);
                return;
            }
            if (packet.Name == "Nexus" && config.AutoConnect && enabled)
            {
                isInNexus = true;
                gotoRealm = true;
                MoveToRealms(client);
            }
            else
            {
                gotoRealm = false;
                if (enabled)
                {
                    followTarget = true;
                }
            }
        }
Ejemplo n.º 7
0
        private void OnMapInfo(Client client, MapInfoPacket p)
        {
            // Create a new map object
            map = new GameMap(p);

            // Write the name of the map to the log
            Log("Current map: " + map.Name ?? "null");
        }
Ejemplo n.º 8
0
        public void OnMapInfo(Client client, Packet packet)
        {
            MapInfoPacket mip = (MapInfoPacket)packet;

            if (listOfClients.ContainsKey(client))
            {
                listOfClients[client].map = new Map(mip);
            }
        }
Ejemplo n.º 9
0
 // Token: 0x0600028C RID: 652 RVA: 0x000117A8 File Offset: 0x0000F9A8
 public PlayerData(int ownerObjectId, MapInfoPacket mapInfo)
 {
     this.OwnerObjectId   = ownerObjectId;
     this.Name            = "";
     this.MapName         = mapInfo.Name;
     this.TeleportAllowed = mapInfo.AllowPlayerTeleport;
     this.MapWidth        = mapInfo.Width;
     this.MapHeight       = mapInfo.Height;
 }
Ejemplo n.º 10
0
        public void OnMapInfo(Client client, Packet packet)
        {
            if (!_dQuest.ContainsKey(client))
            {
                return;
            }
            MapInfoPacket mip = (MapInfoPacket)packet;

            _dQuest[client].map = mip.Name;
        }
Ejemplo n.º 11
0
        private void OnServerPacketReceived(object sender, PacketEventArgs e)
        {
            var worker = (SocketProxyWorker)sender;

            if ((int)worker.GameId != -5)
            {
                return;
            }

            if (e.ID == worker.PacketTable.UPDATE)
            {
                bool enabled = IsEnabled(worker);
                if (!enabled)
                {
                    return;
                }

                UpdatePacket packet = UpdatePacket.Read(new NBufferReader(e.Content));

                bool updated = false;
                for (int i = 0; i < packet.NewObjects.Length; i++)
                {
                    if (packet.NewObjects[i].ObjectType == 0x0504)                     //Vault Chest
                    {
                        UpdateStats(ref packet.NewObjects[i].Stats);
                        updated = true;
                    }
                }

                if (updated)
                {
                    e.Content = NWriter.Write(writer => packet.Write(writer));
                }
            }
            else if (e.ID == worker.PacketTable.MAPINFO)
            {
                MapInfoPacket packet = MapInfoPacket.Read(new NBufferReader(e.Content));

                packet.ClientXML = packet.ClientXML.Concat(new[]
                {
                    @"	<Objects>
		<Object type=""0x0504"" id=""Vault Chest"">
			<Class>Container</Class>
			<Container/>
			<CanPutNormalObjects/>
			<CanPutSoulboundObjects/>
			<ShowName/>
			<Texture><File>lofiObj2</File><Index>0x0e</Index></Texture>
			<SlotTypes>0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
		</Object>
	</Objects>"
                }).ToArray();
                e.Content = NWriter.Write(writer => packet.Write(writer));
            }
        }
Ejemplo n.º 12
0
 // Token: 0x060004B0 RID: 1200 RVA: 0x0001AA00 File Offset: 0x00018C00
 public void MapInfo(MapInfoPacket mapInfo)
 {
     this._2quYVWYoLc77QY6uJhajp7qBEFF = this._D0ydY92aMnivKXLmhWYnzjIuo7b.Contains(mapInfo.Name);
     this._L4etETbJCIQekDr3Sm4dM67NyC  = (mapInfo.Name == "Ocean Trench");
     this._KgvAv7C8BPHRhNGaBUY9WAoRFFU = null;
     this._wIV6RuTHp6K14hjsabfqulJm6RB = 100;
     this._dTFvDKmJDtcJzyy5wFAsDubOP2x = 100;
     this._OheNBC1f5drFNP8lJ3bZoDVuSKv = 0;
     this._UorlUPPYrMfEq3JgqJC3zM4wIwf = false;
     this._GKvDpEvGICPwzQQpBmeSSrSA0Ut = int.MaxValue;
     this._6HhWgr0VLGFSNUy8ZkAyxO8zznB.Clear();
     this._AMQrd56F3iBO7prif4hznTC4y5A.Clear();
 }
Ejemplo n.º 13
0
 internal void UpdateWorld(MapInfoPacket mapInfo)
 {
     Width          = mapInfo.Width;
     Height         = mapInfo.Height;
     Name           = mapInfo.Name;
     LanguageString = mapInfo.LanguageString;
     Seed           = mapInfo.Seed;
     Background     = mapInfo.Background;
     Difficulty     = mapInfo.Difficulty;
     AllowTeleport  = mapInfo.AllowTeleport;
     ShowDisplays   = mapInfo.ShowDisplays;
     ClientXML      = mapInfo.ClientXML;
     ExtraXML       = mapInfo.ExtraXML;
 }
Ejemplo n.º 14
0
 // Token: 0x06000509 RID: 1289 RVA: 0x0001DC50 File Offset: 0x0001BE50
 public void MapInfo(MapInfoPacket mapInfo)
 {
     this._6cnIerYhzZda8dwMKe0N21tnsKG           = mapInfo.Width;
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.MapWidth  = mapInfo.Width;
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.MapHeight = mapInfo.Height;
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.MapName   = mapInfo.Name;
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.Tiles     = new Square[mapInfo.Width * mapInfo.Height];
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.Players.Clear();
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.Enemies.Clear();
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.Objects.Clear();
     foreach (KeyValuePair <int, Dictionary <int, Projectile> > keyValuePair in this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.projectiles)
     {
         keyValuePair.Value.Clear();
     }
     this._W6Ov6AArxzTTDnCyBtZPqkqNaKf.projectiles.Clear();
 }
Ejemplo n.º 15
0
 private void OnMapInfo(MapInfoPacket mapInfo)
 {
     Log($"Connecting to {mapInfo.Name}");
     if (_account.CharId > 0)
     {
         _net.SendPacket(new LoadPacket
         {
             CharId      = _account.CharId,
             IsFromArena = false
         });
     }
     else
     {
         _net.SendPacket(new CreatePacket
         {
             ClassType = 782,
             SkinType  = 0
         });
     }
 }
Ejemplo n.º 16
0
        private void OnMapInfo(Client client, Packet p)
        {
            MapInfoPacket mapInfo = p as MapInfoPacket;

            Map map;

            if (CachedMaps.ContainsKey(mapInfo.Fp))
            {
                map = CachedMaps[mapInfo.Fp];
                CurrentMaps[client] = map;

                // queue cached tiles
                SendQueues[client] = new List <Tile>();
                for (short x = 0; x < map.Width; x++)
                {
                    for (short y = 0; y < map.Height; y++)
                    {
                        if (map.Data[x, y] != 0)
                        {
                            SendQueues[client].Add(new Tile {
                                X = x, Y = y, Type = map.Data[x, y]
                            });
                        }
                    }
                }
#if DEBUG
                PluginUtils.Log("Map Cacher", "Loaded cached map {0}, {1} cached tiles queued", mapInfo.Name, SendQueues[client].Count);
#endif
            }
            else
            {
                map = new Map(mapInfo);
                CachedMaps[map.UUID] = map;
                CurrentMaps[client]  = map;
                SendQueues[client]   = new List <Tile>(); // no tiles cached yet

#if DEBUG
                PluginUtils.Log("Map Cacher", "Loaded new map {0}", mapInfo.Name);
#endif
            }
        }
Ejemplo n.º 17
0
        private void OnMapInfoPacket(Client client, MapInfoPacket packet)
        {
            if (this.m_currentGameId != -5)
            {
                return;
            }

            packet.ClientXML = packet.ClientXML.Concat(new[]
            {
                @"	<Objects>
		<Object type=""0x0504"" id=""Vault Chest"">
			<Class>Container</Class>
			<Container/>
			<CanPutNormalObjects/>
			<CanPutSoulboundObjects/>
			<ShowName/>
			<Texture><File>lofiObj2</File><Index>0x0e</Index></Texture>
			<SlotTypes>0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
		</Object>
	</Objects>"
            }).ToArray();
        }
Ejemplo n.º 18
0
 // Token: 0x060004F3 RID: 1267 RVA: 0x0001CE34 File Offset: 0x0001B034
 public void MapInfo(MapInfoPacket mapInfo)
 {
     this._index = 0;
     if (MapHack._maps != null)
     {
         this._needsNewTiles = (this._needsScan = (mapInfo.Name == "Realm of the Mad God"));
         foreach (KeyValuePair <string, Tile[]> keyValuePair in MapHack._maps)
         {
             if (keyValuePair.Key == mapInfo.Name)
             {
                 this._mapToReplace  = keyValuePair.Value;
                 this._needsNewTiles = true;
                 this._needsScan     = false;
                 break;
             }
         }
         this._fp = mapInfo.Fp.ToString();
         if (mapInfo.Name == "Realm of the Mad God")
         {
             if (MapHack._fpMap.ContainsKey(this._fp))
             {
                 Console.WriteLine(string.Format("Using map {0} {1}", this._fp, MapHack._fpMap[this._fp]));
                 this._mapToReplace  = MapHack._maps[string.Format("Realm of the Mad God World {0}", MapHack._fpMap[this._fp])];
                 this._needsNewTiles = true;
                 this._needsScan     = false;
                 return;
             }
             this._realmTiles = new List <Tile>();
             this._mapScores  = new Dictionary <int, int>();
             foreach (KeyValuePair <byte, Dictionary <MapHack.ShortPos, ushort> > keyValuePair2 in MapHack._realms)
             {
                 this._mapScores.Add((int)keyValuePair2.Key, 0);
             }
         }
         return;
     }
     Console.WriteLine("Maps list is null, unable to replace maps, trying to parse again");
     MapHack.ParseMapFiles();
 }
Ejemplo n.º 19
0
        public void OnMapInfo(Client client, Packet packet)
        {
            MapInfoPacket mip = (MapInfoPacket)packet;

            CurrentMap[client] = mip.Name;
        }
Ejemplo n.º 20
0
 public void OnMapInfo(MapInfoPacket mapInfo)
 {
     _InShatters = mapInfo._DisplayName.ToLower().Contains("shatters");
     _SafeTiles  = new bool[mapInfo._Width * mapInfo._Height];
 }
Ejemplo n.º 21
0
 public void OnMapInfo(MapInfoPacket mapInfo)
 {
     _InLostHalls = mapInfo._MapName == "Lost Halls";
 }
Ejemplo n.º 22
0
 public void ApplyMapInfo(MapInfoPacket mapInfoPacket)
 {
     Map.SetProps(mapInfoPacket.Width, mapInfoPacket.Height, mapInfoPacket.Name, mapInfoPacket.Background, mapInfoPacket.AllowPlayerTeleport, mapInfoPacket.ShowDisplays);
 }
Ejemplo n.º 23
0
 private void OnMapInfo(Client client, MapInfoPacket p)
 {
     // Map has changed
     currentMapName = p.Name;
     newMap         = true;
 }
Ejemplo n.º 24
0
 // Token: 0x06000501 RID: 1281 RVA: 0x0001D7E8 File Offset: 0x0001B9E8
 public void MapInfo(MapInfoPacket mapInfo)
 {
     this._vb0DX76k2oGNsxzar6rSoSPQjNG = (mapInfo.Name == "Oryx's Sanctuary");
 }
Ejemplo n.º 25
0
 // Token: 0x060004A3 RID: 1187 RVA: 0x00019E54 File Offset: 0x00018054
 public void MapInfo(MapInfoPacket mapInfo)
 {
     this._inVault = mapInfo.Name.ToLower().Contains("vault");
 }
Ejemplo n.º 26
0
        public static GameWorld CreateWorld(MapInfoPacket packet, SocketProxyWorker worker)
        {
            var ret = new GameWorld(worker, packet.Width, packet.Height, packet.Name);

            return(ret);
        }
Ejemplo n.º 27
0
 private void OnMapInfo(Client client, MapInfoPacket packet)
 {
     client.State["MapInfo"] = packet;
 }
Ejemplo n.º 28
0
 // Token: 0x0600051A RID: 1306 RVA: 0x0001E638 File Offset: 0x0001C838
 public void MapInfo(MapInfoPacket mapInfo)
 {
     this._x042beur4ZH17DjAMLokZ55nUnB = mapInfo.DisplayName.ToLower().Contains("shatters");
     this._YDJPnvGydjRtHbTYPWxd7UiJCec = new bool[mapInfo.Width * mapInfo.Height];
 }
Ejemplo n.º 29
0
 public void OnMapInfo(MapInfoPacket mapInfo)
 {
     _InSanctuary = mapInfo._MapName == "Oryx's Sanctuary";
 }
Ejemplo n.º 30
0
    // Token: 0x06000232 RID: 562 RVA: 0x0000FDC0 File Offset: 0x0000DFC0
    private void HandlePacket(Packet packet)
    {
        UpdatePacket updatePacket = packet as UpdatePacket;

        if (updatePacket != null)
        {
            this._objectTracker.Update(updatePacket);
            this.SafeWalk.Update(updatePacket);
            this._autoNexus.Update(updatePacket);
            this._fameHelper.Update(updatePacket);
            this._accuracyFarm.Update(updatePacket);
            this._antiLag.Update(updatePacket);
            this._autoLoot.Update(updatePacket);
            this._mapHack.Update(updatePacket);
            this._o3Helper.Update(updatePacket);
            this._showLHPot.Update(updatePacket);
            return;
        }
        NewTickPacket newTickPacket = packet as NewTickPacket;

        if (newTickPacket != null)
        {
            this._objectTracker.NewTick(newTickPacket);
            this._antiDebuffs.NewTick(newTickPacket);
            this._autoNexus.NewTick(newTickPacket);
            this._antiDdos.NewTick();
            this._fameHelper.NewTick(newTickPacket);
            this._accuracyFarm.NewTick(newTickPacket);
            this._antiLag.NewTick(newTickPacket);
            this._o3Helper.NewTick(newTickPacket);
            this._autoNexus2.NewTick(newTickPacket);
            return;
        }
        MovePacket movePacket = packet as MovePacket;

        if (movePacket != null)
        {
            this.PreviousTime = movePacket._Nx46RcGIU0H1BCGWaJXjN1ieopt;
            this._objectTracker.move(movePacket);
            this._antiDebuffs.Move(movePacket);
            this._autoLoot.Move(movePacket);
            this.AntiAfk.move(movePacket);
            this._autoNexus.move(movePacket);
            this._autoNexus2.move(movePacket);
            return;
        }
        MapInfoPacket mapInfoPacket = packet as MapInfoPacket;

        if (mapInfoPacket != null)
        {
            Console.WriteLine("Client: Map is " + mapInfoPacket.Name);
            this._objectTracker.MapInfo(mapInfoPacket);
            this._autoNexus2.MapInfo(mapInfoPacket);
            this.SafeWalk.MapInfo(mapInfoPacket);
            this._autoNexus.MapInfo(mapInfoPacket);
            this._autoLoot.MapInfo(mapInfoPacket);
            this._fameHelper.MapInfo();
            _accuracyFarm.MapInfo();
            this._antiLag.MapInfo(mapInfoPacket);
            this._mapHack.MapInfo(mapInfoPacket);
            this._o3Helper.MapInfo(mapInfoPacket);
            this._showLHPot.MapInfo(mapInfoPacket);
            return;
        }
        PlayerTextPacket playerTextPacket = packet as PlayerTextPacket;

        if (playerTextPacket != null)
        {
            this._teleportTools.text(playerTextPacket);
            this._ipJoin.text(playerTextPacket);
            this._fameHelper._QrK9KtR4xguWgEYrBE9xnEwwcqd(playerTextPacket);
            this._antiLag.PlayerText(playerTextPacket);
            this._mapHack.text(playerTextPacket);
            this._autoNexus._QrK9KtR4xguWgEYrBE9xnEwwcqd(playerTextPacket);
            return;
        }
        _5Qyhf9ImNgkDzh4BmaDRKP646iH createSuccessPacket = packet as _5Qyhf9ImNgkDzh4BmaDRKP646iH;

        if (createSuccessPacket != null)
        {
            this.PlayerId = createSuccessPacket.ObjectId;
            this._objectTracker._1lYB9SyYVs1zUAIHgLGbUs7pmeb();
            this._bazaarTimer.CreateSuccess();
            this._autoNexus2._1lYB9SyYVs1zUAIHgLGbUs7pmeb();
            return;
        }
        FailurePacket failurePacket = packet as FailurePacket;

        if (failurePacket != null)
        {
            Console.WriteLine(string.Format("Client: Got failure {0}, {1} ({2})", failurePacket.ErrorId, failurePacket.ErrorMessage, failurePacket.ErrorPlace));
            return;
        }
        ReconnectPacket reconnectPacket = packet as ReconnectPacket;

        if (reconnectPacket != null)
        {
            this.Reconnect(reconnectPacket);
            return;
        }
        HelloPacket helloPacket = packet as HelloPacket;

        if (helloPacket != null)
        {
            this.Hello(helloPacket);
            return;
        }
        PlayerHitPacket playerHitPacket = packet as PlayerHitPacket;

        if (playerHitPacket != null)
        {
            this._autoNexus.PlayerHit(playerHitPacket);
            this._antiDebuffs.PlayerHit(playerHitPacket);
            return;
        }
        AoEPacket pqhqze9k9pObME2LmlIcbfEeSYS = packet as AoEPacket;

        if (pqhqze9k9pObME2LmlIcbfEeSYS != null)
        {
            this._autoNexus._M1PxW31jx87SGG4gvOYAwe86vjg(pqhqze9k9pObME2LmlIcbfEeSYS);
            this._antiDebuffs.AoE(pqhqze9k9pObME2LmlIcbfEeSYS);
            return;
        }
        AoEAckPacket x7UwVkbcYG7VnZWu4HCA8hCeQtS = packet as AoEAckPacket;

        if (x7UwVkbcYG7VnZWu4HCA8hCeQtS != null)
        {
            this._autoNexus._iKqf12lpU2ifSlxUxUegqEC5CVe(x7UwVkbcYG7VnZWu4HCA8hCeQtS);
            return;
        }
        GroundDamagePacket hllcDvAIxPBOvJZP4BFTFQUoryN = packet as GroundDamagePacket;

        if (hllcDvAIxPBOvJZP4BFTFQUoryN != null)
        {
            this._autoNexus._524YRDmz9HCOj575eu5oeD5ruJb(hllcDvAIxPBOvJZP4BFTFQUoryN);
            return;
        }
        _6lHFncsY9352Wg3pNnnFZ49g5xA 6lHFncsY9352Wg3pNnnFZ49g5xA = packet as QuestObjIdPacket;
        if (6lHFncsY9352Wg3pNnnFZ49g5xA != null)
        {
            this._teleportTools._FMTVFcTfzNRteqoB3XiUkaNps7l(6lHFncsY9352Wg3pNnnFZ49g5xA);
            return;
        }
        ShowEffectPacket showEffectPacket = packet as ShowEffectPacket;

        if (showEffectPacket != null)
        {
            this._antiLag.ShowEffect(showEffectPacket);
            this._autoNexus._1nwhQXngJ6rNjd7Ufx1bWeF0vhM(showEffectPacket);
            this._o3Helper._1nwhQXngJ6rNjd7Ufx1bWeF0vhM(showEffectPacket);
            return;
        }
        _4wU9AwmH67XtmNygsXuDz9DUXYm 4wU9AwmH67XtmNygsXuDz9DUXYm = packet as _4wU9AwmH67XtmNygsXuDz9DUXYm;
        if (4wU9AwmH67XtmNygsXuDz9DUXYm != null)
        {
            this._antiLag._Q1PiJQ99KBCJeLcZ0HOk3AUAjIP(4wU9AwmH67XtmNygsXuDz9DUXYm);
            return;
        }
        PlayerShootPacket fbqBESNaaIBpK5dNK9X5lWOOll = packet as PlayerShootPacket;

        if (fbqBESNaaIBpK5dNK9X5lWOOll != null)
        {
            this._autoNexus2.PlayerShoot(fbqBESNaaIBpK5dNK9X5lWOOll);
            return;
        }
        TextPacket cbwOjnzusZzuPkHfx7wuwePHqrf = packet as TextPacket;

        if (cbwOjnzusZzuPkHfx7wuwePHqrf != null)
        {
            this._antiSpam._IDtpCgDjmC1AQOcZCJSFNAYjlbH(cbwOjnzusZzuPkHfx7wuwePHqrf);
            this._antiLag.Text(cbwOjnzusZzuPkHfx7wuwePHqrf);
            this._o3Helper._IDtpCgDjmC1AQOcZCJSFNAYjlbH(cbwOjnzusZzuPkHfx7wuwePHqrf);
            return;
        }
        UseItemPacket lylWoxWrca2h31SiYiDb8gyQP0o = packet as UseItemPacket;

        if (lylWoxWrca2h31SiYiDb8gyQP0o != null)
        {
            this._autoNexus2.UseItem(lylWoxWrca2h31SiYiDb8gyQP0o);
            this._fameHelper.UseItem(lylWoxWrca2h31SiYiDb8gyQP0o);
            return;
        }
        EnemyShootPacket cbwrHXLbrCktla3qkqXNmNymbvH = packet as EnemyShootPacket;

        if (cbwrHXLbrCktla3qkqXNmNymbvH != null)
        {
            this._objectTracker._Qz49aY7UXgmnBNNMA6Q6IEQtadk(cbwrHXLbrCktla3qkqXNmNymbvH);
            return;
        }
        InvSwapPacket maJp2qic3r54gk5Eg1eeMowxvXh = packet as InvSwapPacket;

        if (maJp2qic3r54gk5Eg1eeMowxvXh != null)
        {
            this._autoLoot.InvSwap(maJp2qic3r54gk5Eg1eeMowxvXh);
            this._autoNexus._ZHfjECn2B9JJHnVF67eBaO57JUp(maJp2qic3r54gk5Eg1eeMowxvXh);
            return;
        }
        EscapePacket m74ADSrj0VfuNwRBO916gAw0Nu = packet as EscapePacket;

        if (m74ADSrj0VfuNwRBO916gAw0Nu != null)
        {
            this.Escape(m74ADSrj0VfuNwRBO916gAw0Nu);
            return;
        }
        InvitedToGuildPacket tJHGMoVf7DhHyQm8a6SCuL1cSWl = packet as InvitedToGuildPacket;

        if (tJHGMoVf7DhHyQm8a6SCuL1cSWl != null)
        {
            this._antiDdos.Invite(tJHGMoVf7DhHyQm8a6SCuL1cSWl);
            return;
        }
        TeleportPacket rvckmor8bw91EVaRfdwc25aHYbc = packet as TeleportPacket;

        if (rvckmor8bw91EVaRfdwc25aHYbc != null)
        {
            this._fameHelper.Teleport(rvckmor8bw91EVaRfdwc25aHYbc);
            this._accuracyFarm.Teleport(rvckmor8bw91EVaRfdwc25aHYbc);
            return;
        }
        _6UIiGxMChbVinHsvx5uqg8WrMRc 6UIiGxMChbVinHsvx5uqg8WrMRc = packet as InvResultPacket;
        if (6UIiGxMChbVinHsvx5uqg8WrMRc != null)
        {
            this._autoLoot._yOjSn1WKSXsXVziJpL1eH5gSoWg(6UIiGxMChbVinHsvx5uqg8WrMRc);
            return;
        }
        NotificationPacket zIBPB6zZVww7yGWtjJqRMmACh1q = packet as NotificationPacket;

        if (zIBPB6zZVww7yGWtjJqRMmACh1q != null)
        {
            this._autoNexus._4GSfC8bADOwIwOXLYze8EOUBQxJ(zIBPB6zZVww7yGWtjJqRMmACh1q);
            return;
        }
        AccountListPacket k4pBHmoGRyaE6dWf1FIvL0dcuzKA = packet as AccountListPacket;

        if (k4pBHmoGRyaE6dWf1FIvL0dcuzKA != null)
        {
            this._antiLag.AccountList(k4pBHmoGRyaE6dWf1FIvL0dcuzKA);
            return;
        }
        EditAccountListPacket co7ACSeK1WWaCGAPAqLaov37Wqdb = packet as EditAccountListPacket;

        if (co7ACSeK1WWaCGAPAqLaov37Wqdb != null)
        {
            this._antiLag.EditAccountList(co7ACSeK1WWaCGAPAqLaov37Wqdb);
            return;
        }
        _7k8aOfI7MhNrVnHioUXbsPAxkbm 7k8aOfI7MhNrVnHioUXbsPAxkbm = packet as EnemyHitPacket;
        if (7k8aOfI7MhNrVnHioUXbsPAxkbm != null)
        {
            this._o3Helper._9BgsXisaUbFFlj5HLRd76sERUUX(7k8aOfI7MhNrVnHioUXbsPAxkbm);
            return;
        }
        DeathPacket wOmvsGmaE1PheZ2fPjD9V16UEseb = packet as DeathPacket;

        if (wOmvsGmaE1PheZ2fPjD9V16UEseb != null)
        {
            this._autoNexus._qQsqaOxgCR9yg9ky7erATaKrgCC(wOmvsGmaE1PheZ2fPjD9V16UEseb);
            return;
        }
    }