Commit graph

1798 commits

Author SHA1 Message Date
def a77cd039a6 Get rid of all Clang warnings 2015-04-18 22:29:28 +02:00
def 0ffa79671b Get rid of all GCC warnings 2015-04-18 21:33:51 +02:00
def 710a786f88 Rename AutoUpdater to Updater because you have to press a button now 2015-04-18 21:17:27 +02:00
def aead2631b6 Fix os_compare_version a bit 2015-04-18 16:23:43 +02:00
Learath Lea df57a981de Add os_compare_version. Check for WinXP. 2015-04-18 15:53:11 +03:00
def b55bf7ef90 Try to add back WinXP compatibility for autoupdater (untested) 2015-04-18 13:42:56 +02:00
def cea6fef24f Hack to disallow admins to enable /r after server was started 2015-04-17 11:24:28 +02:00
def 3992b1346b Hopefully fix compilation on new OS X systems
Names collided with some new OS X defined names, fixes #189
2015-04-07 19:07:38 +02:00
def 3c496c62e1 Rename gfx_quads_as_triangles to gfx_quad_as_triangle and set default to 1 2015-03-31 16:41:51 +02:00
BeaR 2d3202862b Change the way quads are split into triangle splits (conform with intel/nvidia drivers) 2015-03-31 16:18:49 +02:00
BeaR 462d88eac4 Reduce amount of drawcalls when using triangles instead of quads 2015-03-31 13:35:18 +02:00
Learath Lea 1839025732 Do call the callback even if it fails 2015-03-29 00:46:43 +02:00
Learath Lea 0024a4370c Catch an IO error 2015-03-29 00:41:58 +02:00
def 04c64a1794 Don't ask to autoupdate if we're on a newer version already 2015-03-15 01:09:34 +01:00
def d835826461 Use proper path for autoupdater on *nix 2015-03-14 20:01:18 +01:00
def 8ae27f81b6 Improve autoupdater a bit
- Only ask for restart when we're ingame or unsaved changes in editor
- Otherwise restart directly
2015-03-14 16:10:46 +01:00
def 6af7510cc5 Some more compilability 2015-03-14 11:31:06 +01:00
def 0fd857b410 Compiling on Android 2015-03-14 11:29:20 +01:00
def ba4f961594 Some more autoupdater changes and a button to check for autoupdates 2015-03-14 10:45:11 +01:00
def 8a5fda61d5 Remove unused "Ignored" parts 2015-03-13 22:33:48 +01:00
Learath Lea a164458f70 Add a messag for last file too 2015-03-13 21:27:37 +02:00
Learath Lea b75a756367 Don't get stuck on a manifest fail. 2015-03-13 21:18:00 +02:00
Learath Lea 1f34ed6740 Call the completion callback even on a fail. 2015-03-13 21:17:23 +02:00
def aa4453da40 Fix autoupdate to show download bar again 2015-03-13 16:27:57 +01:00
def 381b4512fb Fix segfault with demo cutting (fixes #140) 2015-03-13 15:48:30 +01:00
def f893ed6ec4 Fix and clean up autoupdater 2015-03-13 15:14:00 +01:00
Dennis Felsing 07497523b4 Merge pull request #152 from cinaera/pr_demo
Fix bug when reading reading chunks with a tick delta of 0
2015-03-11 17:55:51 +01:00
BeaR 723bf0f6dc Restore compatibility with older demo versions 2015-03-11 17:52:18 +01:00
Dennis Felsing e692fe9ba3 Merge pull request #163 from Learath2/pr_autoupdate
Fix couple of stuff with Autoupdate
2015-03-08 18:54:53 +01:00
Learath Lea a4d16a2713 Fix bug with replacing executables. 2015-03-08 19:45:37 +02:00
eeeee 0dc332c931 fix timeout protection with tokens
timeout protection code now transfers the token properly
2015-03-05 22:33:01 -08:00
heinrich5991 fa0708b99d Make the secure random stuff platform-independent 2015-03-06 01:35:08 +01:00
eeeee 85acfd9d77 added security token to protocol
to prevent packet injection from spoofed source ips
2015-03-05 11:07:03 -08:00
Dennis Felsing b46001ca5a Merge pull request #154 from Learath2/pr_autoupdate
[Testing]Autoupdate
2015-03-05 19:17:33 +01:00
fisted 68e30c29b3 added free md5 implementation w/o deps 2015-03-05 00:13:48 -08:00
Learath Lea 7e22c77184 Fix small bugs. Update the server executable too.
Conform to fetcher interface.
2015-02-27 23:09:04 +02:00
Learath Lea 488db9b4fb Can't autoupdate on OSX and Android. 2015-02-27 23:08:34 +02:00
Learath Lea 8ee294a412 Fix use after free. Fix thread launching. 2015-02-27 23:06:19 +02:00
Learath Lea 422e726dce Fix two little bugs 2015-02-23 20:25:38 +02:00
Learath Lea 0f279a33cb Add restart functionality. 2015-02-23 20:25:03 +02:00
Learath Lea cf418160b6 Made the user interface functional. 2015-02-23 20:24:27 +02:00
Learath Lea 233ce262ac Add Autoupdate. 2015-02-23 20:23:56 +02:00
Learath 09ce649238 First get rid of the old autoupdate
Conflicts:
	src/engine/client/client.cpp
	src/engine/client/client.h

Conflicts:
	src/engine/shared/config_variables.h
2015-02-23 20:23:35 +02:00
BeaR 6364e3e176 Fix bug when reading reading chunks with a tick delta of 0
* Remove magic value '63'
* Add flag for chunks where the tick value is stored on the first chunk along the flags
* Correctly read chunks with tick values smaller then the tick mask
2015-02-23 14:26:10 +01:00
Tobii b309fd41eb Added copy moves function for dummy 2015-02-16 11:19:42 +01:00
Learath Lea 62a35bfb81 Escape the filenames. 2015-02-12 19:58:54 +02:00
def 2b32b4a18a Add fire delay tunings 2015-02-12 15:20:22 +01:00
def 62a1a36fa2 Cleanup 2015-02-12 15:04:45 +01:00
eeeee 56c42c3c31 websockets support in server 2015-02-08 19:11:34 -08:00
eeeee 5971c1cb68 added libwebsockets source code 2015-02-08 18:31:30 -08:00
def dd3fae069b Cleanup 2015-02-08 21:18:24 +01:00
Learath Lea ec84bb890b Actually use the storagetype we passed. 2015-02-08 11:53:06 +02:00
Learath Lea 142c386cd6 Remove obsolete function prototype. 2015-02-08 11:52:47 +02:00
def 8da8abdeaa No more verbose curl output 2015-02-05 19:41:48 +01:00
Dennis Felsing 99f2adc29b Merge pull request #139 from Learath2/pr_FixOverflow
Fix progress bar overflow and Abort segfault
2015-01-28 18:45:15 +01:00
Learath Lea c4ab42333d Make sure the old object is deleted 2015-01-28 14:17:39 +02:00
Learath Lea ace7e8208a Fix a segfault when aborting a download 2015-01-28 14:13:56 +02:00
Learath Lea 2d61e7610e Fix the progressbar overflow 2015-01-28 13:57:11 +02:00
def 499adf3cdb HTTP instead of HTTPs 2015-01-27 23:14:04 +01:00
def 0df35a990c Remove spoof protection, interacts badly with HTTP download 2015-01-27 23:13:47 +01:00
def c65458ca06 Fix compilation on MSVC (by coffee) (fixes #138) 2015-01-20 13:46:26 +01:00
def 3aa4a613b6 Make the option to disable http download work (thanks Learath2) 2015-01-20 00:26:09 +01:00
def 3b0a52319b Typo 2015-01-20 00:21:38 +01:00
def 3d686a223f Add an option to disable http map download (not working yet) 2015-01-20 00:21:28 +01:00
Dennis Felsing b6c07e40d2 Merge pull request #137 from Learath2/pr_FollowRedirect
Follow 3xx Redirects
2015-01-20 00:05:33 +01:00
Learath Lea 6b354475ce Follow 3xx Redirects 2015-01-20 01:01:35 +02:00
Dennis Felsing 554342eb3f Merge pull request #136 from Learath2/pr_CrcFail
Fix for the crc fail fallback.
2015-01-19 23:56:40 +01:00
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