منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   InnerPowerFull من ضفطه واحده يظهر عند الناس كلها (https://code.vpscairo.com/showthread.php?t=2821)

zezonever 2019-11-08 01:47 AM

InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
اضافه الانير بور من دوسه واحده اسهل طريقه مني انا وبس افتح Npc

هضيف ده فيه
كود PHP:

#region InnerPower By Mr.ZeZoOo
                    
case 785410:
                        {
                            switch (
npcRequest.OptionID)
                            {
                                case 
0:
                                    {


                                        
dialog.Text("im Selling InnerPower Items and InnePower System Full By BlackBlock-Co");
                                        
dialog.Option("Buy Full InnerPower"1);
                                        
dialog.Option("I will come later. "255);
                                        
dialog.Send();

                                        break;
                                    }
                                case 
1:
                                    {
                                  
                                        if (
client.Player.ConquerPoints >= 1000)
                                        {
                                            
client.Player.ConquerPoints -= 1000;
                                            
Database.InnerPowerTable.Stage DBStage null;
                                            foreach (var 
m_stage in client.Player.InnerPower.Stages)
                                            {
                                                foreach (var 
m_gong in m_stage.NeiGongs)
                                                {
                                                    
m_stage.UnLocked m_gong.Unlocked true;
                                                    
m_gong.Score 100;
                                                 
                                                    
Database.InnerPowerTable.Stage.NeiGong DBGong null;
                                                    if (
Database.InnerPowerTable.GetDBInfo(m_gong.IDout DBStageout DBGong))
                                                        
m_gong.level DBGong.MaxLevel;
                                                }
                                
                                            }
                                            
client.Player.InnerPower.UpdateStatus();
                                            
client.LoadItemStats();
                                            
InnerPower.InnerPowerRank.UpdateRank(client.Player.InnerPower);
                                        }
                                        else
                                        {
                                            
dialog.Text("You do not have 1000 ConquerPoints with you.");
                                            
dialog.Option("Ok, will come later. "255);
                                            
dialog.Send();
                                        }
                                        break;
                                    }

                            }
                            break;
                        }
                    
#endregion 

واضافه النافي كات اكيد اي حد هيضفها عادي يعني

Hassan Emprator 2019-11-08 01:54 AM

رد: InnerPowerFull
 
تم فتح الموضوع

عاش اصديق استمر

zezonever 2019-11-08 02:06 AM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
هههههه حبيبي يا حوس خالي الناس تتبسط اصحبي

ModyMohamedAdel 2019-11-08 10:19 AM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
بيطلعلي ارور في
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);

Rider 2019-11-08 01:00 PM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
احسنت موضوع رائع و الناشر اروع

zezonever 2019-11-08 09:52 PM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
اقتباس:

المشاركة الأصلية كتبت بواسطة ModyMohamedAdel (المشاركة 20959)
بيطلعلي ارور في
InnerPower.InnerPowerRank.UpdateRank(client.Player .InnerPower);

تمام امسح الكود ال جاليلك ارور فيه وضيف ال هدهولك ده وجرب ورد عليا وان شاء الله هتتحل المشكله

كود PHP:

client.Send(stream.InnerPowerStageInfo(InnerPowerStage.ActionID.UpdateStageclient.Player.UIDDBStage));
                                            
client.Send(stream.InnerPowerStageInfo(InnerPowerStage.ActionID.UpdateScoreclient.Player.UIDDBStage));
                                            
client.Send(newInnerPowerGui(client.Player.InnerPower.GetNeiGongs()).ToArray());
                                            
client.Player.InnerPower.UpdateStatus();

                                            
client.LoadItemStats();
                                            
InnerPower.InnerPowerRank.UpdateRank(client.Player.InnerPower);
                                            
BlackBlock.InnerPowerRank.UpdateRank(client.Player.InnerPower);
                                        } 


zezonever 2019-11-08 09:56 PM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع

ModyMohamedAdel 2019-11-08 11:29 PM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
اقتباس:

المشاركة الأصلية كتبت بواسطة zezonever (المشاركة 21033)
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع

طيب ابعتلي الانبسي الي انت شغال بيه دا دلوقتي

zezonever 2019-11-08 11:37 PM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
اقتباس:

المشاركة الأصلية كتبت بواسطة ModyMohamedAdel (المشاركة 21047)
طيب ابعتلي الانبسي الي انت شغال بيه دا دلوقتي

ال انا شغال بيه هو ال انا حاطه يا صحبي في المنتدي انما عاوز اضافه ال في الصور سهله خدها اهي


كود PHP:

#region InnerPower
                    
case 785410:
                        {
                            switch (
npcRequest.OptionID)
                            {
                                case 
0:
                                    {


                                        
dialog.Text("im Selling InnerPower Items and InnePower System Full By BlackBlock-Co");
                                        
//  dialog.Option("Buy InnerPower items", 1);
                                        
dialog.Option("Buy Full InnerPower"2);
                                        
//dialog.Option("Buy Temporaly CUP", 253);
                                        
dialog.Option("I will come later. "255);
                                        
dialog.Send();

                                        break;
                                    }
                                
/* case 253:
                                     {
                                         client.Inventory.AddTime(2100125, 3);
                                         break;
                                     }
                                 case 1:
                                     {
                                         byte count = 0;
                                         foreach (var stage in Database.InnerPowerTable.Stages)
                                             count += (byte)stage.NeiGongAtributes.Length;
                                         if (client.Inventory.HaveSpace(count))
                                         {
                                             foreach (var stage in Database.InnerPowerTable.Stages)
                                             {
                                                 foreach (var gong in stage.NeiGongAtributes)
                                                     client.Inventory.Add(gong.ItemID, 0, 1);
                                             }
                                         }
                                         else
                                         {
                                             dialog.Text("Please do 8 spaces in your inventory");
                                             dialog.Option("Ok, will come later. ", 255);
                                             dialog.Send();

                                         }


                                         break;
                                     }*/
                                
case 2:
                                    {
                                  
                                        if (
client.Player.ConquerPoints >= 1000)
                                        {
                                            
client.Player.ConquerPoints -= 1000;
                                            
Database.InnerPowerTable.Stage DBStage null;
                                            foreach (var 
m_stage in client.Player.InnerPower.Stages)
                                            {
                                                foreach (var 
m_gong in m_stage.NeiGongs)
                                                {
                                                    
m_stage.UnLocked m_gong.Unlocked true;
                                                    
m_gong.Score 100;
                                                 
                                                    
Database.InnerPowerTable.Stage.NeiGong DBGong null;
                                                    if (
Database.InnerPowerTable.GetDBInfo(m_gong.IDout DBStageout DBGong))
                                                        
m_gong.level DBGong.MaxLevel;
                                                }
                                
                                            }
                                          
//  client.Send(stream.InnerPowerStageInfo(InnerPowerStage.ActionID.UpdateStage, client.Player.UID, DBStage));
                                          //  client.Send(stream.InnerPowerStageInfo(InnerPowerStage.ActionID.UpdateScore, client.Player.UID, DBStage));
                                          // client.Send(new //InnerPowerGui(client.Player.InnerPower.GetNeiGongs()).ToArray());
                                            
client.Player.InnerPower.UpdateStatus();

                                            
client.LoadItemStats();
                                            
InnerPower.InnerPowerRank.UpdateRank(client.Player.InnerPower);
                                           
// BlackBlock.InnerPowerRank.UpdateRank(client.Player.InnerPower);
                                        
}
                                        else
                                        {
                                            
dialog.Text("You do not have 1000 ConquerPoints with you.");
                                            
dialog.Option("Ok, will come later. "255);
                                            
dialog.Send();
                                        }
                                        break;
                                    }

                            }
                            break;
                        }
                    
#endregion 


محمد ياسر 2019-11-08 11:38 PM

رد: InnerPowerFull من ضفطه واحده يظهر عند الناس كلها
 
عاش


الساعة الآن 07:01 AM

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