SmileHelphow to update a mod

Posts 1–15 of 20 · Page 1 of 2
how to update a mod
Hey i got all the modding files from minecraft and things i know how it works but i got a question

for example i downloaded the 1.7.3 minecraft aimbot mod from mpgh

is there any way i can mannualy update the mod to minecraft 1.8.1 i cannot even find it on google... omg


thx . in advance
Quote Originally Posted by infernix View Post
Hey i got all the modding files from minecraft and things i know how it works but i got a question

for example i downloaded the 1.7.3 minecraft aimbot mod from mpgh

is there any way i can mannualy update the mod to minecraft 1.8.1 i cannot even find it on google... omg


thx . in advance
So you want to edit that aimbot to 1.8.1? If yes, then go to your minecraft.jar - copy modloader in side , copy the aimbot inside , DON'T DELETE META-INF and close mincraft.jar
Now copy the bin to your mcp(VERSION) - Jars. Then start decompile, and you will see something like aimbot thing. and if there is string version, change it to 1.8.1
WOOOOW thxx alot you are the best thx alot for helping me serieusly
W8 a minute i found it and i think it should work but:
i wanna make 2 mods in 1 like minimalism and the aimbot but the aim key for the aimbot is tab and the console for minimalism is also tab how can i change this i cant find the tab key in the code here it is :

[html]// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode

package net.minecraft.src;

import java.util.List;
import net.minecraft.client.Minecraft;
import org.lwjgl.input.Keyboard;

// Referenced classes of package net.minecraft.src:
// BaseMod, ModLoader, StatList, WorldGenMinable,
// NBTBase, UnexpectedThrowable

public class mod_Aimbot extends BaseMod
{

public mod_Aimbot()
{
ModLoader.SetInGameHook(this, true, true);
frame = 0;
canpress = false;
}

public String Version()
{
return "1.0 (1.8.1)";
}

public boolean OnTickInGame(Minecraft minecraft)
{
StatList statlist = ModLoader.getMinecraftInstance().theWorld;
player = ModLoader.getMinecraftInstance().thePlayer;
frame++;
if(frame >= 5)
{
canpress = true;
}
if(frame < 5)
{
canpress = false;
}
if((Keyboard.isKeyDown(15) || Keyboard.isKeyDown(29) && !target) && canpress)
{
frame = 0;
Object aobj[] = statlist.b(player, NBTBase.a(player.aM - 128D, player.aN - 128D, player.aO - 128D, player.aM + 128D, player.aN + 128D, player.aO + 128D)).toArray();
Object aobj1[] = aobj;
int i = aobj1.length;
entityplayerdistance = 999D;
target = false;
for(int j = 0; j < i; j++)
{
Object obj = aobj1[j];
if(!(obj instanceof UnexpectedThrowable))
{
continue;
}
currentplayer = (UnexpectedThrowable)obj;
if(currentplayer.l.equalsIgnoreCase("jay_92") || currentplayer.l.equalsIgnoreCase("spowney") || currentplayer.l.equalsIgnoreCase("rayray31"))
{
continue;
}
double d3 = currentplayer.aM - player.aM;
double d5 = currentplayer.aO - player.aO;
currentplayerdistance = Math.sqrt(d3 * d3 + d5 * d5);
if(entityplayerdistance == 999D)
{
entityplayer = currentplayer;
entityplayerdistance = currentplayerdistance;
continue;
}
if(currentplayerdistance < entityplayerdistance)
{
entityplayer = currentplayer;
entityplayerdistance = currentplayerdistance;
}
}

if(entityplayer != null)
{
player.b((new StringBuilder()).append("Locked on ").append(entityplayer.l).toString());
target = true;
}
}
if(Keyboard.isKeyDown(29) && target)
{
double d = entityplayer.aM - player.aM;
double d1 = entityplayer.aO - player.aO;
double d2 = (entityplayer.aN - player.aN) + 1.2D;
if(d1 > 0.0D && d > 0.0D)
{
theta = Math.toDegrees(-Math.atan(d / d1));
} else
if(d1 > 0.0D && d < 0.0D)
{
theta = Math.toDegrees(-Math.atan(d / d1));
} else
if(d1 < 0.0D && d > 0.0D)
{
theta = -90D + Math.toDegrees(Math.atan(d1 / d));
} else
if(d1 < 0.0D && d < 0.0D)
{
theta = 90D + Math.toDegrees(Math.atan(d1 / d));
}
player.aS = (float)theta;
double d4 = Math.sqrt(d1 * d1 + d * d);
double d6 = -Math.toDegrees(Math.atan(d2 / d4));
player.aT = (float)d6;
}
return true;
}

WorldGenMinable player;
UnexpectedThrowable entityplayer;
UnexpectedThrowable currentplayer;
double entityplayerdistance;
double currentplayerdistance;
double theta;
boolean target;
int frame;
boolean canpress;
}
[/html]
some help please
if((Keyboard.isKeyDown(15) || Keyboard.isKeyDown(29) && !target) && canpress)

if(Keyboard.isKeyDown(29) && target)

All you have to do is figure out what each number for each key, every key is assign with a number,

This will help: Flash CS4 Professional ActionScript 2.0

It even has like a tutorial/example for you

Yes, this is also used in Java
wow thx alot you commented 1 sec after me lol
Quote Originally Posted by infernix View Post
wow thx alot you commented 1 sec after me lol
Your welcome!
strange in the website you sended tab is 9 but i cant find any 9 in the code could you help me a bit with it iwanna change it to ctrl

@Elocrypt.
So I am interested in a 1.8.1 aimbot as well but I am confused by casakim's response. I know nothing about java coding. Is there any way you can email me a copy of this infernix? I would love you forever.

Edit: I am more than willing to do it myself with instructions that are a little more specific. What do you mean by copy your bin into mcp(VERSION) - jars? How do I decompile?
@infernix Would it be to much to ask, if you could maybe release this to the public? The guy above ^^ Would want it and I bet you would get a lot of thanks and maybe you should also go onto the MPGHcraft Modding Team
I have done quite a bit of research since my last post. I have downloaded the java developer pack and mcp and got them working. The problem I am having at this point is the bin folder doesn't seem to be recompiling because of the added mod to the minecraft.jar. Because of this, I think that the startclient isn't working as well. Am I missing something? Also would I be able to copy and paste infernix' post into the aimbot I am trying to use to get it to work? Would I only need the aimbot file and the modloader or would I need other class files to get it to work? It would be convenient if infernix would release it but I would still like to know how to update for future reference.
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us