Jire / Charlatano

Proves JVM cheats are viable on native games, and demonstrates the longevity against anti-cheat signature detection systems
GNU Affero General Public License v3.0
676 stars 209 forks source link

Triggerbot on key #757

Open jlolz1337 opened 5 years ago

jlolz1337 commented 5 years ago

Hi could someone help me make the triggerbot toggeable on key like the aimkey for an aimbot but to have a key to activate the triggerbot? Also how could you set the aim home from the head_bone to body_bone would you have to change that in the source before building or would you enter body_bone after building in the .kts folder after building?

phantomexile commented 5 years ago
  1. That feature still isn't added yet
  2. After building
LauraSavall commented 5 years ago

Charlatano/src/main/kotlin/com/charlatano/scripts/BoneTrigger.kt :

import org.jire.arrowhead.keyPressed

private val onBoneTriggerTarget = hook(1) {
    if (ENABLE_BONE_TRIGGER && keyPressed(KeyEvent.VK_ALT)) findTarget(me.position(), clientState.angle(), false,
            BONE_TRIGGER_FOV, BONE_TRIGGER_BONE, false) >= 0
    else false
}

This will enable ALT for trigger

dan993398 commented 5 years ago

Charlatano/src/main/kotlin/com/charlatano/scripts/BoneTrigger.kt :

import org.jire.arrowhead.keyPressed

private val onBoneTriggerTarget = hook(1) {
  if (ENABLE_BONE_TRIGGER && keyPressed(KeyEvent.VK_ALT)) findTarget(me.position(), clientState.angle(), false,
          BONE_TRIGGER_FOV, BONE_TRIGGER_BONE, false) >= 0
  else false
}

This will enable ALT for trigger

Charlatano1.0.10\src\main\kotlin\com\charlatano\scripts\BoneTrigger.kt: (34, 40): Unresolved reference: keyEvent

Task :compileKotlin FAILED

FAILURE: Build failed with an exception. M gettting this error while compiling

LauraSavall commented 5 years ago

I forgot

import java.awt.event.KeyEvent
JagodekSTREAM commented 5 years ago

Where I have to paste it?

wesleybs29 commented 3 years ago

Charlatano / src / main / kotlin / com / charlatano / scripts / BoneTrigger.kt:

import  org.jire.arrowhead.keyPressed

privada  val onBoneTriggerTarget = gancho ( 1 ) {
   se ( ENABLE_BONE_TRIGGER  && keyPressed ( KeyEvent . VK_ALT )) findTarget (me.position (), clientState.angle (), falsa ,
           BONE_TRIGGER_FOV , BONE_TRIGGER_BONE , falsa ) > =  0 
  pessoa  falsa 
}

Isso habilitará ALT para gatilho

I couldn't make the error work