OGSteam

OGSpy - Le Serveur pour partager les informations du jeu avec votre Alliance => OGSpy - Mods => Discussion démarrée par: Dudule le 30 Janvier 2012, 15:36:38

Titre: [MOD] Build.Tech HOF
Posté par: Dudule le 30 Janvier 2012, 15:36:38
Bonjour,

Voila je profite de la 3.1.0 pour ouvrir un sujet à propose du mod "Build.Tech HOF".

Alors vous vous en douterais mais voici la liste des petits soucis :

Onglet Bâtiment : Pas les nouveaux bâtiments de la V3 (je me doute que ça va venir hein :p)
Onglet Technologie : Pas d'image pour la technologie Astrophysique.

A ce sujet, les images sont souvent longues à charger, et cela ne dépend pas de ma connexion. Pourrions nous pas avoir les images directement dans notre skin, ou dans un dossier du module au pire. Ce serait beaucoup plus simple pour rajouter un image lors de la sortie de bâtiment ou autre.

Aussi, il y avait un autre module "hof" qui n'est plus compatible depuis la 3.0.8, ce même modules ajouté la fonctionnalité de pouvoir voir, à côté du records, notre niveau. Ainsi en un coup d'oeuil on pouvais savoir à combien on était du records.
C'était à l'époque le petit plus de ce module :)

Voila voila, si il y a besoin de test, n'hésitez pas !
Titre: Re : [MOD] Build.Tech HOF
Posté par: Shad le 30 Janvier 2012, 19:08:18
Sa été fait, c'est de ma faute j'ai oublier de faire une demande de tag, je m'en occupe de suite ;)
Titre: Re : [MOD] Build.Tech HOF
Posté par: DarkNoon le 30 Janvier 2012, 20:02:00
Nouveau mod taggé avec gestion des nouveaux bâtiments
Titre: Re : [MOD] Build.Tech HOF
Posté par: Dudule le 31 Janvier 2012, 11:19:42
Super !

Mise à jour fonctionnel, les nouvelles images sont sur le serveur => rapidité :)

Merci beaucoup pour votre réactivité !
Titre: Re : [MOD] Build.Tech HOF
Posté par: Gilga le 01 Février 2012, 15:40:02
j'ai re up le sujet mod hof dans test validation

http://forum.ogsteam.fr/index.php/topic,130.0.html

il y a capture d'écran du mod hof
Titre: Re : [MOD] Build.Tech HOF
Posté par: Dudule le 01 Février 2012, 17:56:46
"Une erreur s'est produite !
Le sujet ou la section que vous recherchez à l'air d'être manquant ou inaccessible pour vous."

Je pense que je doit pas y avoir accés...
Titre: Re : [MOD] Build.Tech HOF
Posté par: Gilga le 01 Février 2012, 18:00:50
exact, c'est la zone privée pour les developpeur et testeur
Titre: Re : [MOD] Build.Tech HOF
Posté par: gvyop le 17 Juillet 2012, 15:41:22
Je viens prendre des nouvelles.
Ce mod est il validé ?

(il semble fonctionnel en tout cas)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Mascotte le 17 Novembre 2012, 00:44:50
Ce qui serait assez bien, c'est dans l'export BBcode, d'ajouté le total des données de toutes les planetes cumulé aussi, si vous voyez ce que je veux dire

[Edit]

J'ai un peu regarder, c'est assez difficile a comprendre comment il est fait parce qu'il y en a un peut partout, dans function et dans bthof.

néanmoins le mieux ce serait de faire un tableau
du coup pour les forum style forumactif voila ce qu'il faudrait faire.

[table] [tr][td] Ligne 1 - Cellule 1 [/td] [td] Ligne 1 - Cellule 2 [/td] [td] Ligne 1 - Cellule 3 [/td][/tr] [tr][td] Ligne 2 - Cellule 1 [/td] [td] Ligne 2 - Cellule 2 [/td] [td] Ligne 2 - Cellule 3 [/td][/tr][/table]
Titre: Re : [MOD] Build.Tech HOF
Posté par: Shad le 17 Novembre 2012, 11:18:08
Mon premier mod que j'ai bidouillé ^^.

Des que j'ai configurer les nouveaux outils de dark je le fais
Titre: Re : [MOD] Build.Tech HOF
Posté par: xaviernuma le 09 Décembre 2012, 17:20:39
Hello,

Savez-vous que si on est passé à l'OGSpy 3.1.1 avec la dernière version du mod BTHoF, cela tiens compte du niveau de la technologie du Plasma au niveau du calcul de production de ce mod ?

Cordialement.
Titre: Re : [MOD] Build.Tech HOF
Posté par: bdd_1 le 09 Décembre 2012, 19:33:33
Lu,
Non, cela n'est pas pris en compte  :(
Edit : Comme pour ces Mods
- Autonomie
- Usines
- production
Titre: Re : [MOD] Build.Tech HOF
Posté par: xaviernuma le 14 Janvier 2013, 14:30:14
ok, est-ce qu'il y a quelqu'un sur ce mod ?
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 05 Février 2013, 12:57:59
Il semblerait qu'il n'y ait personne ou tout du moins il n'est pas dans un des dépôts.

Sinon tel quel, il fonctionne. (La technologie plasma est prise en compte car ce mod utilise un fonction de OGSpy (dans ogame.php) qui a été mise à jour.)

J'ai constaté deux choses :
  * Il cherche des images d'un skin par défaut "gebaeude" dans "/skin/OGSpy_skin/gebaeude". Il n'est pas présent avec OGSpy 3.1.2
  * Chercher la taille de l'image par getimagesize() pour savoir l'image existe. C'est un peu chercher un champ dans un pointeur NULL si l'image n'existe pas.

Correction pour éviter une erreur php : utiliser fopen().
  -Alors que file_exists() ne marche pas sur les fichiers distants, fopen() marche
Voici la fonction corrigée :
    function aff_img($imag)
    {
        global $lien;
        $handle = fopen($lien . $imag, "r");
       
        if($handle == FALSE) {
            //affichage des images du mod par défaut
            echo "<img src='mod/bthof/picture/".$imag."'/><br />";
        } else {
            // elle existe donc on l'affiche
            echo "<img src='" . $lien . $imag . "' /><br />";
            fclose($handle);           
        }
    }


Sinon je veux bien m'occuper de ce mod, ça me fera une belle petite mise en jambe pour commencer le php.
Titre: Re : [MOD] Build.Tech HOF
Posté par: DarkNoon le 05 Février 2013, 16:01:21
Hello,

Pas de soucis si tu veux t'occuper du mod. Envoie moi ton login skype, je pourrais te donner les infos necessaires pour relier le mod à autoupdate :-) (Je serais dispo mercredi soir normalement)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Alderande le 05 Février 2013, 18:40:04
Ah ça fait plaisir de voir de nouvelles têtes et, qui plus est, ont la tête dans le codage ^^
Pour info le mod à "l'air de fonctionner" dans l'état actuel des choses, mais je n'ai pas vérifié tout en détails, peut-être voir la prod si elle correspond bien et si elle prend en compte les nouveautés de la GF (les bonus).

Concernant les images, le mod va les chercher maintenant dans un sous dossier nommé "picture".

Titre: Re : [MOD] Build.Tech HOF
Posté par: roms0406 le 05 Février 2013, 19:27:40
Oui ça fait plaisir effectivement, ce mod est bien sympa en plus

En revanche me concernant, les productions ne sont pas bonnes du tout, je vais regarder de plus près pour voir ou se situe la différence et j'éditerai ce post

EDIT 1 :

D'ailleurs je viens de me rendre compte que les productions théoriques dans l'espace personnel ne sont pas correctes non plus ... ex:

Metal 34
Dans Espace personnel/ Empire : prod affichée : 29.479
Dans Espace personnel/ Simulation : prod affichée : 29.476

Dans Ogame : prod = 28.664 + 3.388 (plama13) => 32.082

Cristal et deut ne sont pas bon non plus

EDIT 2 :

Le productions affichées dans le mod sont encore différentes

Mon cas sur la production métal/jour :

Build Tech HoF : 6.187.536
Calcul sur base espace perso : 6.991.080
Ogame : 7.609.176
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 05 Février 2013, 20:15:17
Oui mais il faut que je regarde la syntaxe de php et son fonctionnement intime car pour le moment je ne connait pas le langage php. Mais bon d'après ce que j'ai vu c'est un mélange de bash / HTML / XML, donc j'apprendrai super vite.

Sinon concernant les images :
* Le mod a ses images par défaut afin d'accélérer l'affichage des images (demande des années précédente.)

Les questions sont :
+ Comme OGSpy peut avoir d'autres skins, les miniatures (bâtiments, technologies, flottes, défenses) sont-elles présentes dans le skin ? où ?
+ Peut-on toujours avoir un nouveau skin ?

==> Avant ces miniatures étaient présentes dans un dossier nommé "gebaeude". Bizarre comme nom !
C'est toujours d'actualité car bien que j'ai cherché, je n'ai plus trouvé de skin pour OGPsy >2007



Pour les productions :
Les formules dans ogame.php sont correctes. Cela doit venir de comment elle sont utilisées pour calculer la production globale.
=> Par contre il y a une chose qui n'est pas prise en compte : Le fait d'avoir tout les officiers => production *.12 et non 10%.
Dans ton exemple ton officier n'est pas pris en compte.
Je rappelle la function : function production($building, $level, $officier = 0, $temperature_max = 0, $NRJ = 0, $Plasma = 0)
Je vais voir plus dans le détail
Titre: Re : [MOD] Build.Tech HOF
Posté par: roms0406 le 05 Février 2013, 20:35:05
Oups, c'est vrai j'ai oublié que j'avais le géologue

Mais seulement lui, je n'ai pas d'autres officiers
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 05 Février 2013, 21:21:16
Tu as tout à fait raison !! J'ai trouvé 1 erreur pour le calcul de la production :

La technologie plasma doit être appliqué sans le revenu de base.

à corriger dans ogame.php

après j'ai quelque soucis avec les arrondies ou les troncatures.
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 06 Février 2013, 00:35:04
floor = troncature à l'entier inférieur (4.95 -> 4)
ceil  = troncature à l'entier supérieur (4.15 ->5)
round = arrondie (à l'entier : 4.95 -> 5 ; 4.15 -> 4)

Formules :
P_métal(n,p,off) = round( 30*n*1.1^n*(1 + 0.01p + off) + 30 )
P_cristal(n,p,off) = round( 20*n*1.1^n*(1 + 0.0066p + off) + 15 )
P_deutérium(n,T,off) = round( 10*n*1.1^n*(1.44 - 0.004T)*(1 + off) )

Une correction du calcul de production dans "ogame.php", qui prend en compte le full officier.
/**
* Gets the hourly production of a Mine or a solar plant.
* @param string $building The building type
* @param int $level The building level
* @param int $officier Officer option enabled (=1) or not(=0) or full Officer(=2)
* @param int $temperature_max Max temprature of the current planet
* @param int $NRJ Current value of Energy available on the planet
* @param int $Plasma Current value of the user Plasma Technology
* @return the result of the production on the specified building.
*/
function production($building, $level, $officier = 0, $temperature_max = 0, $NRJ = 0, $Plasma = 0)
{
    // attention officier
    // pour m / c / d => geologue
    // pour ces cef => ingenieur
    global $server_config;
   
    $geo = 0; //En valeur ajouté.
    if ($officier == 0) {
        $geo = 0;
    } elseif ($officier == 1) {
        $geo = 0.10;    //+10%
    } elseif ($officier == 2) {
        $geo = 0.12;    //+12%
    }
    $ing = $geo;
    switch ($building) {
        case "M":
            $prod_base = 30;
            $result =  30 * $level * pow(1.1, $level); // formule de base
            $result = $result * (1 + $geo + 0.01 * $Plasma);
$result = round($result); // arrondi
$result = $result + $prod_base; // prod de base
$result = $server_config['speed_uni'] * $result; // vitesse uni
            break;

        case "C":
            $prod_base = 15;   
            $result = 20 * $level * pow(1.1, $level); // formule de base
$result = $result * (1 + $geo + 0.0066 * $Plasma);
$result =  round($result); // arrondi
$result = $result + $prod_base; // prod de base
            $result = $server_config['speed_uni'] * $result; // vitesse uni
            break;

        case "D":
            $result = (10 * $level * pow(1.1, $level) * (1.44 - 0.004 * $temperature_max));
            $result = $result * (1 + $geo); // geologue
$result =  round($result); // arrondi inf ( apres geologue)
$result = $server_config['speed_uni'] * $result; // vitesse uni
            break;

        case "CES":
            $result = 20 * $level * pow(1.1, $level);
            $result = $result * (1 + $ing); // ingenieur
            //$result = $server_config['speed_uni'] * $result; // vitesste uni ne change pas la prod d E
            break;

        case "CEF":
            $result = 30 * $level * pow((1.05 + $NRJ * 0.01), $level);
            $result = $result * (1 + $ing); // ingenieur
            //$result = $server_config['speed_uni'] * $result; // vitesste uni ne change pas la prod d E
            break;

        default:
            $result = 0;
            break;
    }

    return ($result);
}

Par contre j'ai toujours quelques écarts de production. à voir d'où ça viens.
Titre: Re : [MOD] Build.Tech HOF
Posté par: roms0406 le 06 Février 2013, 11:04:39
Je profite du fait que tu travailles sur ce mod pour lever un autre petit "bug", dans l'espace personnel/simulation, les cef sont par défaut à 100%, cela ne prends pas en compte le % réel Ogame.
Du coup si les cef sont en fait à 0% ( ce qui est mon cas par ex, je les garde sous le coude en cas de cassage de sats pour l'instant) les productions de deut sont amputées de la consommation des cefs ...
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 06 Février 2013, 12:07:03
C'est "normal" que les pourcentages soit avec des valeurs par défauts et non celles présentes dans le jeu. Tout simplement parce que la barre xtense / module Xtense, ne récupèrent pas ces valeurs.

Donc pour le moment le seul moyen pour avoir des valeurs correctes est de les modifier par soi-même afin avoir les bonnes valeurs.

Néanmoins, la modification de ces valeurs dans l'onglet de OGPsy "Espace personnelle"/simulation, n'est que temporaire. Elle n'affecte pas les valeurs de la base de données.
Afin d'avoir les bonnes valeurs, il faut avoir le mod "production" et modifier puis sauvegarder les bonnes valeurs. Ce mod permet de prendre en compte les bonnes valeurs de pourcentage, certes "à la main". (Je pense que ce mod a été crée en partie pour ça et pour être plus lisible sur la production.
Titre: Re : [MOD] Build.Tech HOF
Posté par: DarkNoon le 06 Février 2013, 12:33:13
Ouvrez moi un bug sur OGSpy pour le calcul de production please :-)

Sinon ça restera perdu ici ;-)
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 21 Février 2013, 17:58:00
Petite mise à jour du sujet.

Une nouvelle version du mod "build.Tech HOF" est sortie.
  -> Optimisation de HOF production minière et petit plus dans le bbcode.
  -> Les productions seront justes (si le fichier bonne version du fichier ogame.php, (dans la prochaine version de OGSpy ou au-dessus))


Les formules de production minières sont corrigées. Je me penche maintenant sur les productions d'énergie.

ET donc il me faut toujours les valeurs d'une personne ayant un officier ingénieur, et éventuellement un qui aurait full officiers.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Alderande le 21 Février 2013, 22:36:53
Merci pitch ^^ j'vais tester pour voir la différence^^
Donc si je comprends bien il faut que je modifie ogame.php comme tu l'as indiqué un peu plus haut?

EDIT:
Bon modif faite pas de soucis rencontrés...pas vérifié si la différence entre l'avant correctif et l'après c'est bon mais moi et les calculs xD... Je verrai ça avec mes prods en jeu.
Merci en tout cas.
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 21 Février 2013, 23:25:55
En fait, comme la version 3.1.3 d'OGSpy n'est pas encore sortie, la correction dans le fichier "ogame.php" n'est pas encore faite.

Donc si tu veux avoir des valeurs juste (et même avec l'énergie et faut modifier "includes/ogame.php" comme ceci :

/**
* Gets the hourly production of a Mine or a solar plant.
* @param string $building The building type
* @param int $level The building level
* @param int $officier Officer option enabled (=1) or not(=0) or full Officer(=2)
* @param int $temperature_max Max temprature of the current planet
* @param int $NRJ Current value of Energy available on the planet
* @param int $Plasma Current value of the user Plasma Technology
* @return the result of the production on the specified building.
*/
function production($building, $level, $officier = 0, $temperature_max = 0, $NRJ = 0, $Plasma = 0)
{
    // attention officier
    // pour m / c / d => geologue
    // pour ces cef => ingenieur
    global $server_config;
   
    //Valeur de l'officier en valeur ajouté.
    if ($officier == 0) {
        $geo = 0;
    } elseif ($officier == 1) {
        $geo = 0.10;    //+10%
    } elseif ($officier == 2) {
        $geo = 0.12;    //+12%
    } else {
        $geo = 0;
    }
    $ing = $geo;
    switch ($building) {
        case "M":
            $prod_base = 30;
            $result =  30 * $level * pow(1.1, $level); // formule de base
            $result = $result * (1 + $geo + 0.01 * $Plasma);
$result = round($result); // arrondi
$result = $result + $prod_base; // prod de base
$result = $server_config['speed_uni'] * $result; // vitesse uni
            break;

        case "C":
            $prod_base = 15;   
            $result = 20 * $level * pow(1.1, $level); // formule de base
$result = $result * (1 + $geo + 0.0066 * $Plasma);
$result = round($result); // arrondi
$result = $result + $prod_base; // prod de base
            $result = $server_config['speed_uni'] * $result; // vitesse uni
            break;

        case "D":
            $result = (10 * $level * pow(1.1, $level) * (1.44 - 0.004 * $temperature_max));
            $result = $result * (1 + $geo); // geologue
$result = round($result); // arrondi
$result = $server_config['speed_uni'] * $result; // vitesse uni
            break;

        case "CES":
            $result = 20 * $level * pow(1.1, $level);
            $result = $result * (1 + $ing); // ingenieur
            $result = floor($result);   // troncature inférieure
            //$result = $server_config['speed_uni'] * $result; // vitesste uni ne change pas la prod d E
            break;

        case "CEF":
            $result = 30 * $level * pow((1.05 + $NRJ * 0.01), $level);
            $result = $result * (1 + $ing); // ingenieur
            $result = floor($result);   // troncature inférieure
            //$result = $server_config['speed_uni'] * $result; // vitesste uni ne change pas la prod d E
            break;

        default:
            $result = 0;
            break;
    }

    return ($result);
}

/**
* Gets the energy production of satellites.
* @param int $temperature_min Min temprature of the current planet
* @param int $temperature_max Max temprature of the current planet
* @param int $officier Officer option enabled (=1) or not(=0) or full Officer(=2)
* @return the result of the production on the specified building.
*/
function production_sat($temperature_min, $temperature_max, $officier = 0)
{
    if ($officier == 0) {
        $ing = 1;
    } elseif ($officier == 1) {
        $ing = 1.10;    //110%
    } elseif ($officier == 2) {
        $ing = 1.12;    //112%
    } else {
        $ing = 1;
    }
    return floor($ing * (((($temperature_min + $temperature_max) / 2) + 160) / 6));
}

/**
* Gets the power consumption of the current building
* @param string $building The building type
* @param int $level Min The building Level
* @return the building power consumption
*/
function consumption($building, $level)
{
    global $server_config;
    switch ($building) {
        case "M":   //no break
        case "C":
            $result = 10 * $level * pow(1.1, $level);
            $result = ceil($result);    //troncature supérieure
            break;

        case "D":
            $result = 20 * $level * pow(1.1, $level);
            $result = ceil($result);    //troncature supérieure
            break;

        case "CEF":
            $result = $server_config['speed_uni'] * (10 * $level * pow(1.1, $level));
            $result = round($result); // arrondi
            break;

        default:
            $result = 0;
            break;
    }

    return ($result);
}
Titre: Re : [MOD] Build.Tech HOF
Posté par: DarkNoon le 23 Février 2013, 11:41:19
Avec officier geologue :

(https://forum.ogsteam.eu/proxy.php?request=http%3A%2F%2Fdarkcity.fr%2Fimages%2Fogsteam%2FProduction.png&hash=2f3e436e6e74d542f63da38291e7fa4440547a73)
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 23 Février 2013, 13:21:59
OK c'est deux fois bon.

Les formules sont bonnes. L'ingénieur est bien dans l'arrondie de la formule de base.

Donc les formules que j'ai donné sont correctes.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 14:27:53
Si vous voulez on a revu les formules depuis le plasma ;)

http://board.ogame.fr/board1474-ogame-le-jeu/board103-support-et-questions/board557-faqs-importantes/675631-faq-les-formules-ogamiennes/

Elles sont normalement très précises.

Pour ce mods pas contre j'ai que production qui fonctionne sur mon ogs :x
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 16:23:38
Que veux dire par "j'ai que production qui marche" ? L'onglet "Prod minière" affiche des résultats et pas les autres onglets ?
C'est à dire ? Donne moi un peu plus de détails.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 16:45:34
Tout à fait il n'y a que production minière qui fonctionne tout le reste ça ressemble à ça :

http://img818.imageshack.us/img818/153/bugogs.gif

Désolé pour la taille, du coup j'ai enlevé les balises.
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 17:42:30
Ok je crois peut_être savoir.

Tu peux activer les log php et refaire la même manipulation puis me donner les résultats ?
Titre: Re : [MOD] Build.Tech HOF
Posté par: DarkNoon le 24 Février 2013, 18:03:50
Tiens il est passé par curl je penses :-)
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 18:14:40
C'est la première idée qui m'est venue à l'esprit mais l'utilisation de curl est dans un si  avec "function_exists('curl_init')"


Par contre j'ai aussi besoin de savoir si "anubys" utilise est skin particulier ?
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 18:29:11
J'ai rien touché niveau skin.
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 18:42:39
Donc tu n'as pas de skin particulier (juste le skin par défaut) ?

Sinon active les logs des erreurs php, pour voir l'erreur php qui va être généré. (Va dans "Administration", onglet "Paramètres du serveur",  vas tout en bas et coches "Enregistrement des erreurs php")


Autre question quel est la version de ton php ? (pour le savoir tu vas dans "Administration" puis tu cliques sur PHPInfo)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 18:50:57
Je n'ai que le skin que tu vois dans le screen.

j'ai activé les logs des erreurs ;) Après je sais pas où il faut aller voir l'erreur.

La version est : PHP Version 5.3.3-7+squeeze14
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 19:45:03
Pour voir les log "Administration/Journal".

Si rien n'est marqué dans les log essayes cette manipulation si tu peux modifier un fichier.

Ouvres le fonctions.php du mod  ("mod/bthof/fonctions.php"), va tout en bas et cherche la fonction "url_exists" (ligne 410) et ajoutes juste en-dessus "return false;" comme ceci :

    function url_exists($url) {
return false;   //<=== LIGNE A AJOUTER

        //url local :
        if (file_exists($url)) {
            return true;
        }
...


Sauvegarde et dis moi le résultat.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 20:03:07
Non je peux pas modifier les fichiers il me semble vu que c'est pas mon serveur.

Dans les logs j'ai un truc mais je suis pas sûr que ce soit lié :

24/02/2013 19:55:35 : [Xtense][GM-GC V2.4.8.10] Madmax envoie le système solaire 7:238
24/02/2013 19:35:46 : [PHP-ERROR] 8 - Undefined variable: iconDefense ; Fichier: /home/anubys/www/ogspy/mod/hof/hof.php ; Ligne: 116
24/02/2013 19:35:43 : [PHP-ERROR] 8 - Undefined variable: iconDefense ; Fichier: /home/anubys/www/ogspy/mod/hof/hof.php ; Ligne: 116
24/02/2013 19:35:35 : [PHP-ERROR] 8 - Undefined variable: iconLabo ; Fichier: /home/anubys/www/ogspy/mod/hof/hof.php ; Ligne: 92
24/02/2013 19:35:24 : [PHP-ERROR] 8 - Undefined variable: iconBatiment ; Fichier: /home/anubys/www/ogspy/mod/hof/hof.php ; Ligne: 76
24/02/2013 19:35:23 : [PHP-ERROR] 8 - Undefined variable: iconLabo ; Fichier: /home/anubys/www/ogspy/mod/hof/hof.php ; Ligne: 92
24/02/2013 19:35:19 : [PHP-ERROR] 8 - Undefined variable: iconBatiment ; Fichier: /home/anubys/www/ogspy/mod/hof/hof.php ; Ligne: 76
24/02/2013 19:34:25 : [PHP-ERROR] 8 - Undefined variable: iconBatiment ; Fichier: /home/anubys/www/ogspy/mod/hof/hof.php ; Ligne: 76
24/02/2013 19:34:18 : KrazyTux change son profil
24/02/2013 19:33:43 : [Xtense][GM-GC V2.4.8.10] Madmax envoie le système solaire 8:350
24/02/2013 19:33:43 : [Xtense][GM-GC V2.4.8.10] Madmax envoie le système solaire 8:351
24/02/2013 19:33:43 : [Xtense][GM-GC V2.4.8.10] Madmax envoie le système solaire 8:351
24/02/2013 19:33:32 : [Xtense][GM-GC V2.4.8.10] Madmax envoie le système solaire 8:324
24/02/2013 19:33:26 : [PHP-ERROR] 8 - Undefined variable: pub_subaction ; Fichier: /home/anubys/www/ogspy/mod/attaques/attaques.php ; Ligne: 329
24/02/2013 19:33:24 : [Xtense][GM-GC V2.4.8.10] Madmax envoie le système solaire 9:355
24/02/2013 19:32:08 : [PHP-ERROR] 8 - Undefined variable: maxy ; Fichier: /home/anubys/www/ogspy/mod/attaques/bilan.php ; Ligne: 176
24/02/2013 19:32:08 : [PHP-ERROR] 8 - Undefined variable: pub_subaction ; Fichier: /home/anubys/www/ogspy/mod/attaques/bilan.php ; Ligne: 169
24/02/2013 19:32:02 : [PHP-ERROR] 8 - Undefined variable: maxy ; Fichier: /home/anubys/www/ogspy/mod/attaques/bilan.php ; Ligne: 176
24/02/2013 19:32:02 : [PHP-ERROR] 8 - Undefined variable: pub_subaction ; Fichier: /home/anubys/www/ogspy/mod/attaques/bilan.php ; Ligne: 169
24/02/2013 19:31:42 : [PHP-ERROR] 8 - Undefined offset: 0 ; Fichier: /home/anubys/www/ogspy/mod/attaques/admin.php ; Ligne: 285
24/02/2013 19:31:32 : [PHP-ERROR] 8 - Undefined variable: maxy ; Fichier: /home/anubys/www/ogspy/mod/attaques/attaques.php ; Ligne: 336
24/02/2013 19:31:32 : [PHP-ERROR] 8 - Undefined variable: pub_subaction ; Fichier: /home/anubys/www/ogspy/mod/attaques/attaques.php ; Ligne: 329
24/02/2013 19:22:08 : [PHP-ERROR] 8 - Undefined variable: pub_subaction ; Fichier: /home/anubys/www/ogspy/mod/attaques/attaques.php ; Ligne: 329
24/02/2013 19:21:50 : Alaincho se connecte
24/02/2013 19:16:35 : [PHP-ERROR] 8 - Undefined variable: maxy ; Fichier: /home/anubys/www/ogspy/mod/attaques/attaques.php ; Ligne: 336
24/02/2013 19:16:35 : [PHP-ERROR] 8 - Undefined variable: pub_subaction ; Fichier: /home/anubys/www/ogspy/mod/attaques/attaques.php ; Ligne: 329
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 20:14:35
Tu es sûr que tu utilises le mod Build.Tech HOF (bthof) et pas HOF ? Pardon, le graphique de hof est similaire mais l'image que tu as donnée est bien avec bt_hof.

Donc c'est ce qui est écrit après que ailles dans le mod ? (Il faut d'abords dans le mod pour le problème puis voir les logs) (Car comme vous êtes plusieurs à l'utiliser en même temps il faut être sûr que l'erreur du mod soit affiché en haut et pas plus bas.)


EDIT : En dernier cas, donnes le code de la page généré. (Si tu es sur firefox, tapes CTRL+U (IE affiche/source), puis ensuite donne le)

Tu peux aussi donner la version d'OGSpy, du mod et c'est quoi ton hébergement, stp.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 20:30:53
Ah je viens de visiter plusieurs pages et là le logs est bien là :

24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 112 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 111 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 110 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 109 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 108 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 107 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 106 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 105 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 104 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 103 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 110
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 109
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 108
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 107
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 106
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 105
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 104
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 103
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 102
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 101
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 100
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 99
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 98
24/02/2013 20:27:49 : [PHP-ERROR] 8 - Undefined offset: 102 ; Fichier: /home/anubys/www/ogspy/mod/bthof/functions.php ; Ligne: 97


J'ai ça qui se répète plusieurs fois avec une très très longue page, donc j'ai essayé de prendre ce qui ce répété à chaque fois en entier.
Titre: Re : [MOD] Build.Tech HOF
Posté par: DarkNoon le 24 Février 2013, 21:03:23
Je suis l'hébergeur :-)

http://host.darkcity.fr/~aof/ogspy/php/phpinfo.php
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 21:16:02
Ok j'ai compris !!!

L'erreur viens du fait quand aucun utilisateur d'OGSpy n'ont indiqué les constructions/technologie/défenses de leurs planètes.

--------------------------------------------------------------------------------------------------
JE SAIS.

Pour toi Anubys, la solution est simple. Le mod n'est pas à jour et est à l'ancienne version. (C'est une erreur provenant de l'ancienne version)
Mais si personne n'a renseigné les bâtiments/technologies/défenses via Xtense, le résultat sera le même (du moins pour le moment)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 21:26:25
Pourtant on est plusieurs à avoir nos planètes à jour.

D'ailleurs pour la production, j'ai un gros écart moi. Et un joueur voit une prod différente de ce que je vois pour lui :x
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 21:33:57
Donc dans ce cas pas de problème, en tout cas avec la version récente du mod (1.1.0).


Pour le calcul de production, il faut avoir les bonnes formules qui vont sortir avec la prochaine version d'OGSpy. (Vu que tu ne peux pas modifier de fichier.)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 24 Février 2013, 22:18:50
Comment mettre à jour ?

Ta version n'est pas encore sortie ? Moi je ne peux pas mais Darknoon doit pouvoir j'imagine  :-*
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Février 2013, 23:11:56
La version 1.1.0 est disponible par autoupdate. Donc on peut le mettre à jour par là.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 25 Février 2013, 11:50:32
Oki j'avais pas ce menu par la passé :D C'est à jour ;)

Niveau production, les boosters ne sont pas comptés si ?

Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 25 Février 2013, 18:58:06
Non les boosters ne sont pas comptés.

Et pour les officiers, il faut vérifier dans "Profil" qu'ils sont correct.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Anubys le 25 Février 2013, 19:07:53
Oui je pense que la différence que je vois vient des boosters actifs.

Merci pour la maj, c'est joliment fait beau travail.
Titre: Re : [MOD] Build.Tech HOF
Posté par: bdd_1 le 25 Février 2013, 23:47:55
Lu,
Il y a un autre lien à part autoupdate?
Titre: Re : [MOD] Build.Tech HOF
Posté par: machine le 25 Février 2013, 23:59:11
https://bitbucket.org/pitch314/mod-bthof/get/1.1.0.zip
Titre: Re : [MOD] Build.Tech HOF
Posté par: xaviernuma le 26 Février 2013, 16:03:35
Merci pour la mise à jour de ce mod :)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Alderande le 01 Mars 2013, 15:35:29
pitch?
A tout hasard tu pourrais voir pourquoi dans la partie "flotte" il arrive parfois qu'il double le nombre de vaisseau...
Déjà j'ai remarqué que le mod prenait en compte que les flottes à quai d'où la différence entre 2 passages sur le mod. Mais doubler le nombre de vaisseaux je ne comprends trop pourquoi il fait ça.

Merci^^
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 01 Mars 2013, 16:02:00
Je pense que la réponse est enfantine : à un moment la flotte était sur une planète puis à un autre elle est sur autre planète/lune.

Sinon la partie flotte est géré par le mod "flotte".
C'est d'ailleurs en réflexion pour s'affranchir de ce mod afin d'afficher les résultats de la flotte. (C'est donc mon prochain travail)

Titre: Re : [MOD] Build.Tech HOF
Posté par: Alderande le 01 Mars 2013, 17:38:56
Ok je te remercie^^
Attendons la suite  ;)
Titre: Re : [MOD] Build.Tech HOF
Posté par: macfly le 01 Mars 2013, 21:11:52
[HS]
Citation de: Alderande le 01 Mars 2013, 15:35:29
pitch?
A tout hasard tu pourrais voir pourquoi dans la partie "flotte" il arrive parfois qu'il double le nombre de vaisseau...
Déjà j'ai remarqué que le mod prenait en compte que les flottes à quai d'où la différence entre 2 passages sur le mod. Mais doubler le nombre de vaisseaux je ne comprends trop pourquoi il fait ça.

Merci^^


Ce qu'il faut faire pour éviter que le mod flotte s'emmêle les pédales.


Ensuite quand tu iras sur la page flotte du jeu, tu auras une flèche verte qui te permet d' "actualiser" la flotte présente sur cette planète, en mode manuel.[/HS]
Titre: Re : Re : [MOD] Build.Tech HOF
Posté par: Alderande le 01 Mars 2013, 23:07:35
Citation de: macfly le 01 Mars 2013, 21:11:52
[HS]

Ce qu'il faut faire pour éviter que le mod flotte s'emmêle les pédales.


  • Aucun mouvement de flotte
  • Activer dans xtense onglet 'Pages' l'envoi de la flotte
  • Scanner toutes les planètes et lunes
  • Désactiver dans xtense onglet 'Pages' l'envoi de la flotte

Ensuite quand tu iras sur la page flotte du jeu, tu auras une flèche verte qui te permet d' "actualiser" la flotte présente sur cette planète, en mode manuel.[/HS]
Heu mais ça oblige à faire à chaque fois la manip pour envoyer la flotte dans OGSPY!!! et pas sûr que le mod corrige de lui-même ce problème.
Par contre je vois bien une flèche verte mais à priori elle n'a pas le même effet que celui que tu indique!!! Aurais tu un screen pour voir si je regarde au bon endroit?
Merci.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Mascotte le 17 Septembre 2013, 19:09:33
J'ai un petit problème par exemple pour la technologie astrophysiqu

je suis le joueur X ayant astro 10.
le joueur Y a le niveau 9

Et bien dans bt & hof  le joueur Y dit qu'il a le lvl 10 et le joueur X n'apparait pas a coté (parce que pour le même niveau plusieurs nom apparaissent) mais sur d'autre techno, tout est normal
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 17 Septembre 2013, 23:37:37
Ce problème est-il que sur la technologie astro ?

Vérifie que tu as passé sur tes technologies pour les mettre à jour via Xtense (refait un coup au cas où), idem pour le joueur Y.

Attention, aller sur son compte à partir d'un autre PC où il y a Xtense, ou aller sur un autre compte Ogame sur son PC, fait que les informations dans OGSpy ne sont plus valides (mélange entre les deux comptes).



D'autres personnes auraient-ils le même problème ? (Je n'ai jamais remarqué ce problème, d'autant plus que le calcul des hof se fait génériquement. Il n'aurait pas de raison pour qu'une techno particulière fasse des siennes.)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Arjuna le 18 Septembre 2013, 16:21:48
Bonjour,

j'ai la techno astro 23, ainsi que d'autres de mes alliés.
Or dans ce mod, seul la techno astro 19 est enregistrée ( pour l'un des notre qui ne l'a pas autant développée )


Est ce que ce mod limite l'astro à 19 ?


De plus, graviton 19 s'affiche !
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 18 Septembre 2013, 17:38:08
Non le mod ne se limite pas à astro 19.
Je dirais même que les hof sont construits sans savoir que c'est bâtiments, défenses, technologies. Donc, il n'y a aucune raison d'avoir un problème seulement sur la techno astro.

Je viens de faire des tests avec techno >20, et un à 23, RAS no problem. J'ai fait d'autres tests, et pas d'incohérence.


Mais je voudrai vérifier que ça ne vient pas de ce mod.
@Arjuna : Si tu as accès à la base de donnée d'OGSpy :
Peux-tu me donner les résultats de la requête SQL suivante :
SELECT *
FROM `ogspy_user_technology`

(Il faut que le nom de ta table correspond.)
-->ça listera toute les technos par rapport à un identifiant (nombre)

C'est utile de me donner aussi celle-ci :
SELECT a.user_id, user_active, Astrophysique
FROM `ogspy_user_technology` AS a JOIN `ogspy_user` AS b ON a.user_id=b.user_id

-->ça donne la pré-liste utilisé par le mod pour trouver le max.

@Mascotte : Tu peux me faire la même chose mais en indiquant joueur X et joueur Y
Titre: Re : Re : [MOD] Build.Tech HOF
Posté par: Mascotte le 20 Octobre 2013, 17:00:36
Citation de: pitch314 le 17 Septembre 2013, 23:37:37
Ce problème est-il que sur la technologie astro ?

Vérifie que tu as passé sur tes technologies pour les mettre à jour via Xtense (refait un coup au cas où), idem pour le joueur Y.

Attention, aller sur son compte à partir d'un autre PC où il y a Xtense, ou aller sur un autre compte Ogame sur son PC, fait que les informations dans OGSpy ne sont plus valides (mélange entre les deux comptes).



D'autres personnes auraient-ils le même problème ? (Je n'ai jamais remarqué ce problème, d'autant plus que le calcul des hof se fait génériquement. Il n'aurait pas de raison pour qu'une techno particulière fasse des siennes.)

finalement j'ai trouvé la source du probleme, un plugin xtense qui envoyait mal les info a cause d'une imcompatibilité avec le script antigame
Titre: Re : [MOD] Build.Tech HOF
Posté par: Jedinight le 21 Octobre 2013, 16:04:34
Bonjour

J'aimerais savoir qu'elle est cette incompatibilité ?
Titre: Re : [MOD] Build.Tech HOF
Posté par: Mascotte le 22 Octobre 2013, 13:04:07
j'ai crée un sujet dans test & validations.

ce bug vient du plugin antigame.
Il empeche d'envoyer certaines technologies a ogspy.
Pour quz tout fonctionne bien il faut faire (bug dans GM xtense & la toolbar xtense):

donc dans antigame faut aller dans :
Bâtiments et constructions

et DECOCHER • Indiquer les niveaux de recherche faibles/adaptés   


sinon, lers techno armes, protections des vaisseaux spaciaux, bouclier & astrophysique se mettent a 0
Titre: Re : [MOD] Build.Tech HOF
Posté par: Jedinight le 22 Octobre 2013, 14:23:08
Ca a été corrigé mais la version 2.5.6 n'a pas encore été publiée.

J'espère avoir le temps de le faire cette semaine.
Titre: Re : [MOD] Build.Tech HOF
Posté par: Mascotte le 22 Octobre 2013, 14:34:24
merci :)

au passage peut etre une petite nouveauté.
Nous sommes 2 alliance differente a utiliser OGSpy.

Et donc pour les records, les records sont mélangé a nos 2 alliances.

Donc mon idée est de faire les records pour chacunes des alliance.
un peu comme l'evolution pour var ally.
on met le tag et c'est divisé pour chaque tag
Titre: Re : [MOD] Build.Tech HOF
Posté par: Jedinight le 22 Octobre 2013, 16:43:32
Perso, j'utilise varally en stas générales avec 2 alliances et j'ai pas de soucis ;)

Je le fais hebdomadairement en mettant les classements points à jour et hop :)
Titre: Re : [MOD] Build.Tech HOF
Posté par: Mascotte le 22 Octobre 2013, 17:00:42
ouais, ca serait bien le meme systeme pour build of tech
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 24 Octobre 2013, 10:32:38
Je crois (il faut que je vérifie plus en détail) qu'il y a un truc similaire avec bthof.

Oui en effet :
Citation de: doc in code*   Ce mod gère les permissions d'acces grace aux groupes d'OGSpy
*   Il suffit pour cela de créer un groupe "bt_hof" et d'y ajouter les utilisateurs authorisés pour l'utilisation de ce mod
*   Si AUCUN GROUPE N'EST CREE, TOUS LES MEMBRES ONT ACCES

/* Merci de me faire rappeler que qu'il faut que je finisse la documentation de ce mod et surtou la mettre sur le wiki. */

Donc techniquement, c'est possible de faire des groupes de hof et facile de mettre en place un système plus fin d'affichage des hof. Mais le problème viens de comment le mettre en place pour l'utiliser. Je ne sais pas comment marche varally, surtout avec 2 alliances pour avoir un référence.

En résumé :
* C'est possible et faisable (utilisé dans d'autres mod et présent intérieurement dans ce mod)
* Il me faut plus de détail sur comment c'est fait sur d'autres mod (varally)
Titre: Re : [MOD] Build.Tech HOF
Posté par: pitch314 le 01 Novembre 2013, 11:20:17
Citation de: smallbug le 31 Octobre 2013, 23:22:29
Dans le BBcode, il manque une balise de couleur pour l'export :[color=]Classement production minière :[/color]

De plus, toujours dans l'export, il manque le cumule de tous les batiments. Les gens aiment savoir qui a la plus grosse mais aussi qui en a le plus.... de batiments hein ;-)

Il faudrait que ça s'affiche comme dans mod de tableau, mais à un condition, ne pas utiliser la balise bbcode "table" qui n'est pas gérer dans tout les forum.
Solution : Faire un tableau comme dans les années 80 en comptant le nombre de caractère afficher.