المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : طـلب توب


taha
2020-02-12, 08:10 PM
يجماعه انا عاوز احط التوبات كلها الي في السيرفر في ان بي سي واحد بس

taha
2020-02-13, 07:01 AM
يجماعه الديتى لاند منضافه عندى بس الان بى سى الى بيدخنى ليها مش قعد عاوز اضيفوا ازاى
وايه الكود بتعاوا علشان يشتغل

Tefa
2020-02-13, 09:43 AM
اكثر من طلب يغلق

MRonlineGvrix
2020-02-13, 04:34 PM
اتفضل عدل انتا واظبط برحتك
#region All Queste Day
// case 141198:
case 141199:
{
dialog.Avatar(67);
switch (npcRequest.OptionID)
{
case 0:
{
{
dialog.Text("Hey there > " + client.Entity.Name + " < No Questes for now -_-");
dialog.Option("Ok Thanks.", 255);
// client.Entity.Update(_String.Effect, "ErLongTengFei", true);
dialog.Send();
}
if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 3)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top WarriorTop PKWar?.");
dialog.Option("Yea Teleport me Please WarriorTop!!", 100);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 6 && DateTime.Now.Minute <= 9)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join ToP ArcherTop PKWar?.");
dialog.Option("Yea Teleport me Please ArcherTop!!", 101);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top NinjaTop PKWar?.");
dialog.Option("Yea Teleport me Please NinjaTop!!", 102);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 21)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join TopMonk Pk?.");
dialog.Option("Yea Teleport me Please TopMonk!!", 103);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join TopTrojan PK PKWar?.");
dialog.Option("Yea Teleport me Please TopTrojan!!", 104);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
//if (DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 33)
//{
// dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top TaoistMoon PKWar?.");
// dialog.Option("Yea Teleport me Please TaoistMoon!!", 105);
// dialog.Option("I`ll~think~about~it.", 255);
// dialog.Send();
//}
if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top PiratLord ?.");
dialog.Option("Yea Teleport me Please PiratLord!!", 106);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 45)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top KungFuKing PKWar?.");
dialog.Option("Yea Teleport me Please KungFuKing!!", 107);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
{
dialog.Text("Hello " + client.Entity.Name + "I Can Let You Join The Cps War.");
dialog.Text("Start Every Hours At (××:48) The End (××:51) Your Make 5 Muints SinglUp.");
dialog.Text("If You Need To Join Cps War a " + ServerRates.Tops + " CPs Cps In Your Inventory If You Killed Any Entity U Will Drop " + ServerRates.Tops + " From Him Also If U Died U will Lose " + ServerRates.Tops + " Cps");
dialog.Option("Yea Teleport me Please CpsWar!!", 108);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 57)
{
dialog.Text("Hey there > " + client.Entity.Name + " < Would you like to join Windwalker~PK ?.");
dialog.Option("Yea Teleport me Please Windwalker~PK!!", 109);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
break;
}
case 100:
{
if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 3)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2536, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top WarriorTop Pk War is held during xx:00 to xx:3 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 101:
{
if (DateTime.Now.Minute >= 6 && DateTime.Now.Minute <= 9)
{
client.Entity.Teleport(8541, 108, 122);
}
else
{
dialog.Text("[ ArcherTop PK] War is held during [xx:06] To [xx:09] in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 102:
{
if (DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2529, 57, 51);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top NinjaTop Pk War is held during xx:12 to xx:15 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 103:
{
if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 21)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2528, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top MonkTop Pk War is held during xx:18 to xx:21 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 104:
{
if (DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2538, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top Trojan Pk War is held during xx:24 to xx:27 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 105:
{
if (DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 33)
{
Random R = new Random();
int Nr = R.Next(1, 1);
// if (Nr == 1) client.Entity.Teleport(2537, 50, 50);
if (Nr == 1) client.Entity.Teleport(2222, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top TaoistMoon Pk War is held during xx:30 to xx:33 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 106:
{
if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2527, 50, 50);
// if (Nr == 1) client.Entity.Teleport(5928, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top PiratLord Pk War is held during xx:36 to xx:39 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 107:
{
if (DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 45)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(321, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top KungFuKing Pk War is held during xx:6 to xx:9 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 108:
{
if (DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
{
if (client.Entity.ConquerPoints >= ServerRates.Tops)
{
client.Entity.Teleport(6565, 39, 35);
if (client.Entity.MyClones.Count > 0)
{
var clones = client.Entity.MyClones.Values.ToArray();
for (int i = 0; i < clones.Length; i++)
{
var item = clones[i];
if (item == null)
continue;
Data data = new Data(true);
data.UID = item.UID;
data.ID = Network.GamePackets.Data.RemoveEntity;
client.Entity.Owner.SendScreen(data);
client.Entity.MyClones[item.UID] = null;
}
client.Entity.MyClones.Clear();
}
}
else
{
dialog.Text("Sorry Your Dont Make " + ServerRates.Tops + " CPs");
dialog.Option("Thanks.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
else
{
dialog.Text("Sorry i Can Let You join The Event Now Come again Later On (××:48) Off (××:51).");
dialog.Option("Thanks.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
//break;
}
case 109:
{
if (DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 57)
{
Random R = new Random();
int Nr = R.Next(1, 1);
client.Entity.Teleport(9575, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Hey there > " + client.Entity.Name + "Would you like to join Windwalker~PK ?.");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion

taha
2020-02-14, 07:32 AM
وبعد ما اضيفوا اعمل ؟

taha
2020-02-14, 07:47 AM
او اظبط ايه فيه

taha
2020-02-14, 07:48 AM
دى جاى تحتها خط
ServerRates
ودى
Data
ابدلهم بايه

STORM
2020-02-14, 08:01 AM
دى جاى تحتها خط
serverrates
ودى
data
ابدلهم بايه

اول ايرور علشان سيرفر راتس مش منضاف عندك فى السورس لازم تضيفه عندك
تانى ايرور ده بسبب ان الاضافة لسورسات العادية مش لسورسات البورتو شوف ايه كلمة الى مكان دتا الايرور هيتحل سهله جدا تعرفها

taha
2020-02-14, 08:58 AM
طيب ممكن تجبلى اضافه سيرفر راتس
وداتا بدلتها بكلام كتير وبردى جيب خط مش عارف ايه حلها
ممكن تقولى ابدلها بايه انتا

taha
2020-02-14, 08:59 AM
وعاوز اضيف ان بى سى الديتى لاند الى هو بيدخنى المابه
اسموا كدا هو
Yukoon

taha
2020-02-14, 07:01 PM
؟؟؟؟؟؟؟؟

Hassan Emprator
2020-02-14, 07:19 PM
.

Hassan Emprator
2020-02-14, 07:20 PM
؟؟؟؟؟؟؟؟

بقولك ايه اخر تحذير ليك انت مشاكلك كترت اوي ودا مخالفه !!!

مش كل شويه مشكله في موضوع واحد اذا تكررت تاني هيتم حظر حسابك تمام !!!

لو حصلت مخالفه منك تاني هيحصل بان نهائي للحساب !!

taha
2020-02-14, 07:28 PM
طيب اي حلها دى

taha
2020-02-15, 06:54 AM
لما بضيفها جايب خطوط تحت دول ايه الحل دى جاى تحتها خط
ServerRates
ودى
Data
ابدلهم بايه

taha
2020-02-16, 02:43 PM
طيب تعرف الان بى سى الى اسموا كدا Yukoon الى بيدخلك الديتى لاند عاوز الان بى سى بتاع الراجل ده علشان اخوش الديتى لاند

Tefa
2020-02-17, 12:52 AM
رجاء وضع طلب واحد فقط في كل موضوع و عدم نشر اكتر من 2 موضوع في حالة تمت الاجابه علي موضوع لك لن يتم النظر للموضوع او اجابة اي شئ عليه مره اخلي يمكنك كتابة فقط في موضوع الذي تم تصنيفه علي انه محلول في حالة ان الحل لم يعمل او ينقصه شئ

taha
2020-02-17, 06:50 AM
لما ضفت الان بى سى الى بعتهولى مستر اون لاين بتاع الحفلات جيبلى
دى جاى تحتها خط
ServerRates
ودى
Data
ابدلهم بايه
فى سورس رايزو
ابدلهم بايه او ايه حلهم دول يا ريدار

Tefa
2020-02-17, 06:53 AM
لما ضفت الان بى سى الى بعتهولى مستر اون لاين بتاع الحفلات جيبلى
دى جاى تحتها خط
serverrates
ودى
data
ابدلهم بايه
فى سورس رايزو
ابدلهم بايه او ايه حلهم دول يا ريدار

موضوع ده مغلق بالنسبالي لو عايز اي استفسار اعمل موضوع جديد و يكون فيه مشكله واضحه و بالصور