Daenyth
6170c9037f
Fix #1351 - Server ignores only-reg if in "none" auth mode.
...
When in none auth mode, registered users don't exist; hence the setting
makes the game impossible to join.
Normally the setting would be greyed out when the user is unregistered,
but commit 475c54bf introduced a new edge case where the stored setting
would apply to the field even if the user is unregistered, making the
setting possible to apply in no-reg mode. Regardless, any client could
have done this, not just the default cockatrice.
The server side fix should prevent all issues in the future.
2015-08-21 20:30:46 -04:00
woogerboy21
17392f1ae5
Moved the RegOnlyRequirement functions out of the Database interface into the proper Server block of code.
2015-08-08 16:24:37 -04:00
woogerboy21
af237c7d07
Fixed space/tabing issues.
2015-08-08 08:52:19 -04:00
woogerboy21
bc99024e4f
Added server side setting to allow the requirement of a client id from clients.
2015-08-08 08:52:19 -04:00
woogerboy21
eb9ca58fd0
Updated pingClockTimeout to account for adjustments in client keep alive settings value.
...
Changed the default value for the client keep alive variable back to 1 (since that is what the setting is if the value is not found in the configuration ini file).
2015-07-30 16:38:02 -04:00
Matt Lowe
e646122f55
Updated server shutdown timer logic
...
Will follow the following rules
+ send a message initially
+ send a message every 20 mins
+ send a message every min when time <= 5
Updated client popup
Updated client to close any previous popups and bring up a new one.
NEEDS TO BE TESTED
added missing include
Added delete on close
2015-04-22 19:14:14 +02:00
Fabio Bas
0e437cf13b
Anti flood for game commands
2015-03-14 19:44:32 +01:00
Michael Callahan
3a0c86938c
Clean up a small pile of compiler warnings.
2014-12-30 15:54:38 -07:00
Fabio Bas
0d9eec4b64
Servatrice: added authentication type "password"
2014-10-04 17:50:01 +02:00
Fabio Bas
a1b6600fe1
Servatrice: group all the use of QSettings in a single file
...
and add a method to guess the path of servatrice.ini
2014-10-02 22:37:50 +02:00
Fabio Bas
d894c53265
Servatrice: fix handling of incoming connections on qt5
2014-07-08 22:05:06 +02:00
Max-Wilhelm Bruker
d5ccda49a1
server code cleanup
2013-01-23 11:51:59 +01:00
Max-Wilhelm Bruker
9af69f53af
server compile fix for older Qt versions
2012-05-28 19:03:05 +02:00
Max-Wilhelm Bruker
9d0133bae6
fix for older Qt versions
2012-05-28 19:01:29 +02:00
Max-Wilhelm Bruker
520300dc86
made server threaded, fixing issue #51
2012-05-28 18:51:58 +02:00
Max-Wilhelm Bruker
b328c1ed4d
database interface separated from server, multiple concurrent database connections are now possible
2012-05-28 16:32:45 +02:00
Max-Wilhelm Bruker
981db47f9e
initial commit for connection pools
2012-05-20 18:47:28 +02:00
Max-Wilhelm Bruker
7c8b3fc5e3
fixed #45 : Terminate servatrice if critical error in e.g. listen() happens during initialization
2012-05-01 10:58:08 +02:00
Max-Wilhelm Bruker
13b992cf12
show ban duration in client
2012-03-31 12:07:25 +02:00
Max-Wilhelm Bruker
5db0fcd6ae
cleanups, games work with ISL, now we just need to clean up better when the ISL connection dies
2012-03-18 18:48:14 +01:00
Max-Wilhelm Bruker
c9a8429044
always get next game/replay id from database to avoid id collisions in multi-server mode
2012-03-17 23:01:56 +01:00
Max-Wilhelm Bruker
9706ecd98a
added mutex for RNG, moved game command implementation from S_PH to S_Player in preparation for forwarding of game commands via tunneling interface
2012-03-17 22:26:12 +01:00
Max-Wilhelm Bruker
671214c60e
mutex fixes, server shutdown works again
2012-03-17 19:05:22 +01:00
Max-Wilhelm Bruker
c23af44749
changed a lot of thread locking code in the server, rooms are working with ISL now
2012-03-17 16:09:00 +01:00
Max-Wilhelm Bruker
0ae18d7b2e
more ISL code: join, leave, and userMessage work on both sides
2012-03-11 17:25:45 +01:00
Max-Wilhelm Bruker
5963c2239c
renamed servernetwork to ISL (inter-server link), join/leave is working
2012-03-10 19:02:15 +01:00
Max-Wilhelm Bruker
c9b66e4239
more ServerNetwork code
2012-03-04 19:23:43 +01:00
Max-Wilhelm Bruker
6bbc76af2b
Merge branch 'devel' into servernetwork
2012-03-04 12:23:22 +01:00
Max-Wilhelm Bruker
8481e61e8f
Replays split up, one for each subgame
2012-03-02 20:45:04 +01:00
Max-Wilhelm Bruker
50e53fbe53
initial commit for server network support
2012-02-26 21:00:05 +01:00
Max-Wilhelm Bruker
c6c6a970c6
interface & client tab for replay transfer
2012-02-25 19:33:44 +01:00
Max-Wilhelm Bruker
89bb8e72ee
use 'git describe' to generate version info for the about box and servatrice. fixes issue #20
2012-02-21 01:08:16 +01:00
Max-Wilhelm Bruker
d50d179b2f
server-side replay support
2012-02-20 22:13:48 +01:00
Max-Wilhelm Bruker
eb06d6b4ea
when banning an ip address, terminate the connection of everyone with that address
2012-01-29 20:55:24 +01:00
Max-Wilhelm Bruker
4634787b00
converted some Player commands to command lists; added db type checks in server
2012-01-02 19:41:37 +01:00
Max-Wilhelm Bruker
ff3eb9b5f4
display reason for ban to banned user
2012-01-01 19:38:52 +01:00
Max-Wilhelm Bruker
d3b96b1a88
PB: server compiles again, standalone RemoteClient is able to log in
2011-12-30 21:50:25 +01:00
Max-Wilhelm Bruker
eb6520a737
store network traffic statistics in database
2011-12-04 14:24:36 +01:00
Max-Wilhelm Bruker
1455c093cc
store sessions in database
2011-12-04 13:36:53 +01:00
Max-Wilhelm Bruker
632e9bbff3
improved banning and deck hashing
2011-11-01 22:44:51 +01:00
Max-Wilhelm Bruker
ef42c7518a
added argentina to countries
2011-07-05 12:44:39 +02:00
Max-Wilhelm Bruker
05ebb83ba4
improved banning; added [url] and [card] tags for chat
2011-06-25 21:21:19 +02:00
Max-Wilhelm Bruker
a4c3d48389
server shutdown function
2011-06-24 18:45:39 +02:00
Max-Wilhelm Bruker
a4097659d3
made server threading optional
2011-05-21 23:03:00 +02:00
Max-Wilhelm Bruker
38b31681e2
changed leave game shortcut, server cleanups, added max_games_per_user
2011-04-21 01:52:09 +02:00
Max-Wilhelm Bruker
7ae0e31964
race condition fixed
2011-04-13 03:08:44 +02:00
Max-Wilhelm Bruker
1b996fa0f8
introduced server id for status update
2011-03-22 18:02:11 +01:00
Max-Wilhelm Bruker
fd7593edc1
improved logging, improved server multithreading
2011-03-22 17:55:20 +01:00
Max-Wilhelm Bruker
57f9e2c3b4
user banning
2011-03-03 01:16:13 +01:00
Max-Wilhelm Bruker
6145d6d524
chat flood protection (yet untested)
2011-03-02 19:39:38 +01:00