|
المشاركات 1,993 |
+التقييم 1.00 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل ويندوز 0 |
رقم العضوية 279 |
public static void LoginMessages(
new TitleStorage().GetAll(client);
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;
}
public bool haveallTitles = false;
#region Prize Seller
case 200033:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Greetings! I'm a great seller, I have the most precious items in the entire ");
dialog.Text("world. What do you want to get?");
dialog.Option("GoldPrize [4 LordTokens]", 1);
//dialog.Option("Super|Cup| [2 LordTokens]", 2);
//dialog.Option("Elite|Cup| [1 LordTokens]", 3);
dialog.Option("Just passing by.", 255);
dialog.Avatar(85);
dialog.Send();
break;
}
case 1:
{
if (client.Inventory.Contains(723467, 4))
{
client.Inventory.Remove(723467, 4);
client.Inventory.Add(2100075, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 3 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 2:
{
if (client.Inventory.Contains(723467, 2))
{
client.Inventory.Remove(723467, 2);
client.Inventory.Add(2100085, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 2 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 3:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 1);
client.Inventory.Add(2100065, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 1 LordTokens ");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 4:
{
if (client.Inventory.Contains(723467, 2))
{
client.Inventory.Remove(723467, 2);
client.Inventory.Add(2100065, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 2 LordTokens !");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
case 5:
{
if (client.Inventory.Contains(723467, 1))
{
client.Inventory.Remove(723467, 1);
client.Inventory.Add(2100055, 0, 0, 0, 0, 0, 0, 1, true);
}
else
{
dialog.Text("You don't have enough 1 LordTokens !");
dialog.Option("I see.", 255);
dialog.Avatar(85);
dialog.Send();
}
break;
}
}
break;
}
#endregion
#region online points
case 1212129:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("IaM Online Points Master You Are Get 1 Points For online to 1 Mint You have " + client.Entity.OnlinePoints + " Point!");
// dialog.Option("Check My Piontes.", 1);
dialog.Option("1 Online Points For MeteorScroll.", 7);
// dialog.Option("Union 1 OnlinePoints..", 8);
dialog.Option("60 Online Points For ( VIP 2 ).", 2);
dialog.Option("120 Online Points For ( VIP 3 ).", 3);
dialog.Option("300 Online Points For ( VIP 4 ).", 4);
dialog.Option("60 Online Points For ( 50k cps ).", 5);
dialog.Option("10 Online Points For ( ToughDrill[2-Soc] ).", 6);
// dialog.Option("30 Online Points For ( 1 SvageBone[P7] ).", 9);
// dialog.Option("600 Online Points For ( Vip4 1day ).", 10);
dialog.Option("1500 Online Points For ( Mount:WFC(Strike&imm) ).", 11);
dialog.Option("1000 Online Points For ( Germant:Freedomsuit(strike&imm) ).", 12);
dialog.Option("Meh!", 255);
dialog.Send();
break;
}
case 1:
{
dialog.Text(" I see you have " + client.Entity.OnlinePoints + " Online Points");
dialog.Option("Oh I See!.", 255);
dialog.Send();
break;
}
case 2:
{
if (client.Entity.VIPLevel == 1)
{
uint cost = 60;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Entity.VIPLevel = 2;
dialog.Text("Congratulations. You Get VIP 2 for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
}
break;
}
case 3:
{
if (client.Entity.VIPLevel == 2)
{
uint cost = 120;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Entity.VIPLevel = 3;
dialog.Text("Congratulations. You Get VIP 3 for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
}
break;
}
case 4:
{
if (client.Entity.VIPLevel == 3)
{
uint cost = 300;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Entity.VIPLevel = 4;
dialog.Text("Congratulations. You Get VIP 4 for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
}
break;
}
case 5:
{
uint cost = 60;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Entity.ConquerPoints += 50000;
dialog.Text("Congratulations. You Get 50k cps for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
case 6:
{
uint cost = 10;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Inventory.Add(1200005, 0, 1);
dialog.Text("Congratulations. You Get ToughDrill for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
case 7:
{
uint cost = 1;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Inventory.Add(720027, 0, 1);
dialog.Text("Congratulations. You Get MeteorScroll for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
case 10:
{
uint cost = 600;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Inventory.Add(3004121, 0, 1);
dialog.Text("Congratulations. You Get Vip4 for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
case 11:
{
uint cost = 1500;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Inventory.Add(200221, 0, 1);
dialog.Text("Congratulations. You Get WingedMount for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
case 12:
{
uint cost = 1000;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Inventory.Add(192765, 0, 1);
dialog.Text("Congratulations. You Get FreedomSuit for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
case 8:
{
if (client.Entity.OnlinePoints >= 1)
{
client.Entity.OnlinePoints -= 1;
client.Inventory.Add(3007110, 0, 1);
}
else
{
dialog.Text("Please take 1 OnlinePoints.");
dialog.Option("I see.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
case 9:
{
uint cost = 30;
if (client.Entity.OnlinePoints >= cost)
{
client.Entity.OnlinePoints -= cost;
client.Inventory.Add(3004181, 0, 1);
dialog.Text("Congratulations. You Get SavageBone[P7] for " + cost + " Points.");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("You Don't Have " + cost + "Points Come When You Have it ");
dialog.Option("Sorry ", 255); dialog.Send();
}
break;
}
}
break;
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكلة اسلت SuperTwofoldBlade | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-02-04 02:14 AM |
حل مشكلة ان الاميل بيرقص لما يبندرب بي اسكلت SuperTwofoldBlade | ElSaher | تطوير سيرفرات كونكر | 0 | 2020-02-04 01:08 AM |
مشكلة في اسكلة ThunedCloud | Mostafa Shalby | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-01 12:42 AM |
مشكلة فى اسكلة TwilightDance | ViORX | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-09-27 02:44 PM |
مشكلة في اسكلة SuperTwofoldBlade | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-08-04 12:34 PM |