بسم الله والصلاة السلام علي رسول الله اما بعد
نفسك تعمل متجر شحن داخل سيرفيرك ومش عارف ونفسك تتخلص من ان الناس تستناك علشان تشحن منك ريح بالك انت وخد اطريقه ده
نبداء
نظام الشحن عباره عن نقط انت بضفها للاميل الي عايز شحن منك حاجه ويروح يبدلها من الاني بي سي الفكره ان لو حد عايز يشحن اي حاجه ميجيش يسألك ع السعر او عن اي حاجه الان بي سي قدامه ف التون مكتوب فيه كل حاجه يديلك الكروت وانت تديله نقط مثلا ال 100 نقطه بي 10 جنيه
انت بقا اتحكم بالنقاط برحتك واوريك كيف انشاء الله
اولا كل شغلنه في السورس والنفي كات
نبداء بالسورس
اتبحث عن ملف
1 |
Entity Table |
اتبحث عن
1 |
public static bool LoadEntity(Client.GameClient client) |
تمام لحد هنا اتحط فيه او تحتيه مش اتفرق الي جاي
1 |
client.Entity.AvenGer = reader.ReadUInt32("AvenGer"); |
ايجيلك ايروا في كلمة AvenGer سيبك منه دلوقتي انحله
في نقس الكلاس اتبحث عن
1 |
.Set("Money", e.Money) |
تحتيه او فقيه حط الكود ده
1 |
.Set("AvenGer", e.AvenGer) |
ايجيلك ايروا فيه برضوا استنا نحله مع بعض
يلا نحل الايرو
اتفتح ملف
1 |
Entity.cs |
واتبحث عن الكلمه ده علي ما اعتقد هي موجوده في 98% من السورسات
1 |
public InnerPower InnerPower; |
الكلمه اتلقيه بالون الاخضر علشان قبليه //
لازم تتاكد انه الكلمه نفس
سوا كان Entity او player
بعد ما تبحث عن حط تحيه
1 |
public uint AvenGer; |
كده الايروا خلص كله وتمام التمام
ندخل علي الانبي سي
الانبي سي فيه كلمة conquer assuit يبا غيرها برحتك علي اسم سيرفيرك او سيبه برحتك
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 |
#region TQ Avenger-co System case 121998: { switch (npcRequest.OptionID) { case 0: { dialog.Text("Welcome In TQ ConquerAssuit-co System You'r ConquerAssuit Point Is " + client.Entity.AvenGer + " See What You Need To Buy"); dialog.Option("ColdPrize <50> ConquerAssuit Point ", 1); dialog.Option("1000.000.000 <50> ConquerAssuit Point ", 2); dialog.Option("VIP 7 <50> ConquerAssuit Point ", 3); dialog.Option("Soul P9 WindWalker <100> ConquerAssuit Point", 4); dialog.Option("Soul P9 Bruce_Lee <100> ConquerAssuit Point", 5); dialog.Option("Soul P9 ninja <100> ConquerAssuit Point", 6); dialog.Option("Soul P9 Monk <100> ConquerAssuit Point", 7); dialog.Option("Soul P9 Fire And Water <100> ConquerAssuit Point", 8); dialog.Option("Soul P9 Trojan <100> ConquerAssuit Point", 9); dialog.Option("Soul P9 Pirate <100> ConquerAssuit Point", 10); dialog.Option("Soul P9 Warrior <100> ConquerAssuit Point", 11); dialog.Option("Soul P9 Archer <100> ConquerAssuit Point", 12); //dialog.Option("Garment&Mount&Cup", 21); // dialog.Option("Shops", 22); //dialog.Option("SoulsP7", 28); dialog.Send(); break; } case 1: { dialog.Text("Are You Sure To Buy ColdPrize"); dialog.Option("Yes", 100); dialog.Option("No", 255); dialog.Send(); break; } case 2: { dialog.Text("Are You Sure To Buy 1000.000.000"); dialog.Option("Yes", 101); dialog.Option("No", 255); dialog.Send(); break; } case 3: { dialog.Text("Are You Sure To Buy VIP 7"); dialog.Option("Yes", 103); dialog.Option("No", 255); dialog.Send(); break; } case 4: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 104); dialog.Option("No", 255); dialog.Send(); break; } case 5: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 105); dialog.Option("No", 255); dialog.Send(); break; } case 6: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 106); dialog.Option("No", 255); dialog.Send(); break; } case 7: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 107); dialog.Option("No", 255); dialog.Send(); break; } case 8: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 108); dialog.Option("No", 255); dialog.Send(); break; } case 9: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 109); dialog.Option("No", 255); dialog.Send(); break; } case 10: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 110); dialog.Option("No", 255); dialog.Send(); break; } case 11: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 111); dialog.Option("No", 255); dialog.Send(); break; } case 12: { dialog.Text("Are You Sure To Buy Soul P9"); dialog.Option("Yes", 112); dialog.Option("No", 255); dialog.Send(); break; } case 20: { client.Entity.Teleport(5050, 51, 51); break; } case 100: { if (client.Entity.AvenGer >= 50) { client.Entity.AvenGer -= 50; client.Inventory.Add(2100075, 0, 1, 12, 1); } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 101: { if (client.Entity.AvenGer >= 50) { client.Entity.AvenGer -= 50; client.Entity.ConquerPoints += 1000000000; } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 103: { if (client.Entity.AvenGer >= 50) { client.Entity.AvenGer -= 50; client.Entity.VIPLevel = 7; } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 104: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(626439, 2152271, 6, 12, 12, 1, true, false);//DragonFan client.Inventory.AddSoul(626439, 2152271, 6, 12, 12, 1, true, false);//DragonFan client.Inventory.AddSoul(101309, 2152252, 6, 12, 12, 1, true, false);//Armor client.Inventory.AddSoul(170309, 2152250, 6, 12, 12, 1, true, false);//Hat client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 105: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(617439, 2152266, 6, 12, 12, 1, true, false);//SkyNunchaku client.Inventory.AddSoul(617439, 2152266, 6, 12, 12, 1, true, false);//SkyNunchaku client.Inventory.AddSoul(138309, 2152252, 6, 12, 12, 1, true, false);//Bruce_LeeArmor client.Inventory.AddSoul(148309, 2152250, 6, 12, 12, 1, true, false);//Bruce_LeeHood client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 106: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; // client.Inventory.AddSoul(511439, 2152260, 6, 12, 12, 1, true, false);//Scythe // client.Inventory.AddSoul(511439, 2152260, 6, 12, 12, 1, true, false);//Scythe client.Inventory.AddSoul(616439, 2152260, 6, 12, 12, 1, true, false);//Katana client.Inventory.AddSoul(616439, 2152260, 6, 12, 12, 1, true, false);//Katana //client.Inventory.AddSoul(601439, 800111, 6, 12, 12, 1, true, false);//Katana //client.Inventory.AddSoul(601439, 800111, 6, 12, 12, 1, true, false);//Katana //client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana //client.Inventory.AddSoul(601439, 800142, 6, 12, 12, 1, true, false);//Katana client.Inventory.AddSoul(135309, 2152252, 6, 12, 12, 1, true, false);//ArmorNinja client.Inventory.AddSoul(123309, 2152250, 6, 12, 12, 1, true, false);//NinjaHood client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 107: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(622439, 2152259, 6, 12, 12, 1, true, false);//Beads client.Inventory.AddSoul(622439, 2152259, 6, 12, 12, 1, true, false);//Beads // client.Inventory.AddSoul(610439, 2152259, 6, 12, 12, 1, true, false);//Beads //client.Inventory.AddSoul(610439, 2152259, 6, 12, 12, 1, true, false);//Beads client.Inventory.AddSoul(136309, 2152252, 6, 12, 12, 1, true, false);//ArmorMonk client.Inventory.AddSoul(143309, 2152250, 6, 12, 12, 1, true, false);//CapMonk client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 108: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(421439, 2152261, 6, 12, 12, 1, true, false);//BackSword client.Inventory.AddSoul(620439, 2152262, 6, 12, 12, 1, true, false);//ImperialBacksword //client.Inventory.AddSoul(619439, 801104, 6, 12, 12, 1, true, false); client.Inventory.AddSoul(134309, 2152252, 6, 12, 12, 1, true, false);//ArmorFire client.Inventory.AddSoul(114309, 2152250, 6, 12, 12, 1, true, false);//CapFire client.Inventory.AddSoul(152279, 2152251, 6, 12, 12, 1, true, false);//Bracelet client.Inventory.AddSoul(121269, 2152256, 6, 12, 12, 1, true, false);//Bag client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 109: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(480439, 2152260, 6, 12, 12, 1, true, false);//Clup client.Inventory.AddSoul(614429, 2152260, 6, 12, 12, 1, true, false);//ShadowCrossSaber client.Inventory.AddSoul(614429, 2152260, 6, 12, 12, 1, true, false);//ShadowCrossSaber //client.Inventory.AddSoul(410439, 800111, 6, 12, 12, 1, true, false);//Blade //client.Inventory.AddSoul(420439, 800111, 6, 12, 12, 1, true, false);//Sword client.Inventory.AddSoul(130309, 2152252, 6, 12, 12, 1, true, false);//ArmorTrojan client.Inventory.AddSoul(118309, 2152250, 6, 12, 12, 1, true, false);//CapTrojan client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 110: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(611439, 2152264, 6, 12, 12, 1, true, false);//Rapier client.Inventory.AddSoul(612439, 2152263, 6, 12, 12, 1, true, false);//Pistol client.Inventory.AddSoul(139309, 2152252, 6, 12, 12, 1, true, false);//ArmorPirate client.Inventory.AddSoul(144309, 2152250, 6, 12, 12, 1, true, false);//CapPirate client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 111: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(560439, 2152268, 6, 12, 12, 1, true, false);//Spear client.Inventory.AddSoul(900309, 2152267, 6, 12, 12, 1, true, false);//Shield client.Inventory.AddSoul(131309, 2152252, 6, 12, 12, 1, true, false);//ArmorWarrior client.Inventory.AddSoul(111309, 2152250, 6, 12, 12, 1, true, false);//CapWarrior client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 112: { if (client.Entity.AvenGer >= 100) { client.Entity.AvenGer -= 100; client.Inventory.AddSoul(613429, 2152265, 6, 12, 12, 1, true, false);//Knife client.Inventory.AddSoul(613429, 2152265, 6, 12, 12, 1, true, false);//Knife //client.Inventory.AddSoul(500429, 800618, 6, 12, 12, 1, true, false);//Bow client.Inventory.AddSoul(133309, 2152252, 6, 12, 12, 1, true, false);//ArmorArcher client.Inventory.AddSoul(113309, 2152250, 6, 12, 12, 1, true, false);//CapArcher client.Inventory.AddSoul(120269, 2152251, 6, 12, 12, 1, true, false);//Necklace client.Inventory.AddSoul(150269, 2152254, 6, 12, 12, 1, true, false);//Ring client.Inventory.AddSoul(160249, 2152253, 6, 12, 12, 1, true, false);//Boot } else { dialog.Text("You don't have enough ConquerAssuit Point"); dialog.Option("Sorry", 255); dialog.Send(); } break; } case 28: { client.Entity.Teleport(1998, 294, 285); break; } } break; } #endregion |
انا حاطط في الانبي سي هنا كاس وفي اي بي 7 وصولات 9 ومليار سي بي
انت يبا عدل عليه برحتك خالص واتحكم في النقاط برحتك
1 |
if (client.Entity.AvenGer >= 50) |
هنا تتحدد عن النقاط بتاعت الحاجه الي عاوز تبيعه
ياعني انا عامل الفي اي بي ب50 نقطعه و50 نقطعه انا عامله ب10جنيه
انت ممكن تغيرها برحتك خالص
كده احنا خلصنا من السورس من غير ولا ايروا
ندخل علي النفي كات
افتح ال npc وضيفوا انت بقا طبعا ده حاجه مش عايزه شرح
ندخل علي اهم اهم حاجه
في النفي كات برضوا
دوس كلك يمين علي ملف
entities
واختار ذي الي في الصوره
بعدين ايظهرلك مربع فارغ امله ذي الي في الصوره ولازم تتاكد ان علامة صح الي في المربع مش موجوده
بعد ماتملي الاضافه اعمل Save
مده الف مبروك المتجر نزل في اللعبه هو موضوع طويل بس سهل
طيب في واحد ايقولي ازاي انا ادي الي عاوز يشحن نقاط اقولك انا
علشان تدي حد نقاط لازم الشخص الي اتديلوا يكون قافل الاكونت
او ممكن انت تديلو kick تقفل حسابه عادي
تمام وتروح في النفي كات في ملف
entities
وتبحث عن اسم الشخص الي عاوز تديلوا النقاط وتتقدم بالمسطره الي تحت الي اخر حاجه
اخر حاجه خالص وحط النقاط الي انت عايز تدهالوا ا
ياعني انا مخلي ال50 نقطه في سيرفير ب10ج انت عادي تغير برحتك
وكده الف مبروووك المتجر خلص
13 تعليق “متجر شحن داخل السيرفير من محمد ياسر”
تسلم ايدك اشتغل وكل حاجه تمام ومفيش مشاكل بس كنا عاوز اعرف ازاي اوصل الكروت للاعب علشان يبدل بيها !
سيبكم من نظام الشحن ده
انا انزل نظام جديد جدا يوم العيد وفيه امكانيات كبيره جدا انتظرونا وادعموني 😻
موضوع جميل
انا مشيت على الخطوات زى ما هى والموضوع اضاف بنجاح بس ناقصله حاجة
شفرة لى الشحن يعنى انا مثلا عندى ضفتها le
المفروض الشفرة بتبقى كده @give ahmed le 10000 مثلا مش شغاله
فمحتاج من حضرتك الشفرة او شرح ازاى تعمل شفرة
مرة تانيه تسلم على الموضوع الجميل ده
انا نفس الفكره ساحبها من سورسى القديم فى سورس ثرى دى بس مش فاكر الشفرة
تسلم ي أستاذ محمد يأسر انا عاوز أتواصل معها حضرتك فيسبوك ممكن وحضرتك أنا ضيفت وتامما باجي أحط نقط وانا قأفل الاكوانت اجي أفتاح أكلم الرأجل بيقولي ممعكشي رصيد ؟ أي المشكله دي
تسلم ايدك يا معلم استمر
لو سمحت حضرتك انا معنديش الكود ده public static bool LoadEntity(Client.GameClient client) اللى هو اول كود ومش موجود غير الكود ده public static bool LoadEntity(GameState client) ارجو الحل وشكرا
اكيد في ايروا في السورس علشان كده مسيفش بالكامل
ممكن تحصل انك مسيفتش من F6 ولازم علشان تسيف تكون داخل علي البروجكت
حضرتك سيفيت من f6بس حضرتك فيه واحد بيقولي ممكن تكون مشكله Help desk
أنأ مأشي تمام بس ألرأجل نزلتو تون بجي اتكها عليه مش بيكلماني خألص ليه ممكن رد
يا استاذ محمد ممكن تعمل مكان للnpc اتبا الموقع منظم كده
تسلم يا استاذ محمد
والله روعه يا محمد تسلم ايدك استمر