Hopeful bump for approval?
I have not seen the source yet, but i believe that if you were to use a module/hook system it could go like this instead of checkKeys.
Code://In HooksImpl or however you'd call them. @override public void onKeyPressedHook(){ for (Module var12 : Neptune.getClient().getManager().mods) { if (Keyboard.getEventKey() == var12.getKey()) { var12.toggle(); } } }Code://In your public Module(par1shit, par2shit etc.. key = Keyboard.getKeyIndex(par2Str); //Used to do "H", "NONE" etc.. instead of keycodes.Either way i'd like to see this because it seems to be well written to a extent.Code://Minecraft.java Neptune.getClient().getHooksImpl().onKeyPressedHook();
Last edited by slcoolj; 05-22-2013 at 11:47 AM.
LordPankake (05-22-2013)
The approval takes forever. OH MY GAWD.
Mess with the best, die like the rest.
This is a stupid situation. I was on 4k ban. Now back.
Approved.
Minecraft Wiki Manager since: 2012.12.16.
Games Wiki Manager since: 2012.12.16Minecraft Section Minion: 2013.05.04.-2014.05.04
League of Legends Section Minion: 2013.05.04.-2014.05.04
Need for Speed World Minion: 2013.07.23.-2014.05.04
Steam Games Section Minion: 2013.08.05.-2014.05.04
Warrock Section Minion: 2013.10.09.-2014.05.04
If you would like to become a Minecraft Wiki Editor, apply here!
If you would like to become a Games Wiki Editor, PM me!
Gifts:
Gyongytyuk,Gyongytyuk,Zaps
LordPankake (05-23-2013)
Err... why do i sense vanity code right here? Anyways the code is written pretty good, but there are a lot of things you could improve on (i.e simplifying certain pieces of code). 7/10Code:int line = 10; int line2 = 2; int color = 0xffffff; /* if(v.variable) { fr.drawStringWithShadow("DisMyHake", ScaledResolution.getScaledWidth() - fr.getStringWidth("DisMyHake") - 5, line2 + 70, color);line2 += line; } */ } }
Minecraft Wiki Manager since: 2012.12.16.
Games Wiki Manager since: 2012.12.16Minecraft Section Minion: 2013.05.04.-2014.05.04
League of Legends Section Minion: 2013.05.04.-2014.05.04
Need for Speed World Minion: 2013.07.23.-2014.05.04
Steam Games Section Minion: 2013.08.05.-2014.05.04
Warrock Section Minion: 2013.10.09.-2014.05.04
If you would like to become a Minecraft Wiki Editor, apply here!
If you would like to become a Games Wiki Editor, PM me!
Gifts:
Gyongytyuk,Gyongytyuk,Zaps