Large

Ogame alarm w/ cheese

By Pimp Trizkit Last update Dec 7, 2011 — Installed 25,054 times.

Atack and Espionage alarms not works

in
Subscribe to Atack and Espionage alarms not works 13 posts, 4 voices



a.sarman Scriptwright
ieWindows

Atack and espionage alarms not working. That sounds not works. I think some codes change please help.

 
Pimp Trizkit Script's Author
Chrome

Yes, OGame has changed some code. I'm currently looking into it.

I will need help from you guys to fix ACS and Moon Destruction missions tho...

Pimp Trizkit

 
a.sarman Scriptwright
ieWindows

ıf you tell me what will I do, I will try to help you

 
Pimp Trizkit Script's Author
Chrome

You will need to be under attack with ACS and/or a Moon Destruction mission to do this correctly....

Well, the easiest way would be to let me access your account so I can rip the code myself (or remote access to your desktop).

Otherwise, I will need you to give me the HTML (source) of your EventDetails screen. Which can be achieved by adding this line to the script:

bLog(tData);

put this line at the top of the function oaCheckForAlarm. So that it looks like this:

function oaCheckForAlarm(tData, emailOK, attackOK, espionageOK) {
bLog(tData);

.. then save script, reload OGame. Then hit CTRL-SHIFT-J to open the Error Console. Wait until OGAwC checks for alarms (default is 3mins).
Then the source for the EventDetails screen will be dumped into the Error Console as a message.
Then send to me, in private, this source code.

Pimp Trizkit

 
deadmau5 User
FirefoxMacintosh

The problem occours with a non-acs attack as well.
Do you still need to a source code? Will a single fleet attack do?

 
Pimp Trizkit Script's Author
Chrome

Yes, i still need the source.

And yes I know it is a problem with non-acs attacks... its a problem with all the alarms in the script except for the new message alarm.

Yes, a single fleet will do. I would like to see source for an attack, espionage, moon destruction, and ACS.

Pimp Trizkit

 
deadmau5 User
Chrome

I have tried, but with no luck.
The entire pages reloads according to default timings.
It seems that the EventDetails does not reload at all.

 
a.sarman Scriptwright
Firefox

Isend my msn adresses from private we can do which u want in msn

 
Pimp Trizkit Script's Author
Chrome

@a.sarman - Been on MSN looking for you.. dont see you coming online

Pimp Trizkit

 
janiblu User
Firefox

Hey, has it something to do with this (from patch notes):
[Change] Improvement of loading time: Javascript, CSS and graphics have been outsourced onto the CDN (content distribution network).

Well maybe ir can be made simpler.
The script looks for that red triangle to appear, then sounds the alarm. No big need for different alarms actually, it just needs to get the attention of player that something bad is going on. Even if only espionage.
What if script could simply look for a change of color in the red triangle area? :)

 
janiblu User
Firefox

Some more thinking:
Is the script able to check the HTML code of the displayed page? If it could look for Hostile Missions:
span id="eventHostile">0<
and check if there are more than zero hostile missions.
With 3 hostile missions it might look like this:
span id="eventHostile">3<
well then it may be a good time for alarm :)

Is it even possible to do it like this?

 
Pimp Trizkit Script's Author
Chrome

yes, I know what the issue is. And I know how to solve it. I'm currently waiting on someone to provide me the needed code for a Moon Destruction mission to be able to finish the new version.

Also, donations to show me that you guys care would help motivate me to work faster as well.

Pimp Trizkit

 
Pimp Trizkit Script's Author
Chrome

Resolved.

Pimp Trizkit

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel