|
المشاركات 1,940 |
+التقييم 0.96 |
تاريخ التسجيل Apr 2019 |
الاقامة Egypt |
نظام التشغيل windows 7 |
رقم العضوية 1 |
public void Drop(Game.Entity killer)
#region Cps drop/HollowBeast/House
if (Name == "HollowBeast")
{
if (killer.Name.Contains("HollowBeast"))
{
return;
}
killer.ConquerPoints += 10000000;
Kernel.SendWorldMessage(new Message("Congratulations! " + killer.Name + " received 10.000.000 cps From Monster House in Market", System.Drawing.Color.Yellow, Network.GamePackets.Message.Guild), Program.Values);
}
#endregion
#region Monster/items/only 1 in day
case 30160:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.VIPLevel >= 1 && client.Entity.VIPLevel <= 5)
{
dialog.Text("Cant join in Houes you need vip6.");
dialog.Option("Thanx [Gm].", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
dialog.Text("The~Map~is~open.~Welcome~to~challenge~other~people.~The~admission~fee~is~only~50~silver.If~you~PK~in~the~map,~you~will~not~gain~or~lose~any~experience~or~items~equipped,~and~will~get~revived~at~the~place~you~die.The~Kungfu~circle~is~very~dangerous,~I~suggest~you~PK~in~area.");
dialog.Option("Enter~the~map.", 1);
dialog.Option("Just~passing~by.", 255);
dialog.Avatar(7);
dialog.Send();
break;
}
case 1:
{
client.Entity.Teleport(5557, 60, 55);
break;
}
}
break;
}
#endregion
#region Quest Cps in Day/DailyQuestEnvoy
case 89741:
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("Teleport TwinCity", 2);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Level >= 199 && client.Entity.Level <= 200)
{
if (client.Entity.vipp6 == 1)
{
client.Entity.ConquerPoints += 30000000;
client.Entity.vipp6 += 1;
Kernel.SendWorldMessage(new Message("Congratulations! " + client.Entity.Name + " You Finish Quest CPs in Day and Take 30.000.000 CPS", System.Drawing.Color.Yellow, Network.GamePackets.Message.Guild), Program.Values);
client.Entity.SendSpawn(client, true);
client.Entity.Teleport(1002, 300, 279);
EntityTable.SaveEntity(client);
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry you cant take it come Tomorrow");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry your not level 200");
npc.OptionID = 255;
client.Send(npc.ToArray());
}
break;
}
case 2:
{
{
client.Entity.Teleport(1002, 300, 279);
}
break;
}
}
break;
#endregion
#region DailyQuestEnvoy/event
case 996685:
{//Quest By a7medmagdy /// 01145691132
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("All heroes can talk to me to learn about the daily tasks, and go to the required places to accept the work. you can finish Quest only 1 day");
dialog.Option("Monster House.", 81);
dialog.Option("Cps in Day.", 82);
dialog.Option("Leave.", 255);
dialog.Send();
break;
}
case 81:
{
client.Entity.Teleport(1036, 237, 156);
break;
}
case 82:
{
if (client.Entity.vipp6 == 1)
{
client.Entity.Teleport(5558, 67, 55);
break;
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Go Kill Monster Houes and come or You Finish This Quest");
npc.OptionID = 255;
client.Send(npc.ToArray());
break;
}
}
}
break;
}
#endregion
#region Misc
#region SwordMaster Open
case 720842:
//By a7medmagdy //01145691132
{
if (client.Entity.vipp6 == 0)
{
if (client.Entity.MapID == 5557)
{
Database.MonsterInformation monster = new Database.MonsterInformation();
monster.Hitpoints = 80000000;
monster.Level = 255;
monster.Mesh = 953;
monster.Name = "HollowBeast";
monster.MaxAttack = 100;
monster.AttackRange = 10;
monster.AttackType = 2;
monster.SpellID = 10500;
monster.AttackSpeed = 100;
monster.ViewRange = 5;
monster.MoveSpeed = 300;
monster.RunSpeed = 300;
monster.MinAttack = 100;
Game.Entity entity = new Game.Entity(Game.EntityFlag.Monster, false);
entity.MapObjType = Game.MapObjectType.Monster;
entity.MonsterInfo = monster;
entity.MonsterInfo.Owner = entity;
entity.Name = "HollowBeast";
entity.MinAttack = monster.MinAttack;
entity.MaxAttack = entity.MagicAttack = monster.MaxAttack;
entity.Hitpoints = entity.MaxHitpoints = monster.Hitpoints;
entity.Body = monster.Mesh;
entity.Level = monster.Level;
entity.Defence = 60000;
entity.X = (ushort)(client.Entity.X - 2);
entity.Y = (ushort)(client.Entity.Y - 2);
entity.EntityFlag = Game.EntityFlag.Monster;
entity.UID = (uint)Kernel.Random.Next(500060, 500110);
entity.MapID = client.Entity.MapID;
entity.SendUpdates = true;
client.Map.RemoveEntity(entity);
Network.GamePackets._String stringPacket = new Network.GamePackets._String(true);
stringPacket.UID = monster.ID;
stringPacket.Type = Network.GamePackets._String.Effect;
stringPacket.Texts.Add("MBStandard");
client.Map.AddEntity(entity);
client.Inventory.Remove(item, Enums.ItemUse.Remove);
client.Entity.vipp6 += 1;
client.Entity.Update(_String.Effect, "eidolon", true);
break;
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Go HouseAdmin in market and join map new to used items Monster!");
npc.OptionID = 255;
client.Send(npc.ToArray());
break;
}
}
else
{
Network.GamePackets.NpcReply npc = new Network.GamePackets.NpcReply(6, "Sorry You Used Item Try Tomorrow");
npc.OptionID = 255;
client.Send(npc.ToArray());
break;
}
}
#endregion
.Set("ClanId"
.Set("vipp6", e.vipp6)
client.Entity.ClanId =
client.Entity.vipp6 = reader.ReadInt16("vipp6");
public static void UpdateCps
public static void UpdateLuckyPack(Client.GameState client)
{
UpdateData(client, "vipp6", client.Entity.vipp6);
}
public int FrozenTime;
public int vipp6;
private void CharactersCallback
#region Rest Day
if ((Now64.Hour == 00) && (Now64.Minute == 00) && (Now64.Second == 15))
{
using (var cmd = new MySqlCommand(MySqlCommandType.UPDATE))
cmd.Update("entities").Set("vipp6", 0).Execute();
client.Entity.vipp6 = 0;
foreach (var pclient in Program.GamePool)
client.MessageBox("New Day Now Time 12.00 AM All Quest restart",
p => { p.Entity.Teleport(1002, 303, 274); }, null, 60);
}
#endregion
30160 HouseAdmin 2 8110 1036 236 151
89741 CPS Day 2 30876 5558 57 54 0
996685 DailyQuestEnvoy 2 19934 1002 322 304 0
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مطلوب سورس اليكس بدون ثغرات لو سمحتم يا جماعه | MahmoudMano | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-04-04 07:43 AM |
ثغرات سورس احمد الاسيوطى | Users | مشكلات السيرفيرات كونكر الشخصيه | 8 | 2020-01-28 01:26 AM |
طلب كويست | Mostafa Shalby | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-11-03 12:43 PM |
كويست الكنج دوم كاملة بدون اي مشاكل | Mero | تطوير سيرفرات كونكر | 2 | 2019-10-23 02:29 PM |
ثغرات فى سيرفرك | Users | تطوير سيرفرات كونكر | 7 | 2019-07-28 11:36 PM |