قديم 2019-09-30, 11:27 PM
المشاركة 2
ElSaher
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشاكل
Up

Up

Up

Up

Up

Up

Up

Up
Up

Up

Up

Up

Up

Up

Up

Up

Up


Up


Up
Up


Up

Up

Up

Up

قديم 2019-09-30, 11:32 PM
المشاركة 3
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشاكل
يخربيت التفاااها دا حجات سهله فشخولللللله

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

قديم 2019-09-30, 11:39 PM
المشاركة 4
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
Timid رد: مشاكل
ازاي تخلي دروب شنط اهو

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

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

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


كود:
#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 


كود:
#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 

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


كود:
client.Entity.AddTopStatus((ulong)Update.Flags.TopGuildLeader1DateTime.Now.AddDays(7)); 

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

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



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



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

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

المواضيع المتشابهه للموضوع: مشاكل
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
حل مشاكل سورسي !! SourceDanger تطوير سيرفرات كونكر 10 2020-02-20 11:36 AM
مشاكل سورس رايزو neno2052 مشكلات السيرفيرات كونكر الشخصيه 5 2019-10-27 03:06 AM
مشاكل سورس Empire-War ElSaher مشكلات السيرفيرات كونكر الشخصيه 1 2019-09-29 05:05 AM
4 مشاكل الرجاء الرد loveosama مشكلات السيرفيرات كونكر الشخصيه 3 2019-09-06 04:49 PM
مشاكل جديده anwer1 مشكلات السيرفيرات كونكر الشخصيه 10 2019-07-12 03:36 PM


الساعة الآن 09:57 AM

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