Thread: farming not working :s! Help

Results 1 to 9 of 9
  1. #1 farming not working :s! Help 
    jack24
    Guest
    I am trying to add farming to my source. any farming i add its not working i use the sed on patch and nothing happens pls help.

    here is code i am using

    Code:
    //Start Dangt351's Farming 
    //Allotment-Vegetables
    if (ItemID == 5318 && UsedOnObjectID == 8553) { //Potato
    if(playerLevel[19] >= 1) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5318,getItemSlot(5318), 1);
        	addItem(1942, 1);
        	addSkillXP(80, 19); 
        } else {
          sM("You need a farming Level Of 1 to plant this seed.");
        	}
        }
    if (ItemID == 7548 && UsedOnObjectID == 8553) { //Onion
    if(playerLevel[19] >= 5) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(7548,getItemSlot(7548), 1);
        	addItem(1957, 1);
        	addSkillXP(110, 19); 
        } else {
          sM("You need a farming Level Of 5 to plant this seed.");
        	}
        }
        if (ItemID == 5322 && UsedOnObjectID == 8553) { //Tomato
    if(playerLevel[19] >= 10) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5322,getItemSlot(5322), 1);
        	addItem(1982, 1);
        	addSkillXP(140, 19); 
        } else {
          sM("You need a farming Level Of 10 to plant this seed.");
        	}
        }
        if (ItemID == 5284 && UsedOnObjectID == 8553) { //Banana
    if(playerLevel[19] >= 15) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5284,getItemSlot(5284), 1);
        	addItem(1963, 1);
        	addSkillXP(150, 19); 
        } else {
          sM("You need a farming Level Of 15 to plant this seed.");
        	}
        }
        if (ItemID == 5324 && UsedOnObjectID == 8553) { //Cabbage
    if(playerLevel[19] >= 20) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5324,getItemSlot(5324), 1);
        	addItem(1965, 1);
        	addSkillXP(160, 19); 
        } else {
          sM("You need a farming Level Of 20 to plant this seed.");
        	}
        }
        if (ItemID == 5323 && UsedOnObjectID == 8553) { //StrawBerry
    if(playerLevel[19] >= 25) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5323,getItemSlot(5323), 1);
        	addItem(5504, 1);
        	addSkillXP(180, 19); 
        } else {
          sM("You need a farming Level Of 25 to plant this seed.");
        	}
        }
        if (ItemID == 5321 && UsedOnObjectID == 8553) { //WaterMelon
    if(playerLevel[19] >= 40) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5321,getItemSlot(5321), 1);
        	addItem(5982, 1);
        	addSkillXP(210, 19); 
        } else {
          sM("You need a farming Level Of 40 to plant this seed.");
        	}
        }
        
        //Herbs
      	if (ItemID == 5291 && UsedOnObjectID == 8151) { //Guam
    if(playerLevel[19] >= 1) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5291,getItemSlot(5291), 1);
        	addItem(249, 1);
        	addSkillXP(100, 19); 
        } else {
          sM("You need a farming Level Of 1 to plant this seed.");
        	}
        	if (ItemID == 5293 && UsedOnObjectID == 8151) { //Tarromin
    if(playerLevel[19] >= 5) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5293,getItemSlot(5293), 1);
        	addItem(253, 1);
        	addSkillXP(125, 19); 
        } else {
          sM("You need a farming Level Of 5 to plant this seed.");
        	}
        }
        if (ItemID == 5295 && UsedOnObjectID == 8151) { //Ranarr
    if(playerLevel[19] >= 10) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5295,getItemSlot(5295), 1);
        	addItem(257, 1);
        	addSkillXP(175, 19); 
        } else {
          sM("You need a farming Level Of 10 to plant this seed.");
        	}
        }
        if (ItemID == 5292 && UsedOnObjectID == 8151) { //Marrentil
    if(playerLevel[19] >= 15) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5292,getItemSlot(5292), 1);
        	addItem(251, 1);
        	addSkillXP(200, 19); 
        } else {
          sM("You need a farming Level Of 15 to plant this seed.");
        	}
        }
        if (ItemID == 5294 && UsedOnObjectID == 8151) { //Harralander
    if(playerLevel[19] >= 20) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5294,getItemSlot(5294), 1);
        	addItem(255, 1);
        	addSkillXP(250, 19); 
        } else {
          sM("You need a farming Level Of 20 to plant this seed.");
        	}
        }
        if (ItemID == 5296 && UsedOnObjectID == 8151) { //ToadFlax
    if(playerLevel[19] >= 30) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5296,getItemSlot(5296), 1);
        	addItem(2998, 1);
        	addSkillXP(275, 19); 
        } else {
          sM("You need a farming Level Of 30 to plant this seed.");
        	}
        }
        if (ItemID == 5297 && UsedOnObjectID == 8151) { //Irit
    if(playerLevel[19] >= 35) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5297,getItemSlot(5297), 1);
        	addItem(259, 1);
        	addSkillXP(300, 19);    
        } else {
          sM("You need a farming Level Of 35 to plant this seed.");
        	}
        }
        if (ItemID == 5298 && UsedOnObjectID == 8151) { //Avantoe
    if(playerLevel[19] >= 40) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5298,getItemSlot(5298), 1);
        	addItem(261, 1);
        	addSkillXP(325, 19);    
        } else {
          sM("You need a farming Level Of 40 to plant this seed.");
        	}
        }
        if (ItemID == 5299 && UsedOnObjectID == 8151) { //Kwuarm
    if(playerLevel[19] >= 45) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5299,getItemSlot(5299), 1);
        	addItem(263, 1);
        	addSkillXP(350, 19);    
        } else {
          sM("You need a farming Level Of 45 to plant this seed.");
        	}
        }
        if (ItemID == 5300 && UsedOnObjectID == 8151) { //SnapDragon
    if(playerLevel[19] >= 50) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5300,getItemSlot(5300), 1);
        	addItem(3000, 1);
        	addSkillXP(375, 19);    
        } else {
          sM("You need a farming Level Of 50 to plant this seed.");
        	}
        }
        if (ItemID == 5301 && UsedOnObjectID == 8151) { //Cadantine
    if(playerLevel[19] >= 55) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5301,getItemSlot(5301), 1);
        	addItem(265, 1);
        	addSkillXP(400, 19);    
        } else {
          sM("You need a farming Level Of 55 to plant this seed.");
        	}
        }
        if (ItemID == 5302 && UsedOnObjectID == 8151) { //Lantadyme
    if(playerLevel[19] >= 60) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5302,getItemSlot(5302), 1);
        	addItem(2481, 1);
        	addSkillXP(450, 19);    
        } else {
          sM("You need a farming Level Of 60 to plant this seed.");
        	}
        }
        if (ItemID == 5303 && UsedOnObjectID == 8151) { //Dwarf
    if(playerLevel[19] >= 65) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5303,getItemSlot(5303), 1);
        	addItem(267, 1);
        	addSkillXP(500, 19);    
        } else {
          sM("You need a farming Level Of 65 to plant this seed.");
        	}
        }
        if (ItemID == 5304 && UsedOnObjectID == 8151) { //Torstol
    if(playerLevel[19] >= 70) {
        	startAnimation(2273);
        	sM("You Plant The Seed.");
        	deleteItem(5304,getItemSlot(5304), 1);
        	addItem(269, 1);
        	addSkillXP(600, 19);    
        } else {
          sM("You need a farming Level Of 70 to plant this seed.");
        	}
        }
                  }
    //End Dangt351's Farming4. Save, Compile And Run.
    Reply With Quote  
     

  2. #2  
    jack24
    Guest
    hellp
    Reply With Quote  
     

  3. #3  
    jack24
    Guest
    please i need help with this.
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Oct 2009
    Posts
    182
    Thanks given
    0
    Thanks received
    0
    Rep Power
    223
    Where did you put this? It should be under packet 192.
    Reply With Quote  
     

  5. #5  
    jack24
    Guest
    192? Not 132?

    EDIT: It is under case 192.
    Reply With Quote  
     

  6. #6  
    jack24
    Guest
    EDIT: Wait, it is under case 192... but its not working still.
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Oct 2009
    Posts
    182
    Thanks given
    0
    Thanks received
    0
    Rep Power
    223
    Quote Originally Posted by jack24 View Post
    192? Not 132?
    Packet 132 is the object click 1 packet and packet 192 is the item on object packet.
    Reply With Quote  
     

  8. #8  
    clayd1
    Guest
    Under packet 192..not 132.. thats why.
    Reply With Quote  
     

  9. #9  
    jack24
    Guest
    lol read posts from before. its under 192
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •