SolvedAuto-Soup Code?

Posts 1–8 of 8 · Page 1 of 1
Auto-Soup Code?
Hey!

(Yes I know it's in wrong sub-forum but no one replies anything in there)

I am looking for an auto-soup code for my Custom client. I can't find anything on YouTube or any other tutorials at all for that matter. Does anyone have a a code? Or a link to an open src which includes auto-soup?

Thanks in advance!
Ill give this a a few hours before I move it so you might be able to get some help with it.
Well, you could just google, there is leeched code all over the place.
Quote Originally Posted by hamste View Post
(Yes I know it's in wrong sub-forum but no one replies anything in there)
This is all too true...

Quote Originally Posted by hamste View Post
I can't find anything on YouTube or any other tutorials at all for that matter
Nobody is sharing the updated version.

But because you asked nicely
 
Leedle leedle lee

Code:
package com.l****ey.uberhakes;

import net.minecraft.client.Minecraft;
import net.minecraft.src.*;

import com.l****ey.leleleleboolernz;

public class AutoSoup 
{
	//282 = filled soup
	//281 = bowl
	//276 = dia
	//267 = iron
	//283 = gold
	//272 = stone
	//268 = wood
	public static Minecraft mc = Minecraft.getMinecraft();
	public static boolean isSouping = false;
	public static boolean Fixed = false;
	
	public static void Handle() 
	{
		if(mc.thePlayer.getHealth() < 16 && !mc.thePlayer.capabilities.isCreativeMode)
		{
			Soup();
		}
		else
		{
			Sword();
		}
	}
	
	public static void Sword() 
	{		
		for(int slot = 44; slot >= 9; slot--) 
		{
			ItemStack stack = mc.thePlayer.inventoryContainer.getSlot(slot).getStack();
			
			if(stack != null) 
			{
				if(mc.thePlayer.inventory.currentItem != 276 && mc.thePlayer.inventory.hasItem(276))
				{
					if(slot >= 36 && slot <= 44) 
					{
						if(stack.itemID  == 276) 
						{
							mc.thePlayer.inventory.currentItem = slot - 36;
						}
					} 
					else if(stack.itemID == 276) 
					{
						mc.playerController.windowClick(0, slot, 0, 0, mc.thePlayer);
						mc.playerController.windowClick(0, 37, 0, 0, mc.thePlayer);
					}
				}
				else
				{
					if(mc.thePlayer.inventory.currentItem != 267 && mc.thePlayer.inventory.hasItem(267))
					{
						if(slot >= 36 && slot <= 44) 
						{
							if(stack.itemID  == 267) 
							{
								mc.thePlayer.inventory.currentItem = slot - 36;
							}
						} 
						else if(stack.itemID == 267) 
						{
							mc.playerController.windowClick(0, slot, 0, 0, mc.thePlayer);
							mc.playerController.windowClick(0, 37, 0, 0, mc.thePlayer);
						}
					}
					else
					{
						if(mc.thePlayer.inventory.currentItem != 283 && mc.thePlayer.inventory.hasItem(283))
						{
							if(slot >= 36 && slot <= 44) 
							{
								if(stack.itemID  == 283) 
								{
									mc.thePlayer.inventory.currentItem = slot - 36;
								}
							} 
							else if(stack.itemID == 283) 
							{
								mc.playerController.windowClick(0, slot, 0, 0, mc.thePlayer);
								mc.playerController.windowClick(0, 37, 0, 0, mc.thePlayer);
							}
						}
						else
						{
							if(mc.thePlayer.inventory.currentItem != 272 && mc.thePlayer.inventory.hasItem(272))
							{
								if(slot >= 36 && slot <= 44) 
								{
									if(stack.itemID  == 272) 
									{
										mc.thePlayer.inventory.currentItem = slot - 36;
									}
								} 
								else if(stack.itemID == 272) 
								{
									mc.playerController.windowClick(0, slot, 0, 0, mc.thePlayer);
									mc.playerController.windowClick(0, 37, 0, 0, mc.thePlayer);
								}
							}
							else
							{
								if(mc.thePlayer.inventory.currentItem != 268 && mc.thePlayer.inventory.hasItem(268))
								{
									if(slot >= 36 && slot <= 44) 
									{
										if(stack.itemID  == 268) 
										{
											mc.thePlayer.inventory.currentItem = slot - 36;
										}
									} 
									else if(stack.itemID == 268) 
									{
										mc.playerController.windowClick(0, slot, 0, 0, mc.thePlayer);
										mc.playerController.windowClick(0, 37, 0, 0, mc.thePlayer);
									}
								}
							}
						}
					}
				}	
			}
		}
	}

	public static void Soup() 
	{		
		for(int slot = 44; slot >= 9; slot--) 
		{
			ItemStack stack = mc.thePlayer.inventoryContainer.getSlot(slot).getStack();
			
			
			if(stack != null) 
			{
				if(mc.thePlayer.inventory.currentItem != 282 && mc.thePlayer.inventory.hasItem(282))
				{
					if(slot >= 36 && slot <= 44) 
					{
						if(stack.itemID  == 282) 
						{
							mc.thePlayer.inventory.currentItem = slot - 36;
							mc.thePlayer.sendQueue.addToSendQueue(new Packet15Place(-1, -1, -1, -1, mc.thePlayer.inventory.getCurrentItem(), 0F, 0F, 0F));
						}
					} 
					else if(stack.itemID == 282) 
					{
						mc.playerController.windowClick(0, slot, 0, 0, mc.thePlayer);
						mc.playerController.windowClick(0, 37, 0, 0, mc.thePlayer);
					}
				}
				
			}
		}
	}

	
}


Have fun.
Thanks! i will try my best to insert this into my hacked client.

But LordPancakes, which class does this go in? All i see is uberhakes and stuff. Or do i make a new class?
I'm still trying to learn java so this will help me A LOT!

Sorry for being a noob.

Please and thanks you,

Have a good day!
Quote Originally Posted by hamste View Post
Thanks! i will try my best to insert this into my hacked client.

But LordPancakes, which class does this go in? All i see is uberhakes and stuff. Or do i make a new class?
I'm still trying to learn java so this will help me A LOT!

Sorry for being a noob.

Please and thanks you,

Have a good day!
Also, how can I turn my project into a minecraft.jar file?

Hehe, noob out

Thanks!
@crex I Think It Has Been Resolved
Woods left it
Moved and closed, since problem got solved.
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us