ogame-opensource icon indicating copy to clipboard operation
ogame-opensource copied to clipboard

Galaxy & Commander

Open ogamespec opened this issue 1 year ago • 5 comments

Quaua — 10.01.2024 22:07 Hi, I found a new little bug the parts highlighted in yellow should only come out if you have the commander active. For now I have fixed partially the error

image

in galaxy.php at line 690 (around) these lines:

if ($aktplanet["f210"] > 0) echo "<span id="probes">".nicenum($aktplanet["f210"])."</span> Sonde spia &nbsp;&nbsp;&nbsp;&nbsp;";
    if ($aktplanet["f209"] > 0) echo "<span id="recyclers">".nicenum($aktplanet["f209"])."</span> Riciclatrici  &nbsp;&nbsp;&nbsp;&nbsp;";
    if ($aktplanet["d503"] > 0) echo "<span id="missiles">".nicenum($aktplanet["d503"])."</span> Missili interplanetari  &nbsp;&nbsp;&nbsp;&nbsp;";

REPLACE WITH:

if($prem['commander']) {

    if ($aktplanet["f210"] > 0) echo "<span id="probes">".nicenum($aktplanet["f210"])."</span> Sonde spia &nbsp;&nbsp;&nbsp;&nbsp;";
    if ($aktplanet["f209"] > 0) echo "<span id="recyclers">".nicenum($aktplanet["f209"])."</span> Riciclatrici  &nbsp;&nbsp;&nbsp;&nbsp;";
    if ($aktplanet["d503"] > 0) echo "<span id="missiles">".nicenum($aktplanet["d503"])."</span> Missili interplanetari  &nbsp;&nbsp;&nbsp;&nbsp;";
    }else{ echo "";}

it should also be applied for deuterium and fleet slots but I'm trying to understand how to do it since the lines below are written differently

ogamespec avatar Jan 22 '24 17:01 ogamespec

  • Улучшенный обзор галактики Из обзора галактики Вы видите, количество свободных переработчиков, шпионских зондов, межпланетных ракет и количество свободных слотов флота, а так же количество заселенных планет в солнечной системе. Помимо того, при просмотре галактики с луны отображается количество дейтерия доступного для сканирования фалангой. Также появляется дополнительная информативная кнопка «{i}», слева от кнопок шпионажа, сообщений, предложения подружиться и ракетных атак, при нажатии на которую можно посмотреть шпионский доклад этой планеты (который открывается в новом окне), кнопка исчезает после того, как шпионский доклад был удален.

https://web.archive.org/web/20071229095102/http://board.ogame.ru/thread.php?threadid=59574

ogamespec avatar Jan 28 '24 09:01 ogamespec

Improved Fleet and Galaxy View:

  • Standard Fleets: Allows you to create a fleet combination that can be chosen with one click, e.g. your standard raid fleet. One can create as many standard fleets as they have levels of Computer Technology plus one.
  • Espionage missions can be sent to a moon directly from the Galaxy View.
  • Recyclers can be sent directly to a debris field from the Galaxy View.
  • Espionage Reports can be viewed directly from the galaxy view and can be shared with Alliance members who have also subscribed.
  • A status bar is shown with the current amount of Recyclers, Espionage Probes, Interplanetary Missiles, and used fleet slots.
  • All galaxy view buttons can individually be enabled or disabled through the Options menu.

https://web.archive.org/web/20090903220236/http://board.ogame.org/index.php?page=Thread&threadID=232630

ogamespec avatar Jan 28 '24 09:01 ogamespec

Помимо того, при просмотре галактики с луны отображается количество дейтерия доступного для сканирования фалангой.

Данная фича работала и БЕЗ командира. Скрин:

image

ogamespec avatar Jan 29 '24 10:01 ogamespec

Сделал включение и выключение кнопок действий в галактике через настройки. image

ogamespec avatar Feb 01 '24 05:02 ogamespec

Реализован функционал общих шпионских докладов.

image

ogamespec avatar Feb 04 '24 11:02 ogamespec