It doesnt work. heres the lines of code
Code:
if (i_6_ == 11) {
if ((Class339_Sub7.rights ^ 0xffffffff) < -1 && Class175.aClass291_2100.isKeyHeld(-121, 82) && Class175.aClass291_2100.isKeyHeld(111, 81)) {
Class331.sendShiftTeleport(false, Class295.myPlayer.plane, Class320_Sub4.gameSceneBaseY + i_5_, Node_Sub53.gameSceneBaseX + i_4_);
} else {
Node_Sub37.anInt7431 = 0;
Class131.anInt5443++;
Class93_Sub2.anInt6067 = i_3_;
Node_Sub38_Sub28.anInt10403 = 1;
Class163.anInt2014 = i;
OutgoingPacketBuffer node_sub13 = PacketParser.createOutgoingPacket(-386, Class144_Sub4.aClass318_6847, Class218.aClass123_2566.issacKeys);
node_sub13.currentOutgoingPacket.writeShortLE128(i_5_ + Class320_Sub4.gameSceneBaseY);
node_sub13.currentOutgoingPacket.writeShortLE(Node_Sub53.gameSceneBaseX + i_4_);
Class218.aClass123_2566.sendPacket(126, node_sub13);
}
}
and another one
Code:
if (i_6_ == 58) {
if ((Class339_Sub7.rights ^ 0xffffffff) >= -1 || !Class175.aClass291_2100.isKeyHeld(119, 82) || !Class175.aClass291_2100.isKeyHeld(i_2_ ^ 0x6a, 81)) {
OutgoingPacketBuffer node_sub13 = Class22.createWalkPacket(i_4_, i_5_, index);
if (index == 1) {
node_sub13.currentOutgoingPacket.writeByte(-1);
node_sub13.currentOutgoingPacket.writeByte(-1);
node_sub13.currentOutgoingPacket.writeShort((int) Node_Sub12.aFloat5450);
node_sub13.currentOutgoingPacket.writeByte(57);
node_sub13.currentOutgoingPacket.writeByte(Mobile_Sub1.anInt10960);
node_sub13.currentOutgoingPacket.writeByte(Node_Sub15_Sub13.anInt9870);
node_sub13.currentOutgoingPacket.writeByte(89);
node_sub13.currentOutgoingPacket.writeShort(Class295.myPlayer.y);
node_sub13.currentOutgoingPacket.writeShort(Class295.myPlayer.x);
node_sub13.currentOutgoingPacket.writeByte(63);
} else {
Class163.anInt2014 = i;
Node_Sub38_Sub28.anInt10403 = 1;
Node_Sub37.anInt7431 = 0;
Class93_Sub2.anInt6067 = i_3_;
}
Class218.aClass123_2566.sendPacket(126, node_sub13);
Class78.method778(0, i_5_, 1, true, i_4_, 0, -4, i_2_ ^ ~0x6b, 1);
} else {
Class331.sendShiftTeleport(false, Class295.myPlayer.plane, Class320_Sub4.gameSceneBaseY - -i_5_, Node_Sub53.gameSceneBaseX + i_4_);
}
}
last one:
Code:
if ((Class339_Sub7.rights ^ 0xffffffff) < -1 && Class175.aClass291_2100.isKeyHeld(i ^ 0x38a0, 82) && Class175.aClass291_2100.isKeyHeld(-71, 81) && (Class339_Sub8.mouseNotches ^ 0xffffffff) != -1) {
int height = -Class339_Sub8.mouseNotches + Class295.myPlayer.plane;
if (height >= 0) {
if (height > 3) {
height = 3;
}
} else {
height = 0;
}
Class331.sendShiftTeleport(false, height, Class295.myPlayer.scenePositionYQueue[0] + Class320_Sub4.gameSceneBaseY, Node_Sub53.gameSceneBaseX - -Class295.myPlayer.scenePositionXQueue[0]);
}
how can i make it so even rights = 0 it sends sendshiftteleport?