منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   مشكلات السيرفيرات كونكر الشخصيه (https://code.vpscairo.com/forumdisplay.php?f=12)
-   -   مشاكل (https://code.vpscairo.com/showthread.php?t=2559)

ElSaher 2019-09-30 11:25 PM

مشاكل
 
عندي الي بياخود توب الوار

بيديلو التوب وا كاس عايز اخلي بدل الكاس دا توكن يجمع منو 3 ياخدو من الراجل

وكمان مشكلة عايز حل للمشكلة دي الي بياخود الوار مره التوب بتاعه بيدنه عليه طول ما اللعبه الحياة

عايز اخلي الشوبات بي فلوس بدل ما هيا بي سبس


عايز اخلي الدرب يكون شنط بدل سبس

ElSaher 2019-09-30 11:27 PM

رد: مشاكل
 
Up

Up

Up

Up

Up

Up

Up

Up
Up

Up

Up

Up

Up

Up

Up

Up

Up


Up


Up
Up


Up

Up

Up

Up

Hassan Emprator 2019-09-30 11:32 PM

رد: مشاكل
 
يخربيت التفاااها دا حجات سهله فشخولللللله

تابع معايا يزفت الزفتين

Hassan Emprator 2019-09-30 11:39 PM

رد: مشاكل
 
ازاي تخلي دروب شنط اهو

https://code.vpscairo.com/showthread.php?t=2166
----------------------------------------------------------------------------------------------
ازاي تخلي الشوبات بي فلوس
بس لو فهته هتعرف تعمله
انا عامله عندي

https://code.vpscairo.com/showthread.php?t=1745
-----------------------------------------------------------------------------------------------------
مشكله التوب + الكاس

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

كود PHP:

#region ClaimGuildPrize
                            
case 42114:
                                {
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                
dialog.Text("Hello there. Do you want to Claim GuildWar Prize you can only Claim it 1 Time if you won GW.");
                                                
dialog.Option("Claim TopGuildLeader."1);
                                                
dialog.Option("Claim TopDeputyLeader."3);
                                                
dialog.Option("Just Passing By!"255);
                                                
dialog.Send();
                                                break;
                                            }
                                        case 
1:
                                            {
                                                if (
client.Guild != null)
                                                {
                                                    if (
client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == MrHassan.Game.Enums.GuildMemberRank.GuildLeader)
                                                    {
                                                        
dialog.Text("Are you sure you want to Claim your Prize?");
                                                        
dialog.Option("Yes."2);
                                                        
dialog.Option("Ah, nevermind."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry only GuildLeader of the Winner Guild can Claim The Prize After GuildWar End.");
                                                        
dialog.Option("Ahh."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("Sorry You are not Member in any guild yet");
                                                    
dialog.Option("Ahh."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
2:
                                            {
                                                if (!
GuildWar.IsWar && GuildWar.Claim && client.Entity.GuildID == GuildWar.KeeperID && client.Entity.GuildRank == (ushort)Game.Enums.GuildMemberRank.GuildLeader)
                                                {
                                                    
GuildWar.Claim false;
                                                    
GuildWar.KeeperID 0;
                                                    
client.Entity.ConquerPoints += 500000;
                                                    
client.Inventory.Add(72346701);
                                                    
ClassPk.AddGl();
                                                    
client.Entity.AddTopStatus((ulong)Update.Flags.TopGuildLeader1DateTime.Now.AddDays(7));
                                                    
Kernel.SendWorldMessage(new Message("Congratulations! " client.Entity.Name " Leader of " client.Guild.PoleKeeper " The winner guild has Claimed Guild War Prize " 500000 " cps!"System.Drawing.Color.WhiteMessage.TopLeft), Program.GamePool);
                                                }
                                                else
                                                {
                                                    
dialog.Text("Sorry you dont have Any Prize to claim only GL of the winner guild can claim Prize After GW");
                                                    
dialog.Option("Ahh."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
3:
                                            {
                                                if (
client.Guild != null)
                                                {
                                                    if (
client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == MrHassan.Game.Enums.GuildMemberRank.DeputyLeader)
                                                    {
                                                        
dialog.Text("Are you sure you want to Claim your Prize?");
                                                        
dialog.Option("Yes."4);
                                                        
dialog.Option("Ah, nevermind."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry only DeputyLeader of the Winner Guild can Claim The Prize After GuildWar End.");
                                                        
dialog.Option("Ahh."255);
                                                        
dialog.Send();
                                                    }

                                                }
                                                else
                                                {
                                                    
dialog.Text("Sorry You are not Member in any guild yet");
                                                    
dialog.Option("Ahh."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
4:
                                            {
                                                if (!
GuildWar.IsWar && client.Guild.PoleKeeper && client.Guild != null && client.AsMember.Rank == Game.Enums.GuildMemberRank.DeputyLeader && ClassPk.TopDlClaim <= 25)
                                                {
                                                    
ClassPk.AddDl();
                                                    
client.Entity.AddTopStatus((ulong)Update.Flags.TopDeputyLeader1DateTime.Now.AddDays(7));
                                                    
Kernel.SendWorldMessage(new Message("Congratulations! " client.Entity.Name " From " client.Guild.PoleKeeper " Has Claimed TopDeputyLeader Halo!"System.Drawing.Color.WhiteMessage.TopLeft), Program.GamePool);
                                                }
                                                else
                                                {
                                                    
dialog.Text("Sorry you dont have Any Prize to claim only Dl of the Winner Guild Can claim the halo After GW end.");
                                                    
dialog.Option("Ahh."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                    }
                                    break;
                                }
                            
#endregion 

كود PHP:

#region Prize Seller
                            
case 200033:
                                {
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                
dialog.Text("Greetings! I'm a great seller, I have the most precious items in the entire ");
                                                
dialog.Text("world. What do you want to get?");
                                                
dialog.Option("DarkWAR|Cup| [3 LordTokens]"1);
                                                
dialog.Option("Super|Cup| [2 LordTokens]"2);
                                                
dialog.Option("Elite|Cup| [1 LordTokens]"3);
                                                
dialog.Option("Just passing by."255);
                                                
dialog.Avatar(85);
                                                
dialog.Send();
                                                break;
                                            }
                                        case 
1:
                                            {
                                                if (
client.Inventory.Contains(7234673))
                                                {
                                                    
client.Inventory.Remove(7234673);
                                                    
client.Inventory.Add(21000750000001true);
                                                }
                                                else
                                                {
                                                    
dialog.Text("You don't have enough 3 LordTokens ");
                                                    
dialog.Option("I see."255);
                                                    
dialog.Avatar(85);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
2:
                                            {
                                                if (
client.Inventory.Contains(7234672))
                                                {
                                                    
client.Inventory.Remove(7234672);
                                                    
client.Inventory.Add(21000850000001true);
                                                }
                                                else
                                                {
                                                    
dialog.Text("You don't have enough 2 LordTokens ");
                                                    
dialog.Option("I see."255);
                                                    
dialog.Avatar(85);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
3:
                                            {
                                                if (
client.Inventory.Contains(7234671))
                                                {
                                                    
client.Inventory.Remove(7234671);
                                                    
client.Inventory.Add(21000650000001true);
                                                }
                                                else
                                                {
                                                    
dialog.Text("You don't have enough 1 LordTokens ");
                                                    
dialog.Option("I see."255);
                                                    
dialog.Avatar(85);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
4:
                                            {
                                                if (
client.Inventory.Contains(7234672))
                                                {
                                                    
client.Inventory.Remove(7234672);
                                                    
client.Inventory.Add(21000650000001true);
                                                }
                                                else
                                                {
                                                    
dialog.Text("You don't have enough 2 LordTokens !");
                                                    
dialog.Option("I see."255);
                                                    
dialog.Avatar(85);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        case 
5:
                                            {
                                                if (
client.Inventory.Contains(7234671))
                                                {
                                                    
client.Inventory.Remove(7234671);
                                                    
client.Inventory.Add(21000550000001true);
                                                }
                                                else
                                                {
                                                    
dialog.Text("You don't have enough 1 LordTokens !");
                                                    
dialog.Option("I see."255);
                                                    
dialog.Avatar(85);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                    }
                                    break;
                                }
                            
#endregion 

--------------------------------------------------------------------------------
توب الجلد لو عايز مثلا تخليه يدنو عليه كام يوم
تعدله من هنا

كود PHP:

client.Entity.AddTopStatus((ulong)Update.Flags.TopGuildLeader1DateTime.Now.AddDays(7)); 

هنا معمول 7 خليه زي ما انت عايز بقا

يغلق لتعدد المشاكل



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

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