Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Is there CE JVMTI documentation?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Exempt
Newbie cheater
Reputation: 0

Joined: 15 Aug 2012
Posts: 10

PostPosted: Sun Jul 23, 2017 5:47 pm    Post subject: Is there CE JVMTI documentation? Reply with quote

I can't seem to find anything about CEJVMTI other then a few posts saying to activate it without explaining how to, is there any documentation for it?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Sun Jul 23, 2017 6:32 pm    Post subject: Reply with quote

Not really, just look through the java* lua files iun autorun for the available functions
_________________
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
View user's profile Send private message MSN Messenger
Exempt
Newbie cheater
Reputation: 0

Joined: 15 Aug 2012
Posts: 10

PostPosted: Sun Jul 23, 2017 6:34 pm    Post subject: Reply with quote

I did poke around in there a bit. What should I use to run the scripts? I'm sure not how to "activate" cejvmti.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Sun Jul 23, 2017 7:02 pm    Post subject: Reply with quote

javaInjectAgent() will activate it

as for the rest it's up to you. Do you want to replace class files ? Find all objects ?

_________________
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
View user's profile Send private message MSN Messenger
Exempt
Newbie cheater
Reputation: 0

Joined: 15 Aug 2012
Posts: 10

PostPosted: Mon Jul 24, 2017 5:22 pm    Post subject: Reply with quote

My goal is to only get information right now, although it could be useful to actually call some functions if that's possible. I guess I'll need to learn how scripting works in CE. Thanks for the help Smile

I've already decompiled the source for the game and I know which classes I need to look into but the game itself will not allow for direct editing... Well I guess it'd be possible if I stopped whatever checks are being done to make sure the checksum of the files are right?... who knows lol

edit: Seems the javaInjectAgent() will only return 0 sadly. Do you know any good resources about jvmti, I'm reading the documentation from oracle atm?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Mon Jul 24, 2017 7:37 pm    Post subject: Reply with quote

if they are file checksums, then jvmti is useful, as it can intercept the loading of classes and substitute them with your own, without touching the 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
View user's profile Send private message MSN Messenger
Exempt
Newbie cheater
Reputation: 0

Joined: 15 Aug 2012
Posts: 10

PostPosted: Tue Jul 25, 2017 6:00 pm    Post subject: Reply with quote

Sounds very useful indeed. So far no luck with the javaInjectAgent for the client yet. I think I am starting the game wrong. Do you know if I need to start the game with the cejvmti somehow or just call the function after the game is already running?
Back to top
View user's profile Send private message
Exempt
Newbie cheater
Reputation: 0

Joined: 15 Aug 2012
Posts: 10

PostPosted: Sun Jul 30, 2017 10:15 pm    Post subject: Reply with quote

Is it possible to use CEJVMTI with a javaws app? I've manage to make my own agent and load it into my own java app but I can't seem to get anywhere with a javaws app, Any hints for doing this?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Mon Jul 31, 2017 3:15 am    Post subject: Reply with quote

Not sure, is there a java executable that loads ? What are the permissions your agent gets ?
_________________
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
View user's profile Send private message MSN Messenger
Exempt
Newbie cheater
Reputation: 0

Joined: 15 Aug 2012
Posts: 10

PostPosted: Mon Jul 31, 2017 5:45 pm    Post subject: Reply with quote

The app starts from a jnlp file and by permissions do you mean capabilities? If so I'm not sure just yet my current goal would only be to create a sort of hello world possibly by printing out each class loaded into the vm.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Mon Jul 31, 2017 5:55 pm    Post subject: Reply with quote

once java loads an agent, it can call env->GetPotentialCapabilities(&potcap); to see what capabilities it has.

that way you can see if you have basic access

_________________
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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites