منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   حل مشكله دم باب الجيلد (https://code.vpscairo.com/showthread.php?t=192)

محمد ياسر 2019-04-25 11:20 AM

حل مشكله دم باب الجيلد
 

في NPCS.CS
ابحث عن
كود PHP:

case 516074

وتغير الnpc الى عندك كله بده

كود PHP:

#region Gates 
                            
case 516074
                                { 
                                    if (
client.Guild != null
                                    { 
                                        if (
client.Guild.PoleKeeper
                                        { 
                                            switch (
npcRequest.OptionID
                                            { 
                                                case 
0
                                                    
dialog.Text("Select the option you want to pursue."); 
                                                    if (
client.AsMember.Rank == PhoenixProject.Game.Enums.GuildMemberRank.GuildLeader || client.AsMember.Rank == PhoenixProject.Game.Enums.GuildMemberRank.DeputyLeader
                                                    { 
                                                        
dialog.Option("Open gate."1); 
                                                        
dialog.Option("Close gate."2); 
                                                    } 
                                                    
dialog.Option("Get inside."3); 
                                                    
dialog.Option("Nothing."255); 
                                                    
dialog.Send(); 
                                                    break; 
                                                case 
1
                                                    { 
                                                        
PhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.Mesh = (ushort)(250 PhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.Mesh 10); 

                                                        
Update upd = new Update(true); 
                                                        
upd.UID PhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.UID
                                                        
upd.Append(Update.MeshPhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.Mesh); 
                                                        
client.SendScreen(updtrue); 
                                                        break; 
                                                    } 
                                                case 
2
                                                    { 
                                                        
PhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.Mesh = (ushort)(240 PhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.Mesh 10); 
                                                        if (
GuildWar.LeftGate.Hitpoints 100
                                                           
GuildWar.LeftGate.Hitpoints GuildWar.LeftGate.MaxHitpoints
                                                        
Update upd = new Update(true); 
                                                        
upd.UID PhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.UID
                                                        
upd.Append(Update.MeshPhoenixProject.Game.ConquerStructures.Society.GuildWar.LeftGate.Mesh); 
                                                        
client.SendScreen(updtrue); 
                                                        break; 
                                                    } 
                                                case 
3
                                                    { 
                                                        
client.Entity.Teleport(1038162198); 
                                                        break; 
                                                    } 
                                            } 
                                        } 
                                    } 
                                    break; 
                                } 
                            case 
516075
                                { 
                                    if (
client.Guild != null
                                    { 
                                        if (
client.Guild.PoleKeeper
                                        { 
                                            switch (
npcRequest.OptionID
                                            { 
                                                case 
0
                                                    
dialog.Text("Select the option you want to pursue."); 
                                                    if (
client.AsMember.Rank == PhoenixProject.Game.Enums.GuildMemberRank.GuildLeader || client.AsMember.Rank == PhoenixProject.Game.Enums.GuildMemberRank.DeputyLeader
                                                    { 
                                                        
dialog.Option("Open gate."1); 
                                                        
dialog.Option("Close gate."2); 
                                                    } 
                                                    
dialog.Option("Get inside."3); 
                                                    
dialog.Option("Nothing."255); 
                                                    
dialog.Send(); 
                                                    break; 
                                                case 
1
                                                    { 
                                                        
PhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.Mesh = (ushort)(280 PhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.Mesh 10); 

                                                        
Update upd = new Update(true); 
                                                        
upd.UID PhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.UID
                                                        
upd.Append(Update.MeshPhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.Mesh); 
                                                        
client.SendScreen(updtrue); 
                                                        break; 
                                                    } 
                                                case 
2
                                                    { 
                                                        
PhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.Mesh = (ushort)(270 PhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.Mesh 10); 
                                                        if (
GuildWar.RightGate.Hitpoints 100
                                                            
GuildWar.RightGate.Hitpoints GuildWar.RightGate.MaxHitpoints
                                                        
Update upd = new Update(true); 
                                                        
upd.UID PhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.UID
                                                        
upd.Append(Update.MeshPhoenixProject.Game.ConquerStructures.Society.GuildWar.RightGate.Mesh); 
                                                        
client.SendScreen(updtrue); 
                                                        break; 
                                                    } 
                                                case 
3
                                                    { 
                                                        
client.Entity.Teleport(1038210177); 
                                                        break; 
                                                    } 
                                            } 
                                        } 
                                    } 
                                    break; 
                                } 
                            
#endregion 

وافتح قاعده البيانات وخش على التابل ده sobnpcs

سميه ده الاى دى ده 516074
LeftGate

وسمى ده 516075
RightGate


abuhaneen 2019-05-27 03:50 PM

رد: حل مشكله دم باب الجيلد
 
لو معاك المابه للبوله ياريت ترفعها لان عندى انا تو دي والمابه 3 دي وفيها مشكله ال الكبري بقا ورد

ابو حمزه9 2019-05-27 05:56 PM

رد: حل مشكله دم باب الجيلد
 
عاااااااااااش

ALz3em 2019-06-12 01:18 PM

رد: حل مشكله دم باب الجيلد
 
تسلم
ممكن أبجريد البوابة نفسها علشان في السورسات اللى موجوده البواب فيها مش مظبوط

Mahmoud 2019-06-12 02:50 PM

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


الساعة الآن 08:16 AM

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