المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : طلب ان بى سى


medo2020
2020-04-06, 04:57 AM
يجماعه عاوز ان بى سى فتح الاجنحه والالقاب كلها من ضغطه واحده
بس يفتح الاجنحه والالقاب كلها الى فى السيرفر الجديده والقديمه
لسورس 3 دى

ElSaher
2020-04-06, 05:20 AM
استخدم دا
ولو جالك مشاكل قولي

عفواً لايمكن عرض الروابط في الإرشيف

medo2020
2020-04-06, 11:21 AM
بيظ ده

Hassan Emprator
2020-04-11, 05:02 AM
#region WarDrope
case 17526:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello " + client.Entity.Name + ", How are you ? I am the manager of the new titles / wings");
dialog.Text("Do you want to buy wings / titles For free?");
dialog.Option("All Wing&Titel", 1);
break;
}
case 1:
{
client.Entity.ConquerPoints -= 1000;
new TitleStorage().GetAll(client);
break;
}

}
break;
}
#endregion TofanProject


سيرش عا

public sealed class CoatStorage


في
case Action.Equip:

اخر القوس تحت خالص ضيف

public void GetAll(Client.GameState client)
{
foreach (var title in Database.WardrobeTable.Titles.Values)
{
AddTitle(client, (short)title.Type, (short)title.ID, false);
}
client.Entity.haveallTitles = true;
}
في Entity ضيف

public bool haveallTitles = false;

medo2020
2020-04-11, 05:25 AM
شكرا يا حسن هجربو واقولك

medo2020
2020-04-11, 05:26 AM
بس السورس الى شغال بيه 3 دى انا يعنى عاوز اضافه 3 دى

Hassan Emprator
2020-04-11, 05:31 AM
بس السورس الى شغال بيه 3 دى انا يعنى عاوز اضافه 3 دى

ما لائسف معنديش اي سورس سري دي جرب دي وشوف عندك في كلاس wardrope

Hassan Emprator
2020-04-11, 05:32 AM
جرب الانبي سي دا كمان

#region Wings - Title
case 15000:
{

switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello " + client.Entity.Name + " i can open New Wing - New Title 1 = 250 CPs");
dialog.Option("New - Wings For 1 250", 1);
dialog.Option("New - Title For 250", 2);
dialog.Option("Wait a minute.", 255);
dialog.Avatar(114);
dialog.Send();
break;
}
#region New - Wings
case 1:
{//Violet~Cloud~Wings
dialog.Option("Wings of Solar Dragon", 3);
dialog.Option("Wings of Infernal Beast", 4);
dialog.Option("Radiant Wings", 5);
dialog.Option("Starlight Wings", 6);
dialog.Option("Moonlight Wings", 7);
dialog.Option("Fairy Wings", 8);
dialog.Option("Violet~Cloud~Wings", 9);
dialog.Option("Violet~Lightning~Wings", 10);
dialog.Option("Wings of Planet", 11);
dialog.Option("Supreme", 12);
dialog.Option("Wait a minute.", 255);
dialog.Avatar(114);
dialog.Send();
break;
}
case 3:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 4001, 1000, false);//Wings of Solar Dragon
}
else
{


dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 4:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6001, 20, false);//Wings of Infernal Beast
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6002, 21, false);//Radiant Wings
}
else
{


dialog.Text("Sorry But You Don't Have 250 cps");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 6:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6003, 22, false);//"Starlight Wings
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 7:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6004, 23, false);//Moonlight Wings
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 8:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6005, 6005, false);//Fairy Wings
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");//Fairy Wings
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 9:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6007, 6007, false);//Violet~Cloud~Wings
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 10:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6008, 6008, false);//Violet~Lightning~Wings
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 12:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6011, 6011, false);//Supreme
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 11:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 6009, 6009, false);//Wings of Planet
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
#endregion
#region New - Title
case 2:
{
dialog.Option("OverLord", 39);
dialog.Option("GrandMaster", 13);
dialog.Option("Rising Star", 14);
dialog.Option("Victor", 15);
dialog.Option("Conqueror", 16);
dialog.Option("Talent", 17);
dialog.Option("Fashionist", 18);
dialog.Option("Swift Chaser", 19);
dialog.Option("Fairy", 20);
dialog.Option("Goddess", 21);
dialog.Option("Beauty", 22);
dialog.Option("Scholar", 23);
dialog.Option("Handsome", 24);
dialog.Option("Wise", 25);
dialog.Option("Super Man", 26);
dialog.Option("Scholar", 27);
dialog.Option("Earth Knight", 28);
dialog.Option("Glory Knight", 29);
dialog.Option("Sky Knight", 30);
dialog.Option("Paladin", 31);
dialog.Option("Big Fan", 32);
dialog.Option("Euro Collector", 33);
dialog.Option("Invincible", 34);
dialog.Option("Pioneer", 35);
dialog.Option("Mighty", 36);
dialog.Option("Supernatural", 37);
dialog.Option("Brilliant", 38);
dialog.Option("Wait a minute.", 255);
dialog.Avatar(114);
dialog.Send();
break;
}
case 39:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 1, 1000, false);//OverLord
}
else
{


dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 13:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2018, 1, false);//GrandMaster
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 14:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2001, 2, false);//Rising Star
}
else
{


dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 15:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2002, 3, false);//Victor
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 16:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2003, 4, false);//Conqueror
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 17:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2004, 5, false);//Talent
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 18:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2005, 6, false);//Fashionist
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 19:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2006, 7, false);//Swift Chaser
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 20:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2020, 2020, false);//Fairy
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 21:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2021, 2021, false);//Beauty
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 22:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2022, 2022, false);//Scholar
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 23:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2023, 2023, false);//Handsome
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 24:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2024, 2024, false);//Wise
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 25:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2025, 2025, false);//Sky Knight
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 26:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2026, 2026, false);//Super Man
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 27:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2027, 2027, false);//Scholar
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 28:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2028, 2028, false);//Earth Knight
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 29:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2029, 2029, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 30:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2030, 2030, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 31:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2031, 2031, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 38:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2016, 17, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 37:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2015, 16, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 36:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2014, 15, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 35:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2013, 14, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 34:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2034, 2034, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 32:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2032, 2032, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 33:
{
if (client.Entity.ConquerPoints >= 250)
{

client.Entity.ConquerPoints -= 250;
new TitleStorage().AddTitle(client, 2033, 2033, false);
}
else
{
dialog.Text("Sorry But You Don't Have 250 CPs");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
#endregion
}
break;
}
#endregion

medo2020
2020-04-11, 05:32 AM
طيب الاضافه الى تحت الان بى سى فين اضيفها بالظبط

Hassan Emprator
2020-04-11, 07:10 AM
طيب الاضافه الى تحت الان بى سى فين اضيفها بالظبط

في كلاس npc عادي احب

medo2020
2020-04-11, 04:59 PM
تمام

medo2020
2020-04-13, 06:21 AM
يحسن اشتغل تمام بس مش بيفتح الالقاب كلها والاجنحه كلها
معا انى منزل 4 ان بى سيهات لاالاجنحه والالقاب علشان يتفتحوا كلهم ومفيش واحد
بيفتحم كلهم مش عارف اعمل ايه انا
عاوز ان بى سى يفتح كل الاجنحه الى فى السيرفر والالقاب كلها