احصائياتى

الردود
2

المشاهدات
914
 
Hassan Emprator
.:: مشرف قسم المشاكل ::.

    غير متواجد

المشاركات
1,723

+التقييم
0.63

تاريخ التسجيل
Apr 2019

الاقامة
شرقيه/زقازيق

نظام التشغيل

رقم العضوية
30
2020-02-15, 01:40 PM
المشاركة 1
2020-02-15, 01:40 PM
المشاركة 1
افتراضي ارينا روم خاصه بي Rider هديه مني ليكو <3

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

فا الارينا هنزلها كامله انشاء الله وي حقوق محفوظه لي

Rider & Ahmed

بسم الله نبدا

اول حاجه الانبي سي


كود:
#region RooM Cps
                #region Rider RooM
                
case 9991:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hey " + client.Entity.Name + " i am Demha Room Manager Please pic cps you want to play on Remember i will take 10:20% from the winner.");
                                    
dialog.Text("that mean if You Won 1m or 10m i will take 200k or 2m and give You 1.8kk or 18kk Only biggest room will give u 80m.");
                                    
dialog.Option("[1.000.000] C.P.S", 1);
                                    
dialog.Option("[10.000.000] C.P.S", 2);
                                    
dialog.Option("[50.000.000] C.P.S", 3);

                                    
dialog.Option("I don't care.", 255);
                                    
dialog.Send();
                                    break;
                                }

                            case 
2:
                                {
                                    if (
client.ArenaStatistic.Status != ArenaStatistic.NotSignedUp || client.TeamArenaStatistic.Status != TeamArenaStatistic.NotSignedUp)
                                    {
                                        
client.Send(new Message("You already joined a qualifier arena! Quit the other one and call me again.", Color.Beige, Message.Agate));
                                        return;
                                    }
                                    
int alive = 0;
                                    
DateTime Now64 = DateTime.Now;
                                    foreach (
Client.GameState Entitys in Kernel.GamePool.Values)
                                        if (
Entitys.Entity.MapID == 9992 && (!Entitys.Entity.Dead))
                                            
alive++;
                                    if (
client.Entity.ConquerPoints >= 10000000)
                                    {
                                        if (
alive < 2)
                                        {
                                            
client.Entity.ConquerPoints -= 10000000;
                                            if (
client.Entity.MyClones.Count > 0)
                                            {
                                                foreach (var 
item in client.Entity.MyClones.Values)
                                                {
                                                    
Data data = new Data(true);
                                                    
data.UID = item.UID;
                                                    
data.ID = Network.GamePackets.Data.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                }
                                                
client.Entity.MyClones.Clear();
                                            }

                                            if (
alive == 0)
                                                
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has Entered 10m Arena Room And Waiting for challenger #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            if (
alive == 1)
                                                
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has accept the challenge on 10m room now it is full #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            
client.Entity.Teleport(9992, 55, 55);
                                            
client.Entity.RemoveFlag(Update.Flags.Ride);

                                            
client.Entity.PKMode = Game.Enums.PKMode.PK;

                                            
client.Entity.SendSpawn(client, true);

                                        }
                                        else
                                        {
                                            
dialog.Text("There are " + alive + " in the room please come later!");
                                            
dialog.Option("okay", 255);
                                            
dialog.Send();
                                            break;
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry " + client.Entity.Name + "You do not have enough cps to join");
                                        
dialog.Option("okay", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                            case 
3:
                                {
                                    if (
client.ArenaStatistic.Status != ArenaStatistic.NotSignedUp || client.TeamArenaStatistic.Status != TeamArenaStatistic.NotSignedUp)
                                    {
                                        
client.Send(new Message("You already joined a qualifier arena! Quit the other one and call me again.", Color.Beige, Message.Agate));
                                        return;
                                    }
                                    
int alive = 0;
                                    
DateTime Now64 = DateTime.Now;
                                    foreach (
Client.GameState Entitys in Kernel.GamePool.Values)
                                        if (
Entitys.Entity.MapID == 9993 && (!Entitys.Entity.Dead))
                                            
alive++;
                                    if (
client.Entity.ConquerPoints >= 50000000)
                                    {
                                        if (
alive < 2)
                                        {
                                            
client.Entity.ConquerPoints -= 50000000;
                                            if (
client.Entity.MyClones.Count > 0)
                                            {
                                                foreach (var 
item in client.Entity.MyClones.Values)
                                                {
                                                    
Data data = new Data(true);
                                                    
data.UID = item.UID;
                                                    
data.ID = Network.GamePackets.Data.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                }
                                                
client.Entity.MyClones.Clear();
                                            }

                                            if (
alive == 0)
                                                
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has Entered 50m Arena Room And Waiting for challenger #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            if (
alive == 1)
                                                
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has accept the challenge on 50m room now it is full #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            
client.Entity.Teleport(9993, 55, 55);
                                            
client.Entity.RemoveFlag(Update.Flags.Ride);

                                            
client.Entity.PKMode = Game.Enums.PKMode.PK;
                                            
client.Entity.SendSpawn(client, true);

                                        }
                                        else
                                        {
                                            
dialog.Text("There are " + alive + " in the room please come later!");
                                            
dialog.Option("okay", 255);
                                            
dialog.Send();
                                            break;
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry " + client.Entity.Name + "You do not have enough cps to join");
                                        
dialog.Option("okay", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }

                            case 
1:
                                {
                                    if (
client.ArenaStatistic.Status != ArenaStatistic.NotSignedUp || client.TeamArenaStatistic.Status != TeamArenaStatistic.NotSignedUp)
                                    {
                                        
client.Send(new Message("You already joined a qualifier arena! Quit the other one and call me again.", Color.Beige, Message.Agate));
                                        return;
                                    }
                                    
int alive = 0;
                                    
DateTime Now64 = DateTime.Now;
                                    foreach (
Client.GameState Entitys in Kernel.GamePool.Values)
                                        if (
Entitys.Entity.MapID == 9991 && (!Entitys.Entity.Dead))
                                            
alive++;
                                    if (
client.Entity.ConquerPoints >= 1000000)
                                    {
                                        if (
alive < 2)
                                        {
                                            
client.Entity.ConquerPoints -= 1000000;
                                            if (
client.Entity.MyClones.Count > 0)
                                            {
                                                foreach (var 
item in client.Entity.MyClones.Values)
                                                {
                                                    
Data data = new Data(true);
                                                    
data.UID = item.UID;
                                                    
data.ID = Network.GamePackets.Data.RemoveEntity;
                                                    
item.MonsterInfo.SendScreen(data);
                                                }
                                                
client.Entity.MyClones.Clear();
                                            }

                                            if (
alive == 0)
                                                
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has Entered 1m Arena Room And Waiting for challenger #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            if (
alive == 1)
                                                
Kernel.SendWorldMessage(new Message(" Attention ! " + client.Entity.Name + " Has accept the challenge on 1m room now it is full #45#45.", System.Drawing.Color.Black, Message.Center), Program.Values);
                                            
client.Entity.Teleport(9991, 55, 55);
                                            
client.Entity.RemoveFlag(Update.Flags.Ride);

                                            
client.Entity.PKMode = Game.Enums.PKMode.PK;
                                            
client.Entity.SendSpawn(client, true);

                                        }
                                        else
                                        {
                                            
dialog.Text("There are " + alive + " in the room please come later!");
                                            
dialog.Option("okay", 255);
                                            
dialog.Send();
                                            break;
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry " + client.Entity.Name + "You do not have enough cps to join");
                                        
dialog.Option("okay", 255);
                                        
dialog.Send();
                                        break;
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion
                #region out
                
case 9992:
                case 
9993:
                case 
9990:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    if (
client.Entity.MapID == 9991)
                                        
dialog.Text("Hey there " + client.Entity.Name + " Do u want to go tc and get 1kk.");
                                    if (
client.Entity.MapID == 9992)
                                        
dialog.Text("Hey there " + client.Entity.Name + " Do u want to go tc and get 10m.");
                                    if (
client.Entity.MapID == 9993)
                                        
dialog.Text("Hey there " + client.Entity.Name + " Do u want to go tc and get 50m.");
                                    
dialog.Option("Yes Please", 1);
                                    
dialog.Option("I don't care.", 255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    
int alive1 = 0;
                                    
int alive2 = 0;
                                    
int alive3 = 0;
                                    
DateTime Now64 = DateTime.Now;
                                    foreach (
Client.GameState Entitys in Kernel.GamePool.Values)
                                    {
                                        if (
Entitys.Entity.MapID == 9991 && (!Entitys.Entity.Dead))
                                            
alive1++;
                                        if (
Entitys.Entity.MapID == 9992 && (!Entitys.Entity.Dead))
                                            
alive2++;
                                        if (
Entitys.Entity.MapID == 9993 && (!Entitys.Entity.Dead))
                                            
alive3++;
                                    }

                                    if (
client.Entity.MapID == 9991 && (!client.Entity.Dead))
                                    {
                                        
client.Entity.Teleport(1002, 300, 278);

                                        
client.Entity.ConquerPoints += 1000000;

                                        
Kernel.SendWorldMessage(new Message("  " + client.Entity.Name + " Has out from 1m Room.", System.Drawing.Color.Black, Message.Center), Program.Values);
                                        
client.Entity.SendSpawn(client, true);

                                    }

                                    if (
client.Entity.MapID == 9992 && (!client.Entity.Dead))
                                    {
                                        
client.Entity.Teleport(1002, 300, 278);

                                        
client.Entity.ConquerPoints += 10000000;

                                        
Kernel.SendWorldMessage(new Message("  " + client.Entity.Name + " Has out from 10m Room .", System.Drawing.Color.Black, Message.Center), Program.Values);
                                        
client.Entity.SendSpawn(client, true);

                                    }

                                    if (
client.Entity.MapID == 9993 && (!client.Entity.Dead))
                                    {
                                        
client.Entity.Teleport(1002, 300, 278);

                                        
client.Entity.ConquerPoints += 50000000;

                                        
Kernel.SendWorldMessage(new Message("  " + client.Entity.Name + " Has out from 50m Room", System.Drawing.Color.Black, Message.Center), Program.Values);
                                        
client.Entity.SendSpawn(client, true);

                                    }


                                    break;
                                }
                        }
                        break;
                    }
                
#endregion
                #endregion 

سيرش عا


كود:
 public void Die(Entity killer) 

ضيف تحته


كود:
#region rider
                
if (killer.MapID == 9991)
                {
                    
Kernel.SendWorldMessage(new Message(" Attention ! " + killer.Name + " Has Killed " + this.Name + " in room and won 1.8kk cps.", System.Drawing.Color.Black, Message.Center), Program.Values);

                    
killer.ConquerPoints += 1800000;
                    
this.Owner.MessageBox("You Killed By " + killer.Name + " So Sorry for that");
                    
killer.Owner.MessageBox("You Killed " + this.Name + " and won 1.8kk Cps");




                }
                if (
killer.MapID == 9992)
                {
                    
Kernel.SendWorldMessage(new Message(" Attention ! " + killer.Name + " Has Killed " + this.Name + " in room and won 18m cps.", System.Drawing.Color.Black, Message.Center), Program.Values);

                    
killer.ConquerPoints += 18000000;
                    
this.Owner.MessageBox("You Killed By " + killer.Name + " So Sorry for that");
                    
killer.Owner.MessageBox("You Killed " + this.Name + " and won 18m Cps");



                }
                if (
killer.MapID == 9993)
                {
                    
Kernel.SendWorldMessage(new Message(" Attention ! " + killer.Name + " Has Killed " + this.Name + " in room and won 80m cps.", System.Drawing.Color.Black, Message.Center), Program.Values);

                    
killer.ConquerPoints += 80000000;

                    
this.Owner.MessageBox("You Killed By " + killer.Name + " So Sorry for that");
                    
killer.Owner.MessageBox("You Killed " + this.Name + " and won 80m Cps");


                }
                
#endregion 

بعديها سيرش عا


كود:
 if (OnDeath != null) OnDeath(this); 

ضيف تحته بالظبط


كود:
                    if (this.MapID == 9991 || this.MapID == 9992 || this.MapID == 9993)
                    {
                        
killer.RemoveFlag(Network.GamePackets.Update.Flags.FlashingName);
                        
killer.FlashingNameStamp = Time32.Now;
                        
killer.FlashingNameTime = 0;
                        
killer.Teleport(1002, 288, 290);
                        
this.Teleport(1002, 300, 300);
                        
this.BringToLife();

                    }
                }
            }
        } 

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

فا امنعو انتو


كود:
9991    1005    7    0
9992    1005    7    0
9993    1005    7    0 

سيرش هنا


كود:
public static readonly System.Collections.Generic.List<ushort> PKFreeMaps 

ضيف فيهم دول



كود:
            9991,
            
9992,
            
9993, 

كدا تم الاضافه كامله انشاء الله جربوها ومش هتطلع فيها مشاكل بازن الله اراكم في موضوع قادمم



قديم 2020-02-15, 04:21 PM
المشاركة 2
Hazem
.:: المدير العام::.
  • غير متواجد
افتراضي رد: ارينا روم خاصه بي Rider هديه مني ليكو <3
عاش

قديم 2020-09-15, 02:36 PM
المشاركة 3
karem1q
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: ارينا روم خاصه بي Rider هديه مني ليكو <3
تسلم الايادي


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



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

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

المواضيع المتشابهه للموضوع: ارينا روم خاصه بي Rider هديه مني ليكو <3
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
ملف اتاك جميع اسكلات كونكر فكسد مني ليكو ahmedfathy تطوير سيرفرات كونكر 90 2021-09-06 10:16 AM
شوية حمايات كدا كويس ليكو MohamedModyAdel تطوير سيرفرات كونكر 124 2021-08-14 01:34 PM
حرب PoleDomntaion مقدمه من HassanEmprator ليكو احبايبي <3 Hassan Emprator تطوير سيرفرات كونكر 11 2020-11-26 02:52 PM
اضافة شوية رونز اضافه خاصه بالسورس Rider تطوير سيرفرات كونكر 14 2020-10-07 04:58 PM
MostWanted War (حصرى) هديه عيد الاضحى Ahmeed Sheeko تطوير سيرفرات كونكر 23 2019-10-23 12:34 PM


الساعة الآن 06:52 PM