قديم 2020-01-24, 05:03 AM
المشاركة 2
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: مشكلة فى ان بي سي البيرفكشن
up

قديم 2020-01-24, 06:11 PM
المشاركة 3
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة فى ان بي سي البيرفكشن

كود:
#region PerfectionL
                
case 3523:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello Pro I Am Here To PerfectionLevel DigitalConquer.");

                                    
dialog.Option("Add Perfectionlevel All Items"5);
                                    
dialog.Send();
                                    break;
                                }
                            case 
5:
                                {

                                    
ConquerItem item1;
                                    
ConquerItem item2;
                                    
ConquerItem item3;
                                    
ConquerItem item4;
                                    
ConquerItem item5;
                                    
ConquerItem item6;
                                    
ConquerItem item7;
                                    
ConquerItem item8;
                                    
ConquerItem item9;
                                    
ConquerItem item10;
                                    
ConquerItem item11;
                                    
ConquerItem item12;
                                    
item1 client.Equipment.TryGetItem(ConquerItem.Necklace);
                                    
item2 client.Equipment.TryGetItem(ConquerItem.Armor);
                                    
item3 client.Equipment.TryGetItem(ConquerItem.Ring);
                                    
item4 client.Equipment.TryGetItem(ConquerItem.Boots);
                                    
item5 client.Equipment.TryGetItem(ConquerItem.Head);
                                    
item6 client.Equipment.TryGetItem(ConquerItem.Tower);
                                    
item7 client.Equipment.TryGetItem(ConquerItem.Fan);
                                    
item8 client.Equipment.TryGetItem(ConquerItem.SteedCrop);
                                    
item9 client.Equipment.TryGetItem(ConquerItem.Steed);
                                    
item10 client.Equipment.TryGetItem(ConquerItem.RightWeapon);
                                    
item11 client.Equipment.TryGetItem(ConquerItem.LeftWeapon);
                                    
item12 client.Equipment.TryGetItem(ConquerItem.Wing);

                                    {
                                        {

                                            if (
client.Entity.ConquerPoints >= 500000)
                                            {
                                                
client.Entity.ConquerPoints -= 500000;
                                            }
                                            else
                                            {
                                                
dialog.Text("Please come back to me with 500,000 Conquer Points.");
                                                
dialog.Option("Ahh sorry."255);
                                                
dialog.Send();
                                            }

                                            if ((
item1 client.Equipment.TryGetItem(ConquerItem.Necklace)) != null)
                                            {
                                                
item1.Stars 54;
                                                
item1.PerfectionProgress 0;
                                                
item1.Owner client.Entity.Name;
                                                
item1.OwnerUID client.Entity.UID;
                                                
item1.Mode Game.Enums.ItemMode.Update;
                                                
item1.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item1);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item2 client.Equipment.TryGetItem(ConquerItem.Armor)) != null)
                                            {
                                                
item2.Stars 54;
                                                
item2.PerfectionProgress 0;
                                                
item2.Owner client.Entity.Name;
                                                
item2.OwnerUID client.Entity.UID;
                                                
item2.Mode Game.Enums.ItemMode.Update;
                                                
item2.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item2);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item3 client.Equipment.TryGetItem(ConquerItem.Ring)) != null)
                                            {
                                                
item3.Stars 54;
                                                
item3.PerfectionProgress 0;
                                                
item3.Owner client.Entity.Name;
                                                
item3.OwnerUID client.Entity.UID;
                                                
item3.Mode Game.Enums.ItemMode.Update;
                                                
item3.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item3);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item4 client.Equipment.TryGetItem(ConquerItem.Boots)) != null)
                                            {
                                                
item4.Stars 54;
                                                
item4.PerfectionProgress 0;
                                                
item4.Owner client.Entity.Name;
                                                
item4.OwnerUID client.Entity.UID;
                                                
item4.Mode Game.Enums.ItemMode.Update;
                                                
item4.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item4);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item5 client.Equipment.TryGetItem(ConquerItem.Head)) != null)
                                            {
                                                
item5.Stars 54;
                                                
item5.PerfectionProgress 0;
                                                
item5.Owner client.Entity.Name;
                                                
item5.OwnerUID client.Entity.UID;
                                                
item5.Mode Game.Enums.ItemMode.Update;
                                                
item5.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item5);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item6 client.Equipment.TryGetItem(ConquerItem.Tower)) != null)
                                            {
                                                
item6.Stars 54;
                                                
item6.PerfectionProgress 0;
                                                
item6.Owner client.Entity.Name;
                                                
item6.OwnerUID client.Entity.UID;
                                                
item6.Mode Game.Enums.ItemMode.Update;
                                                
item6.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item6);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item7 client.Equipment.TryGetItem(ConquerItem.Fan)) != null)
                                            {
                                                
item7.Stars 54;
                                                
item7.PerfectionProgress 0;
                                                
item7.Owner client.Entity.Name;
                                                
item7.OwnerUID client.Entity.UID;
                                                
item7.Mode Game.Enums.ItemMode.Update;
                                                
item7.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item7);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item8 client.Equipment.TryGetItem(ConquerItem.SteedCrop)) != null)
                                            {
                                                
item8.Stars 54;
                                                
item8.PerfectionProgress 0;
                                                
item8.Owner client.Entity.Name;
                                                
item8.OwnerUID client.Entity.UID;
                                                
item8.Mode Game.Enums.ItemMode.Update;
                                                
item8.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item8);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item9 client.Equipment.TryGetItem(ConquerItem.Steed)) != null)
                                            {
                                                
item9.Stars 54;
                                                
item9.PerfectionProgress 0;
                                                
item9.Owner client.Entity.Name;
                                                
item9.OwnerUID client.Entity.UID;
                                                
item9.Mode Game.Enums.ItemMode.Update;
                                                
item9.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item9);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item10 client.Equipment.TryGetItem(ConquerItem.RightWeapon)) != null)
                                            {
                                                
item10.Stars 54;
                                                
item10.PerfectionProgress 0;
                                                
item10.Owner client.Entity.Name;
                                                
item10.OwnerUID client.Entity.UID;
                                                
item10.Mode Game.Enums.ItemMode.Update;
                                                
item10.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item10);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item11 client.Equipment.TryGetItem(ConquerItem.LeftWeapon)) != null)
                                            {if (
IsArrow(item11.ID)) return;
                                                
item11.Stars 54;
                                                
item11.PerfectionProgress 0;
                                                
item11.Owner client.Entity.Name;
                                                
item11.OwnerUID client.Entity.UID;
                                                
item11.Mode Game.Enums.ItemMode.Update;
                                                
item11.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item11);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item12 client.Equipment.TryGetItem(ConquerItem.Wing)) != null)
                                            {
                                                
item12.Stars 54;
                                                
item12.PerfectionProgress 0;
                                                
item12.Owner client.Entity.Name;
                                                
item12.OwnerUID client.Entity.UID;
                                                
item12.Mode Game.Enums.ItemMode.Update;
                                                
item12.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item12);
                                            }
                                            else
                                            {
                                                return;
                                            }
                                            
client.Entity.Update(_String.Effect"dakaishengzhi"true);
                                        }
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 


قديم 2020-01-25, 01:25 AM
المشاركة 4
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
pen رد: مشكلة فى ان بي سي البيرفكشن
كود:
#region PerfectionL
                
case 3523:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello Pro I Am Here To PerfectionLevel DigitalConquer.");

                                    
dialog.Option("Add Perfectionlevel All Items"5);
                                    
dialog.Send();
                                    break;
                                }
                            case 
5:
                                {

                                    
ConquerItem item1;
                                    
ConquerItem item2;
                                    
ConquerItem item3;
                                    
ConquerItem item4;
                                    
ConquerItem item5;
                                    
ConquerItem item6;
                                    
ConquerItem item7;
                                    
ConquerItem item8;
                                    
ConquerItem item9;
                                    
ConquerItem item10;
                                    
ConquerItem item11;
                                    
ConquerItem item12;
                                    
item1 client.Equipment.TryGetItem(ConquerItem.Necklace);
                                    
item2 client.Equipment.TryGetItem(ConquerItem.Armor);
                                    
item3 client.Equipment.TryGetItem(ConquerItem.Ring);
                                    
item4 client.Equipment.TryGetItem(ConquerItem.Boots);
                                    
item5 client.Equipment.TryGetItem(ConquerItem.Head);
                                    
item6 client.Equipment.TryGetItem(ConquerItem.Tower);
                                    
item7 client.Equipment.TryGetItem(ConquerItem.Fan);
                                    
item8 client.Equipment.TryGetItem(ConquerItem.SteedCrop);
                                    
item9 client.Equipment.TryGetItem(ConquerItem.Steed);
                                    
item10 client.Equipment.TryGetItem(ConquerItem.RightWeapon);
                                    
item11 client.Equipment.TryGetItem(ConquerItem.LeftWeapon);
                                    
item12 client.Equipment.TryGetItem(ConquerItem.Wing);

                                    {
                                        {

                                            if (
client.Entity.ConquerPoints >= 500000)
                                            {
                                                
client.Entity.ConquerPoints -= 500000;
                                            }
                                            else
                                            {
                                                
dialog.Text("Please come back to me with 500,000 Conquer Points.");
                                                
dialog.Option("Ahh sorry."255);
                                                
dialog.Send();
                                            }

                                            if ((
item1 client.Equipment.TryGetItem(ConquerItem.Necklace)) != null)
                                            {
                                                
item1.Stars 54;
                                                
item1.PerfectionProgress 0;
                                                
item1.Owner client.Entity.Name;
                                                
item1.OwnerUID client.Entity.UID;
                                                
item1.Mode Game.Enums.ItemMode.Update;
                                                
item1.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item1);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item2 client.Equipment.TryGetItem(ConquerItem.Armor)) != null)
                                            {
                                                
item2.Stars 54;
                                                
item2.PerfectionProgress 0;
                                                
item2.Owner client.Entity.Name;
                                                
item2.OwnerUID client.Entity.UID;
                                                
item2.Mode Game.Enums.ItemMode.Update;
                                                
item2.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item2);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item3 client.Equipment.TryGetItem(ConquerItem.Ring)) != null)
                                            {
                                                
item3.Stars 54;
                                                
item3.PerfectionProgress 0;
                                                
item3.Owner client.Entity.Name;
                                                
item3.OwnerUID client.Entity.UID;
                                                
item3.Mode Game.Enums.ItemMode.Update;
                                                
item3.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item3);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item4 client.Equipment.TryGetItem(ConquerItem.Boots)) != null)
                                            {
                                                
item4.Stars 54;
                                                
item4.PerfectionProgress 0;
                                                
item4.Owner client.Entity.Name;
                                                
item4.OwnerUID client.Entity.UID;
                                                
item4.Mode Game.Enums.ItemMode.Update;
                                                
item4.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item4);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item5 client.Equipment.TryGetItem(ConquerItem.Head)) != null)
                                            {
                                                
item5.Stars 54;
                                                
item5.PerfectionProgress 0;
                                                
item5.Owner client.Entity.Name;
                                                
item5.OwnerUID client.Entity.UID;
                                                
item5.Mode Game.Enums.ItemMode.Update;
                                                
item5.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item5);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item6 client.Equipment.TryGetItem(ConquerItem.Tower)) != null)
                                            {
                                                
item6.Stars 54;
                                                
item6.PerfectionProgress 0;
                                                
item6.Owner client.Entity.Name;
                                                
item6.OwnerUID client.Entity.UID;
                                                
item6.Mode Game.Enums.ItemMode.Update;
                                                
item6.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item6);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item7 client.Equipment.TryGetItem(ConquerItem.Fan)) != null)
                                            {
                                                
item7.Stars 54;
                                                
item7.PerfectionProgress 0;
                                                
item7.Owner client.Entity.Name;
                                                
item7.OwnerUID client.Entity.UID;
                                                
item7.Mode Game.Enums.ItemMode.Update;
                                                
item7.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item7);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item8 client.Equipment.TryGetItem(ConquerItem.SteedCrop)) != null)
                                            {
                                                
item8.Stars 54;
                                                
item8.PerfectionProgress 0;
                                                
item8.Owner client.Entity.Name;
                                                
item8.OwnerUID client.Entity.UID;
                                                
item8.Mode Game.Enums.ItemMode.Update;
                                                
item8.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item8);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item9 client.Equipment.TryGetItem(ConquerItem.Steed)) != null)
                                            {
                                                
item9.Stars 54;
                                                
item9.PerfectionProgress 0;
                                                
item9.Owner client.Entity.Name;
                                                
item9.OwnerUID client.Entity.UID;
                                                
item9.Mode Game.Enums.ItemMode.Update;
                                                
item9.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item9);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item10 client.Equipment.TryGetItem(ConquerItem.RightWeapon)) != null)
                                            {
                                                
item10.Stars 54;
                                                
item10.PerfectionProgress 0;
                                                
item10.Owner client.Entity.Name;
                                                
item10.OwnerUID client.Entity.UID;
                                                
item10.Mode Game.Enums.ItemMode.Update;
                                                
item10.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item10);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item11 client.Equipment.TryGetItem(ConquerItem.LeftWeapon)) != null)
                                            {if (
IsArrow(item11.ID)) return;
                                                
item11.Stars 54;
                                                
item11.PerfectionProgress 0;
                                                
item11.Owner client.Entity.Name;
                                                
item11.OwnerUID client.Entity.UID;
                                                
item11.Mode Game.Enums.ItemMode.Update;
                                                
item11.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item11);
                                            }
                                            else
                                            {
                                                return;
                                            }

                                            if ((
item12 client.Equipment.TryGetItem(ConquerItem.Wing)) != null)
                                            {
                                                
item12.Stars 54;
                                                
item12.PerfectionProgress 0;
                                                
item12.Owner client.Entity.Name;
                                                
item12.OwnerUID client.Entity.UID;
                                                
item12.Mode Game.Enums.ItemMode.Update;
                                                
item12.Send(client);
                                                
Database.ConquerItemTable.UpdatePerfection(item12);
                                            }
                                            else
                                            {
                                                return;
                                            }
                                            
client.Entity.Update(_String.Effect"dakaishengzhi"true);
                                        }
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

IsArrow ايرور

قديم 2020-01-25, 01:46 AM
المشاركة 5
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة فى ان بي سي البيرفكشن
packethandler
حط

كود:
 public static bool IsArrow(uint ID)
        {
            if (
ID >= 1050000 && ID <= 1051000)
                return 
true;
            return 
false;
        } 


قديم 2020-01-25, 02:34 AM
المشاركة 6
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: مشكلة فى ان بي سي البيرفكشن
packethandler
حط

كود:
 public static bool IsArrow(uint ID)
        {
            if (
ID >= 1050000 && ID <= 1051000)
                return 
true;
            return 
false;
        } 
موجودا

قديم 2020-01-25, 02:45 AM
المشاركة 7
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة فى ان بي سي البيرفكشن
امال ايرور ايه الي بتقول عليه

قديم 2020-01-25, 03:03 AM
المشاركة 8
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
bool رد: مشكلة فى ان بي سي البيرفكشن
packethandler
حط

كود:
 public static bool IsArrow(uint ID)
        {
            if (
ID >= 1050000 && ID <= 1051000)
                return 
true;
            return 
false;
        } 

قديم 2020-01-25, 03:36 AM
المشاركة 9
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة فى ان بي سي البيرفكشن
خطا مطبعي خليها
PacketHandler.IsArrow

قديم 2020-01-25, 03:37 AM
المشاركة 10
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكلة فى ان بي سي البيرفكشن
صحيح في واحد في لعبتك اسمه vido ده هاك بنده


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



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

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

المواضيع المتشابهه للموضوع: مشكلة فى ان بي سي البيرفكشن
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
مشكلة فى البيرفكشن lofyCo مشكلات السيرفيرات كونكر الشخصيه 1 2020-03-25 02:18 PM
مشكلة في رانك البيرفكشن Avengers-Co مشكلات السيرفيرات كونكر الشخصيه 4 2019-09-02 12:54 AM


الساعة الآن 04:48 AM

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.