bugBattle for Wesnoth - Bugs: bug #19883, MP village_gold default set...

Show feedback again

bug #19883: MP village_gold default set incorrectly when launched from commandline

Submitted by:  Matthias Schoeck <mattsc>
Submitted on:  Sun Jul 1 02:58:15 2012  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Multiplayer
Status: FixedPrivacy: Public
Assigned to: Matthias Schoeck <mattsc>Open/Closed: Closed
Release: 1.11.0-svn & 1.10.3Operating System: OS X

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Jan 16 21:02:50 2013, comment #2:

Original bug and kernigh's comment on Loyalist faction fixed in r56070.
kernigh's comment on shared vision fixed in r56076.

Matthias Schoeck <mattsc>
Project MemberIn charge of this item.
Mon Jul 23 19:11:08 2012, comment #1:

In general, 'wesnoth -m' uses the wrong default values. A 'wesnoth -m' game can have the following problems:

  • The number of turns is 50. It should be unlimited.
  • You can start with the wrong amount of gold (bug #19895).
  • You do not share vision with your allies! Try 'wesnoth -m --scenario multiplayer_Volcano', your allies hide under fog.
  • It ignores some map settings; for example, 'wesnoth -m --scenario multiplayer_A_New_Land' fails to lock the faction to Loyalists, and change the recruit list to Mage and Peasant.
George Koehler <kernigh>
Sun Jul 1 02:58:15 2012, original submission:

If Wesnoth is launched from the command line into a MP game (with the -m option), village_gold defaults to 1 if not set specifically using something like '--parm 1:village_gold:2'. By contrast, a MP game started from the lobby has village_gold=2, which should be the default for MP games.

This happens because parameters not provided on the command line get taken from data/game.cfg, where village gold is set to 1, the default for campaign mode. I verified that by changing the value in game.cfg. Whatever value is used there is what a MP game launched from the command line ends up with.

Matthias Schoeck <mattsc>
Project MemberIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by kernigh (Posted a comment)
  • -unavailable- added by mattsc (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Mar 26 12:42:17 2013shadowmasterOpen/ClosedOpen=>Closed
    Wed Jan 16 21:02:50 2013mattscStatusNone=>Fixed
      Assigned toNone=>mattsc
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup