قديم 2020-02-13, 11:45 AM
المشاركة 2
mohamedomar
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: طلب Clan war
ياجماعه حد يجبلي كودها بالمطلوب ف البوست دا♥

قديم 2020-02-13, 04:32 PM
المشاركة 3
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: طلب Clan war
با النسبة للجوايز ابحث بدل دا با الى عندك

كود:
                #region ClanWar
                
case 48116:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello there. Do you want to Join The ClanWar.. It Start [20.00 To 21.00] EveryDay Excpt Friday?.");
                                    
dialog.Option("Yes Please."1);
                                    
dialog.Option("Cliam Prize."2);
                                    
dialog.Option("Just Passing By!"255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
ClanWar.IsWar)
                                    {
                                        
client.Entity.Teleport(150982119);
                                        
client.Entity.PKMode Game.Enums.PKMode.PK;
                                        
client.Send(new Data(true) { UID client.Entity.UIDID Data.ChangePKModedwParam = (uint)client.Entity.PKMode });
                                    }
                                    else
                                    {
                                        
dialog.Text("The War Has Not Started It Start [20.00 To 21.00] EveryDay Excpt Friday");
                                        
dialog.Option("Aww ok!"255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
ClanWar.KeeperID != && !ClanWar.IsWar && ClanWar.Claim && client.Entity.ClanId == ClanWar.KeeperID && client.Entity.ClanRank == Clan.Ranks.ClanLeader)
                                    {

                                        
Program.AddWarLog("ClanWar""[Prize : 1,000,000]"client.Entity.Name);
                                        
ClanWar.Claim false;
                                        
ClanWar.KeeperID 0;
                                        
client.Entity.OnlinePoints += 1;
                                        
client.Entity.ConquerPoints += 1000000;
                                        
client.Entity.BoundCps += 100000;
                                        
KhaledMohamed.Kernel.SendWorldMessage(new Message(" Congratulations  " client.Entity.Name " Leader of " client.Entity.ClanName " The winner Clan has Claimed Clan War Prize " 1000000 "[1,000,000] ConquerPoints & [100.000] CpsBound "System.Drawing.Color.WhiteMessage.TopLeft), Program.Values);
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry you dont have Any Prize to claim only CL of the winner CLAN can claim Prize After CW");
                                        
dialog.Option("Ahh."255);
                                        
dialog.Send();
                                    }

                                    break;
                                }
                        }
                        break;
                    }
                case 
4482115:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello there. Do you want to Teleport To Twincity.");
                                    
dialog.Option(" Send Me There. "1);
                                    
dialog.Option("Just Passing By!"255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    
client.Entity.Teleport(1002284146);
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

با النسبة للوقت عدل برحتك بقا


كود:
            #region Clan War [14H] To [16H]

            
if (!Game.ClanWar.IsWar)
            {
                if ((
Now64.Hour == 14) && Now64.Minute == 00 && Now64.Second == 15 && !ClanWar.IsWar)
                {
                    
Game.ClanWar.Start();
                    
ClanWarAI false;
                    if (
Now64.Hour != 2)
                    {
                        
ClanWarAI Now64.Hour != 2;
                        foreach (var 
client in Program.Values)
                            if (
client.Entity.GuildID != 0)
                                
client.MessageBox("ClanWar has begun! Would you like to join?",
                                    
=> { p.Entity.Teleport(1002285148); }, null);
                    }
                }
                if ((
DateTime.Now.Hour == 14 && DateTime.Now.Minute == 55 && Now64.Second == 58))
                {
                    
ClanWarAI true;
                    foreach (var 
client in Program.Values)
                        if (
client.Entity.GuildID != 0)
                            
client.MessageBox("ClanWar has begun Would you like to join Prize [100,000,000] ConquerPoints & [100.000]",
                                
=> { p.Entity.Teleport(1002286143); }, null);
                }
                if (
DateTime.Now.Hour == 15 && DateTime.Now.Minute == 00 && Now64.Second == 10)
                {
                    
Game.ClanWar.End();
                }
                if (
Game.ClanWar.IsWar)
                {
                    if (
Time32.Now Game.ClanWar.ScoreSendStamp.AddSeconds(3))
                    {
                        
Game.ClanWar.ScoreSendStamp Time32.Now;
                        
Game.ClanWar.SendScores();
                    }
                }
            }
            
#endregion 


قديم 2020-02-13, 04:54 PM
المشاركة 4
mohamedomar
.:: عضو نشيط ::.
  • غير متواجد
Thumbs up رد: طلب Clan war
با النسبة للجوايز ابحث بدل دا با الى عندك

كود:
                #region clanwar
                
case 48116:
                    {
                        switch (
npcrequest.optionid)
                        {
                            case 
0:
                                {
                                    
dialog.text("hello there. Do you want to join the clanwar.. It start [20.00 to 21.00] everyday excpt friday?.");
                                    
dialog.option("yes please."1);
                                    
dialog.option("cliam prize."2);
                                    
dialog.option("just passing by!"255);
                                    
dialog.send();
                                    break;
                                }
                            case 
1:
                                {
                                    if (
clanwar.iswar)
                                    {
                                        
client.entity.teleport(150982119);
                                        
client.entity.pkmode game.enums.pkmode.pk;
                                        
client.send(new data(true) { uid client.entity.uidid data.changepkmodedwparam = (uint)client.entity.pkmode });
                                    }
                                    else
                                    {
                                        
dialog.text("the war has not started it start [20.00 to 21.00] everyday excpt friday");
                                        
dialog.option("aww ok!"255);
                                        
dialog.send();
                                    }
                                    break;
                                }
                            case 
2:
                                {
                                    if (
clanwar.keeperid != && !clanwar.iswar && clanwar.claim && client.entity.clanid == clanwar.keeperid && client.entity.clanrank == clan.ranks.clanleader)
                                    {

                                        
program.addwarlog("clanwar""[prize : 1,000,000]"client.entity.name);
                                        
clanwar.claim false;
                                        
clanwar.keeperid 0;
                                        
client.entity.onlinepoints += 1;
                                        
client.entity.conquerpoints += 1000000;
                                        
client.entity.boundcps += 100000;
                                        
khaledmohamed.kernel.sendworldmessage(new message(" congratulations  " client.entity.name " leader of " client.entity.clanname " the winner clan has claimed clan war prize " 1000000 "[1,000,000] conquerpoints & [100.000] cpsbound "system.drawing.color.whitemessage.topleft), program.values);
                                    }
                                    else
                                    {
                                        
dialog.text("sorry you dont have any prize to claim only cl of the winner clan can claim prize after cw");
                                        
dialog.option("ahh."255);
                                        
dialog.send();
                                    }

                                    break;
                                }
                        }
                        break;
                    }
                case 
4482115:
                    {
                        switch (
npcrequest.optionid)
                        {
                            case 
0:
                                {
                                    
dialog.text("hello there. Do you want to teleport to twincity.");
                                    
dialog.option(" send me there. "1);
                                    
dialog.option("just passing by!"255);
                                    
dialog.send();
                                    break;
                                }
                            case 
1:
                                {
                                    
client.entity.teleport(1002284146);
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

با النسبة للوقت عدل برحتك بقا


كود:
            #region clan war [14h] to [16h]

            
if (!game.clanwar.iswar)
            {
                if ((
now64.hour == 14) && now64.minute == 00 && now64.second == 15 && !clanwar.iswar)
                {
                    
game.clanwar.start();
                    
clanwarai false;
                    if (
now64.hour != 2)
                    {
                        
clanwarai now64.hour != 2;
                        foreach (var 
client in program.values)
                            if (
client.entity.guildid != 0)
                                
client.messagebox("clanwar has begun! Would you like to join?",
                                    
=> { p.entity.teleport(1002285148); }, null);
                    }
                }
                if ((
datetime.now.hour == 14 && datetime.now.minute == 55 && now64.second == 58))
                {
                    
clanwarai true;
                    foreach (var 
client in program.values)
                        if (
client.entity.guildid != 0)
                            
client.messagebox("clanwar has begun would you like to join prize [100,000,000] conquerpoints & [100.000]",
                                
=> { p.entity.teleport(1002286143); }, null);
                }
                if (
datetime.now.hour == 15 && datetime.now.minute == 00 && now64.second == 10)
                {
                    
game.clanwar.end();
                }
                if (
game.clanwar.iswar)
                {
                    if (
time32.now game.clanwar.scoresendstamp.addseconds(3))
                    {
                        
game.clanwar.scoresendstamp time32.now;
                        
game.clanwar.sendscores();
                    }
                }
            }
            
#endregion 

بعد ازنك الكود الاول احطو ف الانبي سي طيب التاني دا احطو فين بظبط

قديم 2020-02-13, 05:20 PM
المشاركة 5
MRonlineGvrix
.:: عضو مميز ::.
  • غير متواجد
Smiley رد: طلب Clan war
[QUOTE=mohamedomar;28237]يا

حطحط الكود التانى فى كلاس
World

بس امسح القديم الى عندك

ابحث فى كلاس world
عن
Clan war
شوف القديم فين و بدلو او عدلو

قديم 2020-02-13, 05:26 PM
المشاركة 6
mohamedomar
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: طلب Clan war
[QUOTE=MRonlineGvrix;28290]
يا

حطحط الكود التانى فى كلاس
World

بس امسح القديم الى عندك

ابحث فى كلاس world
عن
Clan war
شوف القديم فين و بدلو او عدلو
دا الارور ال ظهرلي ف الانبي سي اول كود

قديم 2020-02-14, 04:17 PM
المشاركة 7
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: طلب Clan war
https://code.vpscairo.com/showthread...hlight=ClanWar

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


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



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

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

المواضيع المتشابهه للموضوع: طلب Clan war
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
مشكلة في البوله بتاعت الكلان Clan war Pole Alaa Ghanem مشكلات السيرفيرات كونكر الشخصيه 2 2019-12-11 01:33 AM


الساعة الآن 02:03 PM

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