URL:
  <http://gna.org/bugs/?14237>

                 Summary: /cmdlevel command bugs
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: vendredi 04.09.2009 à 11:14
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: None

    _______________________________________________________

Details:

BUG#1: when issuing /cmdlevel command for all connections, it stops at the
first connection it cannot set the access level.  The expected behaviour
would be to continue to iterate the connections.

BUG#2: when issuing "/cmdlevel basic" (e.g.) whereas you are the first
connection and there is a second connection with hack access, then you set
your connection access to "basic", and the second fails because you only have
basic access.  The caller access level should changed at last.

BUG#3: when the first argument isn't valid, then you get an incomplete list
of access levels (it doesn't include the new ones).

The patch for trunk/ fixes the 3 bugs.  The patch for S2_1 doesn't fix the
third bug, because it should break the translation stuff... Both patches also
use get_tokens instead of the old messy code.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: vendredi 04.09.2009 à 11:14  Name: S2_1_cmdlevel_command.diff  Size: 9
ko   By: pepeto

<http://gna.org/bugs/download.php?file_id=6570>
-------------------------------------------------------
Date: vendredi 04.09.2009 à 11:14  Name: trunk_cmdlevel_command.diff  Size:
10 ko   By: pepeto

<http://gna.org/bugs/download.php?file_id=6571>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14237>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to