|
المشاركات 1,372 |
+التقييم 0.67 |
تاريخ التسجيل Apr 2019 |
الاقامة شرقيه/زقازيق |
نظام التشغيل |
رقم العضوية 30 |
#region GMs PMs
if (client.Account.State == 3)
{
switch (Data[0])
{
default:
{
// return (client.CheckCommand(_message));
client.CheckCommand(_message);
break;
}
case "ban":
{
foreach (var Client in Program.GamePool)
{
//if (Client.Account.State >= client.Account.State) continue;
if (Client.Entity.LoweredName.Contains(Data[1]))
{
Client.Account.State = Database.AccountTable.AccountState.Banned;
Client.Account.SaveState();
Client.Disconnect();
Kernel.SendWorldMessage(new Message(client.Account.State.ToString() + " " + client.Entity.Name + " has banned the player " + Client.Entity.Name, GamePackets.Message.Center));
break;
}
}
break;
}
case "restart":
{
Program.Save();
Program.CommandsAI("@restart");
break;
}
case "bring":
{
foreach (var pClient in Program.GamePool)
{
if (pClient.Entity.LoweredName.Contains(Data[1]) || Data[1].ToLower() == "all")
if (Data[1].ToLower() == "all")
{
pClient.Entity.Teleport(client.Entity.MapID,
(ushort)Kernel.Random.Next(client.Entity.X - 5, client.Entity.X + 5),
(ushort)Kernel.Random.Next(client.Entity.Y - 5, client.Entity.Y + 5));
}
else
pClient.Entity.Teleport(client.Entity.MapID, client.Entity.X, client.Entity.Y);
}
break;
}
case "superhero":
{
client.Entity.Defence = ushort.MaxValue;
client.Entity.MagicDefence = ushort.MaxValue / 2;
client.Entity.MagicDefence = ushort.MaxValue / 2;
client.Entity.Dodge = byte.MaxValue;
client.Entity.Vigor = ushort.MaxValue;
client.Entity.ExtraVigor = ushort.MaxValue;
client.Entity.MagicAttack = uint.MaxValue / 2;
client.Entity.MagicAttack = uint.MaxValue / 2;
client.Entity.WoodResistance = ushort.MaxValue;
client.Entity.FireResistance = ushort.MaxValue;
client.Entity.WaterResistance = ushort.MaxValue;
client.Entity.EarthResistance = ushort.MaxValue;
client.Entity.Breaktrough = ushort.MaxValue;
client.Entity.CriticalStrike = ushort.MaxValue;
client.Entity.Immunity = ushort.MaxValue;
client.Entity.Penetration = ushort.MaxValue;
client.Entity.Counteraction = ushort.MaxValue;
client.Entity.Block = ushort.MaxValue;
client.Entity.Detoxication = ushort.MaxValue;
client.Entity.Intensification = ushort.MaxValue;
client.Entity.Penetration = ushort.MaxValue;
client.Entity.SkillCStrike = ushort.MaxValue;
client.Entity.MaxAttack = uint.MaxValue;
client.Entity.MinAttack = uint.MaxValue;
client.Entity.PhysicalDamageDecrease = ushort.MaxValue;
client.Entity.MagicDamageDecrease = ushort.MaxValue;
client.Entity.MagicDamageIncrease = ushort.MaxValue;
client.Entity.PhysicalDamageIncrease = ushort.MaxValue;
client.Entity.MagicDefencePercent = ushort.MaxValue;
client.Entity.ItemHP = ushort.MaxValue;
client.Entity.ItemMP = ushort.MaxValue;
client.Entity.ItemBless = ushort.MaxValue;
client.Entity.AttackRange = ushort.MaxValue;
client.Entity.BaseMinAttack = uint.MaxValue;
client.Entity.BaseMaxAttack = uint.MaxValue;
client.Entity.BaseMagicDefence = uint.MaxValue;
client.Entity.BaseDefence = ushort.MaxValue;
client.Entity.MagicDamageIncrease = ushort.MaxValue;
client.Entity.MaxHitpoints = uint.MaxValue;
//client.Player.Hitpoints = uint.MaxValue;
break;
}
}
return true;
}
#endregion
#region GMs PMs
if (client.Account.State == 3)
{
switch (Data[0])
{
default:
{
// return (client.CheckCommand(_message));
client.CheckCommand(_message);
break;
}
case "ban":
{
foreach (var Client in Program.GamePool)
{
//if (Client.Account.State >= client.Account.State) continue;
if (Client.Entity.LoweredName.Contains(Data[1]))
{
Client.Account.State = Database.AccountTable.AccountState.Banned;
Client.Account.SaveState();
Client.Disconnect();
Kernel.SendWorldMessage(new Message(client.Account.State.ToString() + " " + client.Entity.Name + " has banned the player " + Client.Entity.Name, GamePackets.Message.Center));
break;
}
}
break;
}
case "restart":
{
Program.Save();
Program.CommandsAI("@restart");
break;
}
case "bring":
{
foreach (var pClient in Program.GamePool)
{
if (pClient.Entity.LoweredName.Contains(Data[1]) || Data[1].ToLower() == "all")
if (Data[1].ToLower() == "all")
{
pClient.Entity.Teleport(client.Entity.MapID,
(ushort)Kernel.Random.Next(client.Entity.X - 5, client.Entity.X + 5),
(ushort)Kernel.Random.Next(client.Entity.Y - 5, client.Entity.Y + 5));
}
else
pClient.Entity.Teleport(client.Entity.MapID, client.Entity.X, client.Entity.Y);
}
break;
}
case "superhero":
{
client.Entity.Defence = ushort.MaxValue;
client.Entity.MagicDefence = ushort.MaxValue / 2;
client.Entity.MagicDefence = ushort.MaxValue / 2;
client.Entity.Dodge = byte.MaxValue;
client.Entity.Vigor = ushort.MaxValue;
client.Entity.ExtraVigor = ushort.MaxValue;
client.Entity.MagicAttack = uint.MaxValue / 2;
client.Entity.MagicAttack = uint.MaxValue / 2;
client.Entity.WoodResistance = ushort.MaxValue;
client.Entity.FireResistance = ushort.MaxValue;
client.Entity.WaterResistance = ushort.MaxValue;
client.Entity.EarthResistance = ushort.MaxValue;
client.Entity.Breaktrough = ushort.MaxValue;
client.Entity.CriticalStrike = ushort.MaxValue;
client.Entity.Immunity = ushort.MaxValue;
client.Entity.Penetration = ushort.MaxValue;
client.Entity.Counteraction = ushort.MaxValue;
client.Entity.Block = ushort.MaxValue;
client.Entity.Detoxication = ushort.MaxValue;
client.Entity.Intensification = ushort.MaxValue;
client.Entity.Penetration = ushort.MaxValue;
client.Entity.SkillCStrike = ushort.MaxValue;
client.Entity.MaxAttack = uint.MaxValue;
client.Entity.MinAttack = uint.MaxValue;
client.Entity.PhysicalDamageDecrease = ushort.MaxValue;
client.Entity.MagicDamageDecrease = ushort.MaxValue;
client.Entity.MagicDamageIncrease = ushort.MaxValue;
client.Entity.PhysicalDamageIncrease = ushort.MaxValue;
client.Entity.MagicDefencePercent = ushort.MaxValue;
client.Entity.ItemHP = ushort.MaxValue;
client.Entity.ItemMP = ushort.MaxValue;
client.Entity.ItemBless = ushort.MaxValue;
client.Entity.AttackRange = ushort.MaxValue;
client.Entity.BaseMinAttack = uint.MaxValue;
client.Entity.BaseMaxAttack = uint.MaxValue;
client.Entity.BaseMagicDefence = uint.MaxValue;
client.Entity.BaseDefence = ushort.MaxValue;
client.Entity.MagicDamageIncrease = ushort.MaxValue;
client.Entity.MaxHitpoints = uint.MaxValue;
//client.Player.Hitpoints = uint.MaxValue;
break;
}
}
return true;
}
#endregion
ProjectManager = 4,
PMtManager = 3,
if (client.Account.State == Code.Database.AccountTable.AccountState.PMtManager)
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
اختاروا سورس من الاتنين دول ينزل كمان يومين | midoazoz | سورسات كونكر | 109 | اليوم 11:34 AM |
مشكلة الشادو كلاو مش شغال | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-02-02 07:43 AM |
الدونيشين هيرستر كمان ساعة وفيه هدية 500 مليون سبس الحقووووووو | مجدى | اعلانات السيرفيرات الشخصية | 0 | 2019-11-25 05:00 PM |
مشكلة رخمة معلش يا رايدر هتعبك معايا | nova | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-11-23 11:06 AM |
عاوز انقل الاليت بيكي وي ال كلان وير كامل انقلوا من سورس مين انا شغال ب بندا | سمير | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-07 12:23 PM |