Compare commits

...

41 Commits

Author SHA1 Message Date
nemunaire 85d59f7a65 CI: add cron for docker-manifest actions
continuous-integration/drone/push Build is passing Details
2021-06-19 01:21:18 +02:00
Nigel Sheldon 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
continuous-integration/drone/push Build is passing Details
2021-04-18 21:15:57 +00:00
Nigel Sheldon 4d61e17021 Ajoute une entrée dans le menu pour aller directement à la techno expansion 2021-04-18 21:15:57 +00:00
Nigel Sheldon 984c35ee64 La page rapport d'erreur ne redirige plus sur un NDD qui n'existe plus
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-04-18 18:23:16 +02:00
Nigel Sheldon f5fd9cab58 Prise en compte de toutes les recherches de type Défense qui ne sont pas le réparation après combats
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-28 15:15:49 +01:00
Nigel Sheldon 9902dc3638 Prise en compte de toutes les recherches de type armement 2021-02-28 15:13:17 +01:00
Nigel Sheldon 2a3a98f42c Met à jour les noms des défences covies 2021-02-28 14:42:17 +01:00
Nigel Sheldon 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
Nigel Sheldon 295add63bc Ajoute les paramètres d'attaques, bouclier et armatures des défenses 2021-02-28 13:39:58 +01:00
Nigel Sheldon fca32002e5 Fixe le temps de construction des vaisseaux d'espionnage humain 2021-02-28 13:15:11 +01:00
Nigel Sheldon 5184b511f2 La mauvaise techno controllait l'immigration coloniale 2021-02-28 12:53:11 +01:00
Nigel Sheldon 4f1f6a1ef3 Implémente les constructions planétaires 2021-02-28 12:53:04 +01:00
Nigel Sheldon 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
Nigel Sheldon aff1550919 On ne peut plus coloniser plus de planète que l'on as de niveau d'expansion
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-26 18:45:15 +01:00
Nigel Sheldon 067b45bdfd Corrige le retour des flottes 2021-02-26 18:44:43 +01:00
Nigel Sheldon 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
Nigel Sheldon ff69ed0d54 Correction de la techno expansion, elle est désormais constructible jusqu'au niveau 18 2021-02-26 18:43:33 +01:00
Nigel Sheldon 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
Nigel Sheldon 28b0ceeee8 Corrige le chantier terrestre
continuous-integration/drone/push Build is passing Details
2021-02-18 21:53:49 +00:00
Nigel Sheldon cfa44975d3 Mise à jour du schéma de BDD car TINYINT se limite a 127 max, or on a 150 images
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-02-17 17:28:57 +01:00
Nigel Sheldon 93dd3e187a Prend une image au hasard dans les 150 qui existent lors de la génération de la planète
continuous-integration/drone/push Build is passing Details
2021-02-17 17:17:09 +01:00
Nigel Sheldon 16c71524b1 Ajout des images de planètes faites par Olah 2021-02-17 17:14:49 +01:00
Nigel Sheldon 541a0e009c Revert a commit because we want to be able to limit flotte to modo
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-29 12:17:08 +01:00
Nigel Sheldon 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
Nigel Sheldon b0e5c7dea5 AJout des bouclier/attaque/armature des vaisseaux et fix de l'affichage de l'arbre techno
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2021-01-28 18:42:35 +01:00
Nigel Sheldon 2269a56ce5 MàJ des descriptions des tech covies pour les vaisseaux et affichage des bons noms
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2021-01-27 18:40:32 +01:00
Nigel Sheldon 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
Nigel Sheldon 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
Nigel Sheldon bd5e4c75c1 Sauvegarde les rapports d'espionnages 2021-01-27 17:13:01 +01:00
Nigel Sheldon 9a14ddcd8d Différencie les humains et covies au niveaux des défenses accessibles 2021-01-27 17:06:54 +01:00
Nigel Sheldon b7ab2b3640 Prend en compte les nouveaux modèles de vaisseaux d'espionnages pour Humain et COvie 2021-01-27 17:06:10 +01:00
Nigel Sheldon eea4226991 Corrige le calcul des rapports d'espionnages 2021-01-27 17:05:39 +01:00
Nigel Sheldon 3191822644 Mise à jour du commentaire signalant que les attaques sont désactivées pour le moment 2021-01-27 11:40:07 +01:00
Nigel Sheldon c1bac50417 Rend le lien vers le détail d'une flotte fonctionnel 2021-01-27 11:32:12 +01:00
Nigel Sheldon ba1de13034 On ne peux pas donner des vaisseaux a une autre race 2021-01-27 11:25:48 +01:00
Nigel Sheldon 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
Nigel Sheldon b1e1cc6117 l'envoi de flotte était désactivé, on le réactive
continuous-integration/drone/push Build is passing Details
2021-01-27 10:51:17 +01:00
nemunaire a9afd5ea68 Fix missing spaceship error
continuous-integration/drone/push Build is passing Details
2021-01-24 17:10:08 +01:00
Nigel Sheldon 1072d78ae7 Permet l'envoi d'un rapport de colonisation (et tous les autres rapports aussi :p)
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-01-16 19:04:20 +01:00
Nigel Sheldon d72e495f59 Met les bonnes valeures sur la planète lors de la colonisation 2021-01-16 19:03:55 +01:00
Nigel Sheldon 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