heinrich5991
b42a59f290
Fix a crash with semicolon handling and timeout codes
...
Timeout codes lead to deallocation of the player structure, the
semicolon code tried to access it, resulting in a segmentation fault.
2017-01-04 18:14:08 +01:00
heinrich5991
80ea4c8590
Disallow usage of semicolons in chat commands
...
This prevents player name exploits due to tab completion of nicknames
that could result in unwanted commands being executed.
Print a deprecation message that is supposed to be removed in the
future.
2017-01-03 14:01:51 +01:00
heinrich5991
e94c0260d7
Implement /rules in a less copy-and-pasty way
2017-01-03 13:57:22 +01:00
BannZay
a96ebde93a
getting jetpack through remote
2016-10-10 15:18:06 +03:00
Dennis Felsing
67ef498573
Merge pull request #549 from heinrich5991/pr_ddnet_improve_pause
...
Don't show player HUD during `/pause`
2016-09-29 13:48:12 +02:00
def
3ed6692ad7
SQL string cleanup
2016-09-25 10:41:34 +02:00
heinrich5991
c08206dd96
Don't show player HUD during /pause
for vanilla clients
2016-09-20 21:40:40 +02:00
east
c9a50916b3
sv_dnsbl_vote option added
2016-09-05 11:53:26 +02:00
east
678a69bf5b
basic DNSBL implementation
2016-09-05 11:38:11 +02:00
H-M-H
1a311585be
escape strings before applying FuzzyString
2016-09-03 18:28:11 +02:00
Speedy Consoles
39704a04a7
made 1-tick unfreeze reliable
2016-08-27 18:03:50 +02:00
def
c91ef1ea81
str_append instead of strcat
2016-08-21 21:14:41 +02:00
def
2aa3303884
Longer team ranks
2016-08-21 21:06:12 +02:00
def
320c299b68
Fix laser code
2016-08-07 22:38:45 +02:00
def
e8dac3346a
Fix veto
2016-07-20 20:56:22 +02:00
def
aab3beb3b0
Veto right for start and join time
2016-07-08 18:28:33 +02:00
def
992c148dce
Fix messages a bit
2016-07-03 23:23:33 +02:00
Tim Schumacher
96d05e3370
Send chat message when team is unlocked by a tile
2016-06-30 17:55:34 +02:00
H-M-H
35bd378a62
fixed RandomUnfinishedMap
...
do not execute this function several times even after success
2016-06-22 02:00:29 +02:00
def
e518a701a3
Clean up sql dbg_msg calls
2016-06-15 11:52:40 +02:00
def
e0ec97174a
Try to fix broken /map
2016-06-10 03:05:47 +02:00
HMH
bb9d23bb73
sql-save: forgot a line
2016-05-31 12:32:09 +02:00
HMH
28d116217b
fixed resetting of saving-state of teams (was not reset always)
...
destructor of CSqlTeamSave takes care of that now
while doing so the allocation of CSaveTeam has been moved to the stack
2016-05-31 00:03:28 +02:00
H-M-H
ada3b9a5db
Merge pull request #378 from H-M-H/sqlmasters
...
separate sqlwrite and sqlread server
2016-05-28 23:00:16 +02:00
HMH
ea5892b1ce
don't clear sql-mapstring twice
2016-05-21 22:53:49 +02:00
def
af8317c2e9
Don't allow restarting after touching finish line on solo server
2016-05-21 21:51:38 +02:00
H-M-H
b648b530d5
Merge branch 'master' into sqlmasters
2016-05-20 23:40:29 +02:00
def
3c54f443b2
Make sv_join_vote_delay work for /map votes and make the number of seconds configurable
2016-05-20 20:05:47 +02:00
def
aff85462aa
Update messages a bit
2016-05-20 18:36:32 +02:00
def
ede6a9f93f
More uniform /times output (thanks Soreu)
2016-05-20 18:28:33 +02:00
H-M-H
2bcbe52d14
fixed /load message
2016-05-11 15:54:09 +02:00
H-M-H
42fc8a0fe2
fixed use of Str and ClrStr
2016-05-11 15:26:16 +02:00
H-M-H
6a2438e1cf
fixed includes
2016-05-11 15:01:53 +02:00
H-M-H
3b6baaa8d3
made CSqlData const for threadfunctions and added a class for sqlstrings
...
CSqlData is const for threadfunctions now to avoid modification from
within the threadfunctions as these might be called several times.
Previously this was a problem as ClearString could possibily be applied
multiple times to the same string.
To solve this the class CSqlString has been added. This class takes a
const char* and copies it. Additionally a clearstring is created from
the given const char*. This enables access to the original as well as
the cleared string safe for sql-statements.
sql_string_helpers got an own source file now.
A crashbug from CSqlServer has been fixed (pointer has not been set
back to 0)
2016-05-09 23:35:23 +02:00
Ryozuki
82d2a994ed
Fixed cl_showping (now cl_showpred)
2016-05-05 18:07:00 +02:00
H-M-H
4bf1a68292
do not write nullbytes to failed_sql.sql
2016-05-05 13:23:35 +02:00
Henningstone
77b584c12f
Forbid showing /top5 from rank 0 on
2016-05-05 01:33:28 +02:00
H-M-H
30ca8d8774
made writing to sql-failurefile threadsafe
2016-05-04 23:37:34 +02:00
def
2df9c79483
proper str_copy size ( fixes #461 )
2016-05-04 18:43:54 +02:00
H-M-H
5dc47ede58
put sql_string_helpers into an own namespace
2016-05-04 16:51:18 +02:00
H-M-H
a7c0cd58ee
fixed birthdaycheck and the format of sql-inserts for the failure-file
2016-05-04 16:47:53 +02:00
H-M-H
cd41220a44
wait for score-threads on shutdown
2016-05-04 15:32:24 +02:00
H-M-H
a93e845e6d
checkbirthday now also sends a broadcast to the 'birthdaychild'
2016-05-03 23:50:42 +02:00
H-M-H
94f163f094
added CSqlPlayerData for simple tasks like getting best time
2016-05-03 23:24:44 +02:00
H-M-H
c9e65c7931
Merge branch 'master' into sqlmasters
2016-05-03 23:07:24 +02:00
H-M-H
c9b64053d0
cleaned up structure of sql_score.cpp
2016-05-03 20:45:58 +02:00
H-M-H
d0cebb576d
sql-score can now handle mapchanges/reloads
2016-05-03 20:36:17 +02:00
Dennis Felsing
230784d234
Merge pull request #458 from Ryozuki/pr_showping
...
Added cl_showping
2016-05-03 16:12:30 +02:00
Ryozuki
5c7856ee59
Added cl_showping
2016-05-03 16:06:10 +02:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00