XG-Proyect-v3.x.x icon indicating copy to clipboard operation
XG-Proyect-v3.x.x copied to clipboard

[Future Improvement] Updating Recruit Officers

Open BeReal86 opened this issue 5 years ago • 8 comments

Commander

  • [ ] +40 favourites With more favourites you can save more messages, which can then alse be shared.
  • [ ] Building queue Place up 4 additional building contracts at the same time in the building queue.
  • [ ] Transport scanner The number of resources that the transporter is bringing to your planet will be shown.
  • [ ] Advertisement free You no longer see advertising for other games, instead only ads about Ogame-specific events and offer will be shown.

Admiral

  • [ ] Max. fleet slots +2 You can dispatch more fleets at the same time.
  • [ ] Max. expeditions +1 You can dispatch one additional expedition at the same time.
  • [ ] Improved fleet escape rate Until you reach 500.000 points, your fleet is able to retreat when forces are three times bigger than you own.

Engineer

  • [ ] Halves losses to defence systems After a battle, half of all lost defence systems will be rebuilt.
  • [ ] +10% energy production Your power stations and solar satellites produce 10% more energy.

Geologist

  • [ ] +10% mine production Your mines produce 10% more.

Technocrat

  • [ ] +2 espionage levels 2 levels will be added to your espionage research.
  • [ ] 25% less research time Yours research requires 25% less time till completion.

When all recruitment officers are active, the following bonus officer is active.

Commanding Staff

  • [ ] Max. fleet slots +1 You can dispatch more fleets at the same time.
  • [ ] +2% energy production Your power stations and solar satellites produce 2% more energy.
  • [ ] +2% mine production Your mines produce 2% more.
  • [ ] +1 espionage levels 1 levels will be added to your espionage research.
officers Screenshot_5 Screenshot_7

resim

BeReal86 avatar Oct 15 '19 22:10 BeReal86

*Halves losses to defence systems This is before with the old battle engine with the new jstar engine that does not exist

jonamix-ar avatar Oct 17 '19 18:10 jonamix-ar

Dejo esto por acá para que no tengan problemas con el CP me atreví de cambiar el comandante por la estrella. allOfficers_ikon allOfficers

jonamix-ar avatar Nov 02 '20 01:11 jonamix-ar

El max Expedition

fleet1.php 'max_expeditions' => FleetsLib::getMaxExpeditions( $this->_research->getCurrentResearch()->getResearchAstrophysics(), $this->_premium->getCurrentPremium()->getPremiumOfficierAdmiral() ),

fleetLib.php public static function getMaxExpeditions($astrophysics_tech, $amiral_level) { return floor(sqrt($astrophysics_tech) + (1 * (OfficiersLib::isOfficierActive($amiral_level) ? AMIRAL_EXPEDITION : 0))); }

fleet1_view.php

<tr>
                        <td style="background-color: transparent;">
                            {fl_fleets} {fleets}/{max_fleets}
                            &nbsp;
                            {amiral_bonuses}
                            &nbsp; {fl_expeditions} {expeditions}/{max_expeditions}
                        </td>
                        <td style="background-color: transparent;text-align: right!important;">
                            <a href="game.php?page=movement">{fl_fleets_movements}</a>
                        </td>
                    </tr>

nuevo archivo fleet1_amiral_row.php

<a href="game.php?page=officier" alt="{of_admiral}" onmouseover="return overlib('<table width=275px><tr><th style=text-align:left>{fl_amiral_bonuses}</th></tr></table>');" onmouseout="return nd();" style="vertical-align: middle;"> <img src="{dpath}premium/admiral_ikon.gif" width="20" height="20"> </a>

Fleet1.php

private function buildNoAmiralBlock($amiral)
    {
        if ($amiral) {
            return $this->template->set('fleet/fleet1_amiral_row', array_merge($this->langs->language, ['dpath' => DPATH]));
        }
    }

Lang / Spanish 'fl_amiral_bonuses' => '+ 2 Espacios disponibles debido a Almirante',

Lang / English 'fl_amiral_bonuses' => '+ 2 Fleet slots because of Admiral',

Constants.php

define('AMIRAL_EXPEDITION', 1);

Creo q no me olvide nada

Con Almirante image

Sin Almirante image

Fix movimiento de flotas

movement.php

'max_expeditions' => FleetsLib::getMaxExpeditions(
                $this->research->getCurrentResearch()->getResearchAstrophysics(),
                $this->premium->getCurrentPremium()->getPremiumOfficierAdmiral()
            )

jonamix-ar avatar Dec 29 '21 19:12 jonamix-ar

@FGServers tenes que aprender a hacer PRs…. Esto de copiar/pegar es muy aburrido… cual es el propósito además de los pop ups?

LucasKovacs avatar Dec 29 '21 20:12 LucasKovacs

ual es el propósito además de los pop

use overlib por que no tiene implementado un tooltip. es como esta en ogame como para hacerlo lo mas parecido al rediseño con el antiguo diseño jajaja ya voy aprender hacer PR

jonamix-ar avatar Dec 29 '21 20:12 jonamix-ar

https://github.com/XGProyect/XG-Proyect-v3.x.x/issues/532

Update; Officers no longer need to be active for the MAX button.

BeReal86 avatar Apr 24 '23 15:04 BeReal86

Update Officers El equipo comando es un bonus extra que suma cuando tenes activos todos los oficiales. que es lo que hace cuando vos tenes todos los oficiales activos te agrega 4 bonus más extras.

Bonus:

Cantidad de flotas máx. +1 +2 % de producción de energía +2 % de producción de mineral +1 al nivel de espionaje +5 días de vacaciones

image

Dejo la imagen modificaa por que la original es de ogame, cuando lo activas image

Le suma a los oficiales los dias que contratas el bonus extra image image image

jonamix-ar avatar Apr 24 '23 16:04 jonamix-ar

resim

resim

One is the image I got from ogame.us the other ogame test universe. Bonuses are 4 and have been updated.

BeReal86 avatar Apr 27 '23 18:04 BeReal86