محمد ياسر
2019-04-18, 11:07 AM
بسم الله الرحمن الرحيم
شرح الكويست
بتكلم راجل وبيدخلك مابه علي حسب الباور بتاعك لو انت مثلا بور 300 هيدخلك مابة وكل الي زيك باور 300 هيدخلو في المابه دي وهكذا
ندخل ف الاضافة
هتفتح كلاس Npc
هتضيف الان بي سيهات دي
#region Battle Power War
#region Battle Power in
case 8736:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcome, Are You Ready to Enter the BattlePower Tournament ?");
if (DateTime.Now.Hour == 12 && DateTime.Now.Minute >= 13 && DateTime.Now.Minute <= 15 && DateTime.Now.Second < 59
|| DateTime.Now.Hour == 1 && DateTime.Now.Minute >= 13 && DateTime.Now.Minute <= 15 && DateTime.Now.Second < 59)
{
if (client.Player.BattlePower >= 250 && client.Player.BattlePower <= 300)
{
dialog.Option("BattlePower Group 250 - 300 ", 1);
}
if (client.Player.BattlePower >= 301 && client.Player.BattlePower <= 350)
{
dialog.Option("BattlePower Group 301 - 350 ", 2);
}
if (client.Player.BattlePower > 350)
{
dialog.Option("BattlePower Group + 350 ", 3);
}
dialog.Option("Nothink", 255);
break;
}
else
{
dialog.Text("Sorry This Quest start at 12:13 to 12:15 ?");
dialog.Text("Or");
dialog.Text("Sorry This Quest start at 1:13 to 1:15 ?");
dialog.Option("oki Thank you", 255);
}
break;
}
case 1:
{
client.Player.Teleport(8080, 33, 16);//Group 250 - 300
break;
}
case 2:
{
client.Player.Teleport(8081, 33, 16);//Group 301 - 350
break;
}
case 3:
{
client.Player.Teleport(8082, 33, 16);// Group + 350
break;
}
}
break;
}
#endregion
#region Battle Power War 250 - 300
case 5421:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState players in Kernel.GamePool.Values)
if (players.Player.MapID == 8080 && (!players.Player.Dead))
alive++;
if (Now64.Minute >= 15)
{
if (alive == 1)
{
client.Player.ConquerPoints += ServerRates.BattlePower3;
client.Player.ConquerPointsFake += ServerRates.BattlePower3;
client.ChiPoints += 1000;
//client.Inventory.Add(3006840, 0, 1);
client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .rygh_syzs, 3, DateTime.Now.AddDays(1));
KamaTcho.Kernel.SendWorldMessage(new KamaTcho.Network.GamePackets.MsgTalk("Congratulations! " + client.Player.Name + " winning the Battle Power Quest [ 250-300 ] and gain " + ServerRates.BattlePower3 + " cps .", System.Drawing.Color.Black, KamaTcho.Network.GamePackets.MsgTalk.Center), Server.GamePool);
client.Player.SendSpawn(client, true);
client.Player.Teleport(1002, 300, 278);
foreach (var clients in Server.GamePool)
{
if (clients.Player.MapID == 8080)
{
clients.Player.Teleport(1002, 300, 278);
clients.Player.BringToLife();
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Battle Power War 300 - 350
case 5422:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState players in Kernel.GamePool.Values)
if (players.Player.MapID == 8081 && (!players.Player.Dead))
alive++;
if (Now64.Minute >= 15)
{
if (alive == 1)
{
client.Player.ConquerPoints += ServerRates.BattlePower2;
client.Player.ConquerPointsFake += ServerRates.BattlePower2;
client.ChiPoints += 1500;
//client.Inventory.Add(3006841, 0, 1);
client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .rygh_syzs, 3, DateTime.Now.AddDays(1));
KamaTcho.Kernel.SendWorldMessage(new KamaTcho.Network.GamePackets.MsgTalk("Congratulations! " + client.Player.Name + " winning the Battle Power Quest [ 301-350 ] and gain " + ServerRates.BattlePower2 + " cps.", System.Drawing.Color.Black, KamaTcho.Network.GamePackets.MsgTalk.Center), Server.GamePool);
client.Player.SendSpawn(client, true);
client.Player.Teleport(1002, 300, 278);
foreach (var clients in Server.GamePool)
{
if (clients.Player.MapID == 8081)
{
clients.Player.Teleport(1002, 300, 279);
clients.Player.BringToLife();
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Battle Power War + 350
case 5423:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState players in Kernel.GamePool.Values)
if (players.Player.MapID == 8082 && (!players.Player.Dead))
alive++;
if (Now64.Minute >= 15)
{
if (alive == 1)
{
client.Player.ConquerPoints += ServerRates.BattlePower1;
client.Player.ConquerPointsFake += ServerRates.BattlePower1;
client.ChiPoints += 1500;
//client.Inventory.Add(3006842, 0, 1);
client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .rygh_hglx, 3, DateTime.Now.AddDays(1));
KamaTcho.Kernel.SendWorldMessage(new KamaTcho.Network.GamePackets.MsgTalk("Congratulations! " + client.Player.Name + " winning the Battle Power Quest [ 350+ ] and gain " + ServerRates.BattlePower1 + " cps .", System.Drawing.Color.Black, KamaTcho.Network.GamePackets.MsgTalk.Center), Server.GamePool);
client.Player.SendSpawn(client, true);
client.Player.Teleport(1002, 300, 278);
foreach (var clients in Server.GamePool)
{
if (clients.Player.MapID == 8082)
{
clients.Player.Teleport(1002, 300, 278);
clients.Player.BringToLife();
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
افتح Thread او World
وتبحث عن فويد
void WorldTournaments
وتضيف فيه
#region Battle Power
if (DateTime.Now.Hour == 12 && DateTime.Now.Minute == 12 && DateTime.Now.Second == 59)
{
foreach (var client in Server.GamePool)
{
if (!client.InQualifier() && client.Player.PokerTableUID == 0 && client.PlayRouletteUID == 0 && client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
MsgInviteTrans alert = new MsgInviteTrans
{
InviteID = 10655,
Countdown = 60,
Action = 1
};
client.Player.InviteID = 10655;
client.Send(alert.ToArray());
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_syzs))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_syzs);
}
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_hglx))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_hglx);
}
}
}
}
if (DateTime.Now.Hour == 1 && DateTime.Now.Minute == 12 && DateTime.Now.Second == 59)
{
foreach (var client in Server.GamePool)
{
if (!client.InQualifier() && client.Player.PokerTableUID == 0 && client.PlayRouletteUID == 0 && client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
MsgInviteTrans alert = new MsgInviteTrans
{
InviteID = 10655,
Countdown = 60,
Action = 1
};
client.Player.InviteID = 10655;
client.Send(alert.ToArray());
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_syzs))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_syzs);
}
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_hglx))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_hglx);
}
}
}
}
#endregion
ف نفس الكلاس ابحث عن فويد
void CharactersCallback
ضيف فيه دول
#region Battle Power
if (DateTime.Now.Hour == 12 && DateTime.Now.Minute == 13 && DateTime.Now.Second == 59)
{
Kernel.SendWorldMessage(new MsgTalk("Battle Power War began Would you like to join Go to TwinCity 309 , 147 ", Color.Red, MsgTalk.Center), Kernel.GamePool.Values.ToArray());
}
if (DateTime.Now.Hour == 1 && DateTime.Now.Minute == 13 && DateTime.Now.Second == 59)
{
Kernel.SendWorldMessage(new MsgTalk("Battle Power War began Would you like to join Go to TwinCity 309 , 147 ", Color.Red, MsgTalk.Center), Kernel.GamePool.Values.ToArray());
}
#endregion
انتهت الاضافه ف السورس تعالي نروح للنافي كات
روح ع القاعده بتاعتك ودوس كليك يمين وبعدين Console
وضيف دول وبعدين دوس Enter
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('8736', 'BattlePower', '02', '45318', '1002', '309', '145', '0000', '0000', '0000', '00', '0', '0', '');
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('5421', 'Battle~Prize', '02', '45026', '8080', '33', '50', '0000', '0000', '0000', '00', '0', '0', '');
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('5422', 'Battle~Prize', '02', '45026', '8081', '33', '50', '0000', '0000', '0000', '00', '0', '0', '');
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('5423', 'Battle~Prize', '02', '45026', '8082', '33', '50', '0000', '0000', '0000', '00', '0', '0', '');
كمان مرا وضيف دول
INSERT INTO `game`.`maps` (`id`, `mapdoc`, `type`, `weather`) VALUES ('8080', '700', '0007', '0000');
INSERT INTO `game`.`maps` (`id`, `mapdoc`, `type`, `weather`) VALUES ('8081', '700', '0007', '0000');
INSERT INTO `game`.`maps` (`id`, `mapdoc`, `type`, `weather`) VALUES ('8082', '700', '0007', '0000');
ملاحظه هامه جدا
كلمة game في اسطر اضافه القاعده
ده اسم قاعده اللعبه ياعني لو قاعده اللعبه عندك cq غيرها مكان game
شرح الكويست
بتكلم راجل وبيدخلك مابه علي حسب الباور بتاعك لو انت مثلا بور 300 هيدخلك مابة وكل الي زيك باور 300 هيدخلو في المابه دي وهكذا
ندخل ف الاضافة
هتفتح كلاس Npc
هتضيف الان بي سيهات دي
#region Battle Power War
#region Battle Power in
case 8736:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Welcome, Are You Ready to Enter the BattlePower Tournament ?");
if (DateTime.Now.Hour == 12 && DateTime.Now.Minute >= 13 && DateTime.Now.Minute <= 15 && DateTime.Now.Second < 59
|| DateTime.Now.Hour == 1 && DateTime.Now.Minute >= 13 && DateTime.Now.Minute <= 15 && DateTime.Now.Second < 59)
{
if (client.Player.BattlePower >= 250 && client.Player.BattlePower <= 300)
{
dialog.Option("BattlePower Group 250 - 300 ", 1);
}
if (client.Player.BattlePower >= 301 && client.Player.BattlePower <= 350)
{
dialog.Option("BattlePower Group 301 - 350 ", 2);
}
if (client.Player.BattlePower > 350)
{
dialog.Option("BattlePower Group + 350 ", 3);
}
dialog.Option("Nothink", 255);
break;
}
else
{
dialog.Text("Sorry This Quest start at 12:13 to 12:15 ?");
dialog.Text("Or");
dialog.Text("Sorry This Quest start at 1:13 to 1:15 ?");
dialog.Option("oki Thank you", 255);
}
break;
}
case 1:
{
client.Player.Teleport(8080, 33, 16);//Group 250 - 300
break;
}
case 2:
{
client.Player.Teleport(8081, 33, 16);//Group 301 - 350
break;
}
case 3:
{
client.Player.Teleport(8082, 33, 16);// Group + 350
break;
}
}
break;
}
#endregion
#region Battle Power War 250 - 300
case 5421:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState players in Kernel.GamePool.Values)
if (players.Player.MapID == 8080 && (!players.Player.Dead))
alive++;
if (Now64.Minute >= 15)
{
if (alive == 1)
{
client.Player.ConquerPoints += ServerRates.BattlePower3;
client.Player.ConquerPointsFake += ServerRates.BattlePower3;
client.ChiPoints += 1000;
//client.Inventory.Add(3006840, 0, 1);
client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .rygh_syzs, 3, DateTime.Now.AddDays(1));
KamaTcho.Kernel.SendWorldMessage(new KamaTcho.Network.GamePackets.MsgTalk("Congratulations! " + client.Player.Name + " winning the Battle Power Quest [ 250-300 ] and gain " + ServerRates.BattlePower3 + " cps .", System.Drawing.Color.Black, KamaTcho.Network.GamePackets.MsgTalk.Center), Server.GamePool);
client.Player.SendSpawn(client, true);
client.Player.Teleport(1002, 300, 278);
foreach (var clients in Server.GamePool)
{
if (clients.Player.MapID == 8080)
{
clients.Player.Teleport(1002, 300, 278);
clients.Player.BringToLife();
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Battle Power War 300 - 350
case 5422:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState players in Kernel.GamePool.Values)
if (players.Player.MapID == 8081 && (!players.Player.Dead))
alive++;
if (Now64.Minute >= 15)
{
if (alive == 1)
{
client.Player.ConquerPoints += ServerRates.BattlePower2;
client.Player.ConquerPointsFake += ServerRates.BattlePower2;
client.ChiPoints += 1500;
//client.Inventory.Add(3006841, 0, 1);
client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .rygh_syzs, 3, DateTime.Now.AddDays(1));
KamaTcho.Kernel.SendWorldMessage(new KamaTcho.Network.GamePackets.MsgTalk("Congratulations! " + client.Player.Name + " winning the Battle Power Quest [ 301-350 ] and gain " + ServerRates.BattlePower2 + " cps.", System.Drawing.Color.Black, KamaTcho.Network.GamePackets.MsgTalk.Center), Server.GamePool);
client.Player.SendSpawn(client, true);
client.Player.Teleport(1002, 300, 278);
foreach (var clients in Server.GamePool)
{
if (clients.Player.MapID == 8081)
{
clients.Player.Teleport(1002, 300, 279);
clients.Player.BringToLife();
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#region Battle Power War + 350
case 5423:
{
dialog.Avatar(32);
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hey there " + client.Player.Name + " Would you like to claim your Prize?.");
dialog.Option("Yes Please", 1);
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
case 1:
{
int alive = 0;
DateTime Now64 = DateTime.Now;
foreach (Client.GameState players in Kernel.GamePool.Values)
if (players.Player.MapID == 8082 && (!players.Player.Dead))
alive++;
if (Now64.Minute >= 15)
{
if (alive == 1)
{
client.Player.ConquerPoints += ServerRates.BattlePower1;
client.Player.ConquerPointsFake += ServerRates.BattlePower1;
client.ChiPoints += 1500;
//client.Inventory.Add(3006842, 0, 1);
client.Player.AddTopStatus((ulong)MsgUpdate.Flags3 .rygh_hglx, 3, DateTime.Now.AddDays(1));
KamaTcho.Kernel.SendWorldMessage(new KamaTcho.Network.GamePackets.MsgTalk("Congratulations! " + client.Player.Name + " winning the Battle Power Quest [ 350+ ] and gain " + ServerRates.BattlePower1 + " cps .", System.Drawing.Color.Black, KamaTcho.Network.GamePackets.MsgTalk.Center), Server.GamePool);
client.Player.SendSpawn(client, true);
client.Player.Teleport(1002, 300, 278);
foreach (var clients in Server.GamePool)
{
if (clients.Player.MapID == 8082)
{
clients.Player.Teleport(1002, 300, 278);
clients.Player.BringToLife();
clients.Send(new NpcReply(NpcReply.MessageBox, "Sorry Player Good Luck Next Time ;) "));
}
}
}
else
{
dialog.Text("There are still " + alive + " players in the map kill it first to claim prize!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Hey there " + client.Player.Name + "You can only claim the prize when the time on or after xx:15");
dialog.Option("okay", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#endregion
افتح Thread او World
وتبحث عن فويد
void WorldTournaments
وتضيف فيه
#region Battle Power
if (DateTime.Now.Hour == 12 && DateTime.Now.Minute == 12 && DateTime.Now.Second == 59)
{
foreach (var client in Server.GamePool)
{
if (!client.InQualifier() && client.Player.PokerTableUID == 0 && client.PlayRouletteUID == 0 && client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
MsgInviteTrans alert = new MsgInviteTrans
{
InviteID = 10655,
Countdown = 60,
Action = 1
};
client.Player.InviteID = 10655;
client.Send(alert.ToArray());
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_syzs))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_syzs);
}
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_hglx))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_hglx);
}
}
}
}
if (DateTime.Now.Hour == 1 && DateTime.Now.Minute == 12 && DateTime.Now.Second == 59)
{
foreach (var client in Server.GamePool)
{
if (!client.InQualifier() && client.Player.PokerTableUID == 0 && client.PlayRouletteUID == 0 && client.Map.BaseID != 6001 && client.Map.BaseID != 6000 && !client.Player.Dead)
{
MsgInviteTrans alert = new MsgInviteTrans
{
InviteID = 10655,
Countdown = 60,
Action = 1
};
client.Player.InviteID = 10655;
client.Send(alert.ToArray());
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_syzs))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_syzs);
}
if (client.Player.ContainsFlag3((ulong)MsgUpdate.Flag s3.rygh_hglx))
{
client.Player.RemoveTopStatus((ulong)MsgUpdate.Fla gs3.rygh_hglx);
}
}
}
}
#endregion
ف نفس الكلاس ابحث عن فويد
void CharactersCallback
ضيف فيه دول
#region Battle Power
if (DateTime.Now.Hour == 12 && DateTime.Now.Minute == 13 && DateTime.Now.Second == 59)
{
Kernel.SendWorldMessage(new MsgTalk("Battle Power War began Would you like to join Go to TwinCity 309 , 147 ", Color.Red, MsgTalk.Center), Kernel.GamePool.Values.ToArray());
}
if (DateTime.Now.Hour == 1 && DateTime.Now.Minute == 13 && DateTime.Now.Second == 59)
{
Kernel.SendWorldMessage(new MsgTalk("Battle Power War began Would you like to join Go to TwinCity 309 , 147 ", Color.Red, MsgTalk.Center), Kernel.GamePool.Values.ToArray());
}
#endregion
انتهت الاضافه ف السورس تعالي نروح للنافي كات
روح ع القاعده بتاعتك ودوس كليك يمين وبعدين Console
وضيف دول وبعدين دوس Enter
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('8736', 'BattlePower', '02', '45318', '1002', '309', '145', '0000', '0000', '0000', '00', '0', '0', '');
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('5421', 'Battle~Prize', '02', '45026', '8080', '33', '50', '0000', '0000', '0000', '00', '0', '0', '');
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('5422', 'Battle~Prize', '02', '45026', '8081', '33', '50', '0000', '0000', '0000', '00', '0', '0', '');
INSERT INTO `game`.`sobnpcs` (`id`, `name`, `type`, `lookface`, `mapid`, `cellx`, `celly`, `life`, `maxlife`, `base`, `sort`, `showname`, `prize`, `effect`) VALUES ('5423', 'Battle~Prize', '02', '45026', '8082', '33', '50', '0000', '0000', '0000', '00', '0', '0', '');
كمان مرا وضيف دول
INSERT INTO `game`.`maps` (`id`, `mapdoc`, `type`, `weather`) VALUES ('8080', '700', '0007', '0000');
INSERT INTO `game`.`maps` (`id`, `mapdoc`, `type`, `weather`) VALUES ('8081', '700', '0007', '0000');
INSERT INTO `game`.`maps` (`id`, `mapdoc`, `type`, `weather`) VALUES ('8082', '700', '0007', '0000');
ملاحظه هامه جدا
كلمة game في اسطر اضافه القاعده
ده اسم قاعده اللعبه ياعني لو قاعده اللعبه عندك cq غيرها مكان game