H-M-H
1e302aeb70
'r' and 'w' instead of 0 and 1 for sql read/write servers
2016-02-20 15:33:35 +01:00
H-M-H
88ed7391da
handle exceptions from sql properly
...
- write failed sqlinserts to a file
- improved structure
2016-02-20 15:33:35 +01:00
H-M-H
1314085928
restructured sqlconnection
...
reading from and writing to several different servers is now possible
TODO:
-handle Exceptions properly (try another sqlserver)
-if everything fails while writing write the insert to a file
2016-02-20 15:33:35 +01:00
H-M-H
2d41ce3527
try next sqlmaster also if the current write fails
2016-02-20 15:33:35 +01:00
H-M-H
7199ae3f22
ConAddSqlMaster will not block the main thread anymore
2016-02-20 15:33:35 +01:00
H-M-H
c4ab59e4c3
fixed use of locks for threading:
...
each sqlserver has its own lock now
-> it is required that every connect call is followed by a disconnect call
2016-02-20 15:33:35 +01:00
H-M-H
15f2e07c48
moved sqlserver stuff into CServer-class
...
as sqlconnections should not last only
until next mapreload
2016-02-20 15:33:35 +01:00
H-M-H
6ba10d2719
mastersqlservers are working now
...
TODO: move the sqlserver objects somewhere else
so they wont be destroyed on every reload
2016-02-20 15:33:35 +01:00
H-M-H
5e4456584f
started with sqlmasters
...
+ added #ifdef for sql_server.cpp
(fixes compilation for release mode)
2016-02-20 15:33:35 +01:00
H-M-H
66bec0c712
added an exec command to sever_autoexec.cfg for
...
custom configs
2016-02-20 15:33:35 +01:00
H-M-H
9ed66f7adc
Cleanup of Sqlconnection
...
-moved all connectionstuff to a new class
-moved sqlstring functions to an own file
-do not give threads access to CSqlScore
2016-02-20 15:33:35 +01:00
Tim Schumacher
6e7dbec76e
made fading border in menu more customizeable
2016-02-16 17:04:46 +01:00
heinrich5991
c1df605c5a
Merge pull request #422 from timakro/master
...
removed other gametypes files and gametype setting
2016-02-16 14:32:54 +01:00
Tim Schumacher
e183a17117
removed other gametypes files and gametype setting
2016-02-16 14:29:11 +01:00
heinrich5991
4b89d3441a
Merge pull request #421 from Ryozuki/patch-1
...
improved more the catalan translation
2016-02-15 01:03:43 +01:00
heinrich5991
c2f3bcb11e
Merge pull request #419 from timakro/master
...
added quick search for skin selection
2016-02-14 20:24:41 +01:00
Tim Schumacher
9e6e062793
added cl_skin_filter_string for skin quick search
2016-02-14 19:51:49 +01:00
Ryozuki
688d42fc93
improved more the catalan translation
2016-02-14 01:21:10 +01:00
Tom
26a1a9f331
replace strstr to str_find
2016-02-13 18:51:21 +08:00
H-M-H
0ef227804f
Merge pull request #416 from awaysoft/languageadd_simplified_chinese
...
Modify Simplified Chinese Language File
2016-02-12 21:34:04 +01:00
Tim Schumacher
94f3da4a47
removed localize for search symbol
2016-02-12 21:31:58 +01:00
Tim Schumacher
438720959b
added quick search for skin selection
2016-02-12 18:52:10 +01:00
heinrich5991
08c311de50
Merge pull request #418 from timakro/master
...
move kill messages down when fps is shown
2016-02-12 16:13:49 +01:00
Tim Schumacher
7276aeb15b
move kill messages down when fps is shown
2016-02-12 15:53:57 +01:00
Tim Schumacher
ef94797c02
forbid placing hookthrough shortcut in front layer
2016-02-09 17:02:14 +01:00
Tim Schumacher
efdb5ccb5f
update template entities for shortcut
2016-02-09 16:25:44 +01:00
Tom
7f95961078
fix a compile problem in linux
2016-02-06 00:38:19 +08:00
Tom
96510284e3
Add font support for chinese, japanese, korean.
...
Added some character to DejaVuSans Font, so Language List can show CJK names.
Modify code to let ddnet choose DejavuWenQuanYiMicroHei when user choose CJK language, this font is merge from Dejavu and WenQuanYiMicroHei.
2016-02-06 00:13:57 +08:00
Tom
39ba4aef6c
Modify Simplified Chinese Language File
2016-02-05 22:52:57 +08:00
H-M-H
42a68636b5
tweaked respawndelay a bit
2016-02-02 21:14:46 +01:00
H-M-H
cb1c63c652
Merge pull request #410 from heinrich5991/pr_ddnet_join_vote_delay
...
Add sv_join_vote_delay
2016-01-29 12:58:05 +01:00
def
aded433400
Fix client version number (a bit too late, oops)
2016-01-27 02:18:10 +01:00
Dennis Felsing
269bd3df4b
Merge pull request #412 from heinrich5991/pr_ddnet_overlong_utf8_server
...
Kick people using overlong UTF-8 sequences
2016-01-27 02:15:19 +01:00
def
0a49428e21
Veto considers time on server not in current race
2016-01-27 02:14:46 +01:00
heinrich5991
a1923b154b
Only ignore messages on invalid UTF-8, don't kick players
2016-01-27 01:48:19 +01:00
heinrich5991
d4eefefa26
Kick people using overlong UTF-8 sequences
...
This works around the bug in older clients (including vanilla) that
interpret those sequences incorrectly.
2016-01-27 01:24:02 +01:00
def
52224875b4
Style cleanup
2016-01-23 21:44:45 +01:00
def
51504d2bd2
Switch dummy snapshots as well to prevent snapshot accumulation ( fixes #400 )
2016-01-23 21:42:35 +01:00
def
56ca49f1de
More conservative default for sv_server_info_per_second
2016-01-23 15:14:22 +01:00
def
b77e95090e
Reset m_ServerInfoFirstRequest on map change
2016-01-22 17:53:46 +01:00
heinrich5991
90ba4c5986
Make join vote delay the default
2016-01-22 17:44:53 +01:00
Dennis Felsing
ac9356c0f0
Merge pull request #411 from heinrich5991/pr_ddnet_serverbrowse_dos_prot
...
Add DoS protection to server info requests
2016-01-22 16:49:51 +01:00
heinrich5991
96f0eddbb8
Add sv_max_server_info_per_second
...
This controls how many complete server info responses are sent per
second.
2016-01-22 16:42:54 +01:00
heinrich5991
b29a733c4f
Add DoS protection to server info requests
...
Only allow 10 requests per second before falling back to smaller server
info responses.
2016-01-22 16:42:46 +01:00
heinrich5991
957844e234
Add comment about when sv_join_vote_delay
doesn't apply
2016-01-21 00:09:11 +01:00
def
8636e6004a
Print client ID as decimal number, not hexadecimal
2016-01-20 16:33:02 +01:00
heinrich5991
384668928b
Add sv_join_vote_delay
...
This is a new delay that specifies how many seconds you have to wait
before making your first vote. In case the server was only recently
filled (e.g. by a map change or if people start joining an empty
server), this delay is disabled (in the first case, because it's normal
to join after a map change, in the second case because you might have
joined the empty server to vote for a different map).
2016-01-19 23:52:28 +01:00
heinrich5991
bb35e57f6c
Clarify that the unit for ban time is seconds
2016-01-19 22:26:20 +01:00
H-M-H
4f1d38a769
Merge pull request #409 from heinrich5991/pr_ddnet_limit_vote_reason
...
Fix length of vote reason display in chat
2016-01-19 18:35:12 +01:00
heinrich5991
c0a90f98b8
Fix length of vote reason display in chat
...
Fixes #407 .
2016-01-19 15:00:41 +01:00