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

                 Summary: ai sides show up as "controller=network" on remote
clients
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Do 20 Okt 2011 18:23:53 GMT
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk r51547 
        Operating System: win xp 

    _______________________________________________________

Details:

In a mp game on the server with 2 human players and 1 ai, for player 1's
(human, host) BfW instance:
side[1].controller -> "human"
side[2].controller -> "network"
side[3].controller -> "ai"

But for player 2's (human but no host) BfW instance:
side[1].controller -> "network"
side[2].controller -> "human"
side[3].controller -> "network"

This can be reproduced by starting wesnoth with --debug and using the command
line
lua wesnoth.message(wesnoth.sides[3].controller)
(and similar) since this code is then only executed on the client which types
it.
I suppose that this is a bug since
-the enumeration CONTROLLER in team.hpp offers a value NETWORK_AI and it has
references at many places in the codebase, all the other values of that enum
are used.
-I remember some similar talk on irc.
So sides which are "ai" on the host should show up as "network_ai" on remote
clients.
I remember this bug to exist for as long as I can think back.





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to