View previous topic :: View next topic |
Author |
Message |
Insensitivity How do I cheat? Reputation: 0
Joined: 03 May 2015 Posts: 5
|
Posted: Fri May 26, 2017 4:54 am Post subject: Activating JVMTI features |
|
|
Hey, I was wondering how do I use the JVMTI features that came with CE 6.4,
I keep getting
Code: | Error:C:\Program Files (x86)\Cheat Engine 6.6\autorun\java.lua:1582: java_find_what_writes only works when the JVMTI agent is launched at start |
I tried running the java executable with
Code: | -agentpath:"C:\Program Files (x86)\Cheat Engine 6.6\autorun\dlls\64\CEJVMTI.dll" |
Any help is appreciated.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Fri May 26, 2017 10:46 am Post subject: |
|
|
i can't test it right now, but does your java program launch another program?
if so, try using the JAVA_TOOL_OPTIONS environment variable to load the cejvmti
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Insensitivity How do I cheat? Reputation: 0
Joined: 03 May 2015 Posts: 5
|
Posted: Mon May 29, 2017 10:22 am Post subject: |
|
|
Dark Byte wrote: | i can't test it right now, but does your java program launch another program?
if so, try using the JAVA_TOOL_OPTIONS environment variable to load the cejvmti |
I managed to get it working now but I do have a couple of questions,
I want to be able to locate a value (similar to pointers),
This is what I did at first
Code: | local object = java_getObjectHandleToAddress(0x1B17F1F4)
local class = java_getObjectClass(object)
local signature = java_getClassSignature(class)
|
I got the signature (I replaced the actual name with application)
Code: | Lcom/application/A/I/K/A/B; |
Now that I have the signature I can follow up with
Code: |
local class = java_findClass(signature)
local objects = java_findAllObjectsFromClass(class) |
but how do I input the signature in java_findClass ?
as "Lcom/application/A/I/K/A/B;" or as "Lcom/application/A/I/K/A/B"
I don't really know, both caused CE to crash
the objects variable looks like this:
1462801360
1462801352
1462801344
1462801336
1462801328
1462801320
1462801312
1462801304
1462801296
1462801288
1462801280
1462801272
1462801264
1462801256
1462801248
1462801240
1462801232
1462807240
1462807232
1462807224
1462807216
1462807208
1462807200
1462807192
1462807184
1462807176
1462807168
1462807160
1462807152
1462807144
1462807136
1462807128
1462807120
1462807112
1462807104
1462807096
1462807088
1462807080
1462807072
1462807064
1462807056
1462807048
1462807040
1462807032
1462807024
1462807016
1462807008
1462807000
1462806992
1462801160
1462801152
1462801144
1462801136
1462801128
1462801120
1462801112
1462801104
1462801096
1462801088
1462801080
1462801072
1462801064
1462801056
1462801048
1462801040
1462801032
1462801024
1462801016
1462801008
1462801000
1462800992
1462800984
1462800976
1462800968
1462800960
1462800952
1462800944
1462800936
1462800928
1462800920
1462800912
1462809480
1462809472
1462809464
1462809456
1462809448
1462809440
1462809432
1462809424
1462809416
1462809408
1462809400
1462809392
1462809384
1462809376
1462809368
1462809360
1462809352
1462809344
1462809336
1462809328
1462809320
1462809312
1462809304
1462809296
1462809288
1462809280
1462809272
1462809264
1462809256
1462809248
1462809240
1462809232
1462813640
1462813632
1462813624
1462813616
1462813608
1462813600
1462813592
1462813584
1462813576
1462813568
1462813560
1462813552
1462813544
1462813536
1462813528
1462813520
1462813512
1462813504
1462813496
1462813488
1462813480
1462813472
1462813464
1462813456
1462813448
1462813440
1462813432
1462813424
1462813416
1462813408
1462813400
1462813392
1462813000
1462812992
1462812984
1462812976
How do I actually determine which one corresponds to the value I'm looking for, and how do I actually convert the number ( / object ) to an actual Cheat Engine address?
Is there any API docs for the Lua Engine window thingy ?
Thanks in advance :^ )
|
|
Back to top |
|
|
|