Ryozuki
e59387a304
revision changes
2018-01-18 16:17:23 +01:00
Ryozuki
6413cab702
forgot newline
2018-01-18 07:58:22 +01:00
Ryozuki
1e88ad92a0
add vote_no command and show auth rank in force vote
2018-01-18 07:56:07 +01:00
Ryozuki
05ece01690
Add more output to mutes and muteid
2018-01-15 19:31:14 +01:00
Dennis Felsing
31bbbaf512
case sensitivity
2018-01-15 09:10:20 +01:00
Dennis Felsing
272e14357c
Fix SQL code for points/top5points
2018-01-15 09:08:51 +01:00
def
80cf5eff45
Update credits
2018-01-14 08:11:48 +01:00
def
4bc0d176d3
More reverts..
2018-01-13 22:22:55 +01:00
def
3ee76bc5ff
Revert voting change
2018-01-13 21:40:29 +01:00
def
16117f74d7
People don't like my vote changes
2018-01-13 16:46:31 +01:00
def
4dc118c752
Mutes work independent of port, don't announce IP in chat ( fixes #908 )
2018-01-13 10:50:31 +01:00
heinrich5991
9d9bfee53f
Move to ISO 8601-compliant timestamps
...
https://en.wikipedia.org/w/index.php?title=ISO_8601&oldid=819129098
2018-01-11 16:01:19 +01:00
heinrich5991
22080c840f
Move teehistorian UUIDs into engine
2018-01-11 16:01:13 +01:00
heinrich5991
6c378b972b
Add support for extra chunks in teehistorian
...
This allows to add rarely-used chunks without increasing the file format
version.
2018-01-11 15:59:53 +01:00
def
2ebc993379
Oops
2018-01-11 15:26:41 +01:00
def
e29de3295f
Vote faster when all press yes
2018-01-10 23:46:14 +01:00
def
37b7f058b2
Fix voting
2018-01-10 23:44:40 +01:00
def
0cc4763a43
Fix crash: Switch tiles with number 0 are handled like non-switch tiles
...
Thanks to 645654 and phacrum for report
2018-01-10 22:19:38 +01:00
Dennis Felsing
d4f5b6ae69
Remove redundant code
2018-01-10 14:36:04 +01:00
Dennis Felsing
ea85e0669a
Keep vote running until everyone presses f3 or time runs out
...
Gives enough time for mods to react and for players to save
2018-01-10 14:33:03 +01:00
Ryozuki
d6eb604718
add rcon moderate mode
2018-01-05 15:23:08 +01:00
Learath2
8353701789
Add sv_rcon_vote. Fix punctuation.
...
Add option to only allow authed clients to call votes.
2017-12-27 10:40:51 +03:00
def
627291c510
/pause <name> always switches to watching name
...
Old behaviour switched you out of pause if you were paused already
Thanks to fokkonaut for suggestion
2017-12-23 20:42:54 +01:00
Dennis Felsing
be9a5fc8c8
Update save command description (by marcelherd)
2017-12-21 13:58:09 +01:00
bors[bot]
1d55bbda0e
Merge #948
...
948: Remove deprecated multi commands r=Learath2 a=heinrich5991
You now have to use `/mc;` instead of `/` if you want to bind multiple
commands to one key.
2017-12-08 14:48:32 +00:00
ChillerDragon
3acb650a6f
removed unused comment
2017-12-02 18:26:53 +01:00
heinrich5991
94acac91a0
Overhauled job system
...
The engine now takes `std::shared_ptr<IJob>`, this will ensure the
appropriate lifetime of the given parameters, it also allows for proper
destruction. Remove the now obsolete `IFetcher` interface and `CFetcher`
class.
Also adds some locks to `CUpdater`, previously it didn't have any locks
at all.
2017-11-23 15:47:38 +01:00
heinrich5991
7fc4a21565
Remove deprecated multi commands
...
You now have to use `/mc;` instead of `/` if you want to bind multiple
commands to one key.
2017-11-18 16:36:34 +01:00
ChillerDragon
a013a59aa6
removed dead function prototype
2017-11-01 14:57:34 +01:00
heinrich5991
dfc53b48cf
Fix victim handling
2017-10-17 01:32:40 +02:00
heinrich5991
525b643e18
Fix a syntax error
...
Sorry. :/
2017-10-13 16:33:23 +02:00
heinrich5991
c439b04a2d
teehistorian: Hide chat from teehistorian
...
There was a missing check that allowed chat messages to be written to
disk.
2017-10-13 16:25:26 +02:00
Learath2
4394933d6c
Merge pull request #887 from heinrich5991/pr_ddnet_async
...
Add asynchronous output system and use it for teehistorian and `dbg_msg()`s
2017-10-13 15:30:24 +02:00
heinrich5991
e989ffad78
Rename async_*
to aio_*
and add test for nondivisible buffer lengths
2017-10-13 02:48:42 +02:00
heinrich5991
8e778cd9ab
Address pull request comments
2017-10-13 02:29:18 +02:00
heinrich5991
4d05a2379b
Make teehistorian asynchronous
2017-10-10 04:11:14 +02:00
heinrich5991
be0b52eddc
Fix teehistorian crash on startup
2017-10-10 02:39:29 +02:00
Learath2
d15dcd3c58
Merge pull request #871 from heinrich5991/ddnet_teehistorian
...
Teehistorian
2017-10-09 18:42:27 +02:00
heinrich5991
f16059c0b8
teehistorian: Add a couple of tests, fix uninitialized vars and asserts
2017-09-28 02:42:35 +02:00
heinrich5991
f43480aeed
Add testing infrastructure for teehistorian
2017-09-28 02:03:30 +02:00
heinrich5991
1913106f15
teehistorian: Fix a bug with implicit ticks
2017-09-27 20:15:41 +02:00
heinrich5991
be79f14e38
teehistorian: Use m_pController->m_pGameType
directly
2017-09-27 19:38:54 +02:00
Dennis Felsing
5b05e558dc
Fix grammar (thanks noby)
2017-09-25 09:07:12 +02:00
heinrich5991
9d5ba770e9
teehistorian: Only record non-default config vars
2017-09-24 21:11:04 +02:00
heinrich5991
3efa490cb7
teehistorian: Remove global buffer
...
This removes the possibility of the buffer filling up and discarding
data.
2017-09-20 02:23:28 +02:00
heinrich5991
9761e9606a
Make most user input teehistoric
...
Exclude private stuff like chat messages and votes.
2017-09-20 02:23:28 +02:00
heinrich5991
6ef9c8dbcd
First working version of teehistorian
...
teehistorian records all inputs from the players as well as the player
positions in each tick. It stores this info in a highly compressible
output format (I've achived 5x compression using xz or bz2).
2017-09-20 02:16:11 +02:00
def
03fa475b5e
Implement /pause [name] and /spec [name]
2017-09-18 19:12:01 +02:00
Dennis Felsing
43d0299a45
Merge branch 'master' into pr_ddnet_fix_msvs_warnings
2017-09-16 11:17:39 +02:00
heinrich5991
4d96090770
Fix MSVS warnings
...
```
warning C4291: no matching operator delete found; memory will not be freed if initialization throws an exception
warning C4305: truncation from 'double' to 'float'
warning C4805: unsafe mix of type 'bool' and type 'int' in operation
```
2017-09-06 10:54:29 +02:00
def
0a09af4b33
str_format instead of sprintf
2017-09-03 09:01:25 +02:00
def
862e26dd08
Clean up time handling a bit
2017-09-03 08:48:21 +02:00
heinrich5991
2682480f8a
Rename GetUncompressedDataSize
to GetDataSize
...
Also rename the old `GetDataSize` to `GetFileDataSize`. `GetDataSize`
now returns the actual data size, not the data size before
decompression.
2017-08-30 08:36:17 +02:00
sctt
0849fa6024
fixing map_resave and adding map_replace_image
...
Update datafile.h
Update datafile.cpp
Update datafile.cpp
Update map_resave.cpp
Update datafile.h
Update map_resave.cpp
Update datafile.h
Update datafile.cpp
Update config_store.cpp
Update config_retrieve.cpp
Update io.cpp
Update gamecontext.cpp
Update config_store.cpp
Update CMakeLists.txt
Create map_replace_image.cpp
Update map_replace_image.cpp
fixing bug with height and witdth
2017-08-29 16:21:16 +02:00
def
ac2943a49b
utf8mb4 in database for real utf8
2017-08-26 09:00:33 +02:00
def
fb252c4940
Fix compilation
2017-08-25 13:27:37 +02:00
heinrich5991
1ae004ba46
Make a copy of the input only after sanitizing it
...
This fixes a physics bug that allowed players to set their mouse
direction to (NaN, NaN), resulting in funny effects.
2017-08-25 13:20:10 +02:00
def
0e1cc205ef
Fix formatting for server chat messages with time in already
2017-08-21 20:48:11 +02:00
def
98520bb407
other kind of fix
2017-08-19 09:36:13 +02:00
def
d40dd4f362
Don't try next SQL server when /times returns empty
2017-08-19 09:32:14 +02:00
heinrich5991
33315452c3
Merge branch 'master' into leak_fix
2017-07-31 20:42:32 +02:00
def
0a28556481
A bit nicer birthday message
2017-07-31 18:24:16 +02:00
def
d9aeeae3fc
Fix sql_score.cpp formatters
2017-07-30 14:23:25 +02:00
def
c12082c2ef
Not too many messages
2017-07-30 14:15:45 +02:00
def
7a3b7c6228
oops
2017-07-29 23:13:04 +02:00
def
f3d4fcf012
Print message when team starts playing to team members
2017-07-29 23:11:33 +02:00
HMH
d03e91153c
removed unused Dest function for layers
2017-07-28 14:43:03 +02:00
heinrich5991
6247aa0c7f
Enable -Wextra
and -Wformat=2
...
Also annotate `dbg_msg`, `str_format` and `str_timestamp_ex` so that the
compiler can determine whether the format strings are correct.
Fix the compiler warnings generated by these extra warnings -- some of
them were security issues.
2017-07-27 20:38:17 +02:00
def
adef38a574
Revert "We want the Timestamp of a team to stay min(Timestamp) to indicate the first time this team finished the map"
...
This reverts commit bf0e67a34a
.
2017-07-26 18:12:41 +02:00
def
cf08239e58
no plenk
2017-07-24 20:58:51 +02:00
def
4c98c4bdd6
typo
2017-07-23 21:34:36 +02:00
def
79d29b1e31
Fix: Finish score should always show the fastest time
2017-07-23 21:33:55 +02:00
def
bf0e67a34a
We want the Timestamp of a team to stay min(Timestamp) to indicate the first time this team finished the map
2017-07-23 21:20:12 +02:00
Dennis Felsing
bcb30c860e
Merge pull request #761 from Learath2/dd_pr_vanillapause
...
Can't spectate yourself when /pause'd
2017-07-09 23:15:57 +02:00
def
46cedf3a8c
Compiler warnings
2017-07-09 10:27:58 +02:00
def
42b07441a5
Try to make SQL connections a bit more hardy
2017-07-08 14:14:50 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +02:00
ChillerDragon
727b9f84b6
fixed scoreboard update for slow racers (less hacky) ( #765 )
...
* fixed scoreboard update for slow racers (less hacky)
* Fix some style issues
2017-07-05 23:01:57 +02:00
Tim Schumacher
2ef05c2def
Use sv_teleport_hold_hook also for checkpoint tele
2017-06-15 16:07:27 +02:00
Tim Schumacher
47fecc8659
Add sv_check_teleport_hold_hook map setting
2017-06-15 15:49:07 +02:00
Learath2
49e4501cc7
Merge pull request #785 from Ryozuki/pr_ddnet_fix_dbgassert
...
Get rid of wrong dbg_assert that can crash server
2017-06-12 18:54:48 +03:00
Ryozuki
5f23a68caf
get rid of wrong dbg_assert
2017-06-12 17:49:01 +02:00
eeeee
0497cdd49d
stop casting auth state to bool
2017-06-08 13:03:44 -07:00
eeeee
2797227063
also remove references to CGameContext from CServer
2017-06-05 22:31:56 -07:00
eeeee
9b6699d3b8
remove casts to CServer
...
improving encapsulation by going through the interface instead of including engine/server/server.h
2017-06-05 20:51:12 -07:00
def
45acda1a66
Fix compiler warning
2017-06-02 21:49:53 +02:00
def
4125941896
Disable dbg_stress in release builds (fewer confused kids that think they hacked the server, less useless code in cache)
2017-06-02 20:45:09 +02:00
def
a6e144ea72
Let's not crash the client and server on dbg_assert
2017-06-02 20:12:20 +02:00
def
27074e926a
Further cleanup
2017-06-02 19:44:14 +02:00
def
c49aa0671f
Revert "A bit faster"
...
This reverts commit 1428c25083
.
2017-05-24 23:16:10 +02:00
Learath2
6a6666abc4
Keep pause state when killed
2017-05-24 22:30:28 +02:00
def
1428c25083
A bit faster
2017-05-24 21:39:04 +02:00
def
02995bf72f
Oops
2017-05-24 21:36:14 +02:00
def
1f86e6c8df
Save fixes
2017-05-24 21:32:26 +02:00
def
1b2a85af58
Fix m_Jumped loading
2017-05-24 20:23:54 +02:00
def
562dee6e38
Clean up server messages a bit
2017-05-21 01:20:25 +02:00
def
63c1d75458
When frozen and afk, show normal eyes to be able to tell non-afk from afk
2017-05-19 19:12:52 +02:00
Learath2
cf81ef8ce6
Can't spectate yourself when /pause'd
2017-05-19 00:21:01 +02:00
def
c1c2c1575f
Fix some vanilla pause issues
2017-05-18 23:52:54 +02:00
def
d7d0520f79
Another try
2017-05-18 20:04:29 +02:00
def
819187f376
Fix unweapons
2017-05-18 20:01:10 +02:00
def
0f14307e8f
oops
2017-05-17 22:37:54 +02:00
def
7e7d56048b
New try at loading in team only
2017-05-17 22:30:13 +02:00
def
bd75e6e1f6
Actual fix
2017-05-17 18:56:58 +02:00
def
a8966c680e
Revert "Prevent vote spam"
...
This reverts commit 526a23b191
.
2017-05-17 18:55:45 +02:00
def
b48005fe40
Revert "Fix last map vote"
...
This reverts commit 42f3b0d7a8
.
2017-05-17 18:50:01 +02:00
def
42f3b0d7a8
Fix last map vote
2017-05-17 18:45:45 +02:00
def
a7ee59804b
Reverse...
2017-05-16 17:52:29 +02:00
Dennis Felsing
666d1585b7
Fix crash on invalid pause state in save
2017-05-16 17:02:28 +02:00
Learath2
b4b5d6cc9e
/pause'd players stay in player list
2017-05-15 13:56:54 +02:00
Dennis Felsing
87adba55ad
Allow voting again if no map could be found for random map vote
2017-05-15 11:15:04 +02:00
def
8c9995f166
oops
2017-05-14 22:44:52 +02:00
def
413f96b43d
Prevent some save/load cheating
2017-05-14 22:42:49 +02:00
def
f4112e3bcb
Revert "Tees must be teamed up before loading"
...
This reverts commit d29f2306ef
.
2017-05-14 22:36:44 +02:00
def
f57f1d0d17
You can't invite someone to team on solo server...
2017-05-14 22:16:58 +02:00
def
f2232b8026
Fix compilation
2017-05-14 22:14:02 +02:00
Dennis Felsing
278b17b460
Merge pull request #721 from Learath2/dd_pr_pause
...
Rework the pause system
2017-05-14 11:55:09 +02:00
Dennis Felsing
58207926ac
Merge pull request #726 from Learath2/dd_pr_load
...
Tees must be teamed up before loading
2017-05-14 11:54:39 +02:00
Dennis Felsing
a0a1276b6a
Merge pull request #751 from Learath2/dd_pr_ratelimitinvite
...
Add ratelimiting for /invite
2017-05-14 11:50:43 +02:00
Dennis Felsing
610195f21e
Merge pull request #753 from Learath2/dd_pr_voting
...
Fix vote spam
2017-05-14 11:49:12 +02:00
Learath
58d3d5251a
Fix a mistake. Kill on kick
2017-04-25 20:27:23 +02:00
Learath
526a23b191
Prevent vote spam
...
Apply the timeout even after a successful vote
2017-04-25 19:53:18 +02:00
Learath
a1d2212696
Change behaviour for kick votes in teams
2017-04-25 19:10:22 +02:00
Learath2
3878d6fb56
Reset invites when the team is empty
2017-04-24 21:28:02 +02:00
def
4b376d239c
rename
2017-04-24 17:36:13 +02:00
Learath2
1d84d0db07
Get rid of trailing spaces
2017-04-24 14:05:09 +02:00
Learath2
c1a4a95d61
Add ratelimiting and config options for invite
2017-04-24 14:04:50 +02:00
Learath2
aa3690a632
Reset invites when the team is empty
2017-04-24 13:31:05 +02:00
Learath2
89199d04d0
Fix invite spam by abusing lock.
2017-04-24 11:03:16 +02:00
Learath2
309d47e933
Revert "Remove invite system entirely since no one wants to fix it"
...
This reverts commit 99cc9d2c0b
.
2017-04-23 22:50:07 +02:00
def
99cc9d2c0b
Remove invite system entirely since no one wants to fix it
2017-04-23 17:51:29 +02:00
def
8dcad29138
Also update timestamp in team rank (fixes discord bot to show team ranks when they exist)
2017-04-23 14:08:58 +02:00
Learath2
c091eb6cc9
Fix indentation
2017-04-22 19:04:16 +02:00
def
9da2655ea7
Add own time to /mapinfo
2017-04-21 20:13:51 +02:00
def
9e7eb9c142
Remove /uninvite
2017-04-13 10:34:19 +02:00
def
3c9b178e73
Fix /times ratelimit
2017-04-13 09:38:53 +02:00
def
d4ed1310d2
Configurable rate limit for SQL queries
2017-04-13 09:33:26 +02:00
def
407943a0a0
A bit more cautious SQL code
2017-04-13 09:26:12 +02:00
def
d450678bf3
Quit even if score-threads didn't complete
2017-04-13 08:38:27 +02:00
Learath
c8acc2d286
Swap /pause and /spec around
2017-04-13 01:33:56 +02:00
Learath
0cafa8b813
Random tees can't load saves
2017-04-12 16:59:46 +02:00
Learath
47f405e160
Remove tees that don't belong
2017-04-12 10:33:02 +02:00
Learath
d29f2306ef
Tees must be teamed up before loading
2017-04-11 21:18:26 +02:00
Learath
95690a1cf7
Reimplement sv_pause_frequency
2017-04-09 01:16:48 +02:00
Learath
5626259b27
Rework pause. Fixes force_pause
2017-04-09 00:20:41 +02:00
Learath2
079c53471c
Remove unnecessary check. Fixes #714
2017-04-02 19:39:22 +02:00
HMH
7ef108c818
Fix style in some places which the previous fix missed
2017-03-23 22:28:06 +01:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
def
125764815b
Update credits (I probably missed a few)
2017-03-16 19:17:24 +01:00
necropotame
4027b3dc01
Add error message in case of invalid argument for /timer
2017-03-15 12:22:13 +01:00
necropotame
e4345307c1
Fix #662 (timer command displays the wrong state)
2017-03-15 11:11:01 +01:00
Learath2
0b0783f13c
Fix styling issues, use uint for bitmask
2017-03-10 14:52:49 +01:00
Learath2
9319a82c6e
Add /invite for locked teams. Fixes #647
2017-03-06 12:14:38 +01:00
necropotame
b6548aa8cf
Fix wrong code convension, add enum for timer display type
2017-02-28 07:31:24 +01:00
necropotame
4cfe96801b
Send the race time using warmup timer
2017-02-28 07:31:24 +01:00
Learath2
09552a6d9f
Get rid of trailing whitespaces
2017-02-21 19:11:43 +03:00
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
Tim Schumacher
50f9e37282
disable deepfly patch applied at wrong position
2016-05-02 16:25:34 +02:00
def
b6733a1827
Update credits
2016-05-01 17:14:02 +02:00
def
e0e7f20196
added sv_deepfly (default 1) to disable deepfly (by timakro)
2016-04-29 18:08:53 +02:00
def
67bff95a72
Merge remote-tracking branch 'timakro/new_hookthrough'
2016-04-27 18:59:51 +02:00
def
750f30b6b9
Don't use hardcoded table name
2016-04-23 16:42:54 +02:00
def
93ce3c84c3
Add fake tuning for hammer hit
2016-04-20 11:59:14 +02:00
def
2f170c4d1c
Actually call new birthday function
2016-03-26 00:36:54 +01:00
def
fc2bf86174
Birthday check when player joins
2016-03-26 00:20:18 +01:00
def
52fcc6e550
Fix sv_hide_score
2016-03-26 00:19:44 +01:00
def
b2105ef3ec
Revert "Nicer formatting for SQL stats"
...
This reverts commit c36b7efe1d
.
2016-03-09 23:45:48 +01:00
def
64e4f99102
Revert "Further improvement on ranks formatting"
...
This reverts commit fad318e86f
.
2016-03-09 23:45:43 +01:00
def
fad318e86f
Further improvement on ranks formatting
2016-03-08 17:53:49 +01:00
def
c36b7efe1d
Nicer formatting for SQL stats
2016-03-08 17:36:14 +01:00
def
ce7eb0aac1
Add UNLOCK_TEAM tile (someone draw a tile please)
2016-03-07 18:04:59 +01:00
H-M-H
e39829ef7c
killer of locked team will get strong hook on respawn
2016-03-04 22:55:12 +01:00
def
e577c8e9ae
Fix web links
2016-02-23 01:05:37 +01:00
H-M-H
53a004fa74
reset preferred sql-server to the first specified
...
on map load
2016-02-20 15:33:35 +01:00
H-M-H
2bd6d0c381
do not always try to connect to unreachable sqlservers
...
but instead remember the last reachable server
- some cleanup
- added timeout of 10 seconds to sql-connections
2016-02-20 15:33:35 +01:00
H-M-H
783c2161f1
sql_score init is threaded now
2016-02-20 15:33:35 +01:00
H-M-H
8dacd88755
more generic format of saved sql-inserts
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
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
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
e183a17117
removed other gametypes files and gametype setting
2016-02-16 14:29:11 +01: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
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
heinrich5991
90ba4c5986
Make join vote delay the default
2016-01-22 17:44:53 +01:00
heinrich5991
957844e234
Add comment about when sv_join_vote_delay
doesn't apply
2016-01-21 00:09:11 +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
c0a90f98b8
Fix length of vote reason display in chat
...
Fixes #407 .
2016-01-19 15:00:41 +01:00
heinrich5991
294a962141
Fix a few style issues in voting code
2016-01-19 14:58:52 +01:00
H-M-H
8e24ef8020
commanddescription can now be placed directly in
...
the commandparamsstring: "s[file]"
2015-12-28 16:19:52 +01:00
H-M-H
11a426c18b
added (console-)command usage
2015-12-23 14:29:31 +01:00
timgame
9f45090ca6
added chat msg to reveal killer of locked team
2015-11-12 18:59:58 +01:00
timgame
dc89301292
clean up intersect line code
2015-11-08 10:20:44 +01:00