|
|
المشاركات 158 |
+التقييم 0.07 |
تاريخ التسجيل May 2020 |
الاقامة |
نظام التشغيل |
رقم العضوية 3864 |
[NpcAttribute(NpcID.MoneyPacks)]
public static void MoneyPacks(Client.GameClient client, ServerSockets.Packet stream, byte Option, string Input, uint id)
{
Dialog data = new Dialog(client, stream);
switch (Option)
{
case 0:
{
data.AddText("Hello " + client.Player.Name + " I'm Change Cps Free For Cps Bound")
.AddOption("Yes~I'm~Change~100Cps[Free]~For~500Cps[Bound]", 1)
.AddOption("Yes~I'm~Change~1000Cps[Free]~For~5000Cps[Bound]", 2) //3006589 -> (1Billion) 3006588 -> (500Million) 3006608 -> (250Million)
.AddOption("Yes~I'm~Change~10000Cps[Free]~For~50000Cps[Bound]", 3) //Packet IDNPC 88 9 F5 H0 00 00 02 A7 05 //By: MoALi - MAKET
.AddOption("No~Later.", 255) //Packet IDNPC 21 9 F5 W0 0F 88 02 P7 04 // MoAli -Camila -Maket -RankoS - Momen
.AddAvatar(63).FinalizeDialog();
break;
}
case 1:
{//it's ID Items -> 3006589 -> (1Billion)
if (!client.Inventory.HaveSpace(1))
{
client.SendSysMesage("Hey. " + client.Player.Name + "<tip color=#E9D0FC> Please Fee up some space 1 Slots.");
return;
}
else if (client.Player.ConquerPoints < 100)
{
client.SendSysMesage("Hey. " + client.Player.Name + "<tip color=#B763F6> You don't have Enough Cps I'm Need 100 Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 100;
client.Player.BoundCps += 500;
client.SendSysMesage("Congratz you got a Change~100Cps[Free]~For~500Cps[Bound] in your inventory.");
}
break;
}
case 2:
{//it's ID Items -> 3006588 -> (500Million)
if (!client.Inventory.HaveSpace(1))
{
client.SendSysMesage("Hey. " + client.Player.Name + "<tip color=#E9D0FC> Please Fee up some space 1 Slots.");
return;
}
else if (client.Player.ConquerPoints < 1000)
{
client.SendSysMesage("Hey. " + client.Player.Name + "<tip color=#B763F6> You don't have Enough Cps I'm Need 1000 Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 1000;
client.Player.BoundCps += 5000;
client.SendSysMesage("Congratz you got a Change~1000Cps[Free]~For~5000Cps[Bound] in your inventory.");
}
break;
}
case 3:
{//it's ID Items -> 3006608 -> (250Million)
if (!client.Inventory.HaveSpace(1))
{
client.SendSysMesage("Hey. " + client.Player.Name + "<tip color=#E9D0FC> Please Fee up some space 1 Slots.");
return;
}
else if (client.Player.ConquerPoints < 10000)
{
client.SendSysMesage("Hey. " + client.Player.Name + "<tip color=#B763F6> You don't have Enough Cps I'm Need 10000 Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 10000;
client.Player.BoundCps += 50000;
client.SendSysMesage("Congratz you got a Change~10000Cps[Free]~For~50000Cps[Bound] in your inventory.");
}
break;
}
}
}
أفضل جواب - كتبه mohamedomar
|
|
ببدلو واغير اسمة وكدا بفتح السيرفر بلاقي الان بي سي القديم لا واتك عليه بيجبلي الحاجا الي هي اصلا اتمسحت هتخش علي sobnpc م القاعده ابحث باسم الانبي سي القديم او الاي دي بتاعو واحذفو خالص وخلصت |
[npcattribute(npcid.moneypacks)]
public static void moneypacks(client.gameclient client, serversockets.packet stream, byte option, string input, uint id)
{
dialog data = new dialog(client, stream);
switch (option)
{
case 0:
{
data.addtext("hello " + client.player.name + " i'm change cps free for cps bound")
.addoption("yes~i'm~change~100cps[free]~for~500cps[bound]", 1)
.addoption("yes~i'm~change~1000cps[free]~for~5000cps[bound]", 2) //3006589 -> (1billion) 3006588 -> (500million) 3006608 -> (250million)
.addoption("yes~i'm~change~10000cps[free]~for~50000cps[bound]", 3) //packet idnpc 88 9 f5 h0 00 00 02 a7 05 //by: Moali - maket
.addoption("no~later.", 255) //packet idnpc 21 9 f5 w0 0f 88 02 p7 04 // moali -camila -maket -rankos - momen
.addavatar(63).finalizedialog();
break;
}
case 1:
{//it's id items -> 3006589 -> (1billion)
if (!client.inventory.havespace(1))
{
client.sendsysmesage("hey. " + client.player.name + "<tip color=#e9d0fc> please fee up some space 1 slots.");
return;
}
else if (client.player.conquerpoints < 100)
{
client.sendsysmesage("hey. " + client.player.name + "<tip color=#b763f6> you don't have enough cps i'm need 100 cps.");
return;
}
else
{
client.player.conquerpoints -= 100;
client.player.boundcps += 500;
client.sendsysmesage("congratz you got a change~100cps[free]~for~500cps[bound] in your inventory.");
}
break;
}
case 2:
{//it's id items -> 3006588 -> (500million)
if (!client.inventory.havespace(1))
{
client.sendsysmesage("hey. " + client.player.name + "<tip color=#e9d0fc> please fee up some space 1 slots.");
return;
}
else if (client.player.conquerpoints < 1000)
{
client.sendsysmesage("hey. " + client.player.name + "<tip color=#b763f6> you don't have enough cps i'm need 1000 cps.");
return;
}
else
{
client.player.conquerpoints -= 1000;
client.player.boundcps += 5000;
client.sendsysmesage("congratz you got a change~1000cps[free]~for~5000cps[bound] in your inventory.");
}
break;
}
case 3:
{//it's id items -> 3006608 -> (250million)
if (!client.inventory.havespace(1))
{
client.sendsysmesage("hey. " + client.player.name + "<tip color=#e9d0fc> please fee up some space 1 slots.");
return;
}
else if (client.player.conquerpoints < 10000)
{
client.sendsysmesage("hey. " + client.player.name + "<tip color=#b763f6> you don't have enough cps i'm need 10000 cps.");
return;
}
else
{
client.player.conquerpoints -= 10000;
client.player.boundcps += 50000;
client.sendsysmesage("congratz you got a change~10000cps[free]~for~50000cps[bound] in your inventory.");
}
break;
}
}
}
}
[NpcAttribute(NpcID.Pokercpstomoney)]//add by mohamed omar
public static void Pokercpstomoney(Client.GameClient client, ServerSockets.Packet stream, byte Option, string Input, uint id)
{
Dialog data = new Dialog(client, stream);
switch (Option)
{
case 0:
{
data.AddText("Hello There I Can Exchange Cps For Money And Money For Cps Enjoy .");
data.AddOption("1M Cps For 5.5B Money .", 1)
.AddOption("5.5B Money For 1M Cps .", 3)
.AddOption("5.5B Money For 1M BoundCps .", 5)
.AddOption("1M Cps For 1M BoundCps .", 7)
.AddOption("1M BoundCps For 1M Cps .", 9)
.AddOption("1M BoundCps For 5.5M Money .", 11)
.AddOption("Pack 500B Money .", 121)
.AddOption("Pack 100B Money .", 123)
.AddOption("Withdrawal~100B~Money.", 20)
.AddOption("#Thnx .", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 121:
{
data.AddText("Are you sure you want to pack 500,000,000,000 Silver into a Big Silver Bag?");
data.AddOption("Yes.", 122)
.AddOption("No.", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 122:
{
if (client.Inventory.HaveSpace(1) == false)
{
data.AddText("Please make 1 more space in your inventory.");
data.AddOption("Let me check.", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
if ((client.Player.Money >= 500000000000))
{
if (client.PokerPlayer != null)
break;
client.Player.Money -= 500000000000;
client.Player.SendUpdate(stream, client.Player.Money, MsgUpdate.DataType.Money);
client.Inventory.Add(stream, 3005837);
}
else
{
data.AddText("Sorry, you don`t have 500,000,000,000 Silver in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 123:
{
data.AddText("Are you sure you want to pack 100,000,000,000 Silver into a Medium Silver Bag?");
data.AddOption("Yes.", 124)
.AddOption("No.", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 124:
{
if (client.Inventory.HaveSpace(1) == false)
{
data.AddText("Please make 1 more space in your inventory.");
data.AddOption("Let me check.", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
if (client.Player.Money >= 100000000000)
{
if (client.PokerPlayer != null)
break;
client.Player.Money -= 100000000000;
client.Player.SendUpdate(stream, client.Player.Money, MsgUpdate.DataType.Money);
client.Inventory.Add(stream, 3005836);
}
else
{
data.AddText("Sorry, you don`t have 100,000,000,000 Silver in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 1:
{
data.AddText("5.5B For 1M Cps Are You Sure About That?");
data.AddOption("Yes .", 2)
.AddOption("No .", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 2:
{
if (client.Player.Money >= 5500000000)
{
if (client.PokerPlayer != null)
break;
client.Player.Money -= 5500000000;
client.Player.SendUpdate(stream, client.Player.Money, MsgUpdate.DataType.Money);
client.Player.ConquerPoints += 1000000;
client.Player.SendUpdate(stream, client.Player.ConquerPoints, MsgUpdate.DataType.ConquerPoints);
}
else
{
data.AddText("Sorry, you don`t have 5.5B Silver in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 3:
{
data.AddText("Are you sure ?");
data.AddOption("Yes .", 4)
.AddOption("No .", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 4:
{
if (client.Player.ConquerPoints >= 1000000)
{
if (client.PokerPlayer != null)
break;
client.Player.Money += 5500000000;
client.Player.SendUpdate(stream, client.Player.Money, MsgUpdate.DataType.Money);
client.Player.ConquerPoints -= 1000000;
client.Player.SendUpdate(stream, client.Player.ConquerPoints, MsgUpdate.DataType.ConquerPoints);
}
else
{
data.AddText("Sorry, you don`t have 1M Cps in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 5:
{
data.AddText("Are you sure ?");
data.AddOption("Yes .", 6)
.AddOption("No .", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 6:
{
if (client.Player.Money >= 5500000000)
{
if (client.PokerPlayer != null)
break;
client.Player.Money -= 5500000000;
client.Player.SendUpdate(stream, client.Player.Money, MsgUpdate.DataType.Money);
client.Player.BoundConquerPoints += 1000000;
client.Player.SendUpdate(stream, client.Player.BoundConquerPoints, MsgUpdate.DataType.BoundConquerPoints);
}
else
{
data.AddText("Sorry, you don`t have 5.5B Cps in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 7:
{
data.AddText("Are you sure ?");
data.AddOption("Yes .", 8)
.AddOption("No .", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 8:
{
if (client.Player.ConquerPoints >= 1000000)
{
if (client.PokerPlayer != null)
break;
client.Player.ConquerPoints -= 1000000;
client.Player.SendUpdate(stream, client.Player.BoundConquerPoints, MsgUpdate.DataType.BoundConquerPoints);
client.Player.BoundConquerPoints += 1000000;
client.Player.SendUpdate(stream, client.Player.ConquerPoints, MsgUpdate.DataType.ConquerPoints);
}
else
{
data.AddText("Sorry, you don`t have 1M Cps in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 9:
{
data.AddText("Are you sure ?");
data.AddOption("Yes .", 10)
.AddOption("No .", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 10:
{
if (client.Player.BoundConquerPoints >= 1000000)
{
if (client.PokerPlayer != null)
break;
client.Player.BoundConquerPoints -= 1000000;
client.Player.SendUpdate(stream, client.Player.BoundConquerPoints, MsgUpdate.DataType.BoundConquerPoints);
client.Player.ConquerPoints += 1000000;
client.Player.SendUpdate(stream, client.Player.ConquerPoints, MsgUpdate.DataType.ConquerPoints);
}
else
{
data.AddText("Sorry, you don`t have 1M BCps in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 11:
{
data.AddText("Are you sure ?");
data.AddOption("Yes .", 12)
.AddOption("No .", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 12:
{
if (client.Player.BoundConquerPoints >= 1000000)
{
if (client.PokerPlayer != null)
break;
client.Player.BoundConquerPoints -= 1000000;
client.Player.SendUpdate(stream, client.Player.BoundConquerPoints, MsgUpdate.DataType.BoundConquerPoints);
client.Player.Money += 5500000000;
client.Player.SendUpdate(stream, client.Player.Money, MsgUpdate.DataType.Money);
}
else
{
data.AddText("Sorry, you don`t have 1M BCps in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
case 20:
{
data.AddText("Enta M3ak [ " + client.Player.WHMoney + " ] Lw 3awez Ts7b 50B Men El Bank 3ayz Ts7b Now ??.");
data.AddOption("Yes.", 21)
.AddOption("No.", 255)
.AddAvatar(7).FinalizeDialog();
break;
}
case 21:
{
if ((client.Player.WHMoney >= 100000000000))
{
if (client.PokerPlayer != null)
break;
client.Player.WHMoney -= 100000000000;
client.Player.Money += 100000000000;
client.Player.SendUpdate(stream, client.Player.Money, MsgUpdate.DataType.Money);
}
else
{
data.AddText("Sorry, you don`t have 100,000,000,000 Silver in total.");
data.AddOption("My~bad.", 255)
.AddAvatar(7).FinalizeDialog();
}
break;
}
}
}
}
[npcattribute(npcid.pokercpstomoney)]//add by mohamed omar
public static void pokercpstomoney(client.gameclient client, serversockets.packet stream, byte option, string input, uint id)
{
dialog data = new dialog(client, stream);
switch (option)
{
case 0:
{
data.addtext("hello there i can exchange cps for money and money for cps enjoy .");
data.addoption("1m cps for 5.5b money .", 1)
.addoption("5.5b money for 1m cps .", 3)
.addoption("5.5b money for 1m boundcps .", 5)
.addoption("1m cps for 1m boundcps .", 7)
.addoption("1m boundcps for 1m cps .", 9)
.addoption("1m boundcps for 5.5m money .", 11)
.addoption("pack 500b money .", 121)
.addoption("pack 100b money .", 123)
.addoption("withdrawal~100b~money.", 20)
.addoption("#thnx .", 255)
.addavatar(7).finalizedialog();
break;
}
case 121:
{
data.addtext("are you sure you want to pack 500,000,000,000 silver into a big silver bag?");
data.addoption("yes.", 122)
.addoption("no.", 255)
.addavatar(7).finalizedialog();
break;
}
case 122:
{
if (client.inventory.havespace(1) == false)
{
data.addtext("please make 1 more space in your inventory.");
data.addoption("let me check.", 255)
.addavatar(7).finalizedialog();
break;
}
if ((client.player.money >= 500000000000))
{
if (client.pokerplayer != null)
break;
client.player.money -= 500000000000;
client.player.sendupdate(stream, client.player.money, msgupdate.datatype.money);
client.inventory.add(stream, 3005837);
}
else
{
data.addtext("sorry, you don`t have 500,000,000,000 silver in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 123:
{
data.addtext("are you sure you want to pack 100,000,000,000 silver into a medium silver bag?");
data.addoption("yes.", 124)
.addoption("no.", 255)
.addavatar(7).finalizedialog();
break;
}
case 124:
{
if (client.inventory.havespace(1) == false)
{
data.addtext("please make 1 more space in your inventory.");
data.addoption("let me check.", 255)
.addavatar(7).finalizedialog();
break;
}
if (client.player.money >= 100000000000)
{
if (client.pokerplayer != null)
break;
client.player.money -= 100000000000;
client.player.sendupdate(stream, client.player.money, msgupdate.datatype.money);
client.inventory.add(stream, 3005836);
}
else
{
data.addtext("sorry, you don`t have 100,000,000,000 silver in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 1:
{
data.addtext("5.5b for 1m cps are you sure about that?");
data.addoption("yes .", 2)
.addoption("no .", 255)
.addavatar(7).finalizedialog();
break;
}
case 2:
{
if (client.player.money >= 5500000000)
{
if (client.pokerplayer != null)
break;
client.player.money -= 5500000000;
client.player.sendupdate(stream, client.player.money, msgupdate.datatype.money);
client.player.conquerpoints += 1000000;
client.player.sendupdate(stream, client.player.conquerpoints, msgupdate.datatype.conquerpoints);
}
else
{
data.addtext("sorry, you don`t have 5.5b silver in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 3:
{
data.addtext("are you sure ?");
data.addoption("yes .", 4)
.addoption("no .", 255)
.addavatar(7).finalizedialog();
break;
}
case 4:
{
if (client.player.conquerpoints >= 1000000)
{
if (client.pokerplayer != null)
break;
client.player.money += 5500000000;
client.player.sendupdate(stream, client.player.money, msgupdate.datatype.money);
client.player.conquerpoints -= 1000000;
client.player.sendupdate(stream, client.player.conquerpoints, msgupdate.datatype.conquerpoints);
}
else
{
data.addtext("sorry, you don`t have 1m cps in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 5:
{
data.addtext("are you sure ?");
data.addoption("yes .", 6)
.addoption("no .", 255)
.addavatar(7).finalizedialog();
break;
}
case 6:
{
if (client.player.money >= 5500000000)
{
if (client.pokerplayer != null)
break;
client.player.money -= 5500000000;
client.player.sendupdate(stream, client.player.money, msgupdate.datatype.money);
client.player.boundconquerpoints += 1000000;
client.player.sendupdate(stream, client.player.boundconquerpoints, msgupdate.datatype.boundconquerpoints);
}
else
{
data.addtext("sorry, you don`t have 5.5b cps in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 7:
{
data.addtext("are you sure ?");
data.addoption("yes .", 8)
.addoption("no .", 255)
.addavatar(7).finalizedialog();
break;
}
case 8:
{
if (client.player.conquerpoints >= 1000000)
{
if (client.pokerplayer != null)
break;
client.player.conquerpoints -= 1000000;
client.player.sendupdate(stream, client.player.boundconquerpoints, msgupdate.datatype.boundconquerpoints);
client.player.boundconquerpoints += 1000000;
client.player.sendupdate(stream, client.player.conquerpoints, msgupdate.datatype.conquerpoints);
}
else
{
data.addtext("sorry, you don`t have 1m cps in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 9:
{
data.addtext("are you sure ?");
data.addoption("yes .", 10)
.addoption("no .", 255)
.addavatar(7).finalizedialog();
break;
}
case 10:
{
if (client.player.boundconquerpoints >= 1000000)
{
if (client.pokerplayer != null)
break;
client.player.boundconquerpoints -= 1000000;
client.player.sendupdate(stream, client.player.boundconquerpoints, msgupdate.datatype.boundconquerpoints);
client.player.conquerpoints += 1000000;
client.player.sendupdate(stream, client.player.conquerpoints, msgupdate.datatype.conquerpoints);
}
else
{
data.addtext("sorry, you don`t have 1m bcps in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 11:
{
data.addtext("are you sure ?");
data.addoption("yes .", 12)
.addoption("no .", 255)
.addavatar(7).finalizedialog();
break;
}
case 12:
{
if (client.player.boundconquerpoints >= 1000000)
{
if (client.pokerplayer != null)
break;
client.player.boundconquerpoints -= 1000000;
client.player.sendupdate(stream, client.player.boundconquerpoints, msgupdate.datatype.boundconquerpoints);
client.player.money += 5500000000;
client.player.sendupdate(stream, client.player.money, msgupdate.datatype.money);
}
else
{
data.addtext("sorry, you don`t have 1m bcps in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
case 20:
{
data.addtext("enta m3ak [ " + client.player.whmoney + " ] lw 3awez ts7b 50b men el bank 3ayz ts7b now ??.");
data.addoption("yes.", 21)
.addoption("no.", 255)
.addavatar(7).finalizedialog();
break;
}
case 21:
{
if ((client.player.whmoney >= 100000000000))
{
if (client.pokerplayer != null)
break;
client.player.whmoney -= 100000000000;
client.player.money += 100000000000;
client.player.sendupdate(stream, client.player.money, msgupdate.datatype.money);
}
else
{
data.addtext("sorry, you don`t have 100,000,000,000 silver in total.");
data.addoption("my~bad.", 255)
.addavatar(7).finalizedialog();
}
break;
}
}
}
| الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
| يلا صفحه لسورس اليكس انا معدلها عشان تتظبط مع اليكس | midoazoz | صفحات التسجيل كونكر اونلاين | 96 | 2021-09-19 02:21 PM |
| حل مشكلة دي يا جماعة | amr69940 | مشكلات السيرفيرات كونكر الشخصيه | 10 | 2020-04-22 03:04 PM |
| بعد ازن الناس المحترمه عاوز اعمل جي ام علي سورس اليكس مش عارف مساعده بعد ازنكوم | toteo3344 | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-04-16 04:39 AM |
| يا جماعة بالله عليكم انا مش لاقى حل | khaled202020 | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-03-29 10:53 PM |
| عايز حل يا جماعة انا عامل ايتم بة وقت المشكلة لمة الوقت بيخلص من ع الايتم مش بتختفي ع | Omar | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-12-25 10:27 AM |