Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

ShaderESP (1.8)

Status
Not open for further replies.

MasterOf13FPS

Administrator
Staff member
Administrator
MasterOf13FPS
Joined
Jul 11, 2020
Messages
0
Reaction score
25
Points
0
Hallo,

Ich wollte mal fragen ob jemand weiß warum mein shaderESP erst ab 10 blöcken distanz zwischen Spieler und gegner beginnt zu Rendern....

public void doESP() {
if (this.entityFBO == null) {
this.entityFBO = new Framebuffer(Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayHeight, false);
} else if (this.entityFBO.framebufferWidth != Minecraft.getMinecraft().displayWidth
|| this.entityFBO.framebufferHeight != Minecraft.getMinecraft().displayHeight) {
this.entityFBO.unbindFramebuffer();
this.entityFBO = new Framebuffer(Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayHeight, false);
if (this.entityOutline != null) {
this.entityOutline.delete();
final ScaledResolution sr = RenderHelper.getScaledRes();
this.entityOutline = new Outline(this.entityFBO.framebufferTexture,
Minecraft.getMinecraft().displayWidth, Minecraft.getMinecraft().displayHeight,
ScaledResolution.getScaledWidth() / 2, ScaledResolution.getScaledHeight() / 2,
(float) this.radius,
((float) this.quality >= 10.0f) ? Integer.valueOf(String.valueOf(this.quality).substring(0, 2))
: Integer.valueOf(String.valueOf(this.quality).substring(0, 1)));
}
}
if (this.entityOutline == null) {
final ScaledResolution sr = RenderHelper.getScaledRes();
this.entityOutline = new Outline(this.entityFBO.framebufferTexture, Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayHeight, ScaledResolution.getScaledWidth() / 2,
ScaledResolution.getScaledHeight() / 2, (float) this.radius, (int) this.quality);
}
this.entityOutline.setOutlineSize((float) this.radius);
final float partialTicks = ShaderESP.mc.timer.renderPartialTicks;
Minecraft.getMinecraft().entityRenderer.setupCameraTransform(partialTicks, 0);
GL11.glMatrixMode(5888);
RenderHelper.enableStandardItemLighting();
final Minecraft mc = ShaderESP.mc;
final double[] polPosP = interpolate(Minecraft.thePlayer);
final double polPosXP = polPosP[0];
final double polPosYP = polPosP[1];
final double polPosZP = polPosP[2];
this.entityFBO.bindFramebuffer(false);
GL11.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
GL11.glClear(16640);
Minecraft.getMinecraft();
for (final Object obj : Minecraft.theWorld.loadedEntityList) {
final Entity entity3;
final Entity entity = entity3 = (Entity) obj;
Minecraft.getMinecraft();
if (entity3 != Minecraft.thePlayer && !(entity instanceof EntityBoat)
&& !(entity instanceof EntityFallingBlock) && !(entity instanceof EntityFX)) {
if (entity instanceof EntityHanging) {
continue;
}
if (!Boolean.valueOf(this.players) && entity instanceof EntityPlayer) {
continue;
}
if (!Boolean.valueOf(this.mobs) && entity instanceof IAnimals) {
continue;
}
if (!Boolean.valueOf(this.animals) && entity instanceof IMob) {
continue;
}
if (!Boolean.valueOf(this.items) && entity instanceof EntityItem) {
continue;
}
Minecraft.getMinecraft().entityRenderer.func_175072_h();
RenderHelper.disableStandardItemLighting();
GL11.glEnable(3553);
final double[] polPosE = interpolate(entity);
final double polPosXE = polPosE[0];
final double polPosYE = polPosE[1];
final double polPosZE = polPosE[2];
GL11.glPushMatrix();
final Render entityRender = ShaderESP.mc.getRenderManager().getEntityRenderObject(entity);
if (entityRender != null) {
try {
LayerArmorBase.field_177193_i = false;
RenderItem.shouldRenderEffect = false;
entityRender.doRender(entity, polPosXE - polPosXP, polPosYE - polPosYP, polPosZE - polPosZP,
0.0f, 0.0f);
LayerArmorBase.field_177193_i = true;
RenderItem.shouldRenderEffect = true;
} catch (Exception ex2) {
}
}
GL11.glDisable(3553);
GL11.glPopMatrix();
}
}
if (this.chests) {
try {
final Minecraft mc2 = ShaderESP.mc;
for (final Object obj2 : Minecraft.theWorld.loadedTileEntityList) {
final TileEntity entity2 = (TileEntity) obj2;
if (entity2 instanceof TileEntityChest || entity2 instanceof TileEntityEnderChest
|| entity2 instanceof TileEntityDropper || entity2 instanceof TileEntityDispenser
|| entity2 instanceof TileEntityHopper || entity2 instanceof TileEntityFurnace
|| entity2 instanceof TileEntityBrewingStand
|| entity2 instanceof TileEntityEnchantmentTable || entity2 instanceof TileEntityHopper) {
Minecraft.getMinecraft().entityRenderer.func_175072_h();
RenderHelper.disableStandardItemLighting();
GL11.glEnable(3553);
GL11.glPushMatrix();
TileEntityRendererDispatcher.instance.renderTileEntityAt(entity2,
entity2.getPos().getX() - RenderManager.renderPosX,
entity2.getPos().getY() - RenderManager.renderPosY,
entity2.getPos().getZ() - RenderManager.renderPosZ, partialTicks);
GL11.glEnable(3553);
GL11.glPopMatrix();
}
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
Minecraft.getMinecraft().entityRenderer.func_175072_h();
RenderHelper.disableStandardItemLighting();
Minecraft.getMinecraft().entityRenderer.setupOverlayRendering();
GL11.glEnable(3042);
GL11.glBlendFunc(770, 771);
this.entityOutline.update();
Minecraft.getMinecraft().getFramebuffer().bindFramebuffer(true);
final ScaledResolution sr2 = RenderHelper.getScaledRes();
GL11.glColor4f(0.0f, 1.25f, 2.55f, 1.0f);
GL11.glEnable(3553);
GL11.glBindTexture(3553, this.entityOutline.getTextureID());
GL11.glBegin(4);
GL11.glTexCoord2d(0.0, 1.0);
GL11.glVertex2d(0.0, 0.0);
GL11.glTexCoord2d(0.0, 0.0);
GL11.glVertex2d(0.0, (double) (ScaledResolution.getScaledHeight() * 2));
GL11.glTexCoord2d(1.0, 0.0);
GL11.glVertex2d((double) (ScaledResolution.getScaledWidth() * 2),
(double) (ScaledResolution.getScaledHeight() * 2));
GL11.glTexCoord2d(1.0, 0.0);
GL11.glVertex2d((double) (ScaledResolution.getScaledWidth() * 2),
(double) (ScaledResolution.getScaledHeight() * 2));
GL11.glTexCoord2d(1.0, 1.0);
GL11.glVertex2d((double) (ScaledResolution.getScaledWidth() * 2), 0.0);
GL11.glTexCoord2d(0.0, 1.0);
GL11.glVertex2d(0.0, 0.0);
GL11.glEnd();
}
 
Vermutlich weil dein Decompiler einen Fehler gemacht hat als du dein Shaderesp von suicide geskiddet hast, oder weil der Coder von suicide es so wollte...
 
Vermutlich weil dein Decompiler einen Fehler gemacht hat als du dein Shaderesp von suicide geskiddet hast, oder weil der Coder von suicide es so wollte...
hab luyten zum decompilen benutzt..
 
Hallo,

Ich wollte mal fragen ob jemand weiß warum mein shaderESP erst ab 10 blöcken distanz zwischen Spieler und gegner beginnt zu Rendern....

public void doESP() {
if (this.entityFBO == null) {
this.entityFBO = new Framebuffer(Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayHeight, false);
} else if (this.entityFBO.framebufferWidth != Minecraft.getMinecraft().displayWidth
|| this.entityFBO.framebufferHeight != Minecraft.getMinecraft().displayHeight) {
this.entityFBO.unbindFramebuffer();
this.entityFBO = new Framebuffer(Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayHeight, false);
if (this.entityOutline != null) {
this.entityOutline.delete();
final ScaledResolution sr = RenderHelper.getScaledRes();
this.entityOutline = new Outline(this.entityFBO.framebufferTexture,
Minecraft.getMinecraft().displayWidth, Minecraft.getMinecraft().displayHeight,
ScaledResolution.getScaledWidth() / 2, ScaledResolution.getScaledHeight() / 2,
(float) this.radius,
((float) this.quality >= 10.0f) ? Integer.valueOf(String.valueOf(this.quality).substring(0, 2))
: Integer.valueOf(String.valueOf(this.quality).substring(0, 1)));
}
}
if (this.entityOutline == null) {
final ScaledResolution sr = RenderHelper.getScaledRes();
this.entityOutline = new Outline(this.entityFBO.framebufferTexture, Minecraft.getMinecraft().displayWidth,
Minecraft.getMinecraft().displayHeight, ScaledResolution.getScaledWidth() / 2,
ScaledResolution.getScaledHeight() / 2, (float) this.radius, (int) this.quality);
}
this.entityOutline.setOutlineSize((float) this.radius);
final float partialTicks = ShaderESP.mc.timer.renderPartialTicks;
Minecraft.getMinecraft().entityRenderer.setupCameraTransform(partialTicks, 0);
GL11.glMatrixMode(5888);
RenderHelper.enableStandardItemLighting();
final Minecraft mc = ShaderESP.mc;
final double[] polPosP = interpolate(Minecraft.thePlayer);
final double polPosXP = polPosP[0];
final double polPosYP = polPosP[1];
final double polPosZP = polPosP[2];
this.entityFBO.bindFramebuffer(false);
GL11.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
GL11.glClear(16640);
Minecraft.getMinecraft();
for (final Object obj : Minecraft.theWorld.loadedEntityList) {
final Entity entity3;
final Entity entity = entity3 = (Entity) obj;
Minecraft.getMinecraft();
if (entity3 != Minecraft.thePlayer && !(entity instanceof EntityBoat)
&& !(entity instanceof EntityFallingBlock) && !(entity instanceof EntityFX)) {
if (entity instanceof EntityHanging) {
continue;
}
if (!Boolean.valueOf(this.players) && entity instanceof EntityPlayer) {
continue;
}
if (!Boolean.valueOf(this.mobs) && entity instanceof IAnimals) {
continue;
}
if (!Boolean.valueOf(this.animals) && entity instanceof IMob) {
continue;
}
if (!Boolean.valueOf(this.items) && entity instanceof EntityItem) {
continue;
}
Minecraft.getMinecraft().entityRenderer.func_175072_h();
RenderHelper.disableStandardItemLighting();
GL11.glEnable(3553);
final double[] polPosE = interpolate(entity);
final double polPosXE = polPosE[0];
final double polPosYE = polPosE[1];
final double polPosZE = polPosE[2];
GL11.glPushMatrix();
final Render entityRender = ShaderESP.mc.getRenderManager().getEntityRenderObject(entity);
if (entityRender != null) {
try {
LayerArmorBase.field_177193_i = false;
RenderItem.shouldRenderEffect = false;
entityRender.doRender(entity, polPosXE - polPosXP, polPosYE - polPosYP, polPosZE - polPosZP,
0.0f, 0.0f);
LayerArmorBase.field_177193_i = true;
RenderItem.shouldRenderEffect = true;
} catch (Exception ex2) {
}
}
GL11.glDisable(3553);
GL11.glPopMatrix();
}
}
if (this.chests) {
try {
final Minecraft mc2 = ShaderESP.mc;
for (final Object obj2 : Minecraft.theWorld.loadedTileEntityList) {
final TileEntity entity2 = (TileEntity) obj2;
if (entity2 instanceof TileEntityChest || entity2 instanceof TileEntityEnderChest
|| entity2 instanceof TileEntityDropper || entity2 instanceof TileEntityDispenser
|| entity2 instanceof TileEntityHopper || entity2 instanceof TileEntityFurnace
|| entity2 instanceof TileEntityBrewingStand
|| entity2 instanceof TileEntityEnchantmentTable || entity2 instanceof TileEntityHopper) {
Minecraft.getMinecraft().entityRenderer.func_175072_h();
RenderHelper.disableStandardItemLighting();
GL11.glEnable(3553);
GL11.glPushMatrix();
TileEntityRendererDispatcher.instance.renderTileEntityAt(entity2,
entity2.getPos().getX() - RenderManager.renderPosX,
entity2.getPos().getY() - RenderManager.renderPosY,
entity2.getPos().getZ() - RenderManager.renderPosZ, partialTicks);
GL11.glEnable(3553);
GL11.glPopMatrix();
}
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
Minecraft.getMinecraft().entityRenderer.func_175072_h();
RenderHelper.disableStandardItemLighting();
Minecraft.getMinecraft().entityRenderer.setupOverlayRendering();
GL11.glEnable(3042);
GL11.glBlendFunc(770, 771);
this.entityOutline.update();
Minecraft.getMinecraft().getFramebuffer().bindFramebuffer(true);
final ScaledResolution sr2 = RenderHelper.getScaledRes();
GL11.glColor4f(0.0f, 1.25f, 2.55f, 1.0f);
GL11.glEnable(3553);
GL11.glBindTexture(3553, this.entityOutline.getTextureID());
GL11.glBegin(4);
GL11.glTexCoord2d(0.0, 1.0);
GL11.glVertex2d(0.0, 0.0);
GL11.glTexCoord2d(0.0, 0.0);
GL11.glVertex2d(0.0, (double) (ScaledResolution.getScaledHeight() * 2));
GL11.glTexCoord2d(1.0, 0.0);
GL11.glVertex2d((double) (ScaledResolution.getScaledWidth() * 2),
(double) (ScaledResolution.getScaledHeight() * 2));
GL11.glTexCoord2d(1.0, 0.0);
GL11.glVertex2d((double) (ScaledResolution.getScaledWidth() * 2),
(double) (ScaledResolution.getScaledHeight() * 2));
GL11.glTexCoord2d(1.0, 1.0);
GL11.glVertex2d((double) (ScaledResolution.getScaledWidth() * 2), 0.0);
GL11.glTexCoord2d(0.0, 1.0);
GL11.glVertex2d(0.0, 0.0);
GL11.glEnd();
}
Wie unoptimiert der Code einfach ist.
 
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top