Compare commits

...

41 Commits

Author SHA1 Message Date
85d59f7a65 CI: add cron for docker-manifest actions
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-19 01:21:18 +02:00
9805b58f2b La techno expansion peut monter jusqu'au niveau 18, il faut donc la calculer à part, sinon on ne peux pas passer au dessus du niveau 3
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-18 21:15:57 +00:00
4d61e17021 Ajoute une entrée dans le menu pour aller directement à la techno expansion 2021-04-18 21:15:57 +00:00
984c35ee64 La page rapport d'erreur ne redirige plus sur un NDD qui n'existe plus
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-04-18 18:23:16 +02:00
f5fd9cab58 Prise en compte de toutes les recherches de type Défense qui ne sont pas le réparation après combats
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-28 15:15:49 +01:00
9902dc3638 Prise en compte de toutes les recherches de type armement 2021-02-28 15:13:17 +01:00
2a3a98f42c Met à jour les noms des défences covies 2021-02-28 14:42:17 +01:00
f46379bd8f Les covies ayant moins d'unité terrestre, il ne faut pas aller chercher cette information sur la planète covie 2021-02-28 14:42:03 +01:00
295add63bc Ajoute les paramètres d'attaques, bouclier et armatures des défenses 2021-02-28 13:39:58 +01:00
fca32002e5 Fixe le temps de construction des vaisseaux d'espionnage humain 2021-02-28 13:15:11 +01:00
5184b511f2 La mauvaise techno controllait l'immigration coloniale 2021-02-28 12:53:11 +01:00
4f1f6a1ef3 Implémente les constructions planétaires 2021-02-28 12:53:04 +01:00
f69d4bf376 Affiche le nombre de case qu'a la planète + rend une ligne de la Class Planete plus lisible 2021-02-28 12:10:53 +01:00
aff1550919 On ne peut plus coloniser plus de planète que l'on as de niveau d'expansion
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-26 18:45:15 +01:00
067b45bdfd Corrige le retour des flottes 2021-02-26 18:44:43 +01:00
ea3860f79d Correction de la page d'admin des alliances (qui n'est pas fini, mais bon, au moins y'a plus d'erreur) 2021-02-26 18:44:17 +01:00
ff69ed0d54 Correction de la techno expansion, elle est désormais constructible jusqu'au niveau 18 2021-02-26 18:43:33 +01:00
6d8bf942db Affiche les 1000 première planètes dans la page d'admin, c'est donc plus simple de les trouver 2021-02-26 17:13:43 +01:00
28b0ceeee8 Corrige le chantier terrestre
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-18 21:53:49 +00:00
cfa44975d3 Mise à jour du schéma de BDD car TINYINT se limite a 127 max, or on a 150 images
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-17 17:28:57 +01:00
93dd3e187a Prend une image au hasard dans les 150 qui existent lors de la génération de la planète
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-17 17:17:09 +01:00
16c71524b1 Ajout des images de planètes faites par Olah 2021-02-17 17:14:49 +01:00
541a0e009c Revert a commit because we want to be able to limit flotte to modo
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-29 12:17:08 +01:00
9e9a4344f2 Revert "Mise à jour du commentaire signalant que les attaques sont désactivées pour le moment"
This reverts commit 3191822644.
2021-01-29 12:13:50 +01:00
b0e5c7dea5 AJout des bouclier/attaque/armature des vaisseaux et fix de l'affichage de l'arbre techno
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2021-01-28 18:42:35 +01:00
2269a56ce5 MàJ des descriptions des tech covies pour les vaisseaux et affichage des bons noms
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-01-27 18:40:32 +01:00
4fedde4cf9 Les covies et les humains ont besoin des mêmes recherches pour créer des sondes d'espionnages 2021-01-27 17:50:27 +01:00
81cb1e9660 Les humains et les covies n'ont pas besoin des mêmes recherches pour débloquer certains vasseaux 2021-01-27 17:46:21 +01:00
bd5e4c75c1 Sauvegarde les rapports d'espionnages 2021-01-27 17:13:01 +01:00
9a14ddcd8d Différencie les humains et covies au niveaux des défenses accessibles 2021-01-27 17:06:54 +01:00
b7ab2b3640 Prend en compte les nouveaux modèles de vaisseaux d'espionnages pour Humain et COvie 2021-01-27 17:06:10 +01:00
eea4226991 Corrige le calcul des rapports d'espionnages 2021-01-27 17:05:39 +01:00
3191822644 Mise à jour du commentaire signalant que les attaques sont désactivées pour le moment 2021-01-27 11:40:07 +01:00
c1bac50417 Rend le lien vers le détail d'une flotte fonctionnel 2021-01-27 11:32:12 +01:00
ba1de13034 On ne peux pas donner des vaisseaux a une autre race 2021-01-27 11:25:48 +01:00
e4219f493d Mise à jour des ID de la liste des missions, pour que ça corresponde à la réalité 2021-01-27 11:25:27 +01:00
b1e1cc6117 l'envoi de flotte était désactivé, on le réactive
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-27 10:51:17 +01:00
a9afd5ea68 Fix missing spaceship error
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-24 17:10:08 +01:00
1072d78ae7 Permet l'envoi d'un rapport de colonisation (et tous les autres rapports aussi :p)
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-16 19:04:20 +01:00
d72e495f59 Met les bonnes valeures sur la planète lors de la colonisation 2021-01-16 19:03:55 +01:00
5334b1877d Les covies avaient besoin d'un techno qui n'existe pas pour construire le vaisseau de colonisation 2021-01-16 19:03:27 +01:00
176 changed files with 1124 additions and 198 deletions

View File

@ -64,6 +64,7 @@ steps:
trigger:
event:
- cron
- push
- tag

View File

@ -9,12 +9,12 @@ require_once("Class/JSON.php");
require_once("Class/flotte.php");
require_once("Class/planete.php");
if (isset($SESS) && isset($SESS->values['connected']) && $SESS->values['connected'] && !empty($SESS->values['id']) && !empty($SESS->level) && !empty($SESS->values['idPlan'])) {
if (isset($SESS) && isset($SESS->values['connected']) && $SESS->values['connected'] && !empty($SESS->values['id']) && !empty($SESS->values['idPlan'])) {
$idPrep = gpc("cds_temp", "post");
$json = new Services_JSON();
$nbtrajet = 2;
if (empty($config['flottes']) && $SESS->level <= 1) {
if (empty($VAR['flottes']) && $SESS->level <= 1) {
$datas = array(
'root' => array(
'destination' => '<input class="dest" type="text" id="amas" name="amas" maxlength="2" value="'.gpc('galaxie', 'post').'" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" value="'.gpc('ss', 'post').'" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" value="'.gpc('pos', 'post').'" />',
@ -107,7 +107,8 @@ if (isset($SESS) && isset($SESS->values['connected']) && $SESS->values['connecte
$places -= ($met+$cri+$hyd);
}
$tactique = '';
if ($_POST['mission'] == '1') {
// si la mission est une mission d'attaque
if ($_POST['mission'] == '3') {
$tactique = '<label for="selecttactique">Tactique d\'attaque :</label><select id="selecttactique" name="tactique">';
//On récupère le niveau actuel de la technologie Commandement militaire
$id_user = $SESS->values['id'];

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Some files were not shown because too many files have changed in this diff Show More