|
![]() |
الحل كان بصيط جدا انا عملت حاجا حلوه شيلت السبس من الراجل خالص الي كان بيجيب الثغرة خليتو يديك فلوس بس مسحت كل حاجا تخص ConquerPoints وعملتها Money يبقي يخدو فلوس بقي ههههههه |
#region ChangePassword
case 10561: //Repack-Co SoOon
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello. I'm the one that was choosen to set/change your account password .you can change you password for 14 letters nubmer or characters. Conquer Ghost World V1 V1");
dialog.Option("I want to change the password.", 2);
dialog.Option("Forget it.", 255);
dialog.Send();
break;
}
#region Change password
case 2:
{
if (client.Account.Password != "")
{
dialog.Text("Please insert the old password you have now.");
dialog.Input("Here:", 6, 14);
dialog.Option("Forget it.", 255);
}
else
{
dialog.Text("You don't have a password set.");
dialog.Option("Alright.", 255);
}
dialog.Send();
break;
}
case 6:
{
if (client.Account.Password != "")
{
if (npcRequest.Input.Length <= 14)
{
if (client.Account.Password == npcRequest.Input)
{
dialog.Text("Please insert the New password again.");
dialog.Input("Here:", 7, 14);
dialog.Option("Forget it.", 255);
}
else
{
dialog.Text("Wrong password. Try again?");
dialog.Input("Here:", 6, 14);
dialog.Option("Alright.", 255);
}
}
else
{
dialog.Text("Invalid password, please try again.");
dialog.Input("Here:", 6, 14);
dialog.Option("Alright.", 255);
}
}
else
{
dialog.Text("You don't have a password set.");
dialog.Option("Alright.", 255);
}
dialog.Send();
break;
}
case 7:
{
if (client.Account.Password != "")
{
if (npcRequest.Input.Length <= 14)
{
client.TempPassword = npcRequest.Input;
dialog.Text("Please insert the New password again.");
dialog.Input("Here:", 8, 14);
dialog.Option("Forget it.", 255);
}
else
{
dialog.Text("Invalid password, please try again.");
dialog.Input("Here:", 7, 14);
dialog.Option("Alright.", 255);
}
}
else
{
dialog.Text("You don't have a password set.");
dialog.Option("Alright.", 255);
}
dialog.Send();
break;
}
case 8:
{
if (client.Account.Password != "")
{
if (npcRequest.Input.Length <= 14)
{
if (client.TempPassword == npcRequest.Input)
{
client.TempPassword = "";
client.Account.Password = npcRequest.Input;
client.Account.Save();
dialog.Text("Password changed!");
dialog.Option("Thank you.", 255);
}
else
{
dialog.Text("Wrong password.");
dialog.Input("Here:", 8, 14);
dialog.Option("Alright.", 255);
}
}
else
{
dialog.Text("Invalid password, please try again.");
dialog.Input("Here:", 8, 14);
dialog.Option("Alright.", 255);
}
}
else
{
dialog.Text("You don't have a password set.");
dialog.Option("Alright.", 255);
}
dialog.Send();
break;
}
#endregion Change password
}
break;
}
#region changepassword
case 10561: //repack-co sooon
{
switch (npcrequest.optionid)
{
case 0:
{
dialog.text("hello. I'm the one that was choosen to set/change your account password .you can change you password for 14 letters nubmer or characters. Conquer ghost world v1 v1");
dialog.option("i want to change the password.", 2);
dialog.option("forget it.", 255);
dialog.send();
break;
}
#region change password
case 2:
{
if (client.account.password != "")
{
dialog.text("please insert the old password you have now.");
dialog.input("here:", 6, 14);
dialog.option("forget it.", 255);
}
else
{
dialog.text("you don't have a password set.");
dialog.option("alright.", 255);
}
dialog.send();
break;
}
case 6:
{
if (client.account.password != "")
{
if (npcrequest.input.length <= 14)
{
if (client.account.password == npcrequest.input)
{
dialog.text("please insert the new password again.");
dialog.input("here:", 7, 14);
dialog.option("forget it.", 255);
}
else
{
dialog.text("wrong password. Try again?");
dialog.input("here:", 6, 14);
dialog.option("alright.", 255);
}
}
else
{
dialog.text("invalid password, please try again.");
dialog.input("here:", 6, 14);
dialog.option("alright.", 255);
}
}
else
{
dialog.text("you don't have a password set.");
dialog.option("alright.", 255);
}
dialog.send();
break;
}
case 7:
{
if (client.account.password != "")
{
if (npcrequest.input.length <= 14)
{
client.temppassword = npcrequest.input;
dialog.text("please insert the new password again.");
dialog.input("here:", 8, 14);
dialog.option("forget it.", 255);
}
else
{
dialog.text("invalid password, please try again.");
dialog.input("here:", 7, 14);
dialog.option("alright.", 255);
}
}
else
{
dialog.text("you don't have a password set.");
dialog.option("alright.", 255);
}
dialog.send();
break;
}
case 8:
{
if (client.account.password != "")
{
if (npcrequest.input.length <= 14)
{
if (client.temppassword == npcrequest.input)
{
client.temppassword = "";
client.account.password = npcrequest.input;
client.account.save();
dialog.text("password changed!");
dialog.option("thank you.", 255);
}
else
{
dialog.text("wrong password.");
dialog.input("here:", 8, 14);
dialog.option("alright.", 255);
}
}
else
{
dialog.text("invalid password, please try again.");
dialog.input("here:", 8, 14);
dialog.option("alright.", 255);
}
}
else
{
dialog.text("you don't have a password set.");
dialog.option("alright.", 255);
}
dialog.send();
break;
}
#endregion change password
}
break;
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
حل مشكله TeamArana لا يعمل | محمد ياسر | تطوير سيرفرات كونكر | 4 | 2023-10-11 09:37 PM |
الي عايز يعمل الوار كل يوم | ElSaher | تطوير سيرفرات كونكر | 9 | 2020-02-04 07:23 PM |
حد يعرف يعمل العاب كروس فاير | taha | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-02-02 09:01 PM |
حل مشكله اي حد ينزل يعمل شفرات | taha | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-12-24 08:19 AM |
خلي vip 6 يعمل شوب في اي مكان | محمد ياسر | تطوير سيرفرات كونكر | 3 | 2019-04-22 12:21 PM |