احصائياتى

الردود
0

المشاهدات
668
 
Hazem
.:: المدير العام::.

    متواجد  الان

المشاركات
2,320

+التقييم
0.84

تاريخ التسجيل
Apr 2019

الاقامة
Egypt

نظام التشغيل
windows 7

رقم العضوية
1
2019-04-27, 10:56 PM
المشاركة 1
2019-04-27, 10:56 PM
المشاركة 1
افتراضي npcs تسجيل حساب داخل اللعبه

في السورس
npcs.cs ضيف دول

كود:
  #region New Register 
                
case 10614411: //New Register 
                    
{ 


                        switch (
npcRequest.OptionID) 
                        { 
                            case 
0: 
                                { 
                                    
dialogs.Text("Hello. I'm the one that was choosen to Make your new account."); 
                                    
dialogs.Option("I want to Register.", 2); 
                                    
dialogs.Option("Nooooo.", 255); 
                                    
dialogs.Send(); 
                                    break; 
                                } 

                            
#region New Register 

                            
case 2: 
                                { 
                                    
dialogs.Text("Please insert the New Acc you Want now."); 
                                    
dialogs.Input("Here:", 6, 16); 
                                    
dialogs.Option("Forget it.", 10); 
                                    
dialogs.Send(); 
                                    break; 
                                } 
                            case 
6: 
                                try 
                                { 
                                    
string accountname; 
                                    
accountname = npcRequest.Input; 
                                    
client.accountname = accountname; 
                                    if (!
Exists(accountname)) 
                                    { 
                                        
dialogs.Text("Please insert the password ."); 
                                        
dialogs.Input("Here:", 7, 14); 
                                        
dialogs.Option("No.", 255); 

                                    } 
                                    else 
                                    { 
                                        
dialogs.Text("Account Name already Exit."); 
                                        
dialogs.Option("Alright.", 255); 
                                    } 
                                    
dialogs.Send(); 
                                    break; 
                                } 
                                catch 
                                { 
                                    
dialogs.Text("Please write the correct value."); 
                                    
dialogs.Option("Try Again.", 2); 
                                    
dialogs.Option("Quit.", 10); 
                                    
dialogs.Send(); 
                                } 
                                break; 
                            case 
7: 
                                try 
                                { 
                                    
string accountpass1; 

                                    
accountpass1 = npcRequest.Input; 
                                    
client.accountpass1 = accountpass1; 
                                    
dialogs.Text("Please insert the password again."); 
                                    
dialogs.Input("Here:", 8, 14); 
                                    
dialogs.Option("No.", 10); 
                                    
dialogs.Send(); 
                                    break; 
                                } 
                                catch 
                                { 
                                    
dialogs.Text("Please write the correct value."); 
                                    
dialogs.Option("Try Again.", 6); 
                                    
dialogs.Option("Quit.", 10); 
                                    
dialogs.Send(); 
                                } 
                                break; 
                            case 
8: 
                                try 
                                { 
                                    
string accountpass2; 

                                    
accountpass2 = npcRequest.Input; 
                                    
client.accountpass2 = accountpass2; 
                                    if (
accountpass2 == client.accountpass1) 
                                    { 
                                        
dialogs.Text("Please insert the Email || @yahoo.Com will be added automatically."); 
                                        
dialogs.Input("Here:", 9, 100); 
                                        
dialogs.Option("No.", 10); 

                                    } 
                                    else 
                                    { 
                                        
dialogs.Text("Wrong Pass."); 
                                        
dialogs.Option("Alright.", 10); 
                                    } 
                                    
dialogs.Send(); 
                                    break; 
                                } 
                                catch 
                                { 
                                    
dialogs.Text("Please write the correct value."); 
                                    
dialogs.Option("Try Again.", 7); 
                                    
dialogs.Option("Quit.", 0xff); 
                                    
dialogs.Send(); 
                                } 
                                break; 
                            case 
9: 
                                
string accountEmail; 
                                
accountEmail = npcRequest.Input +"@yahoo.com"; 
                                
client.accountEmail = accountEmail; 
                                
string str2 = client.Socket.RemoteEndPoint.ToString().Split(new char[] { ':' })[0].ToString(); 
                                
client.Account.IP = str2; 
                                
Conquer.Database.Account.Insert(client.accountname, client.accountpass1, client.Account.IP, (ulong)0, (byte)0, 0, client.accountEmail); 
                                
client.accountname = ""; 
                                
client.accountpass1 = ""; 
                                
client.accountpass2 = ""; 
                                
client.accountEmail = ""; 
                                
dialogs.Text("New Account Successfully Done. || All rights® reserved to AbdouMatrix ©"); 
                                
dialogs.Option("Ty 4 ur time.", 255); 
                                
dialogs.Send(); 
                                break; 
                            case 
10: 
                                
client.accountname = ""; 
                                
client.accountpass1 = ""; 
                                
client.accountpass2 = ""; 
                                
client.accountEmail = ""; 
                                
dialogs.Text("Failed !!. Good Luck Next Time."); 
                                
dialogs.Option("Ty 4 ur time.", 255); 
                                
dialogs.Send(); 
                                break; 

                            
#endregion New Register 
                        
} 
                        break; 
                    } 

                
#endregion ChangePassword 

في النفي كات ضيف دول

كود:
REPLACE INTO `npcs` VALUES ('10614411', '0', '0', 'New Register', '0002', '50120', '-1', '1002', '0429', '0385', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0000', '0', '0', '0', '0', '', '0000', '00', '00', '0000', '00', null); 




العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 

الانتقال السريع

المواضيع المتشابهه للموضوع: npcs تسجيل حساب داخل اللعبه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
اضافة الموتوسكل داخل اللعبه Hazem تطوير سيرفرات كونكر 63 2026-10-18 03:37 PM
متجر شحن داخل اللعبه Hazem تطوير سيرفرات كونكر 3 2021-01-04 12:42 AM
Npcs تحويل الجولد لسي بي Amr Khalid تطوير سيرفرات كونكر 5 2020-11-07 10:20 PM
رنامج عمل Npcs لسيرفرك NPC_DialogCreator ! ElSaher البرامج والودرات 22 2020-10-02 01:24 AM
ازى اعمل بوتات داخل الجيم زى كدا amosha مشكلات السيرفيرات كونكر الشخصيه 2 2019-09-15 09:34 PM


الساعة الآن 04:30 PM