السلام عليكم ورحمة الله وبركاته
معانا اليوم اضافة الشخصية الجديده لسورسات الي مش موجوده فيه الشخصية
قبل مانبداء اضافات الشخصية انا الي مطلعه من السورس ياعني اي حد اينقل الموضوع يذكر المصدر
بالنسبة لسورس الي اتحط عليه الاضافه فاهو سورس البروتوا تمام
الي هو ده
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
ده صلحت فيه مشاكل كتير ومشاكله قليل عن السورس الجديد بس مفهوش الشخصية الجديده او موجوده بس مش كامله كمله من هنا
انا عامل الموضوع علشان NOVA الي طلبه مني
الصوره ده من سورس مكنش فيه شخصية الثور وانا ضفتهالوا علشان ااتاكد من الاضافات والاضفات كامله 100%
يلا الاكواد
نبداء بالNPCS.CS
ابحث عن
كود:
#region Promotion Center
تحت القوس ضيف دول
كود:
#region ThunderGeneral
//Mohamed yasser
//code.vpscairo.com منتدي اكواد
case 55588:
{
byte mClass = 90;
byte MClass = 95;
string Class = "Thunderstriker";
dialog.Avatar(9);
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
dialog.Text("Our Thunderstriker school was founded by Saint Wan on the principle of KINDNESS and JUSTICE. Once you decide to");
dialog.Option("Promote me.", 1);
// dialog.Option("Learn skills.", 2);
dialog.Option("Learn Epic skills.", 150);
dialog.Option("Learn Pure Skill", 80);
dialog.Option("Thunder Stuff +12", 49);
dialog.Option("Just passing by.", 255);
dialog.Send();
}
else
{
dialog.Text("Sorry, you`re not Thunderstriker. Go find your origin.");
dialog.Option("Okay.", 255);
dialog.Send();
}
break;
}
case 49://Thunderstriker
{
if (client.Entity.Domino < 1500000)
{
dialog.Text("Sorry But You Don't Have 1500000 Domino ");
dialog.Option("I'll think about it!", 255);
dialog.Send();
return;
}
client.Entity.Domino -= 1500000;
client.Inventory.AddSoul(681439, 800111, 6, 12, 12, 1, true, false);//EpicRapier
client.Inventory.AddSoul(680439, 800111, 6, 12, 12, 1, true, false);//EpicPistol
client.Inventory.AddSoul(102200, 822071, 6, 12, 12, 1, true, false);//ArmorPirate
client.Inventory.AddSoul(146309, 820073, 6, 12, 12, 1, true, false);//CapPirate
client.Inventory.AddSoul(120269, 821033, 6, 12, 12, 1, true, false);//Necklace
client.Inventory.AddSoul(150269, 823058, 6, 12, 12, 1, true, false);//Ring
client.Inventory.AddSoul(160249, 824018, 6, 12, 12, 1, true, false);//Boot
client.Entity.Teleport(1002, 410, 354);
dialog.Text("thanks for this gift you have got item soul stablized forever By Falcons ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 100:
{
if (client.Entity.Class >= 70 && client.Entity.Class <= 71)
{
if (client.Entity.Class == 71)
{
dialog.Text("Do you want to become a pirate?");
dialog.Option("Yes sir.", 254);
dialog.Option("No thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("To promote now you need" + client.PromoteItemNameNeed + " level " + client.PromoteLevelNeed + ".");
dialog.Option("Promote me sir.", 254);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 254:
{
if (client.Entity.Class == 70)
{
client.Entity.Class++;
client.Entity.Update(10, "end_task", true);
dialog.Text(" Congratulations ! You have been promoted.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else if (client.Entity.Class == 71)
{
client.Entity.Class = 72;
client.Entity.Update(10, "end_task", true);
dialog.Text(" Congratulations ! You have been promoted.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 80:
{
if (client.Entity.Class >= mClass && client.Entity.FirstRebornClass >= 72 && client.Entity.FirstRebornClass <= 75 && client.Entity.SecondRebornClass >= 72 && client.Entity.SecondRebornClass <= 75)
{
if (!client.AddSpell(LearnableSpell(12520)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned ScurvyBomb.");
dialog.Option("Thank you.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(12520));
}
else
{
dialog.Text("You are not allowed, I think your not promoted yet or your not pure Walter.");
dialog.Option("Thank you.", 255);
dialog.Send();
}
break;
}
case 1:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Class == MClass)
{
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("To promote now you need" + client.PromoteItemNameNeed + " level " + client.PromoteLevelNeed + ".");
dialog.Option("Promote me sir.", 3);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Class == MClass)
{
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
if (client.PromoteItemNeed == 721020)
{
if (client.Inventory.Remove("moonbox"))
{
client.Inventory.Add(client.PromoteItemGain, 0, 1);
client.Entity.Class++;
client.Entity.Update(10, "end_task", true);
dialog.Text(" Congratulations ! You have been promoted.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You don't meet the requierments.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
return;
}
if (client.Inventory.Contains(client.PromoteItemNeed, client.PromoteItemCountNeed) && client.Entity.Level >= client.PromoteLevelNeed)
{
client.Inventory.Remove(client.PromoteItemNeed, client.PromoteItemCountNeed);
client.Inventory.Add(client.PromoteItemGain, 0, 1);
client.Entity.Class++;
client.Entity.Update(10, "end_task", true);
dialog.Text(" Congratulations ! You have been promoted.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
else
{
dialog.Text("You don't meet the requierments.");
dialog.Option("Ahh.", 255);
dialog.Send();
}
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 150:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
dialog.Text("Let me know what you want to learn.");
dialog.Option("Bloomofvps", 190);
dialog.Option("BloomofDeath (Lvl 40).", 200);
dialog.Option("BloomofDeath (Lvl 40).", 160);
dialog.Option("BloomofDeath (Lvl 40).", 170);
dialog.Option("BloomofDeath (Lvl 40).", 180);
dialog.Option("BloomofDeath (Lvl 7).", 210);
dialog.Option("BloomofDeath (Lvl 6).", 220);
dialog.Option("BloomofDeath (Lvl 4).", 250);
dialog.Send();
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 160:
{
if (!client.AddSpell(LearnableSpell(15700)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15700));
break;
}
case 170:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(15710)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15710));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 180:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(15720)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15720));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 190:
{
if (client.Entity.Level >= 50)
{
if (!client.AddSpell(LearnableSpell(15750)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15750));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 200:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(15770)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15770));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 210:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(15800)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15800));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 220:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(15810)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15810));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 230:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(15820)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15820));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 240:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(40114)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(40114));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 250:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(40115)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(40115));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 241:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(40221)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(40221));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 242:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(40222)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(40222));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 243:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(15780)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(15780));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
dialog.Text("Let me know what you want to learn.");
dialog.Option("Windstorm. (Lvl 15).", 15);
dialog.Option("CannonBarrage (Lvl 15).", 7);
dialog.Option("Eagle Eye (Lvl 15).", 5);
dialog.Option("GaleBomb. (Lvl 25).", 9);
dialog.Option("Adrenaline Rush. (Lvl 40).", 8);
dialog.Option("Blackbeard`sRage. (Lvl 40).", 19);
dialog.Option("Next.", 20);
dialog.Send();
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 19:
{
if (!client.AddSpell(LearnableSpell(11060)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11060));
break;
}
case 21:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(11110)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Avatar(87);
dialog.Send();
}
dialog.Text("You have learned BladeTempest skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11110));
}
else
{
dialog.Text("You aren't level 40.");
dialog.Option("Thank you master.", 255);
dialog.Send();
}
break;
}
case 20:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
dialog.Text("Let me know what you want to learn.");
dialog.Option("BlackSpot. (Lvl 40).", 11);
dialog.Option("BladeTempest. (Lvl 40).", 21);
dialog.Option("Kraken`sRevenge. (Lvl 70).", 10);
dialog.Option("Back.", 2);
dialog.Send();
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 1)
{
if (!client.AddSpell(LearnableSpell(11030)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned Eagle Eye skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11030));
}
else
{
dialog.Text("You need to be level 1 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 7:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 1)
{
if (!client.AddSpell(LearnableSpell(11050)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the lightning xp skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11050));
}
else
{
dialog.Text("You need to be level 1 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 8:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(11130)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the AdrenalineRush skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11130));
}
else
{
dialog.Text("You need to be level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 9:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(11070)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the Gale Bomb skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11070));
}
else
{
dialog.Text("You need to be level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 10:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 70)
{
if (!client.AddSpell(LearnableSpell(11100)))
{
if (client.Entity.Reborn >= 1 && client.Entity.FirstRebornClass == 75)
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You are not reborn or first reborn not Pirate.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11100));
}
//else
//{
// dialog.Text("You have learned the Kraken`sRevenge skill.");
// dialog.Option("Thank you master.", 255);
// dialog.Send();
//}
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 11:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(11120)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the BlackSpot skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11120));
}
else
{
dialog.Text("You need to be level 40 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 15:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 15)
{
if (!client.AddSpell(LearnableSpell(11140)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the WindStorm skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11140));
}
else
{
dialog.Text("You need to be level 70 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
}
else
{
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
افتح كلاس DataHolder.cs
ابحث عن
[
كود:
public static bool IsWinwalker(byte Job) { return Job >= 100 && Job <= 165; }
تحتيه ضيف ده
كود:
public static bool IsThunderstriker(byte Job) { return Job >= 90 && Job <= 95; }
في نفس الكلاس ابحث عن
كود:
Class = "Windwalker";
تحت الbreak;ضيف دول
كود:
case 90:
Class = "Thunderstriker";
break;
ابحث عن
كود:
public static void ReadStats()
انزل لحد
كود:
Windwalker.Add(lvl, Data);
بعديهم
وضيف دول
كود:
job = "Thunderstriker[" + lvl + "]";
Data = IniFile.ReadString("Stats", job);
Thunderstriker.Add(lvl, Data);
في نفس الكلاس ابحث عن
كود:
private static SafeDictionary<byte, string> Windwalker = new SafeDictionary<byte, string>(130);
تختيه ضيف دول
كود:
private static SafeDictionary<byte, string> Thunderstriker = new SafeDictionary<byte, string>(130);
في كلاس Entity
ابحث عن
كود:
public int BlessedHunting { get; set; }
ضيف دول
كود:
public bool IsThunderstriker(byte Ti)
{
return Ti >= 90 && Ti <= 95;
}
كلاس
EntityTable
ابحث عن
تخت القوس
كود:
case 20:
case 21:
{
eC.Class = 90;
break;
}
كلاس GamePackets
احذف الي فيه وضيف دول
كود:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Code.Game
{
public class GamePackets
{
public const ushort
Update = 10017,
SpawnPlayer = 10014,
DataMap = 10010,
Movement = 10005,
MsgMagicColdTime = 1153,
Weather = 1016,
CMsgPCServerConfig = 1049,
BuyFromExchangeShop = 2443,
ExchangeShop = 2441,
ArenaCrossServer = 2507,
MsgItemRefineOpt = 3251,
MsgUserTotalRefineLev = 3252,
MsgUserAbilityScore = 3253,
MsgBestOfTheWorld = 3257,
MsgItemRefineRecord = 3255,
MsgRefineEffect = 3254,
MsgFamilyOccupy = 1313,
MsgSignIn = 3200,
MsgCoatStorage = 3300,
MsgTitleStorage = 3301,
CMsgMagicEffectTime = 1152,
MsgEquipRefineRank = 3256,
MsgOsShop = 3002,
MsgHeroRewardsInfo = 2831,
MsgHeroReward = 2830,
MsgActivityTasks = 2820,
MsgActivityRewardsInfo = 2823,
MsgActivityClaims = 2822,
MsgPetAttack = 2812,
MsgTaskReward = 2811,
MsgRouletteShareBetting = 2810,
MsgRoulettedAddNewPlayer = 2809,
MsgRouletteOpenGui = 2808,
MsgRouletteTable = 2807,
MsgRouletteSignUp = 2805,
MsgRouletteAction = 2804,
MsgRouletteScreen = 2803,
MsgRouletteRecord = 2802,
MsgRouletteNoWinner = 2801,
MsgRouletteCheck = 2800,
MsgJiangMessage = 2710,
UnKnowwPP = 2711,
JiangHuPkMode = 2704,
JiangHuRank = 2703,
JiangHuUpdates = 2702,
JiangHuStatus = 2701,
JiangHu = 2700,
MsgSameGroupServerList = 2500,
LeagueOpt = 2622,
LeagueInfo = 2623,
LeagueAllegianceList = 2624,
LeagueSynList = 2625,
LeagueMemList = 2626,
LeagueRank = 2627,
LeaguePalaceGuardsList = 2628,
LeagueImperialCourtList = 2629,
LeagueGroupTokens = 2630,
LeagueMainRank = 2631,
LeagueToken = 2633,
LeagueConcubines = 2634,
LeagueRobOpt = 2642,
MsgHandBrickInfo = 3001,
MsgOverheadLeagueInfo = 2631,
InnerPowerStageInfo = 2611,
InnerPowerGui = 2612,
InnerPowerHandler = 2610,
MsgGoldLeaguePoint = 2600,
ChiInfo = 2534,
ChiMessage = 2535,
HandleChi = 2533,
MsgInterServerIdentifier = 2501,
CountryFlag = 2430,
FlagIcon = 2410,
SubClass = 2320,
SecondaryPassword = 2261,
SkillEliteSetTeamName = 2260,
SkillElitePkTop = 2253,
SkillElitePkBrackets = 2252,
SkillElitePKMatchStats = 2251,
SkillElitePKMatchUI = 2250,
MsgTeamArenaInfoPlayers = 2247,
MsgTeamArenaMatchScore = 2246,
MsgTeamArenaInfo = 2245,
MsgTeamArenaRank10 = 2244,
MsgTeamArenaRanking = 2243,
MsgTeamArenaMatches = 2242,
MsgTeamArenaSignup = 2241,
TeamEliteSetTeamName = 2240,
TeamElitePkTop = 2233,
TeamElitePkBrackets = 2232,
TeamElitePKMatchStats = 2231,
TeamElitePKMatchUI = 2230,
ReceiveRecruit = 2227,
Advertise = 2226,
AdvertiseGui = 2225,
Recruit = 2225,
MsgCaptureTheFlagUpdate = 2224,
EliteRanks = 2223,
PkExploit = 2220,
MsgElitePKMatchStats = 2222,
MsgElitePk = 2219,
ElitePKMatchUI = 2218,
MsgElitePkWatch = 2211,
MsgArenaWatchers = 2211,
MsgArenaMatchScore = 2210,
MsgArenaInfo = 2209,
MsgArenaRank10 = 2208,
MsgArenaRanking = 2207,
MsgArenaMatches = 2206,
MsgArenaSignup = 2205,
FastArsenal = 2204,
GetArsenal = 2203,
PageArsenal = 2202,
ArsenalInfo = 2201,
MsgShowHandKick = 2088,
PokerDrawCards = 2091,
PokerPlayerTurn = 2092,
PokerHand = 2093,
PokerShowAllCards = 2094,
PokerRoundResult = 2095,
PokerLeaveTable = 2096,
PokerPlayerInfo = 2090,
MsgShowHandLostInfo = 2098,
PokerUpdateTableLocation = 2171,
PokerTable = 2172,
MemoryAgate = 2110,
GuildMembers = 2102,
GuildRanks = 2101,
Blackspot = 2081,
NameChange = 2080,
ExtraItem = 2077,
AddExtra = 2076,
GameUpdate = 2075,
RacePotion = 2072,
PopupInfo = 2071,
Fairy = 2070,
MentorPrize = 2067,
QuizShow = 2068,
MentorInfomation = 2066,
MentorAndApprentice = 2065,
Nobility = 2064,
MsgPetInfo = 2035,
MsgBroadcast = 2050,
MsgBroadcastliest = 2051,
ItemLock = 2048,
TratePartnerInfo = 2047,
TradePartner = 2046,
LeaderSchip = 2045,
OfflineTG = 2044,
OfflineTGStats = 2043,
MapTraps = 2400,
Compose = 2036,
KnowPersInfo = 2033,
NpcServerRequest = 2032,
NpcServerReplay = 2031,
NpcSpawn = 2030,
MsgMachineResponse = 1352,
MsgMachine = 1351,
MsgLottery = 1314,
Clan = 1312,
FlowerPacket = 1150,
GenericRanking = 1151,
Achievement = 1136,
QuestData = 1135,
QuestList = 1134,
Title = 1130,
MsgVip = 1129,
MsgVipHandler = 1128,
Enlight = 1127,
MsgStaticMessage = 1126,
Authentificaton = 1124,
InterAction = 1114,
MapStaus = 1110,
SobNpcs = 1109,
ItemView = 1108,
ProcesGuild = 1107,
Guild = 1106,
SpellUse = 1105,
UpgradeSpellExperience = 1104,
Spell = 1103,
Warehause = 1102,
FloorMap = 1101,
AutoHunt = 1070,
RaceRecord = 1071,
Reincarnation = 1066,
ElitePKWagersList = 1065,
ElitePKWager = 1064,
CaptureTheFlagRankings = 1063,
GuildMinDonations = 1061,
GuildInfo = 1058,
Trade = 1056,
LoginGame = 1052,
MapLoading = 1044,
MsgStauts = 1040,
Stabilization = 1038,
ClainInfo = 1036,
DetainedItem = 1034,
ServerInfo = 1033,
EmbedSocket = 1027,
TeamMemberInfo = 1026,
Proficiency = 1025,
AtributeSet = 1024,
Team = 1023,
Attack = 1022,
KnowPersons = 1019,
String_ = 1015,
Usage = 1009,
Item = 1008,
HeroInfo = 1006,
Chat = 1004,
NewClient = 1001;
}
}
كلاس GameState
ابحث عن
كود:
if (_class >= 160 && _class <= 165)
فقيه حط دول
كود:
if (_class >= 90 && _class <= 95)
return 95;
كلاس PacketHandler
ابحث عن
اتلقي اتنين بس خده بالشبه
اقفله من السالب وحط دول
كود:
#region Thunder T.striker
//code.vpscairo.com منتدي اكواد
if (client.Entity.Class >= 90 && client.Entity.Class <= 95)
{
client.Entity.Class = 95;
}
#endregion
في نفس الكلاس ابحث عن
كود:
if (client.Entity.Class >= 20 && client.Entity.Class <= 25)
حط فقهم دول
كود:
if (client.Entity.Class >= 160 && client.Entity.Class <= 165 || client.Entity.Class >= 90 && client.Entity.Class <= 95)
{
can2hand = true;
can2wpn = true;
}
في نفس الكلاس ابحث عن
كود:
case 10: if (client.Entity.Class <= 15 && client.Entity.Class >= 10) return true; break;
اقفله من السالب وحط دول فقيه
كود:
#region Thunder
//code.vpscairo.com منتدي اكواد
case 90: if (client.Entity.Class <= 95 && client.Entity.Class >= 90) return true; break;
case 91: if (client.Entity.Class <= 95 && client.Entity.Class >= 91) return true; break;
case 92: if (client.Entity.Class <= 95 && client.Entity.Class >= 92) return true; break;
case 93: if (client.Entity.Class <= 95 && client.Entity.Class >= 93) return true; break;
case 94: if (client.Entity.Class <= 95 && client.Entity.Class >= 94) return true; break;
case 95: if (client.Entity.Class == 95) return true; break;
#endregion
ابحث عن
كود:
public static ushort ItemPosition(uint ID)
اقفله من السالب وبدله بده
كود:
public static ushort ItemPosition(uint ID)
{
if ((ID >= 111003 && ID <= 118309) || (ID >= 123000 && ID <= 123309) || (ID >= 141003 && ID <= 144309 || ID >= 145000 && ID <= 145309) || (ID >= 148000 && ID <= 148309))
return ConquerItem.Head;
UInt32 iType = ID / 1000;
if (iType == 624)
return ConquerItem.RightWeapon;
if (ID >= 170000 && ID <= 170309 || ID >= 147000 && ID <= 147309 || ID >= 146000 && ID <= 146309)
return ConquerItem.Head;
if (ID >= 101000 && ID <= 101309)
return ConquerItem.Armor;
if (ID >= 626003 && ID <= 626439)
return ConquerItem.RightWeapon;
if (ID >= 626003 && ID <= 626439)
return ConquerItem.LeftWeapon;
if (iType == 624)
return ConquerItem.LeftWeapon;
if (iType == 617)
return ConquerItem.RightWeapon;
if (iType == 619||iType ==680)
return ConquerItem.LeftWeapon;
if (iType == 622||iType ==681)
return ConquerItem.RightWeapon;
if (iType == 148)
return ConquerItem.Head;
if (iType == 614)
return ConquerItem.RightWeapon;
if (iType == 615 || iType == 616)
return ConquerItem.RightWeapon;
else if (ID >= 120001 && ID <= 121269)
return ConquerItem.Necklace;
else if (ID >= 130003 && ID <= 139309 || ID >= 102003 && ID <= 102309)
return ConquerItem.Armor;
else if (ID >= 150000 && ID <= 152279)
return ConquerItem.Ring;
else if (ID >= 160013 && ID <= 160249)
return ConquerItem.Boots;
else if (ID >= 181305 && ID <= 196999)
return ConquerItem.Garment;
else if (ID >= 201003 && ID <= 201009)
return ConquerItem.Fan;
else if (ID >= 202003 && ID <= 202009)
return ConquerItem.Tower;
else if (ID >= 203003 && ID <= 203009)
return ConquerItem.SteedCrop;
else if (ID == 300000)
return ConquerItem.Steed;//
else if (ID >= 681003 && ID <= 681439 || ID >= 671003 && ID <= 671439 || ID >= 410003 && ID <= 622439)
return ConquerItem.RightWeapon;
else if (ID >= 680003 && ID <= 680439 || ID >= 670003 && ID <= 670439 || (ID >= 900000 && ID <= 900309) || (ID >= 1050000 && ID <= 1051052) || (ID >= 614000 && ID <= 614439) || (ID >= 626000 && ID <= 626439) || (ID >= 616000 && ID <= 616439) || (ID >= 617000 && ID <= 617439) || (ID >= 619000 && ID <= 619439))
return ConquerItem.LeftWeapon;
else if (ID >= 2100005 && ID <= 3300048)
return ConquerItem.Bottle;
else if (ID >= 350001 && ID <= 380015)
return ConquerItem.LeftWeaponAccessory;
else if (ID >= 350001 && ID <= 380015)
return ConquerItem.RightWeaponAccessory;
else if (ID >= 200000 && ID <= 200531)
return ConquerItem.SteedArmor;
else if (ID >= 4100001 && ID <= 4100005)
return ConquerItem.Rune;
if ((ID >= 204005 && ID <= 204009) || ID >= 205009 && ID <= 205129)
return ConquerItem.Wing;
return 0;
}
كده خلصنا من السورس فاضل الميلاد لشخصيه الجديده اتلقوها في الموضوع ده
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
ندخل علي شغل القاعده وده سهل
انت اتاخد رقم الانبي سي بتاع الشخصية المعلم علشان الترقيات وتحطه في مابة 1004
شغل فلدرات السورس
في المسار ده
bin\Debug\database
خد الملفات دول
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
بدلهم بالي عندك
فاضل شغل ملف item وده ممكن تجيبه من الكلينت بتاع كونكر وتظبط امورك انا لولا مشغول كنت نزلنهم بس كده ان شاء الله الشخصية اتنزل معاك تمام
وياريت محدش ينقل الموضوع بدون ذكر المصدر