mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 09:33:24 +00:00

The problem was that the server was sending the open game slots as a string of the form "#/#", which lobby_data.cpp then tried to convert to an int with: game["slots"].to_int()). The result of that was obviously always zero. I made the "slots" string to be written as only the number of open slots, instead of using the form 'X slots'/'Y total'. Change it if you like, but now everything seems to work as intended.
…
…
…
…
The game's license is described in COPYING. Note that for artwork and music, we interpret "preferred form of the work for making modifications" as the modifiable form that the author chooses to ship us for the source tree. See INSTALL for instructions on how to build the game from source code. A description of how to play the game can be found in MANUAL. To be notified of new releases, go to http://freshmeat.net/projects/wesnoth and 'subscribe to new releases'. Wesnoth User and Developer Forums (with over 250,000 posts from more than 10,000 registered members) can be found at http://forum.wesnoth.org/ For extensive documentation about all aspects of the game, see the official Battle for Wesnoth web site: http://www.wesnoth.org/ David White <davidnwhite@verizon.net>
Description
Languages
INI
51.6%
C++
35.9%
Lua
5.7%
Python
4.3%
Emacs Lisp
1%
Other
1.1%