Abdullah97
عدد الرسائل : 2672 العمر : 27 التقييم : 16
&لمعاينه معلومات الاعب& اسم اللاعب: Abdullah97 Combat Level: (138/138) أوسمة التميز في المنتدى: لا يوجد
| موضوع: [delta] اضافة كل اكل موجود برون سكيب عام 2008 [317] 2011-06-26, 08:31 | |
| بسم الله الرحمن الرحيم السلام عليكم و رحمت الله و بركاتم اخواني هذه كيفية اذافة كل اكل موجود برون سكيب لمه كانت 317 عام 2007 او 2008 اول شيء نبدا بفتح مجلد السيرفر و افتح ملف potions.java و هناك ضيف هذه الاكواد - الكود:
-
public long EatDelay = 0; public void EatFood(client c, int GiveHp, int foodId, int slot) { if(c.currentHealth < 1){ return; } if(System.currentTimeMillis() - EatDelay > 1350){ EatDelay = System.currentTimeMillis(); c.setAnimation(0x33D); c.deleteItem(foodId, slot, 1); c.currentHealth += GiveHp; if (c.currentHealth > c.playerLevel[c.playerHitpoints]) c.currentHealth = c.playerLevel[c.playerHitpoints]; c.sendQuest("" + c.currentHealth + "", 4016); c.sM("You eat the "+c.getItemName(foodId)); if(c.currentHealth < c.playerLevel[c.playerHitpoints]){ c.sM("It heals some health."); } } return; } public void EatFood(client c, int GiveHp, int foodId, int slot, int getItem) { if(c.currentHealth < 1){ return; } if(System.currentTimeMillis() - EatDelay > 1350){ EatDelay = System.currentTimeMillis(); c.setAnimation(0x33D); c.deleteItem(foodId, slot, 1); c.addItem(getItem, 1); c.currentHealth += GiveHp; if (c.currentHealth > c.playerLevel[c.playerHitpoints]) c.currentHealth = c.playerLevel[c.playerHitpoints]; c.sendQuest("" + c.currentHealth + "", 4016); c.sM("You eat the "+c.getItemName(foodId)); if(c.currentHealth < c.playerLevel[c.playerHitpoints]){ c.sM("It heals some health."); } } return; }
الاثنين مو نفس بعض ضيفهم الاثنين تحت - الكود:
-
public class potions { و الان روح على كل اكل كان موجود هناك و شيله و تحت - الكود:
-
switch (item) { ضيف هذه الكود - الكود:
-
case 319: // Anchovies EatFood(c, 1, item, slot); break;
case 1965: // Cabbage EatFood(c, 1, item, slot); break;
case 1967: // Cabbage EatFood(c, 1, item, slot); break;
case 2128: // Equa Leaves EatFood(c, 1, item, slot); break;
case 1957: // Onion EatFood(c, 1, item, slot); break;
case 1942: // Potato EatFood(c, 1, item, slot); break;
case 1963: // Banana EatFood(c, 2, item, slot); break;
case 1985: // Cheese EatFood(c, 2, item, slot); break;
case 2126: // Dwellberries EatFood(c, 2, item, slot); break;
case 247: // Jangerberries EatFood(c, 2, item, slot); break;
case 2120: // Lime EatFood(c, 2, item, slot); break;
case 2122: // Lime Chunks EatFood(c, 2, item, slot); break;
case 2124: // Sliced Lime EatFood(c, 2, item, slot); break;
case 2102: // Lemon EatFood(c, 2, item, slot); break;
case 2104: // Lemon Chunks EatFood(c, 2, item, slot); break;
case 2106: // Sliced Lemon EatFood(c, 2, item, slot); break;
case 2108: // Orange EatFood(c, 2, item, slot); break;
case 2110: // Orange Chunks EatFood(c, 2, item, slot); break;
case 2112: // Sliced Orange EatFood(c, 2, item, slot); break;
case 7072: // Spicy Sauce EatFood(c, 2, item, slot, 1923); break;
case 1969: // Spinach Roll EatFood(c, 2, item, slot); break;
case 1982: // Tomato EatFood(c, 2, item, slot); break;
case 2142: // Meat EatFood(c, 3, item, slot); break;
case 2140: // Chicken EatFood(c, 3, item, slot); break;
case 1973: // Chocolate Bar EatFood(c, 3, item, slot); break;
case 3151: // Karambwanji EatFood(c, 3, item, slot); break;
case 315: // Shrimp EatFood(c, 3, item, slot); break;
case 1861: // Ugthanki Meat EatFood(c, 3, item, slot); break;
case 6701: // Baked Potato EatFood(c, 4, item, slot); break;
case 325: // Sardine EatFood(c, 4, item, slot); break;
case 2309: // Bread EatFood(c, 5, item, slot); break;
case 7062: // Chilli con Carne EatFood(c, 5, item, slot, 1923); break;
case 3228: // Cooked Rabbit EatFood(c, 5, item, slot); break;
case 347: // Herring EatFood(c, 5, item, slot); break;
case 7082: // Fried Mushrooms EatFood(c, 5, item, slot, 1923); break;
case 7084: // Fried Onions EatFood(c, 5, item, slot, 1923); break;
case 7078: // Scrambled Egg EatFood(c, 5, item, slot, 1923); break;
case 3363: // Thin Snail EatFood(c, 5+misc.random(2), item, slot); break;
case 3365: // Lean Snail EatFood(c, 6+misc.random(2), item, slot); break;
case 355: // Mackerel EatFood(c, 6, item, slot); break;
case 3381: // Slimey Eel EatFood(c, 6+misc.random(4), item, slot); break;
case 2209: // Chocchip crunchies EatFood(c, 7, item, slot); break;
case 2239: // Chocchip crunchies EatFood(c, 7, item, slot); break;
case 339: // Cod EatFood(c, 7, item, slot); break;
case 3367: // Fat Snail EatFood(c, 7+misc.random(2), item, slot); break;
case 2213: // Spicy Crunchies EatFood(c, 7, item, slot); break;
case 2241: // Spicy Crunchies EatFood(c, 7, item, slot); break;
case 6297: // Spider on Stick EatFood(c, 7+misc.random(4), item, slot); break;
case 333: // Trout EatFood(c, 7, item, slot); break;
case 5003: // Cave Eel EatFood(c, 8+misc.random(12), item, slot); break;
case 7064: // Egg and Tomato EatFood(c, 8, item, slot, 1923); break;
case 5972: // Papaya EatFood(c, 8, item, slot); break;
case 6883: // Peach EatFood(c, 8, item, slot); break;
case 349: // Pike EatFood(c, 8, item, slot); break;
case 2217: // Toad Crunchies EatFood(c, 8, item, slot); break;
case 2243: // Toad Crunchies EatFood(c, 8, item, slot); break;
case 2205: // Worm Crunchies EatFood(c, 8, item, slot); break;
case 2237: // Worm Crunchies EatFood(c, 8, item, slot); break;
case 329: // Salmon EatFood(c, 9, item, slot); break;
case 2878: // Chompy EatFood(c, 10, item, slot); break;
case 2325: // Redberry Pie EatFood(c, 5, item, slot, 2333); break;
case 2333: // Half of Redberry Pie EatFood(c, 5, item, slot, 2313); break;
case 361: // Tuna EatFood(c, 10, item, slot); break;
case 7530: // Fishcake EatFood(c, 11, item, slot); break;
case 2149: // Lava Eel EatFood(c, 11, item, slot); break;
case 2327: // Meat Pie EatFood(c, 6, item, slot, 2331); break;
case 2331: // Half of Meat Pie EatFood(c, 5, item, slot, 2313); break;
case 7066: // Mushroom and Onion EatFood(c, 11, item, slot, 1923); break;
case 2003: // Stew EatFood(c, 11, item, slot, 1923); break;
case 1891: // Cake EatFood(c, 4, item, slot, 1893); break;
case 1893: // 2/3 Cake EatFood(c, 4, item, slot, 1895); break;
case 1895: // Slice of Cake EatFood(c, 4, item, slot); break;
case 7188: // Fish Pie EatFood(c, 6, item, slot, 7190); break;
case 7190: // Half of Fish Pie EatFood(c, 6, item, slot, 2313); break;
case 7178: // Garden Pie EatFood(c, 6, item, slot, 7180); break;
case 7180: // Half of Garden Pie EatFood(c, 6, item, slot, 2313); break;
case 379: // Lobster EatFood(c, 12, item, slot); break;
case 5984: // Watermelon Slice EatFood(c, 12, item, slot); break;
case 5988: // Sweetcorn EatFood(c, 13, item, slot); break;
case 5504: // Strawberry EatFood(c, 13, item, slot); break;
case 365: // Bass EatFood(c, 13, item, slot); break;
case 7068: // Tuna and Corn EatFood(c, 13, item, slot, 1923); break;
case 2323: // Apple Pie EatFood(c, 7, item, slot, 2325); break;
case 2335: // Half of Apple Pie EatFood(c, 7, item, slot, 2313); break;
case 7054: // Chilli Potato EatFood(c, 14, item, slot); break;
case 2343: // Oomlie Wrap EatFood(c, 14, item, slot); break;
case 2289: // Plain Pizza EatFood(c, 7, item, slot, 2291); break;
case 2291: // 1/2 of Plain Pizza EatFood(c, 7, item, slot); break;
case 6703: // Potato with Butter EatFood(c, 14, item, slot); break;
case 373: // Swordfish EatFood(c, 14, item, slot); break;
case 2185: // Chocolate Bomb EatFood(c, 15, item, slot); break;
case 2229: // Chocolate Bomb EatFood(c, 15, item, slot); break;
case 1897: // Chocolate Cake EatFood(c, 5, item, slot, 1899); break;
case 1899: // 2/3 Chocolate Cake EatFood(c, 5, item, slot, 1901); break;
case 1901: // Chocolate Slice EatFood(c, 5, item, slot); break;
case 7568: // Jubbly EatFood(c, 15, item, slot); break;
case 2187: // Tangled Toad's Legs EatFood(c, 15, item, slot); break;
case 2231: // Tangled Toad's Legs EatFood(c, 15, item, slot); break;
case 7198: // Admiral Pie EatFood(c, 8, item, slot, 7200); break;
case 7200: // Half of Admiral Pie EatFood(c, 15, item, slot, 2313); break;
case 7056: // Egg potato EatFood(c, 16, item, slot); break;
case 2293: // Meat Pizza EatFood(c, 8, item, slot, 2295); break;
case 2295: // 1/2 Meat Pizza EatFood(c, 8, item, slot); break;
case 7946: // Monkfish EatFood(c, 16, item, slot); break;
case 6705: // Potato with Cheese EatFood(c, 16, item, slot); break;
case 2297: // Anchovy Pizza EatFood(c, 9, item, slot, 2299); break;
case 2299: // 1/2 of Anchovy Pizza EatFood(c, 9, item, slot); break;
case 3144: // Karambwan EatFood(c, 18, item, slot); break;
case 2011: // Curry EatFood(c, 19, item, slot, 1923); break;
case 1883: // Ugthanki Kebab EatFood(c, 19, item, slot); break;
case 385: // Shark EatFood(c, 20, item, slot); break;
case 397: // Sea Turtle EatFood(c, 21, item, slot); break;
case 391: // Manta Ray EatFood(c, 22, item, slot); break;
case 7060: // Tuna Potato EatFood(c, 22, item, slot); break;
case 7208: // Wild Pie EatFood(c, 11, item, slot, 7210); break;
case 7210: // Half of Wild Pie EatFood(c, 11, item, slot, 2313); break;
case 7218: // Summer Pie EatFood(c, 11, item, slot, 7220); break;
case 7220: // Half of Summer Pie EatFood(c, 11, item, slot, 2313); break;
case 1971: //Kebab EatFood(c, 1+misc.random(21), item, slot); break;
case 1961: //Easter Egg EatFood(c, 24, item, slot); break;
case 1959: //Pumpkin EatFood(c, 24, item, slot); break; هذه كود كل الاكل الي موجود برون سكيب عام 2007 او 2008 -------------------------------------------------- هذه الاكل جديد ما كان من قبل بال 317 فانا لح احط الكود هنا كمان و هوه ال rocktail - الكود:
-
case xxxxx: //rocktail if(c.currentHealth < 1){ return; } if(System.currentTimeMillis() - EatDelay > 1350){ EatDelay = System.currentTimeMillis(); c.setAnimation(0x33D); c.deleteItem(15272, slot, 1); c.currentHealth += 23;
if (c.currentHealth > c.playerLevel[c.playerHitpoints] + 10) c.currentHealth = c.playerLevel[c.playerHitpoints] + 10; c.sendQuest("" + c.currentHealth + "", 4016); c.sM("You eat the rocktail."); if(c.currentHealth < c.playerLevel[c.playerHitpoints]){ c.sM("It heals some health."); } return; } break; و ما تنسوا انكم تبدلوا xxxxx مع كود ال rocktail و شكرا و اكتبوا اي خطا موجود |
|