|
#region AutoHunting (1070)
case 1070:
{
if (client.Entity.Auto == false && client.Entity.Level < 130)
{
client.Send(new Network.GamePackets.NpcReply(6, "Sorry To You Should Have Level 130 To Run Auto Hunting !"));
return;
}
AutoHunt auto = new AutoHunt(false);
auto.Deserialize(packet);
switch (auto.Type)
{
case AutoHunt.Icon:
{
auto = new AutoHunt(true);
auto.Type = 0;
auto.Show = 341;
client.Send(auto);
return;
}
case AutoHunt.Start:
{
auto = new AutoHunt(true);
auto.Type = 1;
client.Send(auto);
client.Entity.Auto = true;
client.Entity.AddFlag3(Update.Flags3.AutoHunting);
return;
}
case AutoHunt.Gui:
{
auto = new AutoHunt(true);
auto.Type = 2;
auto.EXP = (ushort)client.Entity.autohuntxp;
client.Send(auto);
return;
}
case AutoHunt.End:
{
auto = new AutoHunt(true);
auto.Type = 3;
client.Entity.Auto = false;
client.Entity.autohuntxp = 0;
client.Entity.RemoveFlag3(Update.Flags3.AutoHunting);
client.Send(auto);
return;
}
}
return;
}
#endregion AutoHunting (1070)
#region AutoHunting (1070)
case 1070:
{
if (client.Entity.Auto == false && client.Entity.Level < 130)
{
client.Send(new Network.GamePackets.NpcReply(6, "Sorry To You Should Have Level 130 To Run Auto Hunting !"));
return;
}
AutoHunt auto = new AutoHunt(false);
auto.Deserialize(packet);
switch (auto.Type)
{
case AutoHunt.Icon:
{
auto = new AutoHunt(true);
auto.Type = 0;
auto.Show = 341;
client.Send(auto);
return;
}
case AutoHunt.Start:
{
auto = new AutoHunt(true);
auto.Type = 1;
client.Send(auto);
client.Entity.Auto = true;
client.Entity.AddFlag3(Update.Flags3.AutoHunting);
return;
}
case AutoHunt.Gui:
{
auto = new AutoHunt(true);
auto.Type = 2;
auto.EXP = (ushort)client.Entity.autohuntxp;
client.Send(auto);
return;
}
case AutoHunt.End:
{
auto = new AutoHunt(true);
auto.Type = 3;
client.Entity.Auto = false;
client.Entity.autohuntxp = 0;
client.Entity.RemoveFlag3(Update.Flags3.AutoHunting);
client.Send(auto);
return;
}
}
return;
}
#endregion AutoHunting (1070)
#region autohunting (1070)
case 1070:
{
if (client.entity.auto == false && client.entity.level < 130)
{
client.send(new network.gamepackets.npcreply(6, "sorry to you should have level 130 to run auto hunting !"));
return;
}
autohunt auto = new autohunt(false);
auto.deserialize(packet);
switch (auto.type)
{
case autohunt.icon:
{
auto = new autohunt(true);
auto.type = 0;
auto.show = 341;
client.send(auto);
return;
}
case autohunt.start:
{
auto = new autohunt(true);
auto.type = 1;
client.send(auto);
client.entity.auto = true;
client.entity.addflag3(update.flags3.autohunting);
return;
}
case autohunt.gui:
{
auto = new autohunt(true);
auto.type = 2;
auto.exp = (ushort)client.entity.autohuntxp;
client.send(auto);
return;
}
case autohunt.end:
{
auto = new autohunt(true);
auto.type = 3;
client.entity.auto = false;
client.entity.autohuntxp = 0;
client.entity.removeflag3(update.flags3.autohunting);
client.send(auto);
return;
}
}
return;
}
#endregion autohunting (1070)
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Auto Restart Donation | Mero | تطوير سيرفرات كونكر | 10 | 2021-07-28 10:33 PM |
اضافة Hunting Map | MohamedStar2020 | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2020-05-08 09:06 PM |
اضافة Hunting Map | محمد ياسر | تطوير سيرفرات كونكر | 1 | 2020-05-08 08:49 PM |
موضوع بخصوص Auto invite | omar2019 | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-09-06 06:09 PM |
Auto Cps Online System | Mero | تطوير سيرفرات كونكر | 4 | 2019-06-02 09:32 PM |