|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
Posted: Tue May 03, 2016 3:22 am Post subject: Java feature need update/fix ? |
|
|
So I tried,jmti on older java game named The Count Lucanor and it's working flawlessly but when I tried it on Balrum,its doesn't work as expected
I had also tried using other CE version and it's the same.
Output:
Code: |
Error:C:\Program Files (x86)\Cheat Engine 6.5\autorun\java.lua:403: Auto assembler failed: globalalloc(bla,1024)
globalalloc(cmd,16)
globalalloc(arg0,256)
globalalloc(arg1,256)
globalalloc(arg2,256)
globalalloc(result,4)
globalalloc(pipename,256)
cmd:
db 'load',0
arg0:
db 'C:\Program Files (x86)\Cheat Engine 6.5\autorun\dlls\32\CEJVMTI',0
arg1:
db 0
arg2:
db 0
pipename:
db '\\.\pipe\cejavapipe',0
bla:
sub rsp,8
sub rsp,30
mov rcx,cmd
mov rdx,arg0
mov r8,arg1
mov r9,arg2
mov [rsp],cmd
mov [rsp+8],arg0
mov [rsp+10],arg1
mov [rsp+18],arg2
mov [rsp+20],pipename
call jvm.JVM_EnqueueOperation
mov [result],eax
add rsp,38
ret
createthread(bla)
Error in native thread called CollectJavaSymbolsNonInjected::C:\Program Files (x86)\Cheat Engine 6.5\autorun\java.lua:251: attempt to index a nil value
Error:C:\Program Files (x86)\Cheat Engine 6.5\autorun\java.lua:403: Auto assembler failed: globalalloc(bla,1024)
globalalloc(cmd,16)
globalalloc(arg0,256)
globalalloc(arg1,256)
globalalloc(arg2,256)
globalalloc(result,4)
globalalloc(pipename,256)
cmd:
db 'load',0
arg0:
db 'C:\Program Files (x86)\Cheat Engine 6.5\autorun\dlls\32\CEJVMTI',0
arg1:
db 0
arg2:
db 0
pipename:
db '\\.\pipe\cejavapipe',0
bla:
sub rsp,8
sub rsp,30
mov rcx,cmd
mov rdx,arg0
mov r8,arg1
mov r9,arg2
mov [rsp],cmd
mov [rsp+8],arg0
mov [rsp+10],arg1
mov [rsp+18],arg2
mov [rsp+20],pipename
call jvm.JVM_EnqueueOperation
mov [result],eax
add rsp,38
ret
createthread(bla)
Error in native thread called CollectJavaSymbolsNonInjected::C:\Program Files (x86)\Cheat Engine 6.5\autorun\java.lua:251: attempt to index a nil value
|
Description: |
|
Filesize: |
466.94 KB |
Viewed: |
12738 Time(s) |
|
_________________
... |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Tue May 03, 2016 3:29 am Post subject: |
|
|
try replacing the java runtime used by balrum wuth the one used by the count lucanor
or just comment out the code from line 216 to 293 in autorun/java.lua
you most likely didn't use those variables it fetches (jInterpreter_*) and and java.lua doesn't use it anywhere else
_________________
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 |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
Posted: Tue May 03, 2016 3:42 am Post subject: |
|
|
Dark Byte wrote: | try replacing the java runtime used by balrum wuth the one used by the count lucanor
or just comment out the code from line 216 to 293 in autorun/java.lua
you most likely didn't use those variables it fetches (jInterpreter_*) and and java.lua doesn't use it anywhere else |
Tried both, no dice.
_________________
... |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Tue May 03, 2016 3:49 am Post subject: |
|
|
what was the error you got after commenting out line 216 to 293? The error must have become something else then.
(restart ce after editing that file)
and don't just replace java.exe also the related files
if the autoassembler still fails execute the script in a standalone autoassembler script to see why it fails (e. g no export named JVM_EnqueueOperation)
_________________
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 |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
Posted: Tue May 03, 2016 4:30 am Post subject: |
|
|
I'm sorry Sir
Here's the Output:
Code: |
Error:C:\Program Files (x86)\Cheat Engine 6.5\autorun\java.lua:326: Auto assembler failed: globalalloc(bla,1024)
globalalloc(cmd,16)
globalalloc(arg0,256)
globalalloc(arg1,256)
globalalloc(arg2,256)
globalalloc(result,4)
globalalloc(pipename,256)
cmd:
db 'load',0
arg0:
db 'C:\Program Files (x86)\Cheat Engine 6.5\autorun\dlls\32\CEJVMTI',0
arg1:
db 0
arg2:
db 0
pipename:
db '\\.\pipe\cejavapipe',0
bla:
sub rsp,8
sub rsp,30
mov rcx,cmd
mov rdx,arg0
mov r8,arg1
mov r9,arg2
mov [rsp],cmd
mov [rsp+8],arg0
mov [rsp+10],arg1
mov [rsp+18],arg2
mov [rsp+20],pipename
call jvm.JVM_EnqueueOperation
mov [result],eax
add rsp,38
ret
createthread(bla)
Error:C:\Program Files (x86)\Cheat Engine 6.5\autorun\java.lua:326: Auto assembler failed: globalalloc(bla,1024)
globalalloc(cmd,16)
globalalloc(arg0,256)
globalalloc(arg1,256)
globalalloc(arg2,256)
globalalloc(result,4)
globalalloc(pipename,256)
cmd:
db 'load',0
arg0:
db 'C:\Program Files (x86)\Cheat Engine 6.5\autorun\dlls\32\CEJVMTI',0
arg1:
db 0
arg2:
db 0
pipename:
db '\\.\pipe\cejavapipe',0
bla:
sub rsp,8
sub rsp,30
mov rcx,cmd
mov rdx,arg0
mov r8,arg1
mov r9,arg2
mov [rsp],cmd
mov [rsp+8],arg0
mov [rsp+10],arg1
mov [rsp+18],arg2
mov [rsp+20],pipename
call jvm.JVM_EnqueueOperation
mov [result],eax
add rsp,38
ret
createthread(bla)
|
I replaced the whole jre folder. ( don't know if it's the thing that you ask for)
The game is 32 bits.
_________________
... |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Tue May 03, 2016 4:38 am Post subject: |
|
|
open the process.
press ctrl+alt+a
paste in this code:
Code: |
globalalloc(bla,1024)
globalalloc(cmd,16)
globalalloc(arg0,256)
globalalloc(arg1,256)
globalalloc(arg2,256)
globalalloc(result,4)
globalalloc(pipename,256)
cmd:
db 'load',0
arg0:
db 'C:\Program Files (x86)\Cheat Engine 6.5\autorun\dlls\32\CEJVMTI',0
arg1:
db 0
arg2:
db 0
pipename:
db '\\.\pipe\cejavapipe',0
bla:
sub rsp,8
sub rsp,30
mov rcx,cmd
mov rdx,arg0
mov r8,arg1
mov r9,arg2
mov [rsp],cmd
mov [rsp+8],arg0
mov [rsp+10],arg1
mov [rsp+18],arg2
mov [rsp+20],pipename
call jvm.JVM_EnqueueOperation
mov [result],eax
add rsp,38
ret
|
and click execute
see what the error is.
if the error is that call jvm.JVM_EnqueueOperation fails go to memoryview
view->enumerate dlls and modules
(if you have windows 7 with a bad windows patch where no entry has a > in front then
close it
again view->enumerate dll's and modules
)
press ctrl+f and search for EnqueueOperation and see if you can find it anywhere
(perhaps it's just moved to a different module instead of jvm.dll)
-----
You also need to replace the java.exe and dll files
_________________
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 |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Tue May 03, 2016 5:20 am Post subject: |
|
|
oh, I didn't notice it was generating 64-bit assembler code for the injection.
I'll check it out
_________________
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 |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Tue May 03, 2016 5:46 am Post subject: |
|
|
try http://cheatengine.org/temp/java.lua (replace your old java.lua with this one)
Of course, it apparently has never been tested on 32-bit java, so I can't even say if it'll work or not
_________________
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 |
|
|
Cake-san Grandmaster Cheater Reputation: 8
Joined: 18 Dec 2014 Posts: 541 Location: Semenanjung
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|