Control bug in network game

Having trouble with the game? Report bugs and problems here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this subforum, you must read the following thread: [ link ]
If you have issues with the iPhone or iPad ports, please visit this thread: [ link ]

Control bug in network game

Postby Imp » January 8th, 2007, 11:22 am

Open Wesnoth, click on Multiplayer, select Host Networked Game. Host a game in that and have anybody (or nobody) join. Set a few players as AI, a few as localplayer.

The bug is in the control command - it is impossible to set a player to take control of a side controlled by the AI or by a localplayer. Commands that otherwise work perfectly in the MP server do weird things in the Network Game, so I suspect it's just a small bug - perhaps a mix-up with the control function and the leader renaming function.

You see, what does happen when we set "control 4 playername" is that it changes the leader's name. That is, the leader character and not the player name (which remains ai4 or anonymouslocalplayer4). What also happens is that control is wrested from ai4 or the local player, and once it's that player's turn, there is no way to continue the game as it is and we must quit.
Imp
 
Posts: 315
Joined: January 8th, 2007, 10:56 am

Postby martenzo » January 8th, 2007, 12:12 pm

That's odd, I have done that too, works fine for me. You sure you uninstalled the previous version of Wesnoth? If yes, also delete all wesnoth related files that you can find. Then, reinstall.
me: Welcome to the real world. If everyone says your art and opinions suck, it's because they DO suck. Even if you're too damned proud/stupid/both to realize it.
danny_california: yep keep telling fairy tales.
martenzo
Forum Regular
 
Posts: 564
Joined: August 8th, 2004, 9:01 am
Location: Northern Europe, Estonia, Kardla

Postby Imp » January 8th, 2007, 12:22 pm

Positive. In fact, it this is a fairly fresh reformat.
Imp
 
Posts: 315
Joined: January 8th, 2007, 10:56 am

Postby Imp » January 8th, 2007, 2:24 pm

Okay, I just tried it on a fresh install on a second PC and there's still the same problems.

However, it did remind me of one very important fact that I'd neglected to mention:

The leaders' (the soldier, no the player) names do not change in the host's game, but in the games of everybody who joins (or, at least, the second player's). So the host would still see the Drake Flare named ai3, but the second player would see the soldier get renamed to PlayerName. Very odd.
Imp
 
Posts: 315
Joined: January 8th, 2007, 10:56 am

Postby Blarumyrran » January 8th, 2007, 8:15 pm

maybe try :kick playername instead?
User avatar
Blarumyrran
Art Contributor
 
Posts: 1511
Joined: December 7th, 2006, 8:08 pm

Postby Imp » January 10th, 2007, 1:12 am

We can't kick ai or localplayer. Or, if we can, then those commands are also buggy in Network Games.
Imp
 
Posts: 315
Joined: January 8th, 2007, 10:56 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 0 guests