منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   Item [VIPLevelCard] (https://code.vpscairo.com/showthread.php?t=170)

محمد ياسر 2019-04-24 09:17 AM

Item [VIPLevelCard]
 

ايتم لفل الفي اي بي
ياعني ده ايتم اول ماتدوس عليه ايرقيك علي حسب الايتم الي معاك
التركيب
افتح PacketHandler.cs

ابحث عن
كود PHP:

  #region Misc 

ضيـف فوقيهـا أو تحـتيـها ,
كود PHP:

#region ViPLevel[Card] TorNaDo-TeaM
                #region VIPLevelCard[1]
                
case 728710
                    {
                        if (
client.Entity.ConquerPoints >= 100000// Edite Cps If U Need 
                            
if (client.Entity.VIPLevel == && client.Entity.VIPLevel 1)
                            {  
                                
client.Entity.ConquerPoints -= 100000// EditeCps If U Want
                                
client.Entity.VIPLevel 1;
                                
client.Inventory.Remove(7287101);
                                
client.Send(new Message("Congratulations Your Are Update Ur VIP To [VIP1]"System.Drawing.Color.RedMessage.TopLeft)); // Massage 
                                
client.Entity.Update(_String.Effect"ErLongTengFei"true);
                            }
                            else
                                
client.Send(new Network.GamePackets.NpcReply(Network.GamePackets.NpcReply.MessageBox" Sorry U Dont Have Much ConquerPoints, Or U Are Already Now VIP[1]")); // Massage
                        
break;
                    }
                
#endregion
                #region VIPLevelCard[2]
                
case 728711
                    {
                        if (
client.Entity.ConquerPoints >= 200000)
                            if (
client.Entity.VIPLevel == 1)
                            {  
                                
client.Entity.ConquerPoints -= 200000;
                                
client.Entity.VIPLevel 2;
                                
client.Inventory.Remove(7287111);
                                
client.Entity.Update(_String.Effect"ErLongTengFei"true);
                                
client.Send(new Message("Congratulations Your Are Update Ur VIP1 To [VIP2] "System.Drawing.Color.RedMessage.TopLeft));
                            }
                            else
                                
client.Send(new Network.GamePackets.NpcReply(Network.GamePackets.NpcReply.MessageBox".Sorry U Dont Have Much ConquerPoints, And Should Up Ur VIPLevel . Or U Are Already Now VIP[2]."));
                        break;
                    }
                
#endregion
                #region VIPLevelCard[3]
                
case 728712:
                    {
                        if (
client.Entity.ConquerPoints >= 300000)
                            if (
client.Entity.VIPLevel == 2)
                            {  
                                
client.Entity.ConquerPoints -= 300000;
                                
client.Entity.VIPLevel 3;
                                
client.Inventory.Remove(7287121);
                                
client.Entity.Update(_String.Effect"ErLongTengFei"true);
                                
client.Send(new Message("Congratulations Your Are Update Ur VIP2 To [VIP3] "System.Drawing.Color.RedMessage.TopLeft));
                            }
                            else
                                
client.Send(new Network.GamePackets.NpcReply(Network.GamePackets.NpcReply.MessageBox" Sorry U Dont Have Much ConquerPoints, And Should Up Ur VIPLevel . Or U Are Already Now VIP[3]"));
                        break;
                    }
                
#endregion
                #region VIPLevelCard[4]
                
case 728713
                    {
                        if (
client.Entity.ConquerPoints >= 400000)
                            if (
client.Entity.VIPLevel == 3)
                            {  
                                
client.Entity.ConquerPoints -= 400000;
                                
client.Entity.VIPLevel 4;
                                
client.Inventory.Remove(7287131);
                                
client.Entity.Update(_String.Effect"ErLongTengFei"true);
                                
client.Send(new Message("Congratulations Your Are Update Ur VIP3 To [VIP4]"System.Drawing.Color.RedMessage.TopLeft));
                            }
                            else
                                
client.Send(new Network.GamePackets.NpcReply(Network.GamePackets.NpcReply.MessageBox" Sorry U Dont Have Much ConquerPoints, And Should Up Ur VIPLevel . Or U Are Already Now VIP[4]"));
                        break;
                    }
                
#endregion
                #region VIPLevelCard[5]
                
case 728714
                    {
                        if (
client.Entity.ConquerPoints >= 500000)
                            if (
client.Entity.VIPLevel == 4)
                            {  
                                
client.Entity.ConquerPoints -= 500000;
                                
client.Entity.VIPLevel 5;
                                
client.Inventory.Remove(7287141);
                                
client.Entity.Update(_String.Effect"ErLongTengFei"true);
                                
client.Send(new Message("Congratulations Your Are Update Ur VIP4 To [VIP5]"System.Drawing.Color.RedMessage.TopLeft));
                            }
                            else
                                
client.Send(new Network.GamePackets.NpcReply(Network.GamePackets.NpcReply.MessageBox" Sorry U Dont Have Much ConquerPoints, And Should Up Ur VIPLevel . Or U Are Already Now VIP[5]"));
                        break;
                    }
                
#endregion
                #region VIPLevelCard[6]
                
case 728715
                    { 
                        if (
client.Entity.ConquerPoints >= 600000)
                            if (
client.Entity.VIPLevel == 5)
                            {
                                
client.Entity.ConquerPoints -= 600000;
                                
client.Entity.VIPLevel 6;
                                
client.Inventory.Remove(7287151);
                                
client.Entity.Update(_String.Effect"ErLongTengFei"true);
                                
client.Send(new Message("Congratulations Your Are Update Ur VIP5 To [VIP6]"System.Drawing.Color.RedMessage.TopLeft)); // Rondom Message
                            
}
                            else
                                
client.Send(new Network.GamePackets.NpcReply(Network.GamePackets.NpcReply.MessageBox" Sorry U Dont Have Much ConquerPoints, And Should Up Ur VIPLevel . Or U Are Already Now VIP[6]"));
                        break;
                    }
                
#endregion
                #endregion 

كدة تمام ,
..
افتح ,
ItemType
في السورس والكلينت ضيفهم
كود PHP:

728710@@VIP[1]LevelCard@@0@@0@@0@@0@@0@@0@@0@@0@@11@@0@@0@@98004000@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@0@@0@@0@@0@@[VIPCard]@@Use~This~Card~To~Upgarde~Your~VIP~To~Level[1]~By~H.S~T-T!.@@0@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@ 
728711@@VIP[2]LevelCard@@0@@0@@0@@0@@0@@0@@0@@0@@11@@0@@0@@98004005@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@0@@0@@0@@0@@[VIPCard]@@Use~This~Card~To~Upgarde~Your~VIP~To~Level[2]~By~H.S~T-T!.@@0@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@ 
728712@@VIP[3]LevelCard@@0@@0@@0@@0@@0@@0@@0@@0@@11@@0@@0@@98004010@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@0@@0@@0@@0@@[VIPCard]@@Use~This~Card~To~Upgarde~Your~VIP~To~Level[3]~By~H.S~T-T!.@@0@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@ 
728713@@VIP[4]LevelCard@@0@@0@@0@@0@@0@@0@@0@@0@@11@@0@@0@@98004015@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@0@@0@@0@@0@@[VIPCard]@@Use~This~Card~To~Upgarde~Your~VIP~To~Level[4]~By~H.S~T-T!.@@0@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@ 
728714@@VIP[5]LevelCard@@0@@0@@0@@0@@0@@0@@0@@0@@11@@0@@0@@98004020@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@0@@0@@0@@0@@[VIPCard]@@Use~This~Card~To~Upgarde~Your~VIP~To~Level[5]~By~H.S~T-T!.@@0@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@ 
728715@@VIP[6]LevelCard@@0@@0@@0@@0@@0@@0@@0@@0@@11@@0@@0@@98004025@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@0@@0@@0@@0@@0@@[VIPCard]@@Use~This~Card~To~Upgarde~Your~VIP~To~Level[6]~By~H.S~T-T!TX.@@0@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@ 



الساعة الآن 05:20 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب