Author Topic: Noob questions  (Read 228 times)

Offline bontchev

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Noob questions
« on: November 09, 2011, 08:33:34 AM »
My favorite on-line simulator, WebSim, seems to have died, so I am trying to switch to this one. Since I am not familiar with it, I have trouble figuring out some things. So, please forgive my noobish questions:

1) Can the simulator compute the deuterium consumption for the flight? After all, it is an important component when deciding whether the attack is worth it. I did enter the coordinates of the target manually (see the next question) but I don't see where to enter the coordinates from the attacker's launchpoint, so, obviously, no fuel costs can be computed.

2) If the simulator is invoked from Antigame, the coordinates and the name of the target are not entered. I understand why this happens. Antigame supports all languages of the game and doesn't want to parse the espionage report in each one of them, so it just passes the whole report to the simulator. DragoSim seems to expect the planet name and coordinates as parameters in the invoking URL, however. WebSim was able to fetch them from the espionage report - can't DragoSim do the same?

Offline MrMage

  • Administrator
  • *****
  • Posts: 470
  • Karma: 7
Re: Noob questions
« Reply #1 on: November 11, 2011, 09:56:27 AM »
Hi,

DragoSim doesn't compute flight costs. But in theory, it should indeed read in planet coordinates from the espionage report. You can try it by clicking "Read Scan" and pasting the scan yourself.

Best,

MrMage

Offline bontchev

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Noob questions
« Reply #2 on: November 11, 2011, 10:55:48 AM »
DragoSim doesn't compute flight costs.

How about implementing such a feature, then? Since the simulator knows the coordinates of the target and the contents of the attacking fleet, all you need, in order to compute the fuel consumption, is the starting coordinates of the attack. Let the user enter it manually and the rest is a matter of rather trivial computation.

Can I help in any way? I do have a background in programming and have implemented the fuel consumption computation in a spreadsheet.

Quote
But in theory, it should indeed read in planet coordinates from the espionage report. You can try it by clicking "Read Scan" and pasting the scan yourself.

You know what is the difference between theory and practice? I theory, there isn't any. In practice, however, there is. ;D

When I tried it with Read data/scan, it similarly failed to read the coordinates of the target from the pasted espionage report. I suspect that the problem is that some strings in the report have changed in the re-design of OGame. Here is the (English) report that I pasted:

Code: [Select]
Resources at MD198 [5:478:5] (Player 'FunnyBear') on 11-11 06:55:54

Metal: 975.883 Crystal: 865.000
Deuterium: 470.000 Energy: 31.584

Activity
Activity
Activity means that the scanned player has been active on that planet or another player had fleet contact with the planet you scanned.
Your espionage does not show abnormalities in the atmosphere of the planet. There appears to have been no activity on the planet within the last hour.
fleets
Solar Satellite 361
Defense
Rocket Launcher 403 Plasma Turret 1
Interplanetary Missiles 2
Building
Metal Mine 35 Crystal Mine 28
Deuterium Synthesizer 31 Solar Plant 35
Fusion Reactor 4 Robotics Factory 10
Nanite Factory 4 Shipyard 10
Metal Storage 7 Crystal Storage 7
Deuterium Tank 6 Research Lab 10
Terraformer 3 Missile Silo 4
Research
Espionage Technology 15 Computer Technology 14
Weapons Technology 11 Shielding Technology 11
Armour Technology 15 Energy Technology 13
Hyperspace Technology 8 Combustion Drive 12
Impulse Drive 8 Hyperspace Drive 7
Laser Technology 11 Ion Technology 7
Plasma Technology 8 Intergalactic Research Network 7
Astrophysics 16 Graviton Technology 1
Chance of counter-espionage: 83 %

And I should count myself lucky that only the coordinates are missing. The players from the Russian board are complaining that the defenses and the combat techs of the target are missing, too. Again, I'm pretty sure that the problem is caused by some of the text strings having been changed in the re-design.

Can I do anything to help? Perhaps a sample espionage report in Russian with all parts (resources, ships, defenses, researches) visible and the contents of the technology tree?