View previous topic :: View next topic |
Author |
Message |
Exempt Newbie cheater Reputation: 0
Joined: 15 Aug 2012 Posts: 10
|
Posted: Sun Jul 23, 2017 5:47 pm Post subject: Is there CE JVMTI documentation? |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sun Jul 23, 2017 6:32 pm Post subject: |
|
|
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 |
|
|
Exempt Newbie cheater Reputation: 0
Joined: 15 Aug 2012 Posts: 10
|
Posted: Sun Jul 23, 2017 6:34 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sun Jul 23, 2017 7:02 pm Post subject: |
|
|
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 |
|
|
Exempt Newbie cheater Reputation: 0
Joined: 15 Aug 2012 Posts: 10
|
Posted: Mon Jul 24, 2017 5:22 pm Post subject: |
|
|
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
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Jul 24, 2017 7:37 pm Post subject: |
|
|
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 |
|
|
Exempt Newbie cheater Reputation: 0
Joined: 15 Aug 2012 Posts: 10
|
Posted: Tue Jul 25, 2017 6:00 pm Post subject: |
|
|
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 |
|
|
Exempt Newbie cheater Reputation: 0
Joined: 15 Aug 2012 Posts: 10
|
Posted: Sun Jul 30, 2017 10:15 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Jul 31, 2017 3:15 am Post subject: |
|
|
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 |
|
|
Exempt Newbie cheater Reputation: 0
Joined: 15 Aug 2012 Posts: 10
|
Posted: Mon Jul 31, 2017 5:45 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Jul 31, 2017 5:55 pm Post subject: |
|
|
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 |
|
|
|