منتدي اكواد

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

taha 2020-02-12 08:10 PM

طـلب توب
 
يجماعه انا عاوز احط التوبات كلها الي في السيرفر في ان بي سي واحد بس

taha 2020-02-13 07:01 AM

رد: طـلب توب
 
يجماعه الديتى لاند منضافه عندى بس الان بى سى الى بيدخنى ليها مش قعد عاوز اضيفوا ازاى
وايه الكود بتعاوا علشان يشتغل

Rider 2020-02-13 09:43 AM

رد: طـلب توب
 
اكثر من طلب يغلق

MRonlineGvrix 2020-02-13 04:34 PM

رد: طـلب توب
 
اتفضل عدل انتا واظبط برحتك
كود PHP:

                #region All Queste Day
                // case 141198:
                
case 141199:
                    {
                        
dialog.Avatar(67);
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    {
                                        
dialog.Text("Hey there > " client.Entity.Name " < No Questes for now -_-");
                                        
dialog.Option("Ok Thanks."255);
                                        
// client.Entity.Update(_String.Effect, "ErLongTengFei", true);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 3)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top WarriorTop PKWar?.");
                                        
dialog.Option("Yea Teleport me Please WarriorTop!!"100);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= && DateTime.Now.Minute <= 9)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join ToP ArcherTop PKWar?.");
                                        
dialog.Option("Yea Teleport me Please ArcherTop!!"101);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top NinjaTop PKWar?.");
                                        
dialog.Option("Yea Teleport me Please NinjaTop!!"102);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 21)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join TopMonk Pk?.");
                                        
dialog.Option("Yea Teleport me Please TopMonk!!"103);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join TopTrojan PK PKWar?.");
                                        
dialog.Option("Yea Teleport me Please TopTrojan!!"104);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    
//if (DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 33)
                                    //{
                                    //    dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top TaoistMoon PKWar?.");
                                    //    dialog.Option("Yea Teleport me Please TaoistMoon!!", 105);
                                    //    dialog.Option("I`ll~think~about~it.", 255);
                                    //    dialog.Send();
                                    //}
                                    
if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top PiratLord ?.");
                                        
dialog.Option("Yea Teleport me Please PiratLord!!"106);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 45)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to join Top KungFuKing PKWar?.");
                                        
dialog.Option("Yea Teleport me Please KungFuKing!!"107);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
                                    {
                                        
dialog.Text("Hello " client.Entity.Name "I Can Let You Join The Cps War.");
                                        
dialog.Text("Start Every Hours At (××:48) The End (××:51) Your Make 5 Muints SinglUp.");
                                        
dialog.Text("If You Need To Join Cps War a " ServerRates.Tops " CPs Cps In Your Inventory If You Killed Any Entity U Will Drop " ServerRates.Tops " From Him Also If U Died U will Lose " ServerRates.Tops " Cps");
                                        
dialog.Option("Yea Teleport me Please CpsWar!!"108);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    if (
DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 57)
                                    {
                                        
dialog.Text("Hey there > " client.Entity.Name " <  Would you like to join Windwalker~PK ?.");
                                        
dialog.Option("Yea Teleport me Please Windwalker~PK!!"109);
                                        
dialog.Option("I`ll~think~about~it."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
100:
                                {
                                    if (
DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 3)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25365050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top WarriorTop Pk War is held during xx:00 to xx:3 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
101:
                                {
                                    if (
DateTime.Now.Minute >= && DateTime.Now.Minute <= 9)
                                    {
                                        
client.Entity.Teleport(8541108122);
                                    }
                                    else
                                    {
                                        
dialog.Text("[ ArcherTop PK] War is held during [xx:06] To [xx:09] in every Hour");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
102:
                                {
                                    if (
DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25295751);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top NinjaTop Pk War is held during xx:12 to xx:15 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
103:
                                {
                                    if (
DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 21)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25285050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top  MonkTop Pk War is held during xx:18 to xx:21 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
104:
                                {
                                    if (
DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25385050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top Trojan Pk War is held during xx:24 to xx:27 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
105:
                                {
                                    if (
DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 33)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        
//  if (Nr == 1) client.Entity.Teleport(2537, 50, 50);
                                        
if (Nr == 1client.Entity.Teleport(22225050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top TaoistMoon Pk War is held during xx:30 to xx:33 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
106:
                                {
                                    if (
DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(25275050);
                                        
// if (Nr == 1) client.Entity.Teleport(5928, 50, 50);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top PiratLord Pk War is held during xx:36 to xx:39 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
107:
                                {
                                    if (
DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 45)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        if (
Nr == 1client.Entity.Teleport(3215050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Top KungFuKing Pk War is held during xx:6 to xx:9 you have 4 min to signup ");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
108:
                                {
                                    if (
DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
                                    {
                                        if (
client.Entity.ConquerPoints >= ServerRates.Tops)
                                        {
                                            
client.Entity.Teleport(65653935);
                                            if (
client.Entity.MyClones.Count 0)
                                            {
                                                var 
clones client.Entity.MyClones.Values.ToArray();
                                                for (
int i 0clones.Lengthi++)
                                                {
                                                    var 
item clones[i];
                                                    if (
item == null)
                                                        continue;
                                                    
Data data = new Data(true);
                                                    
data.UID item.UID;
                                                    
data.ID Network.GamePackets.Data.RemoveEntity;
                                                    
client.Entity.Owner.SendScreen(data);
                                                    
client.Entity.MyClones[item.UID] = null;
                                                }
                                                
client.Entity.MyClones.Clear();
                                            }
                                        }
                                        else
                                        {
                                            
dialog.Text("Sorry Your Dont Make " ServerRates.Tops " CPs");
                                            
dialog.Option("Thanks."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry i Can Let You join The Event Now Come again Later On (××:48) Off (××:51).");
                                        
dialog.Option("Thanks."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                        break;
                                    }
                                    
//break;
                                
}
                            case 
109:
                                {
                                    if (
DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 57)
                                    {
                                        
Random R = new Random();
                                        
int Nr R.Next(11);
                                        
client.Entity.Teleport(95755050);
                                        
client.Entity.PKMode Game.Enums.PKMode.Team;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("Hey there > " client.Entity.Name "Would you like to join Windwalker~PK ?.");
                                        
dialog.Option("I don't care."255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 


taha 2020-02-14 07:32 AM

رد: طـلب توب
 
وبعد ما اضيفوا اعمل ؟

taha 2020-02-14 07:47 AM

رد: طـلب توب
 
او اظبط ايه فيه

taha 2020-02-14 07:48 AM

رد: طـلب توب
 
دى جاى تحتها خط
ServerRates
ودى
Data
ابدلهم بايه

STORM 2020-02-14 08:01 AM

رد: طـلب توب
 
اقتباس:

المشاركة الأصلية كتبت بواسطة taha (المشاركة 28375)
دى جاى تحتها خط
serverrates
ودى
data
ابدلهم بايه

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

taha 2020-02-14 08:58 AM

رد: طـلب توب
 
طيب ممكن تجبلى اضافه سيرفر راتس
وداتا بدلتها بكلام كتير وبردى جيب خط مش عارف ايه حلها
ممكن تقولى ابدلها بايه انتا

taha 2020-02-14 08:59 AM

رد: طـلب توب
 
وعاوز اضيف ان بى سى الديتى لاند الى هو بيدخنى المابه
اسموا كدا هو
Yukoon


الساعة الآن 04:16 PM

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