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
674 stars 204 forks source link

Toggle between bones. (Head or body) #753

Open ghost opened 5 years ago

ghost commented 5 years ago

This cheat is absolutely incredible, but here's one great idea (I think):

When I'm awping, I like to snap to the Body Bone, so I can change that in the General file. However, with other weapons or even snipers like a scout I want to snap to head. To be able to toggle what the aimbot snaps to mid-game would be AMAZING. I can do this by changing the file and restarting the hack, but is there a better way??

SyncedCyberSoul commented 5 years ago

Learning kotlin and programming it in! WOAH! Shocking, right!?

ghost commented 5 years ago

My bad, lets remove the issues section and tell people to fix it themselves. Asshole :)

M1XT3NZ commented 5 years ago

hey hey lets stay on topic here okay? no cussing.

i mean you could always check if the config file changed but this could probably lead to less fps or even worse. (dont really know java tho)

ffauzan commented 5 years ago

i make aim target toggle in my version, give me your discord or anything if you are interested

LauraSavall commented 5 years ago

Modify /src/main/kotlin/charlatano/scripts/BoneTrigger.kts

Add import com.charlatano.game.entity.*

And modify this

private val onBoneTriggerTarget = hook(1) {
    val weapon = me.weapon()
    if (ENABLE_BONE_TRIGGER) {
        if (weapon.toString() == "SSG08") {
            findTarget(me.position(), clientState.angle(), false, BONE_TRIGGER_FOV, HEAD_BONE, false) >= 0
        } else {
            findTarget(me.position(), clientState.angle(), false,BONE_TRIGGER_FOV, BONE_TRIGGER_BONE, false) >= 0
        }
    }   else {
        false
    }
}
ghost commented 5 years ago

Modify /src/main/kotlin/charlatano/scripts/BoneTrigger.kts

Add import com.charlatano.game.entity.*

And modify this

private val onBoneTriggerTarget = hook(1) {
  val weapon = me.weapon()
  if (ENABLE_BONE_TRIGGER) {
      if (weapon.toString() == "SSG08") {
          findTarget(me.position(), clientState.angle(), false, BONE_TRIGGER_FOV, HEAD_BONE, false) >= 0
      } else {
          findTarget(me.position(), clientState.angle(), false,BONE_TRIGGER_FOV, BONE_TRIGGER_BONE, false) >= 0
      }
  }   else {
      false
  }
}

Thank you very much! I'll try this out when I get home from school. Do you have discord?

ghost commented 5 years ago

i make aim target toggle in my version, give me your discord or anything if you are interested

Sure, send it my way!

ghost commented 5 years ago

i make aim target toggle in my version, give me your discord or anything if you are interested

Sure, send it my way!

My discord is BestJava#7480 . You can add me there. I don't know how to re-build the hack after editing it so I hope you can help with that, or maybe there's existing documentation for it. I haven't found anything.

JohnDoe2077 commented 5 years ago

i make aim target toggle in my version, give me your discord or anything if you are interested

Could you please also tell me how to do it? my discord is outerheaven#1206