OGame Automizer Crack WORKAROUND

07/08/2011 08:39 holytrashcan#1
For everyone trying to use OA without paying for it, here's a little workaround with some limited functionality. It's a batch script that I wrote that closes and opens OA automatically if it's running, or just opens it if it's not.

Benefit: you can create a scheduled task to run this batch script every 2 hours and beat the time limit to keep OA running, save your fleets, and run your construction queue all night or while you're away.

Downside: since the script restarts OA, OA won't recall your fleets (if you've scheduled it to) or resume the bot/hunter. Not a big deal for me though.

Instructions: Put the following lines in a file called somename.bat, and create a shortcut to OGameAutomizer.exe somewhere on your system. Using notepad, edit the first line of the bat file so that it points to the shortcut you just made. The script will only work if you point to a shortcut file (i.e. a .lnk file) and will not work if you point to OGameAutomizer.exe itself. Then configure a scheduled task in windows to run the bat file as often as you like. Hope this is of some use :)

NOTE: Because of the nature of the program and my limited patience with batch scripts, this procedure will close ALL instances of java.exe, so any java-based programs will be terminated upon repeated execution of this script.

set OGameLink="C:\Users\user\Desktop\OA.lnk"
@echo off
set comd1="tasklist /v /FI "IMAGENAME eq java.exe" 2>NUL | find /I /C "ogame automizer""
FOR /F %%A IN (' %comd1% ') DO SET var1=%%A
IF %var1% GEQ 1 (
:checkLoop
taskkill /FI "IMAGENAME eq java.exe"
PING 1.1.1.1 /n 1 /w 1000 > NUL
FOR /F %%A IN (' %comd1% ') DO SET var1=%%A
IF %var1% GEQ 1 GOTO checkLoop
PING 1.1.1.1 /n 1 /w 1000 > NUL
start "" %OGameLink%
GOTO end
) ELSE start "" %OGameLink%
:end
Someone could also edit this so that the 2-hour loop is included right inside the script, eliminating the need for a scheduled task. but I felt it wouldn't be as accurate of a clock.

Someone who used to crack OA but doesn't any more could also stop pms'ing and release further updates of the crack, eliminating the need for this altogether.....
07/08/2011 08:57 holytrashcan#2
Here's a version of the script that has the 2 hour timer built in (1 hr 55 min actually, to be safe), so you can just launch this batch file whenever you want to run OA. Haven't tested it but it should work. Enjoy!
set OGameLink="C:\Users\user\Desktop\OA.lnk"
@echo off
set comd1="tasklist /v /FI "IMAGENAME eq java.exe" 2>NUL | find /I /C "ogame automizer""
:labelA
FOR /F %%A IN (' %comd1% ') DO SET var1=%%A
IF %var1% GEQ 1 (
:checkLoop
taskkill /FI "IMAGENAME eq java.exe"
PING 1.1.1.1 /n 1 /w 1000 > NUL
FOR /F %%A IN (' %comd1% ') DO SET var1=%%A
IF %var1% GEQ 1 GOTO checkLoop
PING 1.1.1.1 /n 1 /w 1000 > NUL
start "" %OGameLink%
GOTO end
) ELSE start "" %OGameLink%
:end
PING 1.1.1.1 /n 1 /w 6900000 > NUL
GOTO labelA
07/08/2011 13:51 morfinastyle#3
this is a too much simple script and do the same job
@echo script is working for you....
@echo off
cd c:\Ogame
taskkill /F /IM java.exe /T
sleep 10
start OGameAutomizer.jar
sleep 7040
taskkill /F /IM java.exe /T
sleep 10
start ogame.bat
exit

the script and the ogame folder must be in c:\Ogame
07/09/2011 00:08 holytrashcan#4
Quote:
Originally Posted by morfinastyle View Post
this is a too much simple script and do the same job
If that works for you, then that's great. The 'sleep' command doesn't work for me in Win7 and I also wanted the script to check if OA is running, and to compulsively test to make sure it has completely shutdown before restarting it, otherwise OA throws an error and you wake up to all your fleets having been crashed :(
07/09/2011 11:07 morfinastyle#5
Quote:
Originally Posted by holytrashcan View Post
If that works for you, then that's great. The 'sleep' command doesn't work for me in Win7 and I also wanted the script to check if OA is running, and to compulsively test to make sure it has completely shutdown before restarting it, otherwise OA throws an error and you wake up to all your fleets having been crashed :(
in win 7 you have to install windows server 2003 admin toolkit

[Only registered and activated users can see links. Click Here To Register...]

it implement sleep command

i test my script in jupiter and i have no error in fleet because the script kill and reopen OA

i haven't test if OA where closed when attack arrives but i think ther's no problem

sorry for the imperfect eng but i'm italian
07/09/2011 11:14 morfinastyle#6
otherwise you can try command %errorlevel% in a if condition

process not found is 9009 code

then you know if program is running or not
07/11/2011 03:08 DeKloniPatr#7
someone german?
07/12/2011 20:55 sido999#8
jaa sicher
07/14/2011 09:25 mboryna#9
Bat script converted to exe.

START_OA.exe and STOP_OA.exe
[Only registered and activated users can see links. Click Here To Register...]

Script runs in the background and restarts the program at 6600 seconds.
File STOP_OA stops the whole process.
07/30/2011 01:05 fabriworld#10
La idea esta muy bien, esto serviria bastante para que el OA te cuide la flota, pero la mejor opcion que tiene este programita es usar el bot para atacar inactivo, al cerrarlo y abrirlo ya el bot deja de funcionar, como no tengo idea de programacion, a alguien se le ocurre como se puede hacer para que al abrirlo se ejecute automaticamente el "iniciar bot"??

desde ya muchas gracias.
07/31/2011 01:36 holytrashcan#11
Quote:
Originally Posted by fabriworld View Post
La idea esta muy bien, esto serviria bastante para que el OA te cuide la flota, pero la mejor opcion que tiene este programita es usar el bot para atacar inactivo, al cerrarlo y abrirlo ya el bot deja de funcionar, como no tengo idea de programacion, a alguien se le ocurre como se puede hacer para que al abrirlo se ejecute automaticamente el "iniciar bot"??

desde ya muchas gracias.
As far as I know, it is not possible to control a program with a batch script once it has opened, unless that program specifically allows it. If someone figures it out, what you need to do is send 4 {TAB} commands, 5 {LEFT} commands, 2 {TAB} commands, and an {ENTER}, and that'll start the bot.
05/29/2012 08:03 DeNnNy33#12
Quote:
Originally Posted by mboryna View Post
Bat script converted to exe.

START_OA.exe and STOP_OA.exe
[Only registered and activated users can see links. Click Here To Register...]

Script runs in the background and restarts the program at 6600 seconds.
File STOP_OA stops the whole process.
LİNK İS DEAD.CAN U GİVE ME A NEW LİNK PLS

START_OA.exe and STOP_OA.exe I didn't find this. Can you send to link?
Multiupload.com - upload your files to multiple file hosting sites! LİNK IS DEAD
Can anybody help me?I need this programs.

Quote:
Originally Posted by morfinastyle View Post
this is a too much simple script and do the same job
@echo script is working for you....
@echo off
cd c:\Ogame
taskkill /F /IM java.exe /T
sleep 10
start OGameAutomizer.jar
sleep 7040
taskkill /F /IM java.exe /T
sleep 10
start ogame.bat
exit

the script and the ogame folder must be in c:\Ogame
WHAT IS THE ogame.bat???Did u mean run2.bat?
06/08/2012 18:03 logicalduck#13
any update on this? re-upload of the converted .exe perhaps?
09/24/2012 16:35 genhack#14
download work now

sorry dont work