[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-09-26 Thread pepeto
Update of patch #1850 (project freeciv): Status: Ready For Test = Done Open/Closed:Open = Closed ___ Reply to this item at:

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-09-24 Thread pepeto
Update of patch #1850 (project freeciv): Status: Ready For Test = In Progress ___ Follow-up Comment #12: Updated patch against trunk. Removed change in fc_version as we don't know the date we will

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-09-24 Thread pepeto
Update of patch #1850 (project freeciv): Status: In Progress = Ready For Test ___ Follow-up Comment #13: get_defender() was returning unreachable units, that was the cause of the bug. New patch

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-09-19 Thread pepeto
Update of patch #1850 (project freeciv): Assigned to:None = pepeto ___ Reply to this item at: http://gna.org/patch/?1850 ___ Message

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-17 Thread Marko Lindqvist
Follow-up Comment #10, patch #1850 (project freeciv): Does is_unit_reachable_by_unit() check for native base? No, it doesn't care where units are. It just checks if unit is normally reachable by other. At least it's like that as currently implemented. I'll combine and rework our patches a

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-17 Thread Marko Lindqvist
Follow-up Comment #11, patch #1850 (project freeciv): * Combined our patches * Setting unreachableprotects is no longer SSET_VITAL, but SSET_RARE * Added function is_unit_reachable_at() and used it where ever appropriate (actually everywhere where is_unit_reachable_by_unit() was previously

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-16 Thread anonymous
Follow-up Comment #5, patch #1850 (project freeciv): No, my patch does not change the case of city or native base. As far as I understand, this case is handled in previous if: if (!is_stack_vulnerable(punit-tile) || unitcount == 1)... So this shouldn't happen (unless you have tested it and

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-16 Thread Marko Lindqvist
Follow-up Comment #6, patch #1850 (project freeciv): No, I have not had time to actually test... I forgot that stack is not going to die in cities or in some bases, no matter what. So there is no problem with cities (except that this is a bit fragile way of achieving desired effects), but there

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-16 Thread Lavrentij P Berija
Follow-up Comment #7, patch #1850 (project freeciv): is_stack_vulnerable() checks for base (see common/combat.c). ___ Reply to this item at: http://gna.org/patch/?1850 ___ Message sent

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-16 Thread Marko Lindqvist
Follow-up Comment #8, patch #1850 (project freeciv): is_stack_vulnerable() checks for base (see common/combat.c). It checks if there is base with NoStackDeath flag. It does not check if there is base native to defending unit. This does not affect default rulesets, but possibly some custom

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-16 Thread Lavrentij P Berija
Follow-up Comment #9, patch #1850 (project freeciv): Does is_unit_reachable_by_unit() check for native base? (file #9862) ___ Additional Item Attachment: File name: omg.sav.gz Size:268 KB

Re: [Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-14 Thread David Lowe
On 13 Aug, 2010, at 5:51 AM, Lavrentij P Berija wrote: I've made quick'n'dirty patch (which seems to work though) which makes stack death rule applied only for reachable units. Maybe it's worth raising a thread on forum to decide if this behaviour would be appropriate for players? It

Re: [Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-14 Thread Lavrentij P Berija
On 15.08.2010 10:13, David Lowe wrote: On 13 Aug, 2010, at 5:51 AM, Lavrentij P Berija wrote: I've made quick'n'dirty patch (which seems to work though) which makes stack death rule applied only for reachable units. Maybe it's worth raising a thread on forum to decide if this behaviour

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-13 Thread Marko Lindqvist
URL: http://gna.org/patch/?1850 Summary: Server setting to control if unreachable unit protects reachable ones Project: Freeciv Submitted by: cazfi Submitted on: Friday 08/13/2010 at 10:52 Category: general

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-13 Thread Lavrentij P Berija
Follow-up Comment #1, patch #1850 (project freeciv): Seems the patch just makes unreachable units reachable. When you kill reachable units, unreachable are killed too. See the attached savegame: try to kill Confederates' spy covered by AWACS (47:96) by Mongol unit or wait till AI kills it. AWACS

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-13 Thread Marko Lindqvist
Follow-up Comment #2, patch #1850 (project freeciv): Yes, stack death rule is not touched. Change is that unreachable units are unreachable only if alone (or with other unreachable units) on tile. ___ Reply to this item at:

[Freeciv-Dev] [patch #1850] Server setting to control if unreachable unit protects reachable ones

2010-08-13 Thread Lavrentij P Berija
Follow-up Comment #3, patch #1850 (project freeciv): I've made quick'n'dirty patch (which seems to work though) which makes stack death rule applied only for reachable units. Maybe it's worth raising a thread on forum to decide if this behaviour would be appropriate for players? (file #9809)