|
المشاركات 1,940 |
+التقييم 0.95 |
تاريخ التسجيل Apr 2019 |
الاقامة https://www.facebook.com/daany |
نظام التشغيل |
رقم العضوية 1 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Naruto.Client;
using Naruto.Game;
using Naruto.Network.GamePackets;
using Naruto.Network;
namespace Naruto
{
class mdf3
{
public static void travel(ushort x, ushort y, Client.GameState client)
{
Map.UpdateCoordonatesForAngle(ref x, ref y, Kernel.GetAngle(41, 417, client.Entity.X, client.Entity.Y));
client.Entity.Shift(x, y);
Attack attack = new Attack(true);
attack.X = x;
attack.Y = y;
attack.AttackType = Attack.FatalStrike;
client.Entity.Owner.SendScreen(attack, true);
client.Entity.Owner.Screen.Reload(attack);
}
public static void line(Client.GameState client, byte time, string mam)
{
byte[] Buf = new byte[150 + 8];
Writer.WriteUInt16(150, 0, Buf);
Writer.WriteUInt16(10010, 2, Buf);
Writer.WriteUInt32(client.Entity.UID, 4 + 4, Buf);
Writer.WriteUInt32(227, 4 + 8, Buf);//
Writer.WriteUInt32(164, 20 + 4, Buf);
Writer.WriteUInt32(1, 22 + 4, Buf);
Writer.WriteUInt32(time, 32 + 4, Buf);//Time duration for the effect
Writer.WriteUInt32(1, 37 + 4, Buf);
Writer.WriteUInt32(30, 38 + 4, Buf);
Writer.WriteString(mam, 39 + 4, Buf);// name
client.Send(Buf);
}
}
}
client.ExpBalls = reader.ReadByte("ExpBalls");
client.Entity.mdf3 = reader.ReadUInt32("mdf3");
.Set("ClanId", (uint)e.ClanId)
.Set("mdf3", e.mdf3)
#region Quest mdf3
public uint RedDivel;
public uint mdf3;
#endregion
#region Mdf3 Quest#
case 6952:
{
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.mdf3 == 0)
{
client.Entity.mdf3 = 3600;
client.Entity.ConquerPoints += 100000;//Prize
_String str = new _String(true);
str.TextsCount = 2;
str.Type = 0x14;
str.Texts.Add("sound/mad.mp3");
str.Texts.Add("113");
client.SendScreen(str, true);
mdf3.line(client, 5, "Reloding...");//كلمة
System.Threading.Thread.Sleep(5000);
mdf3.travel(267, 409, client);
System.Threading.Thread.Sleep(1000);
mdf3.travel(300, 278, client);
System.Threading.Thread.Sleep(1000);
client.Screen.FullWipe();
client.Screen.Reload(null);
FloorItem floorItem = new FloorItem(true);
floorItem.ItemID = 1033;
floorItem.MapID = client.Entity.MapID;
floorItem.Type = FloorItem.Effect;
floorItem.X = client.Entity.X;
floorItem.Y = client.Entity.Y;
floorItem.Owner = client;
var map = client.Map;
while (map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
map.AddFloorItem(floorItem);
client.SendScreenSpawn(floorItem, true);
floorItem.ItemID = 793;
while (map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
map.AddFloorItem(floorItem);
client.SendScreenSpawn(floorItem, true);
floorItem.ItemID = 794;
while (map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
map.AddFloorItem(floorItem);
client.SendScreenSpawn(floorItem, true);
}
else
{
dialog.Text("Hello " + client.Entity.Name + " you need 60 mins mdf3 online points you have " + client.Entity.mdf3 / 60 + " Mins");
dialog.Option("SRY", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
private void CharactersCallback
#region [#mdf3]
if (client.Entity.MapID == 1002 && client.Entity.mdf3 > 0)
{
client.Entity.mdf3 -= 1;
}
#endregion
6952 MDF3 2 26240 1002 308 246 0
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
التعديل على الشخصية للاكونتات الجديدة.حل بعد اذنكم | Abod ayman | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-03-31 09:16 PM |
كويستة vip 7 | ElSaher | تطوير سيرفرات كونكر | 1 | 2020-02-17 09:04 AM |
مشكلة فى شخصية الجديدة فى سورس رايزو | صاحب السعادة | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-01-28 05:21 PM |
بخصوص صول الشخصية الجديدة | nova | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-12-06 09:41 PM |
مشكلة في الشخصية الجديدة | Avengers-Co | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2019-08-06 01:56 PM |