Skip to content

Commit

Permalink
Hopefully made aiming at players in Aimbot a little bit faster, fixed…
Browse files Browse the repository at this point in the history
… a bug where Aimbot would aim at entities like minecarts, boats and projectiles, fixed a bug where the Prevent digging setting in Prevent didn't always work right
  • Loading branch information
Vertex-Client authored Feb 24, 2017
1 parent aab3331 commit 4131a29
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Vertex Client PE.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ var PopupWindow = android.widget.PopupWindow;
var RelativeLayout = android.widget.RelativeLayout;
var Gravity = android.view.Gravity;

EntityType.ENDER_PEARL = 87;

/* try {
CONTEXT.setTitle("Vertex Client PE");
} catch(e) {
Expand Down Expand Up @@ -3817,7 +3819,7 @@ var aimbot = {
continue;
}
var ent = mobs[i];
if(Entity.getEntityTypeId(ent) != EntityType.ITEM && Entity.getEntityTypeId(ent) != EntityType.ARROW && Entity.getEntityTypeId(ent) != EntityType.EXPERIENCE_ORB && ent != getPlayerEnt()) {
if(Entity.getEntityTypeId(ent) != EntityType.ARROW && Entity.getEntityTypeId(ent) != EntityType.BOAT && Entity.getEntityTypeId(ent) != EntityType.EGG && Entity.getEntityTypeId(ent) != EntityType.ENDER_PEARL && Entity.getEntityTypeId(ent) != EntityType.EXPERIENCE_ORB && Entity.getEntityTypeId(ent) != EntityType.EXPERIENCE_POTION && Entity.getEntityTypeId(ent) != EntityType.FALLING_BLOCK && Entity.getEntityTypeId(ent) != EntityType.FIREBALL && Entity.getEntityTypeId(ent) != EntityType.FISHING_HOOK && Entity.getEntityTypeId(ent) != EntityType.ITEM && Entity.getEntityTypeId(ent) != EntityType.LIGHTNING_BOLT && Entity.getEntityTypeId(ent) != EntityType.MINECART && Entity.getEntityTypeId(ent) != EntityType.PAINTING && Entity.getEntityTypeId(ent) != EntityType.PRIMED_TNT && Entity.getEntityTypeId(ent) != EntityType.SMALL_FIREBALL && Entity.getEntityTypeId(ent) != EntityType.SNOWBALL && Entity.getEntityTypeId(ent) != EntityType.THROWN_POTION && ent != getPlayerEnt()) {
VertexClientPE.CombatUtils.aimAtEnt(ent);
return;
}
Expand All @@ -3834,7 +3836,7 @@ var aimbot = {
continue;
}
var ent = players[i];
if(Entity.getEntityTypeId(ent) != EntityType.ITEM && Entity.getEntityTypeId(ent) != EntityType.ARROW && Entity.getEntityTypeId(ent) != EntityType.EXPERIENCE_ORB && ent != getPlayerEnt()) {
if(ent != getPlayerEnt()) {
VertexClientPE.CombatUtils.aimAtEnt(ent);
return;
}
Expand Down Expand Up @@ -18098,6 +18100,10 @@ function startDestroyBlock() {
}

function destroyBlock(x, y, z, side) {
if(preventDiggingSetting == "on") {
preventDefault();
return;
}
var data = Level.getData(x, y, z);
var tile = Level.getTile(x, y, z);
var gamemode = Level.getGameMode();
Expand Down

2 comments on commit 4131a29

@Creeperface01
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add option to disable aiming to invisible players because its not usable when i spawn invisible player behing the player xD

@Vertex-Client
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Start an issue.
Read before starting an issue.

Please start an issue with this. :)

Please sign in to comment.