المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : الانيمي جيلد بتاع تيم اكسور


محمد ياسر
2019-06-28, 07:50 PM
السلام عليكم ورحمة الله وبركاته
سستم الاينمي جيلد ده موضوع كان موجود علي تيم اكسور وموضوع جميل جدا بالنسبة لجيلد
السيستم عباره عن لو انت في جيلد و واحد تاني في جيلد و اي حد موت التاني بيكتب على سيرفر
ان ده موت ده في مكان كذا الاف 6 مثلا
نشوف الصور الاول
دي صوره و بين الجليدين الاينمي

عفواً لايمكن عرض الروابط في الإرشيف

دي اكونت تالت خالص في التون و بيكتب على السيستم ان مين قتل مين في مكان كذا

عفواً لايمكن عرض الروابط في الإرشيف

ندخل على شرح تركيب السيستم

اولا ندخل على
Entity.cs

بعد كده نبحث عن
public void Die(Entity killer)//just replace this whole void for die delay
{

نحط الكود ده تحت القوس
#region Die Guild System
if (killer.EntityFlag == EntityFlag.Player && EntityFlag == EntityFlag.Player)
{

if (Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1015)
{
Owner.Guild.pkp_donation += 2;
Owner.Guild.pkp_donation -= 2;
killer.Money += 20;
ServerBase.Kernel.SendWorldMessage(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.Yellow, Network.GamePackets.Message.Guild), ServerBase.Kernel.GamePool.Values);
}
if (Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1020)
{
Owner.Guild.pkp_donation += 2;
Owner.Guild.pkp_donation -= 2;
killer.Money += 20;
ServerBase.Kernel.SendWorldMessage(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.Yellow, Network.GamePackets.Message.Guild), ServerBase.Kernel.GamePool.Values);
}
if (Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1011)
{
Owner.Guild.pkp_donation += 2;
Owner.Guild.pkp_donation -= 2;
killer.Money += 20;
ServerBase.Kernel.SendWorldMessage(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.Yellow, Network.GamePackets.Message.Guild), ServerBase.Kernel.GamePool.Values);
}
if (Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1000)
{
Owner.Guild.pkp_donation += 2;
Owner.Guild.pkp_donation -= 2;
killer.Money += 20;
ServerBase.Kernel.SendWorldMessage(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.Yellow, Network.GamePackets.Message.Guild), ServerBase.Kernel.GamePool.Values);
}
if (Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1001)
{
Owner.Guild.pkp_donation += 2;
Owner.Guild.pkp_donation -= 2;
killer.Money += 20;
ServerBase.Kernel.SendWorldMessage(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 MysticCastle!", System.Drawing.Color.Yellow, Network.GamePackets.Message.Guild), ServerBase.Kernel.GamePool.Values);
}
if (Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 1762)
{
Owner.Guild.pkp_donation += 2;
Owner.Guild.pkp_donation -= 2;
killer.Money += 20;
ServerBase.Kernel.SendWorldMessage(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 FrozenGrotto 2!", System.Drawing.Color.Yellow, Network.GamePackets.Message.Guild), ServerBase.Kernel.GamePool.Values);
}
if (Owner.Guild != null && killer.Owner.Guild != null && Owner.Map.ID == 2056)
{
Owner.Guild.pkp_donation += 2;
Owner.Guild.pkp_donation -= 2;
killer.Money += 20;
ServerBase.Kernel.SendWorldMessage(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 FrozenGrotto 6!", System.Drawing.Color.Yellow, Network.GamePackets.Message.Guild), ServerBase.Kernel.GamePool.Values);
}
}
#endregion


وكده خلص وعيشوا انتم بقا مع السستم

TiTo1
2020-04-10, 06:48 PM
عاش