Shicoo |
06-01-2012 01:33 PM |
حصري عمل اوتو انفيت لحرب ClassPK Evory لسورس 5165+فيديو
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع
اهلا باعضاء المنتدى الكرام
forum.vpscairo
اقدملكو موضوع عجبنى مقدرتش ابخل عليكو
قولت مجردافيد الناس
يمكن تستفيد
الموضوع: كيف تعمل اوتو انفيت ل pk enjoy
client5165
---------------------
1-نفتح السورس بالسى شارب
----------------------
2-نفتح ملف program.cs
--------------------
3-نبحث عن الكود دة
[/SIZE][/B]
كود:
static void ServerStuff_Execute()
{
------------------
ونضيف تحتة الكود دة
كود:
try
{
#region C# CoderMachine
if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday && DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45 && DateTime.Now.Second == 01) // Day of the week
{
foreach (Character Chaar in World.H_Chars.Values)
{
Chaar.MyClient.DialogNPC = 998811;
PacketHandling.NPCDialog.Handle(Chaar.MyClient, null, 998811, 0);
Chaar.MyClient.EndSend();
}
Game.World.SendMsgToAll("GM", "trojan war has start all trojan go join.", 2011, 0);
}
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday && DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45 && DateTime.Now.Second == 01) // Day of the week
{
foreach (Character Chaar in World.H_Chars.Values)
{
Chaar.MyClient.DialogNPC = 998811;
PacketHandling.NPCDialog.Handle(Chaar.MyClient, null, 998811, 0);
Chaar.MyClient.EndSend();
}
Game.World.SendMsgToAll("GM", "warrior war has start all warrior go join.", 2011, 0);
}
if (DateTime.Now.DayOfWeek == DayOfWeek.Monday && DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45 && DateTime.Now.Second == 01) // Day of the week
{
foreach (Character Chaar in World.H_Chars.Values)
{
Chaar.MyClient.DialogNPC = 998811;
PacketHandling.NPCDialog.Handle(Chaar.MyClient, null, 998811, 0);
Chaar.MyClient.EndSend();
}
Game.World.SendMsgToAll("GM", "Ninja war has start all Ninja go join.", 2011, 0);
}
if (DateTime.Now.DayOfWeek == DayOfWeek.Tuesday && DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45 && DateTime.Now.Second == 01) // Day of the week
{
foreach (Character Chaar in World.H_Chars.Values)
{
Chaar.MyClient.DialogNPC = 998811;
PacketHandling.NPCDialog.Handle(Chaar.MyClient, null, 998811, 0);
Chaar.MyClient.EndSend();
}
Game.World.SendMsgToAll("GM", "WaterToist war has start all WaterToist go join.", 2011, 0);
}
if (DateTime.Now.DayOfWeek == DayOfWeek.Wednesday && DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45 && DateTime.Now.Second == 01) // Day of the week
{
foreach (Character Chaar in World.H_Chars.Values)
{
Chaar.MyClient.DialogNPC = 998811;
PacketHandling.NPCDialog.Handle(Chaar.MyClient, null, 998811, 0);
Chaar.MyClient.EndSend();
}
Game.World.SendMsgToAll("GM", "FireToist war has start all FireToist go join.", 2011, 0);
}
if (DateTime.Now.DayOfWeek == DayOfWeek.Thursday && DateTime.Now.Hour == 19 && DateTime.Now.Minute >= 45 && DateTime.Now.Second == 01) // Day of the week
{
foreach (Character Chaar in World.H_Chars.Values)
{
Chaar.MyClient.DialogNPC = 998811;
PacketHandling.NPCDialog.Handle(Chaar.MyClient, null, 998811, 0);
Chaar.MyClient.EndSend();
}
Game.World.SendMsgToAll("GM", "Archers war has start all Archers go join.", 2011, 0);
}
#endregion
}
catch { }
ولغايط كدةتمام
حمل الفيديو وشوف
بقى
التحميل
عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع
[FONT=Courier New][COLOR=DarkOrange][SIZE=3]يارب اكون قدرت افيدكو بحاجة
:icon26:
|