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
673 stars 205 forks source link

Netvar Error when launching #129

Closed Aerodynamic156 closed 7 years ago

Aerodynamic156 commented 7 years ago

I get a netvar error when after I launch Charlatano. Exception in thread "Thread-5" Exception in thread "Thread-4" kotlin.KotlinNullPointerException at com.charlatano.game.netvars.NetVar.getValue(NetVar.kt:31) at com.charlatano.game.netvars.NetVarOffsets.getIShotsFired(NetVarOffsets.kt) at com.charlatano.scripts.RCSKt$rcs$$inlined$every$1.invoke(Every.kt:36) at com.charlatano.scripts.RCSKt$rcs$$inlined$every$1.invoke(Every.kt) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18) kotlin.KotlinNullPointerException at com.charlatano.game.netvars.NetVar.getValue(NetVar.kt:31) at com.charlatano.game.netvars.NetVarOffsets.getFFlags(NetVarOffsets.kt) at com.charlatano.game.entity.PlayerKt.flags(Player.kt:58) at com.charlatano.game.entity.PlayerKt.onGround(Player.kt:60) at com.charlatano.game.hooks.OnGroundKt$onGround$1.invoke(OnGround.kt:34) at com.charlatano.game.hooks.OnGroundKt$onGround$1.invoke(OnGround.kt) at com.charlatano.scripts.BunnyHopKt$bunnyHop$$inlined$invoke$1.invoke(Every.kt:31) at com.charlatano.scripts.BunnyHopKt$bunnyHop$$inlined$invoke$1.invoke(Every.kt) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18) Exception in thread "Thread-10" kotlin.KotlinNullPointerException at com.charlatano.game.netvars.NetVar.getValue(NetVar.kt:31) at com.charlatano.game.netvars.NetVarOffsets.getFlFlashMaxAlpha(NetVarOffsets.kt) at com.charlatano.game.hooks.OnFlashKt$onFlash$1.invoke(OnFlash.kt:32) at com.charlatano.game.hooks.OnFlashKt$onFlash$1.invoke(OnFlash.kt) at com.charlatano.scripts.ReducedFlashKt$reducedFlash$$inlined$invoke$1.invoke(Every.kt:31) at com.charlatano.scripts.ReducedFlashKt$reducedFlash$$inlined$invoke$1.invoke(Every.kt) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18) Exception in thread "Thread-7" kotlin.KotlinNullPointerException at com.charlatano.game.netvars.NetVar.getValue(NetVar.kt:31) at com.charlatano.game.netvars.NetVarOffsets.getHActiveWeapon(NetVarOffsets.kt) at com.charlatano.game.entity.PlayerKt.weapon(Player.kt:47) at com.charlatano.scripts.aim.FlatAimKt$flatAim$$inlined$aimScript$1.invoke(Every.kt:44) at com.charlatano.scripts.aim.FlatAimKt$flatAim$$inlined$aimScript$1.invoke(Every.kt) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)

ghost commented 7 years ago

Go and delete the file .grade from C:\user\yourusername.gradle and try build again it will redownload it!

ghost commented 7 years ago

It worked for me lol

apples12 commented 7 years ago

@Balouchis

Did that still get an error with "main"

Exception in thread "main" kotlin.KotlinNullPointerException at com.charlatano.game.netvars.ClassTable$name$2.invoke(ClassTable.kt:34) at com.charlatano.game.netvars.ClassTable$name$2.invoke(ClassTable.kt:28) at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:153) at com.charlatano.game.netvars.ClassTable.getName(ClassTable.kt) at com.charlatano.game.netvars.NetVars.load(NetVars.kt:49) at com.charlatano.game.CSGO.initialize(CSGO.kt:115) at com.charlatano.Charlatano.main(Charlatano.kt:42)

Jire commented 7 years ago

Fixed in 1.0.2