كونكر عرب

كونكر عرب (https://conquer-arab.com/index.php)
-   مشكلات السيرفيرات كونكر الشخصيه (https://conquer-arab.com/forumdisplay.php?f=12)
-   -   مطلوب انبي سي يعمل اكونتات ويغير باصورداتة من جوا اللعبه (https://conquer-arab.com/showthread.php?t=4604)

MahmoudMano 2020-04-29 01:02 AM

مطلوب انبي سي يعمل اكونتات ويغير باصورداتة من جوا اللعبه
 
مطلوب انبي سي يعمل اكونتات ويغير باصورداتة من جوا اللعبه

ElSaher 2020-04-29 02:12 AM

رد: مطلوب انبي سي يعمل اكونتات ويغير باصورداتة من جوا اللعبه
 
كود PHP:

#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; 
} 

تغير الباص تمم كدا

MahmoudMano 2020-04-29 02:22 AM

رد: مطلوب انبي سي يعمل اكونتات ويغير باصورداتة من جوا اللعبه
 
اقتباس:

المشاركة الأصلية كتبت بواسطة elsaher (المشاركة 40048)
كود PHP:

#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; 
} 

تغير الباص تمم كدا

ممعكش لوك فيسات نضيفه كدا

ElSaher 2020-04-29 02:36 AM

رد: مطلوب انبي سي يعمل اكونتات ويغير باصورداتة من جوا اللعبه
 
انتا ممكن تجيبو من البدش
npcs
npc
npsc


الساعة الآن 02:49 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب
new notificatio by 9adq_ala7sas