OGame Automizer RD - Cracked.

09/21/2012 14:05 xsires#166
Quote:
Originally Posted by yaum View Post
From your point of view, what could be used if jd-gui is not producing useful code? Is there something existing like softice for java?
DJ Java Decompiler it is producing useful code ) ... whith out //internal errors//
.....but i have some problems with "go to" expressions
09/21/2012 16:56 yaum#167
Just for you to know, if you want to modify the bytecode of an already compiled class, it can be done using ReJava. Much more simple than decompile/recompile.
[Only registered and activated users can see links. Click Here To Register...]
I've been trying to tweak kc.class this way, because there is a 7190000 constant in there, which is used to start the countdown (a little obsfurcated with a + rand(10000) -97).
Still no luck though...
09/21/2012 17:37 Loredan_#168
Quote:
Originally Posted by yaum View Post
I'll try to explain that to Loredan in russian :)
Говорить по-английски, пожалуйста
Why I need speak English? Russian language is banned? Wtf?
09/21/2012 18:26 yaum#169
There is no 'need' to speak English. It's pure courtesy. Let me illustrate this for you:
Donc, j'ai bien repris la méthode no dans laquelle on retrouve le compteur. J'ai réussi à passer outre l'affichage de la limite de temps, et je pense donc que même si cela donne l'impression de réussite, ça ne marche pas. Vous pouvez essayer et me faire vos retours!
[Only registered and activated users can see links. Click Here To Register...]
09/21/2012 18:58 xsires#170
Quote:
Originally Posted by yaum View Post
There is no 'need' to speak English. It's pure courtesy. Let me illustrate this for you:
Donc, j'ai bien repris la méthode no dans laquelle on retrouve le compteur. J'ai réussi à passer outre l'affichage de la limite de temps, et je pense donc que même si cela donne l'impression de réussite, ça ne marche pas. Vous pouvez essayer et me faire vos retours!
[Only registered and activated users can see links. Click Here To Register...]
which classes did you decompile ?
09/21/2012 19:03 yaum#171
xsires, I'm dead certain it's not working :(
I just shunt the 'no' class, which is taking into account the display...


If you waht something workable, here it is:
For those who want to sleep soundly, and protected... It's still a bit ugly, with a counter, but it's not getting down.
Keep me posted if there is a problem with it. I'll try to make it nicer, with a hidden counter.
[Only registered and activated users can see links. Click Here To Register...]
Good night!
09/22/2012 01:52 xsires#172
Quote:
Originally Posted by yaum View Post
xsires, I'm dead certain it's not working :(
I just shunt the 'no' class, which is taking into account the display...


If you waht something workable, here it is:
For those who want to sleep soundly, and protected... It's still a bit ugly, with a counter, but it's not getting down.
Keep me posted if there is a problem with it. I'll try to make it nicer, with a hidden counter.
[Only registered and activated users can see links. Click Here To Register...]
Good night!
Thank you ,good night )) i will testing it ) you can tell in detail what you did?
09/22/2012 07:30 yaum#173
hmmm...
This morning, the automizer was down, and it kind of self-destructed :(


I modified the void a(long) class within the kc class --> this is the function that is updating the counter. In the end, it seems that I managed to get it past the 2h limit, but 2h10min after the start, it crashes in a systematic way, and modifies the .jar to a size of 4k. I'll have a look at what's inside on the next crash.
09/22/2012 15:35 genhack#174
Bot(inactive players attack) not work for me...
09/22/2012 21:24 geekkillah#175
Quote:
Originally Posted by yaum View Post
hmmm...
This morning, the automizer was down, and it kind of self-destructed :(


I modified the void a(long) class within the kc class --> this is the function that is updating the counter. In the end, it seems that I managed to get it past the 2h limit, but 2h10min after the start, it crashes in a systematic way, and modifies the .jar to a size of 4k. I'll have a look at what's inside on the next crash.
Same problem here, i used it for 2 hours then it stopped and replaced itself by a 3kb jar.
09/23/2012 02:24 genhack#176
Quote:
Originally Posted by geekkillah View Post
Same problem here, i used it for 2 hours then it stopped and replaced itself by a 3kb jar.
Yes.. when i start oa bot, the program crash and not work if i restrat it.... after 3/4 hour the oa crash and replace the .jar... is a new protection for crack???:bandit:
09/23/2012 21:08 MaouKami#177
Hey,

I just arrived back home.
Anyway there is a part of the script that checks i guess the hash of the jar.
If its incorrect it will rewrite the file :).
Making it read only might fix it.
Or look for the script its included in the class list i gave to try to locate it :).
09/23/2012 22:52 yaum#178
Hey Maoukami,
Glad you're home.
I spent some time to understand what happens to the mP class. I've seen using a debugger that even if the bytecode is representing what I changed, something else is executed (original bytecode). It's the first time I've seen something like this... I tried to modify this class by recompiling it, and by editing the bytecode, and it gives for both cases the same result...

Quote:
Making it read only might fix it.
This is true, it's fixing the rewrite of the jar, but it's still crashing.
09/23/2012 23:25 MaouKami#179
Any clue what the error is for the crash ?
You might wanna run the .jar using a .bat file or .sh file for linux.

And the console should log the error message at least i'm hoping :D.
Also it might help by just setting the value of 2 hours to like 100+ hours.
Not sure where this is stored but it might make things a bit more easy.
And less chance it crashes.
09/24/2012 09:16 yaum#180
Quote:
Also it might help by just setting the value of 2 hours to like 100+ hours.
Not sure where this is stored but it might make things a bit more easy.
This value is set in kc.class, in the kc public function via this.jdField_s_of_type_Long. After the initialization, the value is accessed by the no.class using function a(Long) for writing purpose:
Quote:
long l = System.currentTimeMillis() - this.jdField_a_of_type_SKc.jdField_f_of_type_Long;
if ((l > 0L) && (l < 120000L))
this.jdField_a_of_type_SKc.a(this.jdField_a_of_typ e_SKc.a() - l);
else
this.jdField_a_of_type_SKc.a(this.jdField_a_of_typ e_SKc.a() - bE.jdField_a_of_type_JavaUtilRandom.nextInt(60000) );
this.jdField_a_of_type_SKc.jdField_f_of_type_Long = System.currentTimeMillis();
}
I did modify function a(Long) in kc to render it ineffective, and set to 42 hours the initial counter, but as said before, there must be a hidden counter somewhere else, which is making the code crash. I'll try to have a look at the error in a few hours (it's not crashing fast enough :) )