مشاهدة النسخة كاملة : مشكله في اضافه ابجريد 3d
TiTo1
2020-02-07, 11:57 PM
حل يا رجاله اضافه ابجريد 3d
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
صاحب السعادة
2020-02-08, 02:43 AM
انت نوع سورس بتاعك عادى ولا مسج
TiTo1
2020-02-08, 03:21 AM
عادي
public void AddClone(string Name, ushort cloneid)
{
var Entity = new Entity(EntityFlag.Monster, true);
Entity.Owner = Owner;
Entity.MonsterInfo = new MonsterInformation();
MonsterInformation.MonsterInformations.TryGetValue (9003, out Entity.MonsterInfo);
Entity.MonsterInfo.Owner = Entity;
Entity.ClanName = this.Name;
Entity.Name = Name;
Entity.NobilityRank = NobilityRank;
Entity.HairStyle = HairStyle;
Entity.HairColor = HairColor;
Entity.EquipmentColor = EquipmentColor;
Entity.IsClone = true;
Entity.AddFlag(MsgUpdate.Flags.Invisibility, 10000000, false);
Entity.Appearance = Appearance;
Entity.HeadId = HeadId;
Entity.GarmentId = GarmentId;
Entity.ArmorId = ArmorId;
Entity.LeftWeaponId = LeftWeaponId;
Entity.RightWeaponId = RightWeaponId;
Entity.LeftWeaponAccessoryId =LeftWeaponAccessoryId;
Entity.RightWeaponAccessoryId = RightWeaponAccessoryId;
Entity.MinAttack = MinAttack;
Entity.MaxAttack = Entity.MagicAttack = Math.Max(MinAttack, MaxAttack);
Entity.Hitpoints = Entity.MaxHitpoints = Hitpoints;
Entity.Body = Body;
Entity.UID = 703400 + Owner.Map.CloneCounter.Next;
Entity.OwnerUID = Owner.Entity.UID;
Entity.OwnerCount = 2;
Entity.OwnerFlag = cloneid;
Entity.MapID = Owner.Map.ID;
Entity.SendUpdates = true;
Entity.X = Owner.Entity.X;
Entity.Y = Owner.Entity.Y;
MyClones.Add(Entity.UID, Entity);
Entity.SendSpawn(Owner);
// Write(StatusFlag, _StatusFlag, Entity.SpawnPacket);
Entity.UpdateFlagOffset();
Owner.SendScreenSpawn(Entity, false);
_String stringPacket = new _String(true);
stringPacket.UID = Entity.UID;
stringPacket.Type = _String.Effect;
stringPacket.Texts.Add("replaceappear");
Owner.SendScreen(stringPacket);
}
امسح دول و حط ده
TiTo1
2020-02-11, 08:42 PM
public void AddClone(string Name, ushort cloneid)
{
var Entity = new Entity(EntityFlag.Monster, true);
Entity.Owner = Owner;
Entity.MonsterInfo = new MonsterInformation();
MonsterInformation.MonsterInformations.TryGetValue (9003, out Entity.MonsterInfo);
Entity.MonsterInfo.Owner = Entity;
Entity.ClanName = this.Name;
Entity.Name = Name;
Entity.NobilityRank = NobilityRank;
Entity.HairStyle = HairStyle;
Entity.HairColor = HairColor;
Entity.EquipmentColor = EquipmentColor;
Entity.IsClone = true;
Entity.AddFlag(MsgUpdate.Flags.Invisibility, 10000000, false);
Entity.Appearance = Appearance;
Entity.HeadId = HeadId;
Entity.GarmentId = GarmentId;
Entity.ArmorId = ArmorId;
Entity.LeftWeaponId = LeftWeaponId;
Entity.RightWeaponId = RightWeaponId;
Entity.LeftWeaponAccessoryId =LeftWeaponAccessoryId;
Entity.RightWeaponAccessoryId = RightWeaponAccessoryId;
Entity.MinAttack = MinAttack;
Entity.MaxAttack = Entity.MagicAttack = Math.Max(MinAttack, MaxAttack);
Entity.Hitpoints = Entity.MaxHitpoints = Hitpoints;
Entity.Body = Body;
Entity.UID = 703400 + Owner.Map.CloneCounter.Next;
Entity.OwnerUID = Owner.Entity.UID;
Entity.OwnerCount = 2;
Entity.OwnerFlag = cloneid;
Entity.MapID = Owner.Map.ID;
Entity.SendUpdates = true;
Entity.X = Owner.Entity.X;
Entity.Y = Owner.Entity.Y;
MyClones.Add(Entity.UID, Entity);
Entity.SendSpawn(Owner);
// Write(StatusFlag, _StatusFlag, Entity.SpawnPacket);
Entity.UpdateFlagOffset();
Owner.SendScreenSpawn(Entity, false);
_String stringPacket = new _String(true);
stringPacket.UID = Entity.UID;
stringPacket.Type = _String.Effect;
stringPacket.Texts.Add("replaceappear");
Owner.SendScreen(stringPacket);
}
امسح دول و حط ده
شكرا
TiTo1
2020-02-11, 10:45 PM
public void AddClone(string Name, ushort cloneid)
{
var Entity = new Entity(EntityFlag.Monster, true);
Entity.Owner = Owner;
Entity.MonsterInfo = new MonsterInformation();
MonsterInformation.MonsterInformations.TryGetValue (9003, out Entity.MonsterInfo);
Entity.MonsterInfo.Owner = Entity;
Entity.ClanName = this.Name;
Entity.Name = Name;
Entity.NobilityRank = NobilityRank;
Entity.HairStyle = HairStyle;
Entity.HairColor = HairColor;
Entity.EquipmentColor = EquipmentColor;
Entity.IsClone = true;
Entity.AddFlag(MsgUpdate.Flags.Invisibility, 10000000, false);
Entity.Appearance = Appearance;
Entity.HeadId = HeadId;
Entity.GarmentId = GarmentId;
Entity.ArmorId = ArmorId;
Entity.LeftWeaponId = LeftWeaponId;
Entity.RightWeaponId = RightWeaponId;
Entity.LeftWeaponAccessoryId =LeftWeaponAccessoryId;
Entity.RightWeaponAccessoryId = RightWeaponAccessoryId;
Entity.MinAttack = MinAttack;
Entity.MaxAttack = Entity.MagicAttack = Math.Max(MinAttack, MaxAttack);
Entity.Hitpoints = Entity.MaxHitpoints = Hitpoints;
Entity.Body = Body;
Entity.UID = 703400 + Owner.Map.CloneCounter.Next;
Entity.OwnerUID = Owner.Entity.UID;
Entity.OwnerCount = 2;
Entity.OwnerFlag = cloneid;
Entity.MapID = Owner.Map.ID;
Entity.SendUpdates = true;
Entity.X = Owner.Entity.X;
Entity.Y = Owner.Entity.Y;
MyClones.Add(Entity.UID, Entity);
Entity.SendSpawn(Owner);
// Write(StatusFlag, _StatusFlag, Entity.SpawnPacket);
Entity.UpdateFlagOffset();
Owner.SendScreenSpawn(Entity, false);
_String stringPacket = new _String(true);
stringPacket.UID = Entity.UID;
stringPacket.Type = _String.Effect;
stringPacket.Texts.Add("replaceappear");
Owner.SendScreen(stringPacket);
}
امسح دول و حط ده
جالي كده
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
عفواً لايمكن عرض الروابط في الإرشيف (عفواً لايمكن عرض الروابط في الإرشيف)
vBulletin® v3.8.8 Beta 1, Copyright ©2000-2024, TranZ by code