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 01 Jul 2012 02:58:15 AM UTC  
 
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 16 Jan 2013 09:02:50 PM UTC, 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 23 Jul 2012 07:11:08 PM UTC, 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 01 Jul 2012 02:58:15 AM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

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

    Back to the top


    Powered by Savane 3.1-cleanup