|
|
المشاركات 3,131 |
+التقييم 1.17 |
تاريخ التسجيل Jun 2019 |
الاقامة الزقازيق |
نظام التشغيل ويندوز 0 |
رقم العضوية 279 |
public static void ChangePKMode(
public static void ChangePKMode(MsgAction action, GameState client)
{
if (client.Player.PKMode == Game.Enums.PKMode.Kongfu)
{
if ((Game.Enums.PKMode)(byte)action.dwParam != Game.Enums.PKMode.Kongfu)
{
client.Send("You`ll quit the Jiang Hu in 10 minutes.");
}
}
if (client.InTeamQualifier()) return;
client.Player.AttackPacket = null;
client.Player.PKMode = (Game.Enums.PKMode)(byte)action.dwParam;
action.buffer.wParam1 = action.buffer.dwParam;
// action.dwParam = 3;هنا لو فعلت الكود ده المفروض الاكونت منين ما يفتح يكون واخد وضع الرقم الى انت محدده
client.Send(action);
if ((client.Player.PKMode == Game.Enums.PKMode.Kongfu) && (client.Player.MyKongFu != null))
{
client.Player.MyKongFu.OnJiangMode = true;
client.Player.MyKongFu.SendStatusMode(client);
}
if (client.Player.PKMode == Enums.PKMode.PK)
{
client.Send("Free PK mode: you can attack monsters and all Players.");
}
else if (client.Player.PKMode == Enums.PKMode.Peace)
{
client.Send("Peace mode: You can only attack monsters.");
}
else if (client.Player.PKMode == Enums.PKMode.Team)
{
client.Send("Team mode: slay monsters, and all other players (including cross-server players) not in your current team or guild. ");
}
else if (client.Player.PKMode == Enums.PKMode.Capture)
{
client.Send("Capture mode: Slay monsters, black/blue-name criminals, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.Revenge)
{
client.Send("revenge mode: Slay your listed enemies, monsters, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.Union)
{
client.Send("The `Plander` mode only allow you to other players in enemy Union.");
}
else if (client.Player.PKMode == Enums.PKMode.Guild)
{
client.Send("Guild mode: Slay monsters, and players in your enemy guilds, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.Kongfu)
{
client.Send("Jiang Hu mode: Slay Jiang Hu fighters, black/blue-name criminals, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.CS)
{
client.Send("CS (Cross-Server) mode: Attack cross-server players. No Pk punishment.");
}
else if (client.Player.PKMode == Enums.PKMode.Invade)
{
client.Send("Invade mode: Only attack players of the target (current) server No Pk punishment.");
}
}
public static void ChangePKMode(
public static void ChangePKMode(MsgAction action, GameState client)
{
if (client.Player.PKMode == Game.Enums.PKMode.Kongfu)
{
if ((Game.Enums.PKMode)(byte)action.dwParam != Game.Enums.PKMode.Kongfu)
{
client.Send("You`ll quit the Jiang Hu in 10 minutes.");
}
}
if (client.InTeamQualifier()) return;
client.Player.AttackPacket = null;
client.Player.PKMode = (Game.Enums.PKMode)(byte)action.dwParam;
action.buffer.wParam1 = action.buffer.dwParam;
// action.dwParam = 3;هنا لو فعلت الكود ده المفروض الاكونت منين ما يفتح يكون واخد وضع الرقم الى انت محدده
client.Send(action);
if ((client.Player.PKMode == Game.Enums.PKMode.Kongfu) && (client.Player.MyKongFu != null))
{
client.Player.MyKongFu.OnJiangMode = true;
client.Player.MyKongFu.SendStatusMode(client);
}
if (client.Player.PKMode == Enums.PKMode.PK)
{
client.Send("Free PK mode: you can attack monsters and all Players.");
}
else if (client.Player.PKMode == Enums.PKMode.Peace)
{
client.Send("Peace mode: You can only attack monsters.");
}
else if (client.Player.PKMode == Enums.PKMode.Team)
{
client.Send("Team mode: slay monsters, and all other players (including cross-server players) not in your current team or guild. ");
}
else if (client.Player.PKMode == Enums.PKMode.Capture)
{
client.Send("Capture mode: Slay monsters, black/blue-name criminals, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.Revenge)
{
client.Send("revenge mode: Slay your listed enemies, monsters, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.Union)
{
client.Send("The `Plander` mode only allow you to other players in enemy Union.");
}
else if (client.Player.PKMode == Enums.PKMode.Guild)
{
client.Send("Guild mode: Slay monsters, and players in your enemy guilds, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.Kongfu)
{
client.Send("Jiang Hu mode: Slay Jiang Hu fighters, black/blue-name criminals, and cross-server players.");
}
else if (client.Player.PKMode == Enums.PKMode.CS)
{
client.Send("CS (Cross-Server) mode: Attack cross-server players. No Pk punishment.");
}
else if (client.Player.PKMode == Enums.PKMode.Invade)
{
client.Send("Invade mode: Only attack players of the target (current) server No Pk punishment.");
}
}
| الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
| Source Squad Edit By Mido+ElSaher | ElSaher | سورسات كونكر | 261 | يوم أمس 05:26 AM |
| Source Squad Conquer 3D+Porto +Thunderstriker | mohamedomar | سورسات كونكر | 299 | 2021-09-23 10:59 PM |
| Source Squad Conquer Streem | mohamedomar | سورسات كونكر | 102 | 2021-09-12 03:03 PM |
| Server Squad Conquer [3D] | mohamedomar | اعلانات السيرفيرات الشخصية | 2 | 2020-08-23 12:09 AM |
| PK mod source Squad | Adel Abd El Hay | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-07-31 11:50 AM |