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

مشاهدة النسخة كاملة : حل مشكلة لما بتنزل ريبورن الاسكلات بتفضل معاك[بروتو]


Tefa
2020-03-09, 02:15 PM
سيرش public unsafe void Reborn(Game.Entity player, byte RebornClass, ServerSockets.Packet stream)
قبل اخر قوس تحت خالص ضيف
#region rem r i d e r
using (var rec = new ServerSockets.RecycledPacket())
{
var saw = rec.GetStream();
{
#region test ruen remove

foreach (var item in player.Owner.Entity.RuneItem.Values)
{
if (item.Position >= 100 || item.Position <= 125)
{

item.Position = (ushort)211;
player.Owner.Entity.RuneItem[item.UID].Position = (ushort)211;
ConquerItemTable.UpdatePosition(item);
player.Owner.Send(item);

if (player.Owner.MySpells.ClientSpells.ContainsKey((u short)(uint)(RuneItems.RuneSkillID(item.ID) / 100)))
player.Owner.MySpells.Remove((ushort)(ushort)(uint )(RuneItems.RuneSkillID(item.ID) / 100), null);
ItemUsage usage = new ItemUsage(true) { ID = ItemUsage.UnequipItem };
//test
usage.UID = item.Position;
player.Owner.Send(usage);

}

}
#endregion
#region runes
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 250))
{
player.Owner.MySpells.Remove(14250, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 440))
{
player.Owner.MySpells.Remove(14440, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 410))
{
player.Owner.MySpells.Remove(14410, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(12 50))
{
player.Owner.MySpells.Remove(1250, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 530))
{
player.Owner.MySpells.Remove(14530, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 260))
{
player.Owner.MySpells.Remove(14260, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(15 780))
{
player.Owner.MySpells.Remove(15780, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 380))
{
player.Owner.MySpells.Remove(14380, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(11 180))
{
player.Owner.MySpells.Remove(11180, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 220))
{
player.Owner.MySpells.Remove(14220, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 160))
{
player.Owner.MySpells.Remove(14160, saw);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 160))
{
player.Owner.MySpells.Remove(14160, saw);

}
#endregion
#region tr
if (player.Owner.Entity.Class > 15 || player.Owner.Entity.Class < 10)
{

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 986))
{
player.Owner.MySpells.Remove(11986, saw);

}



if (player.Owner.MySpells.ClientSpells.ContainsKey(11 990))
{
player.Owner.MySpells.Remove(11990, stream);

}

if (player.Owner.MySpells.ClientSpells.ContainsKey(13 440))
{
player.Owner.MySpells.Remove(13440, stream);

}


if (player.Owner.MySpells.ClientSpells.ContainsKey(11 960))
{
player.Owner.MySpells.Remove(11960, stream);

}
if (player.Owner.MySpells.ClientSpells.ContainsKey(12 50))
{
player.Owner.MySpells.Remove(1250, stream);

}


}
#endregion
#region mo
if (player.Owner.Entity.Class > 65 || player.Owner.Entity.Class < 60)
{

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 550))
{
player.Owner.MySpells.Remove(12550, stream);

}

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 560))
{
player.Owner.MySpells.Remove(12560, stream);

}

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 570))
{
player.Owner.MySpells.Remove(12570, stream);

}

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 160))
{
player.Owner.MySpells.Remove(14160, stream);

}




if (player.Owner.MySpells.ClientSpells.ContainsKey(10 490))
{
player.Owner.MySpells.Remove(10490, stream);

}




if (player.Owner.MySpells.ClientSpells.ContainsKey(10 425))
{
player.Owner.MySpells.Remove(10425, stream);

}




if (player.Owner.MySpells.ClientSpells.ContainsKey(10 425))
player.Owner.MySpells.Remove(10425, stream);



if (player.Owner.MySpells.ClientSpells.ContainsKey(10 420))
player.Owner.MySpells.Remove(10420, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 421))
player.Owner.MySpells.Remove(10421, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 422))
player.Owner.MySpells.Remove(10422, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 423))
player.Owner.MySpells.Remove(10423, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 424))
player.Owner.MySpells.Remove(10424, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 405))
player.Owner.MySpells.Remove(10405, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 410))
player.Owner.MySpells.Remove(10410, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 415))
player.Owner.MySpells.Remove(10415, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 395))
player.Owner.MySpells.Remove(10395, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(10 381))
player.Owner.MySpells.Remove(10381, stream);

}
#endregion
#region nin
if (player.Owner.Entity.Class > 55 || player.Owner.Entity.Class < 50)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(60 11))
player.Owner.MySpells.Remove(6011, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(60 03))
player.Owner.MySpells.Remove(6003, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(60 02))
player.Owner.MySpells.Remove(6002, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(60 10))
player.Owner.MySpells.Remove(6010, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(60 00))
player.Owner.MySpells.Remove(6000, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 070))
player.Owner.MySpells.Remove(12070, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 080))
player.Owner.MySpells.Remove(12080, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 090))
player.Owner.MySpells.Remove(12090, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(60 04))
player.Owner.MySpells.Remove(6004, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 170))
player.Owner.MySpells.Remove(11170, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 180))
player.Owner.MySpells.Remove(11180, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 110))
player.Owner.MySpells.Remove(12110, stream);
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 410))
player.Owner.MySpells.Remove(14410, stream);


}
#endregion
#region ar
if (player.Owner.Entity.Class > 45 || player.Owner.Entity.Class < 40)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(11 670))
player.Owner.MySpells.Remove(11670, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 280))
player.Owner.MySpells.Remove(14280, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 660))
player.Owner.MySpells.Remove(11660, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 650))
player.Owner.MySpells.Remove(11650, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 620))
player.Owner.MySpells.Remove(11620, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 610))
player.Owner.MySpells.Remove(11610, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 600))
player.Owner.MySpells.Remove(11600, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 590))
player.Owner.MySpells.Remove(11590, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(80 00))
player.Owner.MySpells.Remove(8000, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(80 01))
player.Owner.MySpells.Remove(8001, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(80 03))
player.Owner.MySpells.Remove(8003, stream);
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 380))
player.Owner.MySpells.Remove(14380, stream);



}
#endregion
#region w
if (player.Owner.Entity.Class > 25 || player.Owner.Entity.Class < 20)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(12 700))
player.Owner.MySpells.Remove(12700, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 690))
player.Owner.MySpells.Remove(12690, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 680))
player.Owner.MySpells.Remove(12680, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 670))
player.Owner.MySpells.Remove(12670, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 660))
player.Owner.MySpells.Remove(12660, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 270))
player.Owner.MySpells.Remove(14270, stream);

}
#endregion
#region wt
if (player.Owner.Entity.Class > 135 || player.Owner.Entity.Class < 130)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(11 75))
player.Owner.MySpells.Remove(1175, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 320))
player.Owner.MySpells.Remove(14320, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 500))
player.Owner.MySpells.Remove(14500, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 70))
player.Owner.MySpells.Remove(1170, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 390))
player.Owner.MySpells.Remove(12390, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 370))
player.Owner.MySpells.Remove(12370, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(30 000))
player.Owner.MySpells.Remove(30000, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 00))
player.Owner.MySpells.Remove(1100, stream);

}
#endregion
#region ft
if (player.Owner.Entity.Class > 145 || player.Owner.Entity.Class < 140)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(10 02))
player.Owner.MySpells.Remove(1002, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 80))
player.Owner.MySpells.Remove(1180, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 65))
player.Owner.MySpells.Remove(1165, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 60))
player.Owner.MySpells.Remove(1160, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 50))
player.Owner.MySpells.Remove(1150, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 20))
player.Owner.MySpells.Remove(1120, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 400))
player.Owner.MySpells.Remove(12400, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 380))
player.Owner.MySpells.Remove(12380, stream);
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 220))
player.Owner.MySpells.Remove(14220, stream);
}
#endregion
#region pi
if (player.Owner.Entity.Class > 75 || player.Owner.Entity.Class < 70)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(11 030))
player.Owner.MySpells.Remove(11030, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(11 110))
player.Owner.MySpells.Remove(11110, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 710))
player.Owner.MySpells.Remove(14710, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 680))
player.Owner.MySpells.Remove(14680, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 720))
player.Owner.MySpells.Remove(14720, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 270))
player.Owner.MySpells.Remove(14270, stream);
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 250))
player.Owner.MySpells.Remove(14250, stream);
if (player.Owner.MySpells.ClientSpells.ContainsKey(14 440))
player.Owner.MySpells.Remove(14440, stream);

}
#endregion
#region DW
if (player.Owner.Entity.Class > 85 || player.Owner.Entity.Class < 80)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(12 300))
player.Owner.MySpells.Remove(12300, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(14 470))
player.Owner.MySpells.Remove(14470, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 120))
player.Owner.MySpells.Remove(12120, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 130))
player.Owner.MySpells.Remove(12130, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 140))
player.Owner.MySpells.Remove(12140, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 160))
player.Owner.MySpells.Remove(12160, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 170))
player.Owner.MySpells.Remove(12170, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 200))
player.Owner.MySpells.Remove(12200, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 240))
player.Owner.MySpells.Remove(12240, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 350))
player.Owner.MySpells.Remove(12350, stream);


}
#endregion
#region ww
if (player.Owner.Entity.Class > 165 || player.Owner.Entity.Class < 160)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(12 980))
player.Owner.MySpells.Remove(12980, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 940))
player.Owner.MySpells.Remove(12940, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 950))
player.Owner.MySpells.Remove(12950, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 930))
player.Owner.MySpells.Remove(12930, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 990))
player.Owner.MySpells.Remove(12990, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 960))
player.Owner.MySpells.Remove(12960, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(13 000))
player.Owner.MySpells.Remove(13000, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(13 030))
player.Owner.MySpells.Remove(13030, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(13 020))
player.Owner.MySpells.Remove(13020, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 890))
player.Owner.MySpells.Remove(12890, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(13 090))
player.Owner.MySpells.Remove(13090, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 850))
player.Owner.MySpells.Remove(12850, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 840))
player.Owner.MySpells.Remove(12840, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 970))
player.Owner.MySpells.Remove(12970, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(13 080))
player.Owner.MySpells.Remove(13080, stream);


if (player.Owner.MySpells.ClientSpells.ContainsKey(12 860))
player.Owner.MySpells.Remove(12860, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(12 870))
player.Owner.MySpells.Remove(12870, stream);

}
#endregion
#region pi
if (player.Owner.Entity.Class > 95 || player.Owner.Entity.Class < 90)
{
if (player.Owner.MySpells.ClientSpells.ContainsKey(15 790))
player.Owner.MySpells.Remove(15790, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(15 750))
player.Owner.MySpells.Remove(15750, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(15 780))
player.Owner.MySpells.Remove(15780, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(15 720))
player.Owner.MySpells.Remove(15720, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(15 710))
player.Owner.MySpells.Remove(15710, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(15 800))
player.Owner.MySpells.Remove(15800, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(15 810))
player.Owner.MySpells.Remove(15810, stream);

if (player.Owner.MySpells.ClientSpells.ContainsKey(15 770))
player.Owner.MySpells.Remove(15770, stream);

}


#endregion
}
}
#endregion
افتح spell.cs
سيرش
public unsafe void Remove(ushort ID, ServerSockets.Packet stream)
اقفلها و بدلها ب دي
public unsafe void Remove(ushort ID, ServerSockets.Packet stream)
{
Game.MsgServer.MsgSpell my_spell;
if (ClientSpells.TryRemove(ID, out my_spell))
{
MsgActionProto Action = new MsgActionProto();
Action.UID = Owner.Entity.UID;
Action.dwParam = ID;
Action.TimeStamp = (uint)Time32.Now.GetHashCode();
Action.ID =MsgActionEmulator.RemoveSpell;
Owner.Send(MsgActionEmulator.SendPacket(Action));
}
}
ارمي ده في databaase
عفواً لايمكن عرض الروابط في الإرشيف
لينك تاني عشان لو الي فوق مش شغال
عفواً لايمكن عرض الروابط في الإرشيف

ابو حمزه9
2020-03-09, 02:23 PM
عاش

محمد ياسر
2020-03-09, 04:56 PM
عاش والله

Mo Ali
2020-03-09, 06:32 PM
good

bosha1
2020-03-09, 09:05 PM
عاش ي رايق

AliNasser
2020-03-09, 09:06 PM
تسلم

Tefa
2020-03-09, 09:10 PM
تسلموا <3

megokarika
2020-03-09, 09:20 PM
thx

megokarika
2020-03-09, 09:23 PM
سيرش public unsafe void reborn(game.entity player, byte rebornclass, serversockets.packet stream)
قبل اخر قوس تحت خالص ضيف
#region rem r i d e r
using (var rec = new serversockets.recycledpacket())
{
var saw = rec.getstream();
{
#region test ruen remove

foreach (var item in player.owner.entity.runeitem.values)
{
if (item.position >= 100 || item.position <= 125)
{

item.position = (ushort)211;
player.owner.entity.runeitem[item.uid].position = (ushort)211;
conqueritemtable.updateposition(item);
player.owner.send(item);

if (player.owner.myspells.clientspells.containskey((u short)(uint)(runeitems.runeskillid(item.id) / 100)))
player.owner.myspells.remove((ushort)(ushort)(uint )(runeitems.runeskillid(item.id) / 100), null);
itemusage usage = new itemusage(true) { id = itemusage.unequipitem };
//test
usage.uid = item.position;
player.owner.send(usage);

}

}
#endregion
#region runes
if (player.owner.myspells.clientspells.containskey(14 250))
{
player.owner.myspells.remove(14250, saw);

}
if (player.owner.myspells.clientspells.containskey(14 440))
{
player.owner.myspells.remove(14440, saw);

}
if (player.owner.myspells.clientspells.containskey(14 410))
{
player.owner.myspells.remove(14410, saw);

}
if (player.owner.myspells.clientspells.containskey(12 50))
{
player.owner.myspells.remove(1250, saw);

}
if (player.owner.myspells.clientspells.containskey(14 530))
{
player.owner.myspells.remove(14530, saw);

}
if (player.owner.myspells.clientspells.containskey(14 260))
{
player.owner.myspells.remove(14260, saw);

}
if (player.owner.myspells.clientspells.containskey(15 780))
{
player.owner.myspells.remove(15780, saw);

}
if (player.owner.myspells.clientspells.containskey(14 380))
{
player.owner.myspells.remove(14380, saw);

}
if (player.owner.myspells.clientspells.containskey(11 180))
{
player.owner.myspells.remove(11180, saw);

}
if (player.owner.myspells.clientspells.containskey(14 220))
{
player.owner.myspells.remove(14220, saw);

}
if (player.owner.myspells.clientspells.containskey(14 160))
{
player.owner.myspells.remove(14160, saw);

}
if (player.owner.myspells.clientspells.containskey(14 160))
{
player.owner.myspells.remove(14160, saw);

}
#endregion
#region tr
if (player.owner.entity.class > 15 || player.owner.entity.class < 10)
{

if (player.owner.myspells.clientspells.containskey(11 986))
{
player.owner.myspells.remove(11986, saw);

}



if (player.owner.myspells.clientspells.containskey(11 990))
{
player.owner.myspells.remove(11990, stream);

}

if (player.owner.myspells.clientspells.containskey(13 440))
{
player.owner.myspells.remove(13440, stream);

}


if (player.owner.myspells.clientspells.containskey(11 960))
{
player.owner.myspells.remove(11960, stream);

}
if (player.owner.myspells.clientspells.containskey(12 50))
{
player.owner.myspells.remove(1250, stream);

}


}
#endregion
#region mo
if (player.owner.entity.class > 65 || player.owner.entity.class < 60)
{

if (player.owner.myspells.clientspells.containskey(12 550))
{
player.owner.myspells.remove(12550, stream);

}

if (player.owner.myspells.clientspells.containskey(12 560))
{
player.owner.myspells.remove(12560, stream);

}

if (player.owner.myspells.clientspells.containskey(12 570))
{
player.owner.myspells.remove(12570, stream);

}

if (player.owner.myspells.clientspells.containskey(14 160))
{
player.owner.myspells.remove(14160, stream);

}




if (player.owner.myspells.clientspells.containskey(10 490))
{
player.owner.myspells.remove(10490, stream);

}




if (player.owner.myspells.clientspells.containskey(10 425))
{
player.owner.myspells.remove(10425, stream);

}




if (player.owner.myspells.clientspells.containskey(10 425))
player.owner.myspells.remove(10425, stream);



if (player.owner.myspells.clientspells.containskey(10 420))
player.owner.myspells.remove(10420, stream);

if (player.owner.myspells.clientspells.containskey(10 421))
player.owner.myspells.remove(10421, stream);

if (player.owner.myspells.clientspells.containskey(10 422))
player.owner.myspells.remove(10422, stream);

if (player.owner.myspells.clientspells.containskey(10 423))
player.owner.myspells.remove(10423, stream);

if (player.owner.myspells.clientspells.containskey(10 424))
player.owner.myspells.remove(10424, stream);

if (player.owner.myspells.clientspells.containskey(10 405))
player.owner.myspells.remove(10405, stream);

if (player.owner.myspells.clientspells.containskey(10 410))
player.owner.myspells.remove(10410, stream);

if (player.owner.myspells.clientspells.containskey(10 415))
player.owner.myspells.remove(10415, stream);

if (player.owner.myspells.clientspells.containskey(10 395))
player.owner.myspells.remove(10395, stream);

if (player.owner.myspells.clientspells.containskey(10 381))
player.owner.myspells.remove(10381, stream);

}
#endregion
#region nin
if (player.owner.entity.class > 55 || player.owner.entity.class < 50)
{
if (player.owner.myspells.clientspells.containskey(60 11))
player.owner.myspells.remove(6011, stream);

if (player.owner.myspells.clientspells.containskey(60 03))
player.owner.myspells.remove(6003, stream);

if (player.owner.myspells.clientspells.containskey(60 02))
player.owner.myspells.remove(6002, stream);

if (player.owner.myspells.clientspells.containskey(60 10))
player.owner.myspells.remove(6010, stream);

if (player.owner.myspells.clientspells.containskey(60 00))
player.owner.myspells.remove(6000, stream);

if (player.owner.myspells.clientspells.containskey(12 070))
player.owner.myspells.remove(12070, stream);

if (player.owner.myspells.clientspells.containskey(12 080))
player.owner.myspells.remove(12080, stream);

if (player.owner.myspells.clientspells.containskey(12 090))
player.owner.myspells.remove(12090, stream);

if (player.owner.myspells.clientspells.containskey(60 04))
player.owner.myspells.remove(6004, stream);

if (player.owner.myspells.clientspells.containskey(11 170))
player.owner.myspells.remove(11170, stream);

if (player.owner.myspells.clientspells.containskey(11 180))
player.owner.myspells.remove(11180, stream);

if (player.owner.myspells.clientspells.containskey(12 110))
player.owner.myspells.remove(12110, stream);
if (player.owner.myspells.clientspells.containskey(14 410))
player.owner.myspells.remove(14410, stream);


}
#endregion
#region ar
if (player.owner.entity.class > 45 || player.owner.entity.class < 40)
{
if (player.owner.myspells.clientspells.containskey(11 670))
player.owner.myspells.remove(11670, stream);

if (player.owner.myspells.clientspells.containskey(14 280))
player.owner.myspells.remove(14280, stream);

if (player.owner.myspells.clientspells.containskey(11 660))
player.owner.myspells.remove(11660, stream);

if (player.owner.myspells.clientspells.containskey(11 650))
player.owner.myspells.remove(11650, stream);

if (player.owner.myspells.clientspells.containskey(11 620))
player.owner.myspells.remove(11620, stream);

if (player.owner.myspells.clientspells.containskey(11 610))
player.owner.myspells.remove(11610, stream);

if (player.owner.myspells.clientspells.containskey(11 600))
player.owner.myspells.remove(11600, stream);

if (player.owner.myspells.clientspells.containskey(11 590))
player.owner.myspells.remove(11590, stream);

if (player.owner.myspells.clientspells.containskey(80 00))
player.owner.myspells.remove(8000, stream);

if (player.owner.myspells.clientspells.containskey(80 01))
player.owner.myspells.remove(8001, stream);

if (player.owner.myspells.clientspells.containskey(80 03))
player.owner.myspells.remove(8003, stream);
if (player.owner.myspells.clientspells.containskey(14 380))
player.owner.myspells.remove(14380, stream);



}
#endregion
#region w
if (player.owner.entity.class > 25 || player.owner.entity.class < 20)
{
if (player.owner.myspells.clientspells.containskey(12 700))
player.owner.myspells.remove(12700, stream);

if (player.owner.myspells.clientspells.containskey(12 690))
player.owner.myspells.remove(12690, stream);

if (player.owner.myspells.clientspells.containskey(12 680))
player.owner.myspells.remove(12680, stream);

if (player.owner.myspells.clientspells.containskey(12 670))
player.owner.myspells.remove(12670, stream);

if (player.owner.myspells.clientspells.containskey(12 660))
player.owner.myspells.remove(12660, stream);

if (player.owner.myspells.clientspells.containskey(14 270))
player.owner.myspells.remove(14270, stream);

}
#endregion
#region wt
if (player.owner.entity.class > 135 || player.owner.entity.class < 130)
{
if (player.owner.myspells.clientspells.containskey(11 75))
player.owner.myspells.remove(1175, stream);

if (player.owner.myspells.clientspells.containskey(14 320))
player.owner.myspells.remove(14320, stream);

if (player.owner.myspells.clientspells.containskey(14 500))
player.owner.myspells.remove(14500, stream);

if (player.owner.myspells.clientspells.containskey(11 70))
player.owner.myspells.remove(1170, stream);

if (player.owner.myspells.clientspells.containskey(12 390))
player.owner.myspells.remove(12390, stream);

if (player.owner.myspells.clientspells.containskey(12 370))
player.owner.myspells.remove(12370, stream);

if (player.owner.myspells.clientspells.containskey(30 000))
player.owner.myspells.remove(30000, stream);

if (player.owner.myspells.clientspells.containskey(11 00))
player.owner.myspells.remove(1100, stream);

}
#endregion
#region ft
if (player.owner.entity.class > 145 || player.owner.entity.class < 140)
{
if (player.owner.myspells.clientspells.containskey(10 02))
player.owner.myspells.remove(1002, stream);

if (player.owner.myspells.clientspells.containskey(11 80))
player.owner.myspells.remove(1180, stream);

if (player.owner.myspells.clientspells.containskey(11 65))
player.owner.myspells.remove(1165, stream);

if (player.owner.myspells.clientspells.containskey(11 60))
player.owner.myspells.remove(1160, stream);

if (player.owner.myspells.clientspells.containskey(11 50))
player.owner.myspells.remove(1150, stream);

if (player.owner.myspells.clientspells.containskey(11 20))
player.owner.myspells.remove(1120, stream);

if (player.owner.myspells.clientspells.containskey(12 400))
player.owner.myspells.remove(12400, stream);

if (player.owner.myspells.clientspells.containskey(12 380))
player.owner.myspells.remove(12380, stream);
if (player.owner.myspells.clientspells.containskey(14 220))
player.owner.myspells.remove(14220, stream);
}
#endregion
#region pi
if (player.owner.entity.class > 75 || player.owner.entity.class < 70)
{
if (player.owner.myspells.clientspells.containskey(11 030))
player.owner.myspells.remove(11030, stream);

if (player.owner.myspells.clientspells.containskey(11 110))
player.owner.myspells.remove(11110, stream);

if (player.owner.myspells.clientspells.containskey(14 710))
player.owner.myspells.remove(14710, stream);

if (player.owner.myspells.clientspells.containskey(14 680))
player.owner.myspells.remove(14680, stream);

if (player.owner.myspells.clientspells.containskey(14 720))
player.owner.myspells.remove(14720, stream);

if (player.owner.myspells.clientspells.containskey(14 270))
player.owner.myspells.remove(14270, stream);
if (player.owner.myspells.clientspells.containskey(14 250))
player.owner.myspells.remove(14250, stream);
if (player.owner.myspells.clientspells.containskey(14 440))
player.owner.myspells.remove(14440, stream);

}
#endregion
#region dw
if (player.owner.entity.class > 85 || player.owner.entity.class < 80)
{
if (player.owner.myspells.clientspells.containskey(12 300))
player.owner.myspells.remove(12300, stream);

if (player.owner.myspells.clientspells.containskey(14 470))
player.owner.myspells.remove(14470, stream);

if (player.owner.myspells.clientspells.containskey(12 120))
player.owner.myspells.remove(12120, stream);

if (player.owner.myspells.clientspells.containskey(12 130))
player.owner.myspells.remove(12130, stream);

if (player.owner.myspells.clientspells.containskey(12 140))
player.owner.myspells.remove(12140, stream);

if (player.owner.myspells.clientspells.containskey(12 160))
player.owner.myspells.remove(12160, stream);

if (player.owner.myspells.clientspells.containskey(12 170))
player.owner.myspells.remove(12170, stream);

if (player.owner.myspells.clientspells.containskey(12 200))
player.owner.myspells.remove(12200, stream);

if (player.owner.myspells.clientspells.containskey(12 240))
player.owner.myspells.remove(12240, stream);

if (player.owner.myspells.clientspells.containskey(12 350))
player.owner.myspells.remove(12350, stream);


}
#endregion
#region ww
if (player.owner.entity.class > 165 || player.owner.entity.class < 160)
{
if (player.owner.myspells.clientspells.containskey(12 980))
player.owner.myspells.remove(12980, stream);

if (player.owner.myspells.clientspells.containskey(12 940))
player.owner.myspells.remove(12940, stream);

if (player.owner.myspells.clientspells.containskey(12 950))
player.owner.myspells.remove(12950, stream);

if (player.owner.myspells.clientspells.containskey(12 930))
player.owner.myspells.remove(12930, stream);

if (player.owner.myspells.clientspells.containskey(12 990))
player.owner.myspells.remove(12990, stream);

if (player.owner.myspells.clientspells.containskey(12 960))
player.owner.myspells.remove(12960, stream);

if (player.owner.myspells.clientspells.containskey(13 000))
player.owner.myspells.remove(13000, stream);

if (player.owner.myspells.clientspells.containskey(13 030))
player.owner.myspells.remove(13030, stream);

if (player.owner.myspells.clientspells.containskey(13 020))
player.owner.myspells.remove(13020, stream);

if (player.owner.myspells.clientspells.containskey(12 890))
player.owner.myspells.remove(12890, stream);

if (player.owner.myspells.clientspells.containskey(13 090))
player.owner.myspells.remove(13090, stream);

if (player.owner.myspells.clientspells.containskey(12 850))
player.owner.myspells.remove(12850, stream);

if (player.owner.myspells.clientspells.containskey(12 840))
player.owner.myspells.remove(12840, stream);

if (player.owner.myspells.clientspells.containskey(12 970))
player.owner.myspells.remove(12970, stream);

if (player.owner.myspells.clientspells.containskey(13 080))
player.owner.myspells.remove(13080, stream);


if (player.owner.myspells.clientspells.containskey(12 860))
player.owner.myspells.remove(12860, stream);

if (player.owner.myspells.clientspells.containskey(12 870))
player.owner.myspells.remove(12870, stream);

}
#endregion
#region pi
if (player.owner.entity.class > 95 || player.owner.entity.class < 90)
{
if (player.owner.myspells.clientspells.containskey(15 790))
player.owner.myspells.remove(15790, stream);

if (player.owner.myspells.clientspells.containskey(15 750))
player.owner.myspells.remove(15750, stream);

if (player.owner.myspells.clientspells.containskey(15 780))
player.owner.myspells.remove(15780, stream);

if (player.owner.myspells.clientspells.containskey(15 720))
player.owner.myspells.remove(15720, stream);

if (player.owner.myspells.clientspells.containskey(15 710))
player.owner.myspells.remove(15710, stream);

if (player.owner.myspells.clientspells.containskey(15 800))
player.owner.myspells.remove(15800, stream);

if (player.owner.myspells.clientspells.containskey(15 810))
player.owner.myspells.remove(15810, stream);

if (player.owner.myspells.clientspells.containskey(15 770))
player.owner.myspells.remove(15770, stream);

}


#endregion
}
}
#endregion
افتح spell.cs
سيرش
public unsafe void remove(ushort id, serversockets.packet stream)
اقفلها و بدلها ب دي
public unsafe void remove(ushort id, serversockets.packet stream)
{
game.msgserver.msgspell my_spell;
if (clientspells.tryremove(id, out my_spell))
{
msgactionproto action = new msgactionproto();
action.uid = owner.entity.uid;
action.dwparam = id;
action.timestamp = (uint)time32.now.gethashcode();
action.id =msgactionemulator.removespell;
owner.send(msgactionemulator.sendpacket(action));
}
}
ارمي ده في databaase
عفواً لايمكن عرض الروابط في الإرشيف




قبل اخر قوس تحت خالص ضيف ممكن اعرف قبل اخر القوصض دى ف انى حته بالظبط ؟؟؟؟

Tefa
2020-03-09, 10:02 PM
اقفله من سالب
و اعمل تحته // بعد كده افتحه و انزل تحت هتلاقي علامه فوقها قوس فوق قوس ده حط الكود

uncelsam
2020-03-09, 10:18 PM
عااااش

ALz3em
2020-03-10, 11:32 AM
عاش تسلم

ابو حمزه
2020-03-22, 11:07 PM
thanks brother

محمود محمدm
2020-03-24, 02:02 PM
تسلم

nova
2020-03-25, 03:49 AM
ده الحل النهائى للاسكلات ف رايزو يا رايدر معلش ؟

sa3ed
2020-03-29, 11:36 AM
عاش

MaZzGanGYy
2020-04-13, 03:28 PM
عاش

محمودمحمدسالم
2020-04-13, 10:31 PM
عاش

toteo3344
2020-04-18, 12:59 AM
3a4

Lucifer
2020-04-20, 10:01 AM
ض

samuk00
2021-08-04, 09:07 PM
عاش

disco0o
2021-08-06, 12:03 AM
تسلم يامحترم