قديم 2019-07-14, 03:40 AM
المشاركة 2
uncelsam
.:: عضو مميز ::.
  • غير متواجد
افتراضي رد: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
اقسم بالله ما في منك اتنين بجد عاااش فشخ

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

قديم 2019-07-14, 03:54 AM
المشاركة 3
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
اقسم بالله ما في منك اتنين بجد عاااش فشخ

في طلب تاني معلش من ضمن المساعده انا عاوز اضيفك فيس او واتس واحنا مع بعض هنا بردو ممكن يرجوله ؟
حبيبي <3 اكيد يا غالي بعتلك الفيس في رساله علي الخاص

قديم 2019-07-14, 05:20 AM
المشاركة 4
محمد ياسر
*
  • غير متواجد
افتراضي رد: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
عاش

قديم 2019-07-14, 09:51 AM
المشاركة 5
Users
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
فنان

قديم 2019-07-14, 03:21 PM
المشاركة 6
Tefa
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
عاش
حبيبي
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
فنان
حبيبي <3

قديم 2019-07-21, 05:08 PM
المشاركة 7
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
حبيبي


حبيبي <3
طيب لو عايز العكس انا عايز الغي الموضوع دا لانه عندي في الجردات وكلو بيموت لازما يقع

قديم 2019-07-21, 06:47 PM
المشاركة 8
Tefa
.:: عضو خبير ::.
  • غير متواجد
Important رد: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
طيب لو عايز العكس انا عايز الغي الموضوع دا لانه عندي في الجردات وكلو بيموت لازما يقع
بدل ده
كود:
 public void Die(Entity killer

ب ده

كود:
 public void Die(Entity killer)
        {
            try
            {
                    
#region Unique Killer
                
if (EntityFlag == EntityFlag.Entity && killer.EntityFlag == EntityFlag.Entity)
                {
                    if (
killer.MapID == 2014)
                    {
                        if (
killer.MapID == 2014)
                        {
                            
killer.Owner.uniquepoints += 1;
                            if (
killer.Owner.uniquepoints >= 20)
                            {
                                
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"Congratulations, You Have Now " killer.Owner.uniquepoints "  Points you can claim your prize now!");
                                
npc.OptionID 255;
                                
killer.Owner.Send(npc.ToArray());
                            }
                            else
                            {
                                
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6"You Have Now " killer.Owner.uniquepoints "  Points Congratz you still need " + (20 killer.Owner.uniquepoints) + " more!");
                                
npc.OptionID 255;
                                
killer.Owner.Send(npc.ToArray());
                            }
                        }
                    }
                
#endregion
                    #region CpsDraobMAP
                    
if (killer.MapID == 1234)
                    {
                        if (
ConquerPoints >= 1200)
                        {
                            
ConquerPoints -= 1200;
                            
killer.ConquerPoints += 1200;
                        }

                    }
                    if (
killer.MapID == 1235)
                    {
                        if (
ConquerPoints >= 800)
                        {
                            
ConquerPoints -= 800;
                            
killer.ConquerPoints += 800;
                        }

                    }
                    if (
killer.MapID == 1236)
                    {
                        if (
ConquerPoints >= 600)
                        {
                            
ConquerPoints -= 600;
                            
killer.ConquerPoints += 600;
                        }

                    }
                    if (
killer.MapID == 1237)
                    {
                        if (
ConquerPoints >= 400)
                        {
                            
ConquerPoints -= 400;
                            
killer.ConquerPoints += 400;
                        }

                    }
                    if (
killer.MapID == 1238)
                    {
                        if (
ConquerPoints >= 500)
                        {
                            
ConquerPoints -= 500;
                            
killer.ConquerPoints += 500;
                        }

                    }
                    
#endregion
                    #region Xocount and countkilling
                    
if (Owner.Spells.ContainsKey(12660) && Owner.Player.EpicWarrior())
                    {
                        
XPCountTwist Owner.XPCount;
                    }
                    if (
killer.CountKilling >= 100 && killer.HeavenBlessing && killer.BlessedHunting 4578)
                    {
                        
killer.CountKilling 0;
                        
killer.BlessedHunting += 1;
                    }
                    
#endregion
                    #region Flag
                    
if (ContainsFlag3((ulong)1UL << 53))
                        
RemoveFlag3((ulong)1UL << 53);
                    if (
Owner.Spells.ContainsKey(12660))
                    {
                        
XPCountTwist Owner.XPCount;
                    }
                    
#endregion
                    #region Experince
                    
if (!Constants.PKFreeMaps.Contains(MapID))
                    {
                        if (
Level 140 && Experience != 0)
                        {
                            
ulong amount 0;
                            if (
VIPLevel 4)
                            {
                                
Experience -= Math.Min(Hitpoints MaxHitpoints LevelExperience);
                                
amount Math.Min(Hitpoints MaxHitpoints LevelExperience);
                                
killer.Owner.IncreaseExperience(amountfalse);
                            }
                            else
                            {
                                
Experience -= Math.Min(Hitpoints MaxHitpoints LevelExperience) / 2;
                                
amount Math.Min(Hitpoints MaxHitpoints LevelExperience) / 2;
                                
killer.Owner.IncreaseExperience(amountfalse);
                            }
                            
Owner.Send(new Message("You lost " amount " EXP!"System.Drawing.Color.RedMessage.System));
                        }
                    }
                    
#endregion
                    
if (killer.MapID == 3979)
                    {
                        
killer.MessiPoints += 25;

                    }

                        
Owner.Send(new Message("You are dead."System.Drawing.Color.RedMessage.System));

                }               
                
#region MyClones
                
if (MyClones.Count 0)
                {
                    foreach (var 
item in MyClones.Values)
                    {
                        
Data data = new Data(true);
                        
data.UID item.UID;
                        
data.ID Network.GamePackets.Data.RemoveEntity;
                        
item.MonsterInfo.SendScreen(data);
                    }
                    
MyClones.Clear();
                }
                
#endregion
                #region Perfection
                
if (EntityFlag == EntityFlag.Entity && Perfection != null)
                {
                    
Game.Enums.PerfectionEffect effect Enums.PerfectionEffect.StraightLife;
                    
byte chance 0;
                    new 
MsgRefineEffect().HandleStraightLife(thisref chance);
                    
killer.StraightLife 0;//true
                    
if (Kernel.Rate(chance))
                    {
                        new 
MsgRefineEffect().SendEffect(thiskillereffect);
                    }
                }
                
#endregion
                #region CaptureTheFlag
                
if (killer.GuildID != && killer.MapID == CaptureTheFlag.MapID && CaptureTheFlag.IsWar)
                {
                    if (
GuildID != 0)
                    {
                        if (
killer.Owner.Guild.Enemy.ContainsKey(GuildID))
                            
killer.Owner.Guild.CTFPoints += 1;
                        else if (
killer.Owner.Guild.Ally.ContainsKey(GuildID))
                            
killer.Owner.Guild.CTFPoints += 1;
                    }
                    if (
ContainsFlag2(Network.GamePackets.Update.Flags2.CarryingFlag))
                    {
                        
StaticEntity entity = new StaticEntity((uint)(1000 Y), XYMapID);
                        
entity.DoFlag();
                        
Owner.Map.AddStaticEntity(entity);
                        
RemoveFlag2(Network.GamePackets.Update.Flags2.CarryingFlag);
                        
Owner.Send(Program.World.CTF.generateTimer(0));
                        
Owner.Send(Program.World.CTF.generateEffect(Owner));
                        if (
killer.GuildID != GuildID)
                        {
                            
Killer.AddFlag2(Network.GamePackets.Update.Flags2.CarryingFlag);
                            
Time32 end FlagStamp.AddSeconds(60) - Time32.Now;
                            
killer.FlagStamp end;
                            
killer.Owner.Send(Program.World.CTF.generateTimer((uint)end.Value));
                            
killer.Owner.Send(Program.World.CTF.generateEffect(killer.Owner));
                            
killer.Owner.Guild.CTFPoints += 3;
                        }
                    }
                }
                
#endregion
                #region Die Guild System
                
if (killer.EntityFlag == EntityFlag.Entity && EntityFlag == EntityFlag.Entity)
                {

                    if (
Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1015)
                    {
                        
Owner.Guild.pkp_donation += 2;
                        
Owner.Guild.pkp_donation -= 2;
                        foreach (var 
client in Kernel.GamePool.Values)
                        {
                            
client.Send(new Message("The " killer.Owner.AsMember.Rank " " killer.Name " of the Guild " killer.Owner.Guild.Name " has killed the " killer.Owner.AsMember.Rank " " Name " of the Guild " Owner.Guild.Name " at BirdIsland!"System.Drawing.Color.YellowNetwork.GamePackets.Message.Guild));
                        }
                    }
                    if (
Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1020)
                    {
                        
Owner.Guild.pkp_donation += 2;
                        
Owner.Guild.pkp_donation -= 2;
                        foreach (var 
client in Kernel.GamePool.Values)
                            
client.Send(new Message("The " killer.Owner.AsMember.Rank " " killer.Name " of the Guild " killer.Owner.Guild.Name " has killed the " killer.Owner.AsMember.Rank " " Name " of the Guild " Owner.Guild.Name " at ApeCity!"System.Drawing.Color.YellowNetwork.GamePackets.Message.Guild));
                    }
                    if (
Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1011)
                    {
                        
Owner.Guild.pkp_donation += 2;
                        
Owner.Guild.pkp_donation -= 2;
                        foreach (var 
client in Kernel.GamePool.Values)
                            
client.Send(new Message("The " killer.Owner.AsMember.Rank " " killer.Name " of the Guild " killer.Owner.Guild.Name " has killed the " killer.Owner.AsMember.Rank " " Name " of the Guild " Owner.Guild.Name " at PhoenixCastle!"System.Drawing.Color.YellowNetwork.GamePackets.Message.Guild));
                    }
                    if (
Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1000)
                    {
                        
Owner.Guild.pkp_donation += 2;
                        
Owner.Guild.pkp_donation -= 2;
                        foreach (var 
client in Kernel.GamePool.Values)
                            
client.Send(new Message("The " killer.Owner.AsMember.Rank " " killer.Name " of the Guild " killer.Owner.Guild.Name " has killed the " killer.Owner.AsMember.Rank " " Name " of the Guild " Owner.Guild.Name " at DesertCity!"System.Drawing.Color.YellowNetwork.GamePackets.Message.Guild));
                    }
                }
                
#endregion
                #region Booth
                
if (EntityFlag == EntityFlag.Entity)
                {
                    
Owner.XPCount 0;
                    if (
OnDeath != nullOnDeath(this);
                    if (
Owner.Booth != null)
                    {
                        
Owner.Booth.Remove();
                        
Owner.Booth null;
                    }
                }
                
#endregion               
                #region killerCountM

               
                
killer.CountKilling++;
                
killer.KillCount++;
                
killer.KillCount2++;
                
Killer killer;              
                
Hitpoints 0;
                
DeathStamp Time32.Now;
                
ToxicFogLeft 0;
                
#endregion
                #region Companion
                
if (Companion)
                {                   
                    if (
Hitpoints 1)
                    {
                        
Hitpoints 0;
                        
AddFlag((ulong)Network.GamePackets.Update.Flags.Ghost | (ulong)Network.GamePackets.Update.Flags.Dead | (ulong)Network.GamePackets.Update.Flags.FadeAway);
                        
Attack attackx = new Attack(true);
                        
attackx.Attacked UID;
                        
attackx.AttackType Network.GamePackets.Attack.Kill;
                        
attackx.X;
                        
attackx.Y;
                        
MonsterInfo.SendScreen(attackx);
                        
Owner.Map.RemoveEntity(this);
                        
Owner.Pet.RemovePet(pettype);
                    }
                }
                
#endregion                                
                
if (EntityFlag == EntityFlag.Entity)
                {
                    if (
killer.EntityFlag == EntityFlag.Entity)
                    {
                        if (
Constants.PKFreeMaps.Contains(killer.MapID))
                            goto 
Over;
                        if (
killer.Owner.Map.BaseID == 700)
                            goto 
Over;

                        if (((
killer.PKMode != Mr_Panda.Game.Enums.PKMode.Jiang) && (killer.PKMode != Mr_Panda.Game.Enums.PKMode.Guild) && (killer.PKMode != Mr_Panda.Game.Enums.PKMode.Revenge) && (!ContainsFlag(Network.GamePackets.Update.Flags.FlashingName) && !ContainsFlag(Network.GamePackets.Update.Flags.BlackName)) && !this.ContainsFlag(1L)) && !this.ContainsFlag(0x8000L))
                        {
                            
killer.AddFlag(Network.GamePackets.Update.Flags.FlashingName);
                            
killer.FlashingNameStamp Time32.Now;
                            
killer.FlashingNameTime 60;
                            if (
killer.GuildID != 0)
                            {
                                if (
killer.Owner.Guild.Enemy.ContainsKey(GuildID))
                                {
                                    
killer.PKPoints += 3;
                                    
killer.Cursed Time32.Now;
                                    
Update update = new Update(true) { UID killer.UID };
                                    
update.Append(Network.GamePackets.Update.CursedTimerUID);
                                    
killer.AddFlag(Network.GamePackets.Update.Flags.Cursed);
                                    
killer.Owner.Send(update.ToArray());
                                }
                                else
                                {
                                    if (!
killer.Owner.Enemy.ContainsKey(UID))
                                        
killer.PKPoints += 10;
                                    else
                                        
killer.PKPoints += 5;
                                    
killer.PKPoints += 3;
                                    
killer.Cursed Time32.Now;
                                    
Update update = new Update(true) { UID killer.UID };
                                    
update.Append(Network.GamePackets.Update.CursedTimerUID);
                                    
killer.AddFlag(Network.GamePackets.Update.Flags.Cursed);
                                    
killer.Owner.Send(update.ToArray());
                                }
                            }
                            else
                            {
                                if (!
killer.Owner.Enemy.ContainsKey(UID))
                                {
                                    
killer.PKPoints += 10;
                                }
                                else
                                {
                                    
killer.PKPoints += 5;
                                }
                                
killer.Cursed Time32.Now;
                                
Update update = new Update(true) { UID killer.UID };
                                
update.Append(Network.GamePackets.Update.CursedTimerUID);
                                
killer.AddFlag(Network.GamePackets.Update.Flags.Cursed);
                                
killer.Owner.Send(update.ToArray());
                            }

                            if (
killer.EntityFlag == Game.EntityFlag.Entity)
                            {
                                if (
EntityFlag == Game.EntityFlag.Entity)
                                {
                                    
Game.PkExpeliate pk = new Game.PkExpeliate();
                                    if (!
killer.PkExplorerValues.ContainsKey(UID))
                                    {
                                        
pk.UID killer.UID;
                                        
pk.killedUID UID;
                                        
pk.Name Name;
                                        
pk.KilledAt GetMapName(MapID);
                                        
pk.LostExp 0;
                                        
pk.Times 1;
                                        
pk.Potency = (uint)BattlePower;
                                        
pk.Level Level;
                                        
PkExpelTable.PkExploitAdd(killer.Ownerpk);
                                    }
                                    else
                                    {
                                        
pk.UID killer.UID;
                                        
pk.killedUID UID;
                                        
pk.Name Name;
                                        
pk.KilledAt GetMapName(MapID);
                                        
pk.LostExp 0;
                                        
killer.PkExplorerValues[UID].Times += 1;
                                        
pk.Times killer.PkExplorerValues[UID].Times;
                                        
pk.Potency = (uint)BattlePower;
                                        
pk.Level Level;
                                        
PkExpelTable.Update(killer.Ownerpk);
                                    }
                                }
                            }
                            
Network.PacketHandler.AddEnemy(this.Ownerkiller.Owner);
                        }
                        if (
killer.PKMode != Mr_Panda.Game.Enums.PKMode.Jiang)
                        {
                            if (
killer.EntityFlag == Mr_Panda.Game.EntityFlag.Entity)
                            {
                                if (
Kernel.Rate(50))
                                {
                                    
DropRandomStuff(Killer);
                                }
                            }
                        }
                    }
                }
            
Over:               
                
Network.GamePackets.Attack attack = new Attack(true);
                
attack.Attacker killer.UID;
                
attack.Attacked UID;
                
attack.AttackType Network.GamePackets.Attack.Kill;
                
attack.X;
                
attack.Y;

                if (
EntityFlag == EntityFlag.Entity)
                {
                    
AddFlag(Network.GamePackets.Update.Flags.Ghost);
                    
AddFlag(Network.GamePackets.Update.Flags.Dead);
                    
RemoveFlags();
                    
SpiritFocus false;
                    
#region Aura
                    
if (Aura_isActive)
                    {
                        
RemoveFlag2(Aura_actType);
                        
Owner.removeAuraBonuses(Aura_actTypeAura_actPower1);
                        
Aura_isActive false;
                        
AuraTime 0;
                        
Aura_actType 0;
                        
Aura_actPower 0;
                    }
                    
#endregion
                    
if (Body 10 3)
                        
TransformationID 99;
                    else
                        
TransformationID 98;
                    
Owner.SendScreen(attacktrue);
                    
Owner.Send(new MapStatus() { BaseID Owner.Map.BaseIDID Owner.Map.IDStatus Database.MapsTable.MapInformations[Owner.Map.ID].StatusWeather Database.MapsTable.MapInformations[Owner.Map.ID].Weather });

                    
Owner.EndQualifier();
                }
                else
                {                  
                    if (!
Companion && !IsDropped)
                        
MonsterInfo.Drop(killer);
                    
Kernel.Maps[MapID].Floor[XYMapObjTypethis] = true;
                    if (
killer.EntityFlag == EntityFlag.Entity)
                    {
                        
#region Team
                        
if (killer.Owner.Team != null)
                        {
                            
killer.Owner.IncreaseExperience(MaxHitpointstrue);
                            foreach (
Client.GameState teammate in killer.Owner.Team.Teammates)
                            {
                                if (
Kernel.GetDistance(killer.Xkiller.Yteammate.Player.Xteammate.Player.Y) <= Constants.pScreenDistance)
                                {
                                    if (
killer.UID != teammate.Player.UID)
                                    {
                                        
uint extraExperience MaxHitpoints 2;
                                        if (
killer.Spouse == teammate.Player.Name)
                                            
extraExperience MaxHitpoints 2;
                                        
byte TLevelN teammate.Player.Level;
                                        if (
killer.Owner.Team.CanGetNoobExperience(teammate))
                                        {
                                            if (
teammate.Player.Level 137)
                                            {
                                                
extraExperience *= 2;
                                                
teammate.IncreaseExperience(extraExperiencefalse);
                                                
teammate.Send(Constants.NoobTeamExperience(extraExperience));
                                            }
                                        }
                                        else
                                        {
                                            if (
teammate.Player.Level 137)
                                            {
                                                
teammate.IncreaseExperience(extraExperiencefalse);
                                                
teammate.Send(Constants.TeamExperience(extraExperience));
                                            }
                                        }
                                        
byte TLevelNn teammate.Player.Level;
                                        
byte newLevel = (byte)(TLevelNn TLevelN);
                                        if (
newLevel != 0)
                                        {
                                            if (
TLevelN 70)
                                            {
                                                for (
int i TLevelNTLevelNni++)
                                                {
                                                    
teammate.Team.Teammates[0].VirtuePoints += (uint)(3.83F);
                                                    
teammate.Team.SendMessage(new Message("The leader, " teammate.Team.Teammates[0].Player.Name ", has gained " + (uint)(7.7F) + " virtue points for power leveling the rookies."System.Drawing.Color.RedMessage.Team));
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                        
#endregion
                        
if (killer.OnKOSpell())
                            
killer.KOSpellTime++;
                        else 
killer.Owner.XPCount++;
                    }
                }
                if (
EntityFlag == EntityFlag.Entity)
                    if (
OnDeath != nullOnDeath(this);
            }
            catch (
Exception e)
            {
                
Console.WriteLine(e);
            }
        } 



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



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

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

المواضيع المتشابهه للموضوع: اذاي اخلي الاكونت اول ما يموت ميتحولش شبح علي طول يقع الاول uncelsam
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
اذاي اخلي الجارد يلبس سلاحين و يبقي شكل الاكونت العادي Tefa تطوير سيرفرات كونكر 9 2022-04-06 04:53 PM
اذاي اخلي الواتر يموت من ٤ او ٥ سمير تطوير سيرفرات كونكر 0 2021-09-18 08:09 PM
عاوز اول ما الاكونت يموت يصحي علي طول Mr3bdallahPro مشكلات السيرفيرات كونكر الشخصيه 4 2020-05-02 03:47 PM
مشكلة الاج الخفيف لما الاكونت يموت MRonlineGvrix مشكلات السيرفيرات كونكر الشخصيه 4 2020-02-29 01:37 PM
اذاي اخلي اي ايتم تترد ؟؟؟ Tefa تطوير سيرفرات كونكر 8 2019-07-12 01:03 PM


الساعة الآن 06:51 AM

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