View Issue Details

IDProjectCategoryView StatusLast Update
0001585EresseaGeneralpublic2011-05-10 04:31
ReporterPyanfar Assigned ToEnno  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001585: Prospektion durch MACHE - Exploit oder Feature ?
Description

Ich habe festgestellt, das es anscheinend unterschiedliche Meldungen gibt, wenn beim Eisen/Stein-Abbau a) das Talent zu niedrig ist oder b) nix vorhanden ist.

In ersterem Fall bekomme ich ein "Einheit X in Y hat ein zu niedriges Talent, um Eisen/Steine abzubauen.", im zweiteren ein "Einheit X in Y produziert 0 von 1 Eisen."

Nun frage ich mich, ob es ein Exploit ist, wenn ich einfach überall auf Verdacht ein "MACHE EISEN/STEIN" mache, auch wenn der Tester nur T1 hat. Immerhin lässt sich so schnell alles nach versteckten, hochstufigen Ressourcen abklappern...

TagsNo tags attached.
FactionscaL
Game
Report

Activities

Enno

Enno

2009-08-16 08:04

administrator   ~0003923

Wenn das klappt, waere das ein Exploit.

Solthar

Solthar

2010-11-02 23:35

developer   ~0004638

Es klappt. Eine mögliche Lösung wäre, einfach immer die zweite statt der ersten Meldung anzuzeigen. Ist nur ein wenig weniger informativ:

diff --git a/shared/src/gamecode/economy.c b/shared/src/gamecode/economy.c index 53000af..9786899 100644 --- a/shared/src/gamecode/economy.c +++ b/shared/src/gamecode/economy.c @@ -1753,9 +1753,17 @@ split_allocations(region * r) } if (al->want==INT_MAX) al->want = al->get; if (fval(al, AFL_LOWSKILL)) {

  • ADDMSG(&al->unit->faction->msgs, msg_message("produce",
  • "unit region amount wanted resource",
  • al->unit, al->unit->region, al->get, al->want, rtype));
  • /* the following message would be more accurate, but unfortunately it tells the user that
    • the resource is available in the region although they may not have the skill level
    • required to detect it.
  • * ADDMSG(&al->unit->faction->msgs, msg_message("produce_lowskill", "unit region resource", al->unit, al->unit->region, rtype));
  • */ } else { ADDMSG(&al->unit->faction->msgs, msg_message("produce", "unit region amount wanted resource",
Enno

Enno

2010-11-03 05:23

administrator   ~0004639

Das ist die einfache Lösung, zu der ich mich jetzt mal hinreissen lasse.

Issue History

Date Modified Username Field Change
2009-08-15 16:10 Pyanfar New Issue
2009-08-15 16:10 Pyanfar Partei/Faction => scaL
2009-08-16 08:04 Enno Note Added: 0003923
2010-11-02 23:35 Solthar Note Added: 0004638
2010-11-03 05:23 Enno Note Added: 0004639
2010-11-03 05:23 Enno Status new => resolved
2010-11-03 05:23 Enno Resolution open => fixed
2010-11-03 05:23 Enno Assigned To => Enno
2011-05-10 04:31 Enno Status resolved => closed