Deprecated: Non-static method Req::val() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 79
Deprecated: Non-static method Req::has() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.gpc.php on line 26
Deprecated: Non-static method TextFormatter::render() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 81
Projet "Lieux communs".
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 6
Liste des tâches
FS#
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 14
4 -
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 14
[Rive] "sentir" => "Aucune odeur" malgré les "fragrances"
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 18
Concerne le projet:
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 19
Lieux communs
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 21
Ouverte par
Samuel Verschelde (stormi) -
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 25
Strict Standards: Non-static method Filters::noXSS() should not be called statically in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php on line 622
samedi, 28 avril 2007, 14:22 GMT
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 28
Dernière édition par
Samuel Verschelde (stormi) -
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 29
Strict Standards: Non-static method Filters::noXSS() should not be called statically in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php on line 622
mardi, 01 mai 2007, 09:34 GMT
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 38
Type de tâche |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 39
Crime against mimesi |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 42
Catégorie |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 47
Non précisé |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 51
Etat |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 54
Closes |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 64
Assignée à |
Samuel Verschelde (stormi)
|
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 77
Système d'exploitation |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 78
All |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 81
Sévérité |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 82
Moyenne |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 85
Priorité |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 86
Normale |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 89
Basée sur la version |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 90
1.0 |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 93
Due pour la version |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 98
Non décidé |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 103
Date d'échéance |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 105
Non décidé |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 109
Pourcentage achevé: |
|
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 117
Votes |
0
|
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 142
Privée |
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 147
Non
|
|
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 187
Détails
Le long de la rivière.
Voici où nous mènent nos pas, lorsqu'on les confie à nos pensées dérivantes...
Las d'un voyage où seules les parts obscures de mon imagination en étaient les étapes, je me
trouvais malgré moi loin de tout, sur les rives d'un fleuve charriant des eaux sombres vers un Océan
dont la rumeur saline me parvenait indistinctement.
Échouée comme un animal agonisant, une roulotte colorée faisait face à la rive. De l'intérieur
montaient des volutes parfumées aux fragrances évocatrices.
>sentir
Aucune odeur n'alertait ma conscience.
>sentir roulotte
Aucune odeur n'alertait ma conscience.
>sentir fragrances
Nulle chose de ce nom ne se trouvait ici.
>sentir rumeur
Nulle chose de ce nom ne se trouvait ici.
|
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 198
Cette tâche dépend de
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 252
Close par
Samuel Verschelde (stormi)
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 253
Strict Standards: Non-static method Filters::noXSS() should not be called statically in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php on line 622
mardi, 01 mai 2007, 09:34 GMT
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 254
La raison de la clôture est:
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 254
Corrigé
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 256
Commentaires supplémentaires de clôture:
Deprecated: Non-static method TextFormatter::render() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 256
Fait, mais formulation améliorable.
Deprecated: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /data/web/b2/9a/f2/informfr.tuxfamily.org/htdocs/flyspray/includes/class.tpl.php(120) : eval()'d code on line 2
Chargement...
Il y a 3 manières d'aborder la question :
1/ la plus compliquée est de créer un nouvel objet à chaque fois. Outre le fait que cela prend énormément de temps pour rien, cela a le désavantage de risquer de mettre le joueur sur une fausse piste, en croyant que l'objet est important pour le jeu.
2/ la plus simple est d'indiquer la référence à l'objet dans l'attribut "name" d'un objet plus générique. Ainsi, si on tape le nom d'un objet sans importance, on retrouve la description générale. En gros cela signifie au joueur : circulez, il n'y a rien à tirer de cet objet. Mais on prouve que l'on y a pensé, et on évite le frustrant : "cela n'existe pas ici", alors qu'on en a parlé juste avant.
Par exemple ici :
Personnage Garde "garde" place3
with name 'garde' 'molosse' 'armure' 'plastron' 'hallebarde' 'cotte' 'mailles',
voir_perso 0,
description
"Le garde est grand, avec un heaume qui masque complètement son visage. Il porte un plastron métallique et une cotte de mailles sur le reste de son buste. Il tient en main une grande hallebarde.",
Franchement aucun intérêt à implémenter une hallebarde à ce niveau de jeu, sauf si on fait un JDR et qu'il est possible de tuer le garde et de lui piquer son arme. Au moins ici le joueur en voyant que la référence à la hallebarde se retrouve vers le garde, il ne va pas perdre son temps à essayer de distraire ce garde pour lui prendre sa hallebarde...
On pourra rétorquer qu'il est possible pour le joueur de discuter avec la cotte de mailles ou le plastron. Selon le contexte cela pourra passer, par ex :
>parler hallebarde
Vous commencez à discuter avec le garde qui ne bouge même pas.
>attaquer plastron
Vous frappez le garde
3/ une méthode intermédiaire est d'utiliser ce truc qui permet de ne gérer qu'un objet inform pour plusieurs références :
Object ObjVillage "objets divers"
with
number 0,
parse_name [ i ;
self.number = 0;
while (true) {
switch (NextWord()) {
'alentours', 'alentour', 'environs', 'place', 'extérieur', 'village', 'batisses', 'maisons', 'batiments', 'batiment', 'constructions', 'toits', 'murs', 'maison','chemin','port' : self.number = 0; i++;
'paysage', 'environnement', 'région' : self.number = 1; i++;
'montages', 'collines', 'montagne' : self.number = 2; i++;
'forets', 'arbres', 'foret', 'forêt' : self.number = 3; i++;
'femmes', 'hommes', 'monde', 'gens' : self.number = 4; i++;
'ouvertures', 'entree', 'ecritures', 'niches', 'ornementations' : self.number = 5; i++;
'bateau', 'bateaux', 'quais', 'pontons', 'camelots', 'vaisseaux', 'mer', 'dedale' : self.number = 6; i++;
default: return (i);
}
}
],
description [;
Look, Examine, Search:
switch (self.number) {
0: << Look >>;
1: "La région est un peu humide, mais fraîche en cette saison. La mousson n'est pas encore à son point le plus intense. Des forêts immenses entourent la ville, et des montagnes lointaines bordent celles-ci.";
2: "Les montagnes sont de la couleur des fleurs de lilas, et leurs formes arrondies ajoutent à la douceur des teintes de l'atmosphère.";
3: "Vous ne voyez qu'une partie de la forêt en restant dans la ville, même si celle-ci se trouve dans une sorte de dépression.";
4: "Leur vie grouille un peu partout dans le port et le village, pour le commerce, le retour de la pêche et les simples curieux. Vous comprenez à peine leur langue dans ce vacarme.";
5: "Certains traits caractéristiques de ce temple vous rappellent ceux de votre pays, ou plutôt ceux qui étaient dans votre pays avant qu'ils ne soient presque tous détruits.";
6: "Les bords de mer et l'activité qui va avec ne vous emplissent pas d'autant de nostalgie que les montagnes mystérieuses et dures, mais ce spectacle est plaisant malgré tout.";
}
default: "Le décor de l'aventure.";
],
name 'description' 'du' 'village',
found_in [; return (location ofclass Village);] ,
has pluralname scenery;
il doit être possible également d'utiliser d'autres verbes, comment écouter ou sentir.
Je pense que quand tu découvres des incohérences comme celles que tu pointes plus haut, tu devrais pouvoir les corriger toi-même, ou au moins fournir un début de code pour qu'on le complète ensuite.
J'appuie donc cette solution.
Je peux en effet corriger ce type d'incohérences, mais pour l'instant je ne me sens pas encore très familier avec l'ambiance du jeu et le code, donc j'avance doucement. Mais ce rapport de bug s'adresse autant à vous qu'à moi, au premier qui se saisira du problème ! Et puis c'est vrai que je peux avancer une solution imparfaite qui sera améliorée par la suite par les autres si besoin.
Je veux bien étudier la question de plus près (je m'assigne donc la tâche).