Tommy Schmitz
3e829fbc78
Fixed server logging bug (not recognizing whiteboard data).
2011-07-24 21:39:06 +00:00
Tommy Schmitz
cb77683a2f
Cleaned up some bugs from original whiteboard network patch (2011-06-30T18:28:00Z!tschmitz.wesnoth@gmail.com).
2011-07-02 04:07:23 +00:00
Tommy Schmitz
fab7de4163
Made whiteboard plans visible to allied network players
...
Disabled undo while planning mode is active
Changed arrow constructor to be more RAII
2011-06-30 18:28:00 +00:00
Ignacio R. Morelle
dd9400833f
wesnothd: Add trailing newline after inactive account notice...
...
...in /INFO for consistency
2011-06-24 21:45:46 +00:00
Ignacio R. Morelle
807896e8a5
wesnothd: s/name/nick/ for inactive account warning message
2011-06-24 08:48:02 +00:00
Ignacio R. Morelle
789ac43a2f
wesnothd: Do not allow users with inactive accounts...
...
...to claim ownership of their names (treat as unregistered)
Clients attempting to use inactive accounts will get a warning message
informing them of the situation but will be able to join the MP server
as if their nickname were unregistered instead. Untested.
2011-06-24 08:47:48 +00:00
Ignacio R. Morelle
bf906de800
wesnothd: Add support for sending login warnings that the client can dismiss
2011-06-24 08:47:33 +00:00
Ignacio R. Morelle
665392f4fb
wesnothd suh: Show inactive users in /INFO like fuh does...
...
...(this won't occur in practice, though)
2011-06-21 00:58:26 +00:00
Ignacio R. Morelle
3f9ca006e1
Add wesnothd user_handler support...
...
...for checking whether a user account is active and can claim
ownership or a nickname or not
Right now this code is unused in the auth logic. Both suh and fuh
implementations are provided, only the latter works (using phpBB 3.0's
rules).
2011-06-21 00:53:33 +00:00
Anonymissimus
cfdf2558cd
mute an MSVC warning about an assignment in a conditional expression
2011-06-05 01:50:56 +00:00
Anonymissimus
835b94c4d4
avoid MSVC warnings about truncating from int to unsigned short
2011-06-05 01:50:37 +00:00
Anonymissimus
b68679eed6
fixed an MSVC warning about an unreferenced local function
2011-06-03 21:16:18 +00:00
Anonymissimus
70b00e5f2e
fixed an MSVC warning about an unreferenced formal parameter
2011-06-03 21:15:48 +00:00
Anonymissimus
7f0cb881db
moved disabled warnings from projectfiles to global.hpp
2011-06-02 19:54:32 +00:00
Lukasz Dobrogowski
22243cb1ba
patch #1937 by Quetzalcoatl: Randomizing starting positions in mp games
2011-05-12 17:22:20 +00:00
Gunter Labes
b50873aa62
Renamed /adminmsg command to /report to better reflect its use...
...
...and corrected the /whisper help entry.
2011-03-27 11:30:50 +00:00
Mark de Wever
579c62e1a3
Initialize all members.
2011-03-06 18:27:50 +00:00
Mark de Wever
294817587f
Catch exception by reference.
...
Issue found by cppcheck.
2011-02-27 15:20:04 +00:00
Mark de Wever
19b67d01e8
Catch exception by reference.
...
Issue found by cppcheck.
2011-02-27 15:20:01 +00:00
Karol Nowak
b2d9a12c3d
Corrected indentation.
2011-02-08 22:32:38 +00:00
Karol Nowak
72cd559e3e
Removed some WIP comments and added spacing for readability.
2011-02-06 12:34:22 +00:00
Karol Nowak
9d5edf7944
Simplified calling conventions.
2011-02-06 11:39:28 +00:00
Karol Nowak
0f5584ba52
Merge branch 'server'
2011-02-05 16:55:10 +00:00
Mark de Wever
51224862be
Add an extra header for g++ 4.6.
2011-01-16 09:48:45 +00:00
Mark de Wever
ecbabea838
New year copyright update.
2011-01-01 15:57:50 +00:00
Guillaume Melquiond
390713c969
Fixed utterly broken RNG due to improper serialization of seeds.
...
(Issue spotted by isionous.)
2010-12-21 10:13:05 +00:00
Guillaume Melquiond
fd006ce54f
Prevented some denials of service...
...
...due to the server propagating misquoted strings to the
hosts. (Partial fix for bug #17298.)
2010-12-18 10:24:52 +00:00
Karol Nowak
de4dbd3236
Fixed a violation of set_attr contract.
...
The given value must remain valid for lifetime of the node.
2010-12-12 23:58:31 +00:00
Derek Hoagland
3020a9ed1b
Fixed a bug where players who flooded the lobby would never get reset.
2010-12-10 20:30:33 +00:00
Ignacio R. Morelle
3487ab1a23
Set wesnothd and wesnoth client MP username length limit to 20 (was 18)
2010-12-05 21:12:23 +00:00
Mark de Wever
753b25d75f
Remove an unneeded include.
2010-12-05 18:09:18 +00:00
Mark de Wever
11c999b260
Remove unneeded includes.
2010-12-05 18:09:15 +00:00
Guillaume Melquiond
dd1b2e607b
Removed unused function wesnothd::find_user.
2010-11-28 15:58:31 +00:00
Guillaume Melquiond
783f3e8f5f
Removed unused function wesnothd::game::find_user.
2010-11-28 15:58:29 +00:00
Ignacio R. Morelle
d6a3de1938
Apply patch #2213 by stikonas, using file #11274
2010-11-21 01:56:29 +00:00
Alexander van Gessel
1a19ac0aa5
Get rid of detect_format_and_read,
...
...which read both plain WML and binary WML
2010-11-19 12:55:44 +01:00
Alexander van Gessel
9a508b5730
Remove the 'gzipped' parameters from the network API.
...
ANA did not even implement binary WML.
2010-11-17 00:28:08 +01:00
Guillaume Melquiond
001f868d21
Removed unused function banned_compare_subnet::set_use_subnet_mask.
2010-10-30 09:40:30 +00:00
Guillaume Melquiond
8b6a774cdb
Removed unused function simple_wml::node::set_attr_dup_key_and_value.
2010-10-30 09:13:30 +00:00
Guillaume Melquiond
f24c5f8b59
Removed unused function wesnothd::room_manager::storage_room.
2010-10-30 09:07:51 +00:00
Guillaume Melquiond
5fcd87eca4
Removed unused function wesnothd::room_manager::string_from_pp.
2010-10-30 09:07:48 +00:00
Guillaume Melquiond
1a1c2af5c0
Removed unused function wesnothd::room_manager::delete_room.
2010-10-30 09:02:24 +00:00
Guillaume Melquiond
4419fdda15
Avoided costly roundtrip through strings.
2010-09-11 20:04:14 +00:00
Guillaume Melquiond
eeb047de55
Fixed file headers so that they match the content of the COPYING file.
2010-09-01 21:12:38 +00:00
Mark de Wever
d9332e79bb
Simplify non-empty string test.
...
Issue found by cppcheck.
2010-08-29 20:12:52 +00:00
Gunter Labes
9ea22e8099
properly fixed bug #16456
2010-08-20 19:41:56 +00:00
Gabriel Morin
cf8a22fd2b
Stopped the Join button in the lobby from always being disabled.
...
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.
2010-08-16 20:30:07 +00:00
Jody Northup
4985f1cbe9
Persistent variables can now be retrieved from remote players...
...
...even when it is not their turn.
2010-08-10 10:48:40 +00:00
Guillaume Melquiond
7ff1703a54
Fixed server chocking on unquoted attributes.
2010-08-09 12:33:21 +00:00
Guillaume Melquiond
d8da47b5a0
Removed all the error logs for preprocessing,
...
...since they are useless now that preprocessor errors are no longer
silent.
2010-08-05 08:32:20 +00:00