ElSaher
2020-04-04, 08:16 PM
النهردا يا جدعان هنقول ازاي نشيل لودر ميجو من السوس
معا احترامي الشديد لي مجدي شبراوي[Mego]
نبدا
هنروح علي Program.Cs
هنبحث عن
Entity.Info = new MeGo.Sockets.Server.AuthServer.NewAuthServer();
هتبدلو بي
Entity.Info = new Authentication();
بعدها افتح كلاس AuthClient
بدلو كلو بي دا
using System;
using AbdoRedaGxV4.Network;
using System.Net.Sockets;
using AbdoRedaGxV4.Network.Sockets;
using AbdoRedaGxV4.Network.Cryptography;
namespace AbdoRedaGxV4.Client
{
public class AuthClient
{
private ClientWrapper _socket;
public Network.AuthPackets.Authentication Info;
public Database.AccountTable Account;
public Network.Cryptography.AuthCryptography Cryptographer;
public int PasswordSeed;
public ConcurrentPacketQueue Queue;
public static uint nextID = 0;
public AuthClient(ClientWrapper socket)
{
Queue = new ConcurrentPacketQueue(0);
_socket = socket;
}
public void Send(byte[] buffer)
{
byte[] _buffer = new byte;
Buffer.BlockCopy(buffer, 0, _buffer, 0, buffer.Length);
Cryptographer.Encrypt(_buffer);
_socket.Send(_buffer);
}
public void Send(Interfaces.IPacket buffer)
{
Send(buffer.ToArray());
}
}
}
بعدها افتح كلاس Authentication
بدلو كلو بي دا
// Created by MeGo
// Copyright © 2018 - 2019 TQ Digital
// XMeGo - Project
// XMeGo - 01285338963 // 01068255178
using System;
using System.IO;
using System.Text;
using AbdoRedaGxV4.Network.Cryptography;
namespace AbdoRedaGxV4.Network.AuthPackets // غير اسم البروجيكت
{
public class Authentication : Interfaces.IPacket
{
public string Username;
public string Password;
public string Server;
public string Mac;
public Authentication()
{
}
public void Deserialize(byte[] buffer)
{
if (buffer.Length == 312)
{
ushort length = BitConverter.ToUInt16(buffer, 0);
if (length == 312)
{
ushort type = BitConverter.ToUInt16(buffer, 2);
byte[] temp = new byte[16];
if (type == 1542)
{
MemoryStream MS = new MemoryStream(buffer);
BinaryReader BR = new BinaryReader(MS);
BR.ReadUInt16();
BR.ReadUInt16();
Username = Encoding.Default.GetString(BR.ReadBytes(32));
Username = Username.Replace("\0", "");
BR.ReadBytes(37);
byte[] PasswordArray = BR.ReadBytes(32);
Password = Encoding.Default.GetString(PasswordArray);
XMeGoAntiHackLoR.Packets.Cryptography.LoaderEncryp tion.Decrypt(PasswordArray);
Password = Encoding.Default.GetString(PasswordArray);
Password = Password.Replace("\0", "");
BR.ReadBytes(31);
Server = Encoding.Default.GetString(BR.ReadBytes(16));
Server = Server.Replace("\0", "");
Mac = Encoding.Default.GetString(BR.ReadBytes(16));
Mac = Mac.Replace("\0", "");
BR.Close();
MS.Close();
}
}
}
}
public void Deserialize2(byte[] buffer)
{
if (buffer.Length == 312)
{
ushort length = BitConverter.ToUInt16(buffer, 0);
if (length == 312)
{
ushort type = BitConverter.ToUInt16(buffer, 2);
byte[] temp = new byte[16];
if (type == 1542)
{
MemoryStream MS = new MemoryStream(buffer);
BinaryReader BR = new BinaryReader(MS);
BR.ReadUInt16();
BR.ReadUInt16();
Username = Encoding.Default.GetString(BR.ReadBytes(32));
Username = Username.Replace("\0", "");
BR.ReadBytes(36);
var PasswordArray = BR.ReadBytes(32);
XMeGoAntiHackLoRx2.Network.Cryptography.LoaderEncr yption.Decrypt(PasswordArray, 32);
Password = Encoding.Default.GetString(PasswordArray);
Password = Password.Replace("\0", "");
BR.ReadBytes(32);
Server = Encoding.Default.GetString(BR.ReadBytes(16));
Server = Server.Replace("\0", "");
Mac = Encoding.Default.GetString(BR.ReadBytes(16));
Mac = Mac.Replace("\0", "");
BR.Close();
MS.Close();
}
}
}
}
public byte[] ToArray()
{
throw new NotImplementedException();
}
public void Send(Client.GameState client)
{
throw new NotImplementedException();
}
}
}
بعدها افتج كلاس LoaderEncryption
بدلو كلو بي دا
// Created by MeGo
// Copyright © 2018 - 2019 TQ Digital
// XMeGo - Project
// XMeGo - 01285338963 // 01068255178
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XMeGoAntiHackLoR.Packets.Cryptography// متغيرش اسم البروجيكت
{
public class LoaderEncryption
{
private static byte[] Key =
{
4 ,
5 ,
1 ,
3 ,
66 ,
7 ,
77 ,
44 ,
100 ,
228 ,
21 ,
254 ,
234 ,
212 ,
114 ,
141 ,
214 ,
12 ,
55 ,
99 ,
100 ,
7 ,
98 ,
187 ,
190 ,
77 ,
65 ,
55 ,
44 ,
43 ,
21 ,
99
}; // idb
private static byte[] Key2 =
{
6,
4,
1,
7,
2,
33,
77,
66,
65,
44,
21,
254,
43,
212,
90,
44,
214,
12,
56,
99,
67,
7,
87,
99,
0,
77,
43,
11,
44,
22,
21,
99
}; // idb
public static void Encrypt(byte[] arr)
{
int length = Key.Length;
for (int i = 0; i < arr.Length; i++)
{
arr[i] ^= Key[i % length];
arr[i] ^= Key[(i + 1) % length];
}
}
public static void Decrypt(byte[] arr)
{
var len = Encoding.Default.GetString(arr).Replace("\0", "").Length;
for (int i = 0; i < len; ++i)
{
arr[i] ^= Key2[88 * i & 0x1F];
arr[i] ^= Key[32 * i & 0x1C];
}
}
}
}
namespace XMeGoAntiHackLoRx2.Network.Cryptography//متغيرش اسم البروجيكت
{
public class LoaderEncryption
{
private static byte[] Key = { 12, 12, 215, 10, 20, 11, 60, 193, 11, 96, 53, 157, 71, 37, 150, 225, 86, 224, 178, 184, 230, 147, 79, 194, 160, 0, 99, 239, 218, 134, 179, 13, 247, 155, 237, 245, 165, 245, 128, 144 };
public static void Encrypt(byte[] arr)
{
int length = Key.Length;
for (int i = 0; i < arr.Length; i++)
{
arr[i] ^= Key[i % length];
arr[i] ^= Key[(i + 1) % length];
}
}
public static void Decrypt(byte[] arr, int size)
{
int length = Key.Length;
for (int i = 0; i < size; i++)
{
arr[i] ^= Key[(i + 1) % length];
arr[i] ^= Key[i % length];
}
}
}
}
بعدها ابحث عن
QW3P3M8ZQUbllpBZ
بدلها بي دي
XMeGoAntiHackxxx
بعدها امسح كلاس من السورس خالص
SystemBannedAccount.cs
بعدها ابحث عن
if (Protection.SystemBannedAccount.IsBanned(client.Ac count.Username, out Message))
هتلاقي دول امسحهم بي الظبت
if (Protection.SystemBannedAccount.IsBanned(client.Ac count.Username, out Message))
{
}
else
لو الفويد دا موجود عندك امسحو
public static void BackUP_Database
بس كدا يا رجالة
ودي بقي هديا مني ليكو اكيد محدش هيلاقيها كتير
هتضيفو في كلاس
PacketHandler
#region ProdectSkills
#region Anti Auto Skill by ElSaher
#region Trojan
if (client.Player.Class >= 10 && client.Player.Class <= 15)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region WindWalker
if (client.Player.Class >= 160 && client.Player.Class <= 165)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
/* client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });*/
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Warrior
if (client.Player.Class >= 20 && client.Player.Class <= 25)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
/* client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });*/
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Ninja
if (client.Player.Class >= 50 && client.Player.Class <= 55)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Monk
if (client.Player.Class >= 60 && client.Player.Class <= 65)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
/* client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });*/
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Pirate
if (client.Player.Class >= 70 && client.Player.Class <= 75)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
/* client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });*/
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Leelong
if (client.Player.Class >= 80 && client.Player.Class <= 85)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
/* client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });*/
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Toaist
if (client.Player.Class >= 132 && client.Player.Class <= 135)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
/* client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });*/
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Fire
if (client.Player.Class >= 142 && client.Player.Class <= 145)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
/* client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });*/
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#endregion Anti Auto Skill by ElSaher
if (client.Player.SecondRebornClass == 25 && !client.Spells.ContainsKey(3060))
{
client.AddSpell(new Spell(true) { ID = 3060 });
}
if (client.Spells.ContainsKey(12300) && !client.Player.PureLeeLong())
{
client.RemoveSpell(new Spell(true) { ID = 12300 });
}
if (client.Spells.ContainsKey(12200) && !client.Player.x2LeeLong())
{
client.RemoveSpell(new Spell(true) { ID = 12200 });
}
if (client.Spells.ContainsKey(11040) && !client.Player.PurePirate())
{
client.RemoveSpell(new Spell(true) { ID = 11040 });
}
#endregion
ادعو لي اخويا انو يقوم بي السلامة
معا احترامي الشديد لي مجدي شبراوي[Mego]
نبدا
هنروح علي Program.Cs
هنبحث عن
Entity.Info = new MeGo.Sockets.Server.AuthServer.NewAuthServer();
هتبدلو بي
Entity.Info = new Authentication();
بعدها افتح كلاس AuthClient
بدلو كلو بي دا
using System;
using AbdoRedaGxV4.Network;
using System.Net.Sockets;
using AbdoRedaGxV4.Network.Sockets;
using AbdoRedaGxV4.Network.Cryptography;
namespace AbdoRedaGxV4.Client
{
public class AuthClient
{
private ClientWrapper _socket;
public Network.AuthPackets.Authentication Info;
public Database.AccountTable Account;
public Network.Cryptography.AuthCryptography Cryptographer;
public int PasswordSeed;
public ConcurrentPacketQueue Queue;
public static uint nextID = 0;
public AuthClient(ClientWrapper socket)
{
Queue = new ConcurrentPacketQueue(0);
_socket = socket;
}
public void Send(byte[] buffer)
{
byte[] _buffer = new byte;
Buffer.BlockCopy(buffer, 0, _buffer, 0, buffer.Length);
Cryptographer.Encrypt(_buffer);
_socket.Send(_buffer);
}
public void Send(Interfaces.IPacket buffer)
{
Send(buffer.ToArray());
}
}
}
بعدها افتح كلاس Authentication
بدلو كلو بي دا
// Created by MeGo
// Copyright © 2018 - 2019 TQ Digital
// XMeGo - Project
// XMeGo - 01285338963 // 01068255178
using System;
using System.IO;
using System.Text;
using AbdoRedaGxV4.Network.Cryptography;
namespace AbdoRedaGxV4.Network.AuthPackets // غير اسم البروجيكت
{
public class Authentication : Interfaces.IPacket
{
public string Username;
public string Password;
public string Server;
public string Mac;
public Authentication()
{
}
public void Deserialize(byte[] buffer)
{
if (buffer.Length == 312)
{
ushort length = BitConverter.ToUInt16(buffer, 0);
if (length == 312)
{
ushort type = BitConverter.ToUInt16(buffer, 2);
byte[] temp = new byte[16];
if (type == 1542)
{
MemoryStream MS = new MemoryStream(buffer);
BinaryReader BR = new BinaryReader(MS);
BR.ReadUInt16();
BR.ReadUInt16();
Username = Encoding.Default.GetString(BR.ReadBytes(32));
Username = Username.Replace("\0", "");
BR.ReadBytes(37);
byte[] PasswordArray = BR.ReadBytes(32);
Password = Encoding.Default.GetString(PasswordArray);
XMeGoAntiHackLoR.Packets.Cryptography.LoaderEncryp tion.Decrypt(PasswordArray);
Password = Encoding.Default.GetString(PasswordArray);
Password = Password.Replace("\0", "");
BR.ReadBytes(31);
Server = Encoding.Default.GetString(BR.ReadBytes(16));
Server = Server.Replace("\0", "");
Mac = Encoding.Default.GetString(BR.ReadBytes(16));
Mac = Mac.Replace("\0", "");
BR.Close();
MS.Close();
}
}
}
}
public void Deserialize2(byte[] buffer)
{
if (buffer.Length == 312)
{
ushort length = BitConverter.ToUInt16(buffer, 0);
if (length == 312)
{
ushort type = BitConverter.ToUInt16(buffer, 2);
byte[] temp = new byte[16];
if (type == 1542)
{
MemoryStream MS = new MemoryStream(buffer);
BinaryReader BR = new BinaryReader(MS);
BR.ReadUInt16();
BR.ReadUInt16();
Username = Encoding.Default.GetString(BR.ReadBytes(32));
Username = Username.Replace("\0", "");
BR.ReadBytes(36);
var PasswordArray = BR.ReadBytes(32);
XMeGoAntiHackLoRx2.Network.Cryptography.LoaderEncr yption.Decrypt(PasswordArray, 32);
Password = Encoding.Default.GetString(PasswordArray);
Password = Password.Replace("\0", "");
BR.ReadBytes(32);
Server = Encoding.Default.GetString(BR.ReadBytes(16));
Server = Server.Replace("\0", "");
Mac = Encoding.Default.GetString(BR.ReadBytes(16));
Mac = Mac.Replace("\0", "");
BR.Close();
MS.Close();
}
}
}
}
public byte[] ToArray()
{
throw new NotImplementedException();
}
public void Send(Client.GameState client)
{
throw new NotImplementedException();
}
}
}
بعدها افتج كلاس LoaderEncryption
بدلو كلو بي دا
// Created by MeGo
// Copyright © 2018 - 2019 TQ Digital
// XMeGo - Project
// XMeGo - 01285338963 // 01068255178
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XMeGoAntiHackLoR.Packets.Cryptography// متغيرش اسم البروجيكت
{
public class LoaderEncryption
{
private static byte[] Key =
{
4 ,
5 ,
1 ,
3 ,
66 ,
7 ,
77 ,
44 ,
100 ,
228 ,
21 ,
254 ,
234 ,
212 ,
114 ,
141 ,
214 ,
12 ,
55 ,
99 ,
100 ,
7 ,
98 ,
187 ,
190 ,
77 ,
65 ,
55 ,
44 ,
43 ,
21 ,
99
}; // idb
private static byte[] Key2 =
{
6,
4,
1,
7,
2,
33,
77,
66,
65,
44,
21,
254,
43,
212,
90,
44,
214,
12,
56,
99,
67,
7,
87,
99,
0,
77,
43,
11,
44,
22,
21,
99
}; // idb
public static void Encrypt(byte[] arr)
{
int length = Key.Length;
for (int i = 0; i < arr.Length; i++)
{
arr[i] ^= Key[i % length];
arr[i] ^= Key[(i + 1) % length];
}
}
public static void Decrypt(byte[] arr)
{
var len = Encoding.Default.GetString(arr).Replace("\0", "").Length;
for (int i = 0; i < len; ++i)
{
arr[i] ^= Key2[88 * i & 0x1F];
arr[i] ^= Key[32 * i & 0x1C];
}
}
}
}
namespace XMeGoAntiHackLoRx2.Network.Cryptography//متغيرش اسم البروجيكت
{
public class LoaderEncryption
{
private static byte[] Key = { 12, 12, 215, 10, 20, 11, 60, 193, 11, 96, 53, 157, 71, 37, 150, 225, 86, 224, 178, 184, 230, 147, 79, 194, 160, 0, 99, 239, 218, 134, 179, 13, 247, 155, 237, 245, 165, 245, 128, 144 };
public static void Encrypt(byte[] arr)
{
int length = Key.Length;
for (int i = 0; i < arr.Length; i++)
{
arr[i] ^= Key[i % length];
arr[i] ^= Key[(i + 1) % length];
}
}
public static void Decrypt(byte[] arr, int size)
{
int length = Key.Length;
for (int i = 0; i < size; i++)
{
arr[i] ^= Key[(i + 1) % length];
arr[i] ^= Key[i % length];
}
}
}
}
بعدها ابحث عن
QW3P3M8ZQUbllpBZ
بدلها بي دي
XMeGoAntiHackxxx
بعدها امسح كلاس من السورس خالص
SystemBannedAccount.cs
بعدها ابحث عن
if (Protection.SystemBannedAccount.IsBanned(client.Ac count.Username, out Message))
هتلاقي دول امسحهم بي الظبت
if (Protection.SystemBannedAccount.IsBanned(client.Ac count.Username, out Message))
{
}
else
لو الفويد دا موجود عندك امسحو
public static void BackUP_Database
بس كدا يا رجالة
ودي بقي هديا مني ليكو اكيد محدش هيلاقيها كتير
هتضيفو في كلاس
PacketHandler
#region ProdectSkills
#region Anti Auto Skill by ElSaher
#region Trojan
if (client.Player.Class >= 10 && client.Player.Class <= 15)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region WindWalker
if (client.Player.Class >= 160 && client.Player.Class <= 165)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
/* client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });*/
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Warrior
if (client.Player.Class >= 20 && client.Player.Class <= 25)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
/* client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });*/
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Ninja
if (client.Player.Class >= 50 && client.Player.Class <= 55)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Monk
if (client.Player.Class >= 60 && client.Player.Class <= 65)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
/* client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });*/
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Pirate
if (client.Player.Class >= 70 && client.Player.Class <= 75)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
/* client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });*/
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Leelong
if (client.Player.Class >= 80 && client.Player.Class <= 85)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
/* client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });*/
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Toaist
if (client.Player.Class >= 132 && client.Player.Class <= 135)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
/* client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });*/
client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#region Fire
if (client.Player.Class >= 142 && client.Player.Class <= 145)
{
client.RemoveSpell(new Spell(true) { ID = 12080 }); //Ninga
client.RemoveSpell(new Spell(true) { ID = 12070 });
client.RemoveSpell(new Spell(true) { ID = 12090 });
client.RemoveSpell(new Spell(true) { ID = 12110 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 11230 });
client.RemoveSpell(new Spell(true) { ID = 11170 });
client.RemoveSpell(new Spell(true) { ID = 6011 });
client.RemoveSpell(new Spell(true) { ID = 11180 });
client.RemoveSpell(new Spell(true) { ID = 6001 });
client.RemoveSpell(new Spell(true) { ID = 6002 });
client.RemoveSpell(new Spell(true) { ID = 6003 });
client.RemoveSpell(new Spell(true) { ID = 6004 });
client.RemoveSpell(new Spell(true) { ID = 6000 });
client.RemoveSpell(new Spell(true) { ID = 1075 }); //Water
client.RemoveSpell(new Spell(true) { ID = 1100 });
client.RemoveSpell(new Spell(true) { ID = 1175 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1050 });
client.RemoveSpell(new Spell(true) { ID = 1000 });
client.RemoveSpell(new Spell(true) { ID = 1005 });
client.RemoveSpell(new Spell(true) { ID = 12370 });
client.RemoveSpell(new Spell(true) { ID = 30000 });
/* client.RemoveSpell(new Spell(true) { ID = 1150 }); //Fire
client.RemoveSpell(new Spell(true) { ID = 1180 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 1165 });
client.RemoveSpell(new Spell(true) { ID = 1160 });
client.RemoveSpell(new Spell(true) { ID = 1125 });
client.RemoveSpell(new Spell(true) { ID = 1010 });
client.RemoveSpell(new Spell(true) { ID = 5001 });
client.RemoveSpell(new Spell(true) { ID = 10309 });
client.RemoveSpell(new Spell(true) { ID = 12400 });*/
client.RemoveSpell(new Spell(true) { ID = 11060 }); //Piart
client.RemoveSpell(new Spell(true) { ID = 11110 });
client.RemoveSpell(new Spell(true) { ID = 11030 });
client.RemoveSpell(new Spell(true) { ID = 11130 });
client.RemoveSpell(new Spell(true) { ID = 11100 });
client.RemoveSpell(new Spell(true) { ID = 11050 });
client.RemoveSpell(new Spell(true) { ID = 11140 });
client.RemoveSpell(new Spell(true) { ID = 11120 });
client.RemoveSpell(new Spell(true) { ID = 10405 }); //Monk
client.RemoveSpell(new Spell(true) { ID = 10490 });
client.RemoveSpell(new Spell(true) { ID = 10395 });
client.RemoveSpell(new Spell(true) { ID = 12550 });
client.RemoveSpell(new Spell(true) { ID = 12560 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12570 });
client.RemoveSpell(new Spell(true) { ID = 10390 });
client.RemoveSpell(new Spell(true) { ID = 10415 });
client.RemoveSpell(new Spell(true) { ID = 10381 });
client.RemoveSpell(new Spell(true) { ID = 10430 });
client.RemoveSpell(new Spell(true) { ID = 12670 }); //Waorior
client.RemoveSpell(new Spell(true) { ID = 12770 });
client.RemoveSpell(new Spell(true) { ID = 12690 });
client.RemoveSpell(new Spell(true) { ID = 12700 });
client.RemoveSpell(new Spell(true) { ID = 12660 });
client.RemoveSpell(new Spell(true) { ID = 12680 });
client.RemoveSpell(new Spell(true) { ID = 1020 });
client.RemoveSpell(new Spell(true) { ID = 11200 });
client.RemoveSpell(new Spell(true) { ID = 10470 });
client.RemoveSpell(new Spell(true) { ID = 11160 });
client.RemoveSpell(new Spell(true) { ID = 12240 }); //Legoff
client.RemoveSpell(new Spell(true) { ID = 12220 });
client.RemoveSpell(new Spell(true) { ID = 12290 });
client.RemoveSpell(new Spell(true) { ID = 12320 });
client.RemoveSpell(new Spell(true) { ID = 12340 });
client.RemoveSpell(new Spell(true) { ID = 12210 });
client.RemoveSpell(new Spell(true) { ID = 12130 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 12120 });
client.RemoveSpell(new Spell(true) { ID = 12270 });
client.RemoveSpell(new Spell(true) { ID = 12330 });
client.RemoveSpell(new Spell(true) { ID = 12170 });
client.RemoveSpell(new Spell(true) { ID = 12160 });
client.RemoveSpell(new Spell(true) { ID = 12350 });
client.RemoveSpell(new Spell(true) { ID = 12140 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 12200 });
client.RemoveSpell(new Spell(true) { ID = 12980 }); //WindWallker
client.RemoveSpell(new Spell(true) { ID = 12950 });
client.RemoveSpell(new Spell(true) { ID = 12930 });
client.RemoveSpell(new Spell(true) { ID = 12990 });
client.RemoveSpell(new Spell(true) { ID = 12960 });
client.RemoveSpell(new Spell(true) { ID = 13000 });
client.RemoveSpell(new Spell(true) { ID = 13030 });
client.RemoveSpell(new Spell(true) { ID = 8001 });
client.RemoveSpell(new Spell(true) { ID = 13020 });
client.RemoveSpell(new Spell(true) { ID = 12890 });
client.RemoveSpell(new Spell(true) { ID = 13090 });
client.RemoveSpell(new Spell(true) { ID = 12850 });
client.RemoveSpell(new Spell(true) { ID = 12840 });
client.RemoveSpell(new Spell(true) { ID = 12970 });
client.RemoveSpell(new Spell(true) { ID = 12940 });
client.RemoveSpell(new Spell(true) { ID = 12830 });
client.RemoveSpell(new Spell(true) { ID = 12860 });
client.RemoveSpell(new Spell(true) { ID = 12870 });
client.RemoveSpell(new Spell(true) { ID = 8001 }); //Trojan
client.RemoveSpell(new Spell(true) { ID = 1015 });
client.RemoveSpell(new Spell(true) { ID = 11970 });
client.RemoveSpell(new Spell(true) { ID = 11990 });
client.RemoveSpell(new Spell(true) { ID = 11980 });
client.RemoveSpell(new Spell(true) { ID = 11960 });
client.RemoveSpell(new Spell(true) { ID = 1115 });
client.RemoveSpell(new Spell(true) { ID = 1270 });
}
#endregion
#endregion Anti Auto Skill by ElSaher
if (client.Player.SecondRebornClass == 25 && !client.Spells.ContainsKey(3060))
{
client.AddSpell(new Spell(true) { ID = 3060 });
}
if (client.Spells.ContainsKey(12300) && !client.Player.PureLeeLong())
{
client.RemoveSpell(new Spell(true) { ID = 12300 });
}
if (client.Spells.ContainsKey(12200) && !client.Player.x2LeeLong())
{
client.RemoveSpell(new Spell(true) { ID = 12200 });
}
if (client.Spells.ContainsKey(11040) && !client.Player.PurePirate())
{
client.RemoveSpell(new Spell(true) { ID = 11040 });
}
#endregion
ادعو لي اخويا انو يقوم بي السلامة