Commit graph

1781 commits

Author SHA1 Message Date
Learath Lea c6ee3ebbed Fix for the crc fail fallback. 2015-01-20 00:51:55 +02:00
Learath Lea 93d6ca2102 Fixed the order of callbacks 2015-01-20 00:34:05 +02:00
eeeee e5970145f7 fix fetcher codez formatting 2015-01-19 14:09:30 -08:00
Learath Lea b8ec5c6e65 Fallback to gameserver if LoadMap fails 2015-01-19 23:34:57 +02:00
def 883cd3d7d3 Adaptation to work with DDNet 2015-01-19 22:19:27 +01:00
Learath 340e79904d Added fetcher interface.
Make fetcher client only and move Task class from interface.

Fix queue logic, add destructor.
LEAN_AND_MEAN moved up to prevent curl including the whole winapi

Remove JobNo, Fix callback, Cleanup debug messages.

Fix include guard

Copy the Url and Destination. Delete pTask.

Fix typo

Add Completion callback

Let the user pass context

Add virtual to inherited funcs

Use 0 instead of NULL

Give fetcher the ability to create folders. Fix couple of small bugs.

Added .lib files for MSVC.

Leave user the allocation of CFetchTask. Get rid of unnecessary cb
arguments.

Get the HTTP return code from libcurl.

Incorperate the storage system.

Fail on HTTP error >= 400.

Add more info to the task.

Add blocking way of getting HTTP resp code.
Remove resp code from normal tasks as we fail >= 400 anyways.

Sleep instead of killing the thread

Forgot one instance of respcode.

Provide HTTP download for maps.

Dont check 404 first.
2015-01-19 22:14:52 +01:00
Learath Lea d7771f8f7d Fix debug build on MinGW. Add json_get_boolean. 2015-01-19 22:14:50 +01:00
def c8405ce13e Add cl_show_broadcasts, but don't save it 2015-01-19 22:14:49 +01:00
def bd62b5da79 Clean up a few compile warnings 2014-12-31 13:04:31 +01:00
def 79aeb5ea38 Add hook duration tune 2014-12-27 12:05:02 +01:00
def 63a25fc1d4 Make server sleep for the proper time when no player is connected (fixes master server registration on Windows) 2014-12-26 12:12:28 +01:00
def 47842eeac6 Revert "Try only to make performant server on non-Windows"
This reverts commit d9e207816e.
2014-12-26 02:25:19 +01:00
def d9e207816e Try only to make performant server on non-Windows 2014-12-26 00:53:03 +01:00
def e24de30f86 Still allow to find clan mates when clan is ignored in friends 2014-12-22 18:18:01 +01:00
eeeee fabcfc1cbc Update fifoconsole.cpp
actually store the pointer in the field
2014-12-21 17:21:19 -08:00
def 023f926e89 Fix Compilation 2014-12-20 16:35:47 +01:00
def c004a352d2 Highlight in console 2014-12-20 13:37:11 +01:00
def 795fc9702b Add forgotten files 2014-12-20 11:47:52 +01:00
def df754072e0 Update zlib to version 1.2.8 2014-12-20 04:13:19 +01:00
def ee6eae1cee Fix cl_friends_ignore_clan 2014-12-19 17:56:29 +01:00
def 8d945fe968 Exclude DDNet servery by type 2014-12-14 16:45:18 +01:00
def 3b0f768478 Add setting to ignore clan in friends and enable by default 2014-12-12 17:15:29 +01:00
def dfa804fb58 Add missing file 2014-12-10 11:21:13 +01:00
def 76b6a99f26 Add Exclusion filter strings and clean up menu a bit 2014-12-10 04:49:16 +01:00
def 8b108a2311 Clean up gametype determination 2014-12-10 03:39:15 +01:00
def 3a5b3735ed Fix: Client & Server quit properly 2014-12-08 13:53:19 +01:00
def 6ecd02d410 No threaded debug output with fuzzing 2014-12-06 19:45:52 +01:00
def f32b09206a Fuzzing optimization 2014-12-06 19:29:20 +01:00
def 366f0281ed Fuzzing options 2014-12-06 16:17:04 +01:00
def 8275f2d811 Finally working... 2014-12-06 14:34:30 +01:00
def 6b1666d51d Next try 2014-12-06 14:18:59 +01:00
def b334c462c2 Try to explicitly close fifo console 2014-12-06 14:14:46 +01:00
def af3b68b253 Enable antiping projectiles starting with 6.4 2014-12-05 17:46:32 +01:00
def 83987e0bfb Fix compile 2014-12-02 21:23:54 +01:00
def 801d6033a5 Revert "More unsigned ints because of undefined integer overflow behaviour"
This reverts commit 623223354a.
2014-12-02 15:54:59 +01:00
def 9ea846033b Optimization for faster server side demo recording 2014-12-02 15:44:54 +01:00
def 0947de4b3f Centisecs -> Decisecs 2014-12-02 13:55:19 +01:00
def 6b12cc6f73 Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2014-12-02 13:36:36 +01:00
def 0963b68dea Fix memory leak in client 2014-12-02 13:36:27 +01:00
def d0c85acc0d Add cl_show_centisecs 2014-12-02 13:19:06 +01:00
def db4d472443 Don't copy string when it's in the right position already 2014-12-02 12:35:28 +01:00
def 623223354a More unsigned ints because of undefined integer overflow behaviour 2014-12-02 12:10:21 +01:00
Dennis Felsing b525de33b5 Merge pull request #112 from trml/prediction_weapons
Prediction weapons
2014-12-02 11:24:52 +01:00
nuborn 13f56be3a1 fix recording of projectiles in server too 2014-12-02 02:32:07 +01:00
def b4cef79b82 Fix compile with -O3 & -Ofast 2014-12-01 21:10:10 +01:00
nuborn 9752334e75 convert projectiles back to default format before recording demos 2014-12-01 01:32:51 +01:00
nuborn 03bc769c09 prediction of hammer (hits) and grenade (explosions) 2014-12-01 01:31:58 +01:00
BeaR 186de4e08e Add option to enable/disable panning per voice 2014-11-30 12:23:05 +01:00
BeaR 98d42adf9d Implement sound logic for shaped sounds, fix rectangle height property in editor and submit voice shape information to audio interface 2014-11-29 14:29:40 +01:00
BeaR 9996751161 Remove deprecated falloff distance 2014-11-28 19:21:59 +01:00
BeaR 80c06aef91 Fix sound cutoff for looped sounds and make sound offset threshold dependent on the size of the audio buffer 2014-11-27 13:56:01 +01:00
def f3ba2e86ca Send timeout code later (fixes timeout code entering issues, fixes timeout protection not working realiably with dummy) 2014-11-27 01:59:55 +01:00
def e4c4ba2d44 Remove another bad log 2014-11-26 21:33:57 +01:00
def d2573e78c2 comment 2014-11-26 21:18:11 +01:00
def 8fdd6da926 Keep retrying for FifoFile even if it's temporarily unavailable 2014-11-26 21:17:00 +01:00
def 9d3cb79db5 Remove log that happens too often 2014-11-26 21:10:22 +01:00
def bba82712e0 Add sv_solo_server for easier solo servers (also working for tunezones finally) 2014-11-25 22:42:05 +01:00
def c9b4687cce More time for double click recognition (0.33 instead of 0.25 seconds) (fixes #17) 2014-11-25 21:30:16 +01:00
def 91bc16c037 Add an option to assume demos to be race demos 2014-11-25 20:46:21 +01:00
def 93d0f43a6a Broadcast about DDNet client delayed a bit (fixes #72) 2014-11-25 20:33:21 +01:00
def 2acdf5ea17 Code cleanup 2014-11-25 20:29:31 +01:00
def 18315e8c79 Improve ping on empty server (serverbrowser) 2014-11-24 22:31:13 +01:00
def a08ed87cc4 Initial work on confusable utf8 name detection 2014-11-24 16:22:00 +01:00
def 4d4d8ad5e8 Fix compile warnings 2014-11-23 21:24:20 +01:00
def 197ed5dca3 Use 0.6.3 server crash fix since the other seems not to work with GCC 4.9.2 with optimizations on 2014-11-22 13:17:55 +01:00
def 5f035cf9fb Fix infrequent segfault when server shuts down immediately 2014-11-20 22:26:13 +01:00
def 140173311e Uncached time_get by default 2014-11-18 18:21:30 +01:00
def 893fe8785b Bring back gfx_text_overlay to stop rendering text at far distances for
better performance
2014-11-16 21:51:44 +01:00
def c79a7eba7a And the same another time (Thanks coffee) 2014-11-16 21:51:44 +01:00
def 56fbd92be9 number check 2014-11-16 21:51:36 +01:00
def eba1fb5b8b Fix wait time on windows (Thanks to Tobii) 2014-11-15 18:14:24 +01:00
def 36a9c00aed Make sound more exact 2014-11-15 00:13:20 +01:00
def 808f889c00 Improve server wakeup timing 2014-11-11 13:00:02 +01:00
def 4e9b6ea336 Ugly fix for client (TODO: improve) 2014-11-10 00:17:31 +01:00
def aede6df2ca Cache get_time calls 2014-11-10 00:08:50 +01:00
def bc9d632103 Clean up whitespace detection a bit and add BRAILLE PATTERN BLANK (U+2800) 2014-11-08 20:14:12 +01:00
def c9ceef7523 Add workaround for FlashWindowEx on mingw with old winapi32 2014-11-05 01:46:40 +01:00
def 627d6386ee Revert "Revert "Revert "Add antiping for weapons (by nuborn)"""
This reverts commit 8f7e24b4db.
2014-11-02 10:59:22 +01:00
def 36375b67e2 Revert "update the version number required for extra antiping features"
This reverts commit 80dbdc3d5b.
2014-11-02 10:58:58 +01:00
def fb0ca67adb Revert "Fix version for antiping projectile"
This reverts commit e651124d59.
2014-11-02 10:58:34 +01:00
def d3797289c1 Revert "improve antiping for weapons (particularly in vanilla) by taking into account more of the info already available to the client"
This reverts commit 56036dcd7b.
2014-11-02 10:58:21 +01:00
def 11583ed434 Allow 256 voices 2014-10-30 00:14:16 +01:00
BeaR f5fa00cfb7 Prevent integer overflow (fixes segfault in the soundengine) 2014-10-29 22:45:48 +01:00
def 0da475ea65 Fixes #91 2014-10-29 19:53:51 +01:00
def e97fa68627 Antiping for Weapons should work with 6.0 as well 2014-10-29 10:50:04 +01:00
Dennis Felsing 346d7a04f3 Merge pull request #90 from trml/improve_antipingweapons
Small improvements to antiping for weapons
2014-10-29 00:34:45 +01:00
def ec55a87972 Fix opus map sound crash 2014-10-28 22:42:31 +01:00
def 2a44f0cc0f Merge branch 'Sound' into DDRace64
Conflicts:
	bam.lua
	other/opus/include/ogg/ogg.h
	other/opus/include/opus/opus.h
	other/opus/include/opus/opus_custom.h
	other/opus/include/opus/opus_defines.h
	other/opus/include/opus/opus_multistream.h
	other/opus/include/opus/opus_types.h
	other/opus/include/opusfile.h
	src/engine/client/sound.cpp
2014-10-28 22:08:59 +01:00
nuborn 56036dcd7b improve antiping for weapons (particularly in vanilla) by taking into account more of the info already available to the client 2014-10-28 21:13:55 +01:00
def e651124d59 Fix version for antiping projectile 2014-10-28 20:07:51 +01:00
nuborn 80dbdc3d5b update the version number required for extra antiping features 2014-10-28 18:30:15 +01:00
nuborn 8f7e24b4db Revert "Revert "Add antiping for weapons (by nuborn)""
This reverts commit 755e9f4d1c.
2014-10-28 15:50:28 +01:00
BeaR 5562fac602 Add opus as external library (windows only) 2014-10-28 14:38:50 +01:00
BeaR 49373ee412 Fix opus sound loading 2014-10-28 14:01:21 +01:00
def e283e10685 A bit better, but still buggy 2014-10-28 12:22:49 +01:00
def 9b3ca0d8a1 Something that sounds a bit more like music (NumFrames wrong or op_read wrong?) 2014-10-28 10:27:00 +01:00
def 7d7b78938e Fix opus compilation 2014-10-28 09:51:15 +01:00
def f1cca50695 Fix Mac OSX compilation 2014-10-28 02:25:45 +01:00
def 3730e19b5c Fix Android compilation 2014-10-28 02:01:51 +01:00
def 24881449b3 Revert "Add OGG"
This reverts commit 28d276cd7e.
2014-10-28 01:34:15 +01:00
def 3b1d23f42c Revert "Add Opus"
This reverts commit a7dafa40c7.
2014-10-28 01:34:09 +01:00
def ca52f841b0 Revert "Add opusfile"
This reverts commit 827699263c.
2014-10-28 01:34:03 +01:00
def 0b1de66bdf Revert "Some work on Opus map sounds (not working yet)"
This reverts commit 26260181bd.
2014-10-28 01:33:58 +01:00
def f4231100a7 Make triangle quad rendering optional, as it seems to cause performance problems 2014-10-28 01:12:11 +01:00
def eaaa29f5f6 Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2014-10-27 20:03:50 +01:00
def 755e9f4d1c Revert "Add antiping for weapons (by nuborn)"
This reverts commit 48e66a2ab3.

Conflicts:
	src/game/client/gameclient.cpp
	src/game/version.h
2014-10-27 20:03:22 +01:00
def 26260181bd Some work on Opus map sounds (not working yet) 2014-10-27 16:23:53 +01:00
def 827699263c Add opusfile 2014-10-27 09:25:24 +01:00
def a7dafa40c7 Add Opus 2014-10-27 09:22:52 +01:00
def 28d276cd7e Add OGG 2014-10-27 09:05:49 +01:00
def 5fd50e0b46 Fix warning at client start 2014-10-27 09:05:22 +01:00
def 9453b80e66 Forgotten 2014-10-26 02:57:03 +02:00
def 0f257bf553 Add delay (of 1 minute by default) to loading savegames 2014-10-26 02:39:12 +02:00
def 59fccf18f0 Add window highlight on Linux (fixes #65) 2014-10-26 02:25:36 +02:00
def 35f8b7a6dd Add option for disabling gun sounds 2014-10-26 01:00:30 +02:00
def 34c39b43f0 Cleanup 2014-10-25 02:53:26 +02:00
def 8d230306d8 Fix sound enabling and disabling (fixes #82) 2014-10-25 02:52:08 +02:00
def 699fb60532 Fix: Mapping sounds in editor works even when the sound system is disabled 2014-10-25 01:23:39 +02:00
def 12102a14a6 Fix sound and image loading 2014-10-24 23:03:16 +02:00
def 48e66a2ab3 Add antiping for weapons (by nuborn) 2014-10-23 17:31:29 +02:00
def f8f8f0613e Rename "Ambient" to "Map Sound" 2014-10-23 15:53:23 +02:00
BeaR 78aa7c51be Prevent modulo 0 2014-10-23 12:04:46 +02:00
BeaR 2b1272ed69 Work on nicer audio timing 2014-10-18 18:41:59 +02:00
BeaR ef3b801999 Add volume slider for map sounds 2014-10-18 18:41:57 +02:00
BeaR e211c7a2b2 Ingame sound pos envelope support 2014-10-18 18:41:55 +02:00
BeaR 8addf25b24 Add support to modulate voice volume and falloff distance 2014-10-18 18:41:54 +02:00
BeaR 774be5561e Fix crash when loading sound files threaded (double io_close) 2014-10-18 18:41:54 +02:00
BeaR b5d0034674 Add embedded sound support 2014-10-18 18:41:53 +02:00
BeaR 96a6d6d85b Take sample duration into account when enqueuing sound sources 2014-10-18 18:41:53 +02:00
BeaR 16084d93cf Working on correctly replay sounds 2014-10-18 18:41:52 +02:00
BeaR 2f837a4c44 Notify player on chat highlight (windows only) 2014-10-18 16:17:36 +02:00
def 082ecfe691 Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2014-10-16 17:42:38 +02:00
def 1144ba77c6 Split up demo recording into 3 separate recorders 2014-10-16 17:42:13 +02:00
BeaR 944218ca9f Render quads as triangle fans 2014-10-15 15:44:29 +02:00
def 607a27718e Revert "Removed InputData Array"
This reverts commit 83f6fc70fa.
2014-10-12 17:52:53 +02:00
Tomew 83f6fc70fa Removed InputData Array 2014-10-12 17:19:09 +02:00
def 3ff6b951c1 Configurable messages 2014-10-12 12:51:54 +02:00
def fda12b88bf Make sv_client_suggestion optional 2014-10-12 11:35:36 +02:00
def 32fedf3518 Automatically rcon-authenticate dummy on connection if player is authenticated already 2014-10-01 12:41:10 +02:00
def bc916da43c Print client version in status 2014-09-30 13:21:44 +02:00
def 932fb826c7 Add cl_zoom_background_layers (set to 0 to keep background nice when zoomed out) 2014-09-29 21:13:35 +02:00
def c54cf2e7ba Cleanup 2014-09-26 02:41:25 +02:00
def c78cea9046 Add sv_demo_chat (0 by default to disable recording chat) 2014-09-26 02:40:58 +02:00
def b4f77c4b71 Add sv_player_demo_record (mostly from Teerace) 2014-09-26 02:05:31 +02:00
def 1bee3af878 Print broadcasts by default 2014-09-23 19:34:43 +02:00
def a32e9272eb Restore Law & Order 2014-09-23 19:06:25 +02:00
Dennis Felsing 8abc15f48d Merge pull request #47 from Laxa/upstream
Add cl_output_broadcast + add button for it + fix multi-line display.
2014-09-23 18:55:13 +02:00
def d38bf7f83a typo 2014-09-23 17:33:33 +02:00
laxa 36153fc7fd Add conf variable for broadcast ouput; made broadcast output works with multiple lines 2014-09-23 10:37:44 +02:00
Dennis Felsing 028d6b98f4 Merge pull request #43 from Laxa/upstream
Added cl_reset_wanted_weapon_on_death
2014-09-21 15:05:52 +02:00
laxa 718e45d84d Added cl_reset_wanted_weapon_on_death 2014-09-21 14:11:27 +02:00
def bde8c33c20 Hopefully real fix now 2014-09-20 21:44:43 +02:00
def 572b4f91bd Fix serverbrowser for more than 24 players again 2014-09-20 21:14:19 +02:00
def 36b33d6138 Fix: Prevent animated server names and fake 0 pings in serverbrowser 2014-09-20 15:48:30 +02:00
def 7035bf87fd Refresh DDNet tab when a new serverlist was received 2014-09-20 15:35:01 +02:00
def d2ef256f06 Final compilation fix for Windows 2014-09-20 14:42:12 +02:00
def 4a703576ab Revert "Now Windows compiling (by Tobii)"
This reverts commit 5b4878d0d4.
2014-09-20 14:41:38 +02:00
def 5b4878d0d4 Now Windows compiling (by Tobii) 2014-09-20 14:30:18 +02:00
def 3b3955632c Hopefully fix Windows compile 2014-09-20 14:20:43 +02:00
def d6aea5ba40 Prepare DDNet gametype name 2014-09-20 13:48:59 +02:00
east c4fc429e99 small cleanup 2014-09-20 11:47:51 +02:00
east 603727232a ddnet server list zlib compression added 2014-09-20 11:36:46 +02:00
east cda02a3d9a versionsrv serverlist download added 2014-09-20 00:36:22 +02:00
east 202d5d8866 Filter flag grid added 2014-09-19 23:52:09 +02:00
east 9db12d455d working on CDDNetCountry 2014-09-18 16:13:06 +02:00
east 6ab9279211 json related updates 2014-09-18 16:11:22 +02:00
east d161005658 json parser added 2014-09-18 14:40:29 +02:00
east c2b7482546 Merge remote-tracking branch 'def/DDRace64' into ddsrvs 2014-09-18 14:14:25 +02:00
Tobias Urlaub 45823466ec Fix: Rcon spoofing protection bans clients after password change 2014-09-16 21:14:31 +02:00
east e732008157 DDNet serverlist added 2014-09-13 16:36:25 +02:00
def a36358190b Mac OS X compilation 2014-09-11 21:38:23 +02:00
def efeb2b9417 Minor fix 2014-09-11 21:38:13 +02:00
def 5b72302672 Instead of banning players for reconnecting too often, make them wait 3 seconds (fixes #27) 2014-09-09 23:27:28 +02:00
def 49682f4a8d Threaded logger output 2014-09-09 23:02:05 +02:00
def d44e6088bb console output cleanup 2014-09-09 22:23:56 +02:00
def 54497647b4 Minor console output cleanup 2014-09-06 23:22:35 +02:00
def 0da1ba238c Add cl_cpu_throttle_inactive 2014-09-06 01:42:59 +02:00
def 4133e642f8 Remove Damage Indications when entering game (fixes #29) 2014-09-03 14:17:44 +02:00
def f66febb009 Revert "Only connect dummy when we're fully connected to the server"
This reverts commit 96502a2d88.
2014-09-03 13:58:06 +02:00
def 96502a2d88 Only connect dummy when we're fully connected to the server 2014-09-01 17:36:10 +02:00
def f1288127a3 Don't crash on broken demo files 2014-08-31 03:13:42 +02:00
def 9f4ac93d90 fifoconsole cleanup 2014-08-29 19:42:34 +02:00
timgame 6784045da0 Merge branch 'DDRace64' of https://github.com/def-/ddnet into DDRace64 2014-08-29 17:05:26 +02:00
timgame 7929d9a0c8 added client fifo 2014-08-29 16:52:08 +02:00
def 2df6034b44 By default don't show demo speed 2014-08-29 16:13:13 +02:00
def c653a09f82 Use settings_ddnet.cfg instead of settings.cfg 2014-08-26 22:25:22 +02:00
def b2f8f272db Only use rcon spoofing protection on ddnet servers as it's buggy on others 2014-08-26 22:10:22 +02:00
def c6b63c34ba Don't show quit popup on update 2014-08-26 22:06:35 +02:00
def dff02ab916 Record server name into sql table record_race 2014-08-26 03:46:24 +02:00
def f55e82c939 Default kill protection value 2014-08-25 00:20:07 +02:00
def d51328f7d7 Kill protection cleanup 2014-08-25 00:18:51 +02:00
savander 1577201364 Kill protection 2014-08-24 23:24:33 +02:00
Dennis Felsing 25bbecc0c9 Merge pull request #10 from east/demoslice
Extended demo player features
2014-08-23 18:36:20 +02:00
east 070ebe2895 merge fixed 2014-08-23 17:57:32 +02:00
east 8624d0a747 DemoPlayer: Save dialog added 2014-08-23 17:48:04 +02:00
def 803745fee1 Fix: Working 64 player server info in LAN tab (by Savander) 2014-08-22 19:59:38 +02:00
def 2cff296c25 Protect from IP spoofing of rcon commands 2014-08-22 13:54:13 +02:00
east bb8076a3ba DemoPlayer: Additional speed meter added 2014-08-22 10:00:48 +02:00
def bdd8e77d46 also show all players for 32 player serves in serverbrowser 2014-08-21 13:57:21 +02:00
def c9d70ed81b Try to fix crash related to bad connection and reconnecting 2014-08-18 23:50:24 +02:00