![]() |
مساعده في تركيب كوسته treasurebox في سورس رايزو
انا عملت كل حاجه بس وقفت هنا في npc في سورس رايزو
https://i.top4top.io/p_1495gg46s1.png مع العلم ان الكود دا متجرب في سورس 3 دي MSG غيرو واشتغل تمام |
رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
اتفضل يصطي اضافت الnopc
كود PHP:
|
رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
انا ضايفها عندي
في اضافه تانيه في ملف npc خاصه بالصناديق ذات نفسها دي الانا عنذي مشكله فيا متوضحه فوق في الصوره |
رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
اقتباس:
default: { #region TreeCatcher //if (Copra.New_Quests.TreeCatcher.IsON) //{ // if (Copra.New_Quests.TreeCatcher.Map != null) // { // if (client.Entity.MapID == Copra.New_Quests.TreeCatcher.Map.ID) // { // if (Copra.New_Quests.TreeCatcher.Npc != null) // { // if (client.ActiveNpc == Copra.New_Quests.TreeCatcher.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did :P.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // Copra.New_Quests.TreeCatcher.Catched(client); // dialog.Text("Begginer Luck , try to do it again."); // dialog.Option("ok", 255); // dialog.Send(); // break; // } // } // } // } // } // } //} #endregion #region Chase //if (World.Chase.IsWar) //{ // if (client.ActiveNpc == Chase.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // if (!World.Chase.End(client)) // { // dialog.Text("u had to w8."); // dialog.Option("ok", 255); // dialog.Send(); // } // break; // } // } // } //} #endregion Chase client.Send(new Message("NpcID[" + client.ActiveNpc + "]", System.Drawing.Color.Red, Message.TopLeft)); if (client.ActiveNpc >= 101002 && client.Entity.MapID == 3820) { MsgActionProto Action = new MsgActionProto(); Action.UID = client.ActiveNpc; Action.TimeStamp = (uint)Time32.Now.GetHashCode(); Action.ID = MsgActionEmulator.RemoveEntity; client.SendScreen(MsgActionEmulator.SendPacket(Act ion)); Rayzo.Game.TreasureBox.Reward(client); client.Map.RemoveNpc(client.Map.Npcs[client.ActiveNpc]); } break; } |
رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
اقتباس:
{ #region TreeCatcher //if (Copra.New_Quests.TreeCatcher.IsON) //{ // if (Copra.New_Quests.TreeCatcher.Map != null) // { // if (client.Entity.MapID == Copra.New_Quests.TreeCatcher.Map.ID) // { // if (Copra.New_Quests.TreeCatcher.Npc != null) // { // if (client.ActiveNpc == Copra.New_Quests.TreeCatcher.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did :P.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // Copra.New_Quests.TreeCatcher.Catched(client); // dialog.Text("Begginer Luck , try to do it again."); // dialog.Option("ok", 255); // dialog.Send(); // break; // } // } // } // } // } // } //} #endregion #region Chase //if (World.Chase.IsWar) //{ // if (client.ActiveNpc == Chase.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // if (!World.Chase.End(client)) // { // dialog.Text("u had to w8."); // dialog.Option("ok", 255); // dialog.Send(); // } // break; // } // } // } //} #endregion Chase client.Send(new Message("NpcID[" + client.ActiveNpc + "]", System.Drawing.Color.Red, Message.TopLeft)); if (client.ActiveNpc >= 101002 && client.Entity.MapID == 3820) { MsgActionProto Action = new MsgActionProto(); Action.UID = client.ActiveNpc; Action.TimeStamp = (uint)Time32.Now.GetHashCode(); Action.ID = MsgActionEmulator.RemoveEntity; client.SendScreen(MsgActionEmulator.SendPacket(Act ion)); Rayzo.Game.TreasureBox.Reward(client); client.Map.RemoveNpc(client.Map.Npcs[client.ActiveNpc]); } break; } |
رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
اقتباس:
{ #region TreeCatcher //if (Copra.New_Quests.TreeCatcher.IsON) //{ // if (Copra.New_Quests.TreeCatcher.Map != null) // { // if (client.Entity.MapID == Copra.New_Quests.TreeCatcher.Map.ID) // { // if (Copra.New_Quests.TreeCatcher.Npc != null) // { // if (client.ActiveNpc == Copra.New_Quests.TreeCatcher.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did :P.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // Copra.New_Quests.TreeCatcher.Catched(client); // dialog.Text("Begginer Luck , try to do it again."); // dialog.Option("ok", 255); // dialog.Send(); // break; // } // } // } // } // } // } //} #endregion #region Chase //if (World.Chase.IsWar) //{ // if (client.ActiveNpc == Chase.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // if (!World.Chase.End(client)) // { // dialog.Text("u had to w8."); // dialog.Option("ok", 255); // dialog.Send(); // } // break; // } // } // } //} #endregion Chase client.Send(new Message("NpcID[" + client.ActiveNpc + "]", System.Drawing.Color.Red, Message.TopLeft)); if (client.ActiveNpc >= 101002 && client.Entity.MapID == 3820) { MsgActionProto Action = new MsgActionProto(); Action.UID = client.ActiveNpc; Action.TimeStamp = (uint)Time32.Now.GetHashCode(); Action.ID = MsgActionEmulator.RemoveEntity; client.SendScreen(MsgActionEmulator.SendPacket(Act ion)); Rayzo.Game.TreasureBox.Reward(client); client.Map.RemoveNpc(client.Map.Npcs[client.ActiveNpc]); } break; } |
رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
اقتباس:
{ #region TreeCatcher //if (Copra.New_Quests.TreeCatcher.IsON) //{ // if (Copra.New_Quests.TreeCatcher.Map != null) // { // if (client.Entity.MapID == Copra.New_Quests.TreeCatcher.Map.ID) // { // if (Copra.New_Quests.TreeCatcher.Npc != null) // { // if (client.ActiveNpc == Copra.New_Quests.TreeCatcher.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did :P.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // Copra.New_Quests.TreeCatcher.Catched(client); // dialog.Text("Begginer Luck , try to do it again."); // dialog.Option("ok", 255); // dialog.Send(); // break; // } // } // } // } // } // } //} #endregion #region Chase //if (World.Chase.IsWar) //{ // if (client.ActiveNpc == Chase.Npc.UID) // { // switch (npcRequest.OptionID) // { // case 0: // { // dialog.Text("Hello " + client.Entity.Name + " Wanna catch me."); // dialog.Option("I Already Did.", 1); // dialog.Option("No", 255); // dialog.Send(); // break; // } // case 1: // { // if (!World.Chase.End(client)) // { // dialog.Text("u had to w8."); // dialog.Option("ok", 255); // dialog.Send(); // } // break; // } // } // } //} #endregion Chase client.Send(new Message("NpcID[" + client.ActiveNpc + "]", System.Drawing.Color.Red, Message.TopLeft)); if (client.ActiveNpc >= 101002 && client.Entity.MapID == 3820) { MsgActionProto Action = new MsgActionProto(); Action.UID = client.ActiveNpc; Action.TimeStamp = (uint)Time32.Now.GetHashCode(); Action.ID = MsgActionEmulator.RemoveEntity; client.SendScreen(MsgActionEmulator.SendPacket(Act ion)); Rayzo.Game.TreasureBox.Reward(client); client.Map.RemoveNpc(client.Map.Npcs[client.ActiveNpc]); } break; } |
رد: مساعده في تركيب كوسته treasurebox في سورس رايزو
تسلم با صحبي هو اشتغل بس لسه في مشكله صغيره بس تتحل
دا رابط الفيس بتاعي https://www.facebook.com/profile.php?id=100002517845927 |
الساعة الآن 03:12 AM |
مرحبا بكم في منتدي اكواد لتطوير الالعاب