|
|
|
المشاركات 299 |
+التقييم 0.13 |
تاريخ التسجيل Apr 2020 |
الاقامة |
نظام التشغيل |
رقم العضوية 3833 |
أفضل جواب - كتبه Uchiha T3Alo
|
|
هو ده عيب ابجريد بروتو بس حله سهل مش صعب ركز معايه يا حج هتبحث فى السورس كلو عن الفويد ده كود:
بعد كدا هتبدل الفويد كلو بالفويد ده كود:
ختاما كل سنه وانت طيب
|
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) | |
|
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
| رجوع بقوة سورس منتدا اكواد الاصدار الثاني ميفوتكش | AbdallahNinjaWe | سورسات كونكر | 64 | 2021-09-12 03:04 PM |
| حصري سورس منتدا اكواد | ElSaher | سورسات كونكر | 46 | 2020-11-29 09:06 PM |
| يرجاله محتاج شفره تحويل للجى ام سورس ماتركس ثرى دى | so3da | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-07-28 11:38 AM |
| بخصوص سورس رايزو يرجاله | nova | تطوير سيرفرات كونكر | 2 | 2020-03-31 11:17 AM |
| حل اي مشكله من خلال منتدي اكواد | بشيغلاشمغ | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2019-07-09 11:04 PM |