Commit graph

227 commits

Author SHA1 Message Date
heinrich5991 1d81d56850 Introduce new, vanilla-compatible server info protocol
This means that we have a reliable and fast way to query for extended info,
while also not wasting network bandwidth.

The protocol is designed to be extensible, there's four bytes space for
encoding more request types (currently zeroed), and there's one string in each
response packet and one string for each player available (currently the empty
string).

The protocol itself has no problems with more than 64 players, although the
current client implementation will drop the player info after the 64th player,
because it uses a static array for storage.

Also fixes #130, the player list is just sorted each time new player info
arrives.
2017-03-29 12:56:13 +02:00
Learath2 d3bf89d7d3 Handle double click on server browser correctly. Fixes #597 2017-03-22 23:14:09 +01:00
necropotame b8e4e5beea Fix style in several places 2017-03-22 19:45:14 +01:00
def aff85462aa Update messages a bit 2016-05-20 18:36:32 +02:00
Tim Schumacher aeadffa585 calculate type height in ddnet browser type filter 2016-05-15 10:19:15 +02:00
Dennis Felsing f016a0eb1f Merge pull request #436 from timakro/pr_other_gametype_entities_clear
added entities clear for other gametypes
2016-04-30 20:28:27 +02:00
def 4761608329 Input fixes from TW master for mouse wheel 2016-04-30 20:11:26 +02:00
def 644fec7e55 Resize window without restarting client 2016-04-30 17:59:58 +02:00
def 2e0ca0f4b4 Fix SDL2 compilation 2016-04-29 21:58:24 +02:00
def 97743b8e70 Also ctrl-r to refresh and in demo browser as well 2016-04-29 20:39:25 +02:00
Tim Schumacher 4a22e762ff added entities clear for other gametypes 2016-04-29 19:29:19 +02:00
def d3a411afa6 Key up/down only change selected server, not friend list 2016-04-27 20:26:33 +02:00
def dc162d02fc F5 to refresh server browser 2016-04-27 20:17:10 +02:00
Tim Schumacher 94f3da4a47 removed localize for search symbol 2016-02-12 21:31:58 +01:00
def 96f2a380f6 Get rid of warning 2015-09-05 04:52:18 +02:00
def 1ed044fe0d Fix up and down keys in server browser 2015-08-27 16:42:21 +02:00
east da17b795c5 progress on column listbox 2015-08-27 15:05:24 +02:00
Chairn f3a82b0c98 Fixed double clicking on friend when friend was on top server. 2015-08-14 19:25:45 +02:00
def d570683b5a TAB in console doesn't influence menu (fixes #239) 2015-07-24 01:28:19 +02:00
def 6e8ada1ac8 Fix whitespaces a bit 2015-07-09 02:12:35 +02:00
timgame 4e33c394b9 improved german language 2015-06-30 18:57:39 +02:00
def 063be1f12e Make TAB always work in serverbrowser 2015-06-28 15:43:34 +02:00
def f6c3586d02 Fix serverbrowser on Android 2015-06-22 02:49:23 +02:00
def 3cedbd5061 Revert "Add key binding for R to refresh serverbrowser"
This reverts commit db60bf6527.
2015-05-12 23:28:10 +02:00
def db60bf6527 Add key binding for R to refresh serverbrowser 2015-05-11 21:57:11 +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 a852e0da79 Fix spacing in browser menu search 2015-03-22 19:21:41 +01:00
def 4965da940d Fix shift+tab in server browser 2015-03-14 17:30:13 +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 ba4f961594 Some more autoupdater changes and a button to check for autoupdates 2015-03-14 10:45:11 +01:00
Learath Lea 6289d174ba Fix graphical glitch with progressbar. 2015-03-14 11:09:04 +02:00
Learath Lea eb107a8f22 Don't remove the current version. 2015-03-14 10:54:37 +02:00
def 8a5fda61d5 Remove unused "Ignored" parts 2015-03-13 22:33:48 +01:00
def 838f0f57f4 Update instead of Yes/No 2015-03-13 21:37:25 +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
def f893ed6ec4 Fix and clean up autoupdater 2015-03-13 15:14:00 +01:00
def ec3c43faec TAB key in server browser swtiches between Filter, Info, Friends 2015-03-12 11:28:09 +01:00
Learath Lea 1f4ddfe0ba Add some indication that the update is happening.
Prevent unexpected restart.
2015-03-08 19:51:13 +02:00
Learath Lea 488db9b4fb Can't autoupdate on OSX and Android. 2015-02-27 23:08:34 +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 1ea1e68005 Ui side of autoupdate. 2015-02-23 20:23:48 +02:00
def 6048e635c9 Fix friend display when clan doesn't match 2014-12-25 00:38:05 +01:00
def ebf331febb Show the function of search and exclusion edit boxes when empty (Suggestion by Saavik) 2014-12-24 03:38:40 +01:00
def a44773e455 "Reset filter" also resets exclusion lists 2014-12-21 18:40:00 +01:00
def f397838741 Browser: Flexible map column size 2014-12-15 21:24:04 +01:00
def 936b32ec48 Remove "pure" exclamation mark in browser 2014-12-15 20:58:33 +01:00
def ad50badc05 Remove colorization options from server filter 2014-12-14 16:55:10 +01:00
def 8d945fe968 Exclude DDNet servery by type 2014-12-14 16:45:18 +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 8c07ae19a1 Allow for more than 9 DDNet locations 2014-11-21 14:11:04 +01:00
def d6aea5ba40 Prepare DDNet gametype name 2014-09-20 13:48:59 +02:00
def 684ad0b890 Ingame DDNet menu 2014-09-20 13:41:20 +02:00
east c4fc429e99 small cleanup 2014-09-20 11:47:51 +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 e732008157 DDNet serverlist added 2014-09-13 16:36:25 +02:00
def c5b36f8038 Minor textual changes in client 2014-07-09 21:59:03 +02:00
def e6bcb528cd Cleanup 2014-06-27 10:13:57 +02:00
def 7875c2ec36 Android support (by Pelya) 2014-06-16 13:29:18 +02:00
def d57634792d Add ping and gametype colorization (Thanks to NooBxGockeL and Gamerclient) 2014-05-03 17:24:34 +02:00
def db0410c443 Add SPEC info to serverbrowser 2014-02-19 14:24:26 +01:00
def 57889d5fbc Also show proper times in Serverbrowser 2014-01-24 22:09:52 +01:00
def 6d0bceda6b Fix: Friend selection in server browser 2014-01-16 00:46:13 +01:00
def 31629b15c1 DDNet Version notice 2014-01-14 23:13:17 +01:00
def 9e4114f27d Better 64 player search 2014-01-14 21:40:55 +01:00
def 9de10f9e91 Also show temporary results while server browser is loading 2014-01-14 20:58:47 +01:00
def 188635162e 64 Player Filter Button 2014-01-11 21:38:50 +01:00
def ef65abfe35 Fix scrolling lists in menus 2014-01-10 12:22:48 +01:00
def 52e83313c8 64 players in server browse 2014-01-08 06:15:56 +01:00
def 3eaad43b6b Merge remote-tracking branch 'upstream-teeworlds/0.6' into DDRace
Conflicts:
	bam.lua
	data/languages/index.txt
	src/engine/server/server.cpp
	src/engine/shared/network_server.cpp
	src/game/client/components/chat.cpp
	src/game/client/components/menus_settings.cpp
	src/game/server/entities/character.cpp
	src/game/server/gamecontext.cpp
	src/game/version.h
2013-12-26 18:02:22 +01:00
oy b2a9e98bf4 fixed client crash on removing friends. Closes #1077 2013-03-16 16:03:38 +01:00
oy 0bce750a33 count spectators in the server browser when 'count players only'-filter is disabled 2013-02-24 17:33:37 +01:00
GreYFoX cd4ba53bae Merge branch 'master' of git://github.com/teeworlds/teeworlds into DDRace
Conflicts:
	bam.lua
	scripts/build.py
	scripts/make_release.py
	src/engine/server.h
	src/game/client/gameclient.cpp
	src/game/server/gamecontext.cpp
	src/game/server/gamecontext.h
	src/game/server/gamecontroller.cpp
	src/game/server/gamecontroller.h
	src/game/server/player.cpp
	src/game/version.h
2012-04-12 02:09:31 +02:00
oy e960cbdff3 added a config to display the code string of a country flag instead of the image. Closes #897 2012-01-08 18:16:38 +01:00
GreYFoX de4a95c5d2 Merge branch 'master' of git://github.com/oy/teeworlds into DDRace0611 2011-08-20 06:50:06 +02:00
GreYFoX 5b27758650 Removed level stuff
Removed client ID stuff
Removed console stuff
Resolved merge conflicts
Upgraded Banmaster
Cleaned up
2011-08-13 02:11:06 +02:00
GreYFoX 35d16bd58c Merge branch 'master' of git://github.com/oy/teeworlds into DDRace0611
Conflicts:
	src/engine/console.h
	src/engine/server.h
	src/engine/server/server.cpp
	src/engine/shared/config_variables.h
	src/engine/shared/console.cpp
	src/engine/shared/console.h
	src/engine/shared/network_server.cpp
	src/game/client/components/console.cpp
	src/game/client/components/console.h
	src/game/client/components/menus_browser.cpp
	src/game/client/gameclient.cpp
	src/game/editor/editor.cpp
	src/game/editor/editor.h
	src/game/editor/io.cpp
	src/game/editor/layer_tiles.cpp
	src/game/editor/popups.cpp
	src/game/gamecore.cpp
	src/game/mapitems.h
	src/game/server/entities/character.cpp
	src/game/server/entities/laser.cpp
	src/game/server/gamecontext.cpp
	src/game/server/gamecontroller.cpp
	src/game/server/gamecontroller.h
	src/game/server/gamemodes/ctf.cpp
	src/game/server/player.cpp
	src/game/variables.h
2011-08-13 02:01:40 +02:00
Shereef Marzouk c6fd4a2cc5 General whitespace and tab cleanup 2011-08-11 10:59:14 +02:00
oy 20fbe2f92c fixed that player friends are marked as online in the friends list if they match a clan friend 2011-07-05 23:23:33 +02:00
Choupom 4a5c13d1de fixed so Reset Filter button resets all filters 2011-07-02 19:23:36 +02:00
oy 123eab41c8 made it possible to filter by player country in the server browser. Closes #654 2011-06-29 22:27:32 +02:00
oy fb309436b4 improved friends feature 2011-06-26 17:10:13 +02:00
GreYFoX eb70e55ead Merge branch 'master' of git://github.com/oy/teeworlds 2011-05-17 09:00:25 +02:00
PsychoGod 210d98666c Scroll fix, protect scrolling 2 windows at the same time 2011-05-17 01:15:54 +02:00
GreYFoX cc63cf2553 Merge branch 'master' of git://github.com/oy/teeworlds
Conflicts:
	src/engine/external/pnglite/pnglite.c
	src/engine/external/pnglite/pnglite.h
	src/engine/shared/config_variables.h
	src/game/client/components/menus_browser.cpp
	src/game/server/entities/character.cpp
	src/game/server/entities/laser.cpp
	src/game/server/gamecontext.cpp
	src/game/server/player.cpp
	src/game/version.h
2011-05-09 18:36:13 +02:00
heinrich5991 9fb36fd802 added strict game type filter 2011-05-02 19:25:38 +02:00
oy 246cbed786 colorized background of entries in the server browser scoreboard so it's more obvious what belongs together 2011-04-16 18:55:36 +02:00
GreYFoX c6ca0fd6b0 Fixed Reset Filter 2011-04-15 06:40:42 +02:00
GreYFoX 0df6d0541f Merge branch 'master' of git://github.com/oy/teeworlds into HEAD
Conflicts:
	bam.lua
	src/engine/console.h
	src/engine/server.h
	src/engine/server/server.cpp
	src/engine/shared/config.h
	src/engine/shared/config_variables.h
	src/engine/shared/console.cpp
	src/engine/shared/console.h
	src/game/client/components/binds.cpp
	src/game/client/components/chat.h
	src/game/client/components/console.cpp
	src/game/client/components/console.h
	src/game/client/components/controls.cpp
	src/game/client/components/emoticon.h
	src/game/client/components/maplayers.cpp
	src/game/client/components/menus.h
	src/game/client/components/scoreboard.h
	src/game/client/components/spectator.h
	src/game/client/components/voting.h
	src/game/client/gameclient.cpp
	src/game/client/gameclient.h
	src/game/client/render.h
	src/game/collision.cpp
	src/game/editor/ed_layer_tiles.cpp
	src/game/gamecore.cpp
	src/game/gamecore.h
	src/game/layers.cpp
	src/game/layers.h
	src/game/mapitems.h
	src/game/server/entities/character.cpp
	src/game/server/entities/laser.cpp
	src/game/server/entities/laser.h
	src/game/server/entities/pickup.cpp
	src/game/server/entities/pickup.h
	src/game/server/entities/projectile.cpp
	src/game/server/gamecontext.cpp
	src/game/server/gamecontroller.cpp
	src/game/server/gamecontroller.h
	src/game/server/gameworld.cpp
	src/game/server/gameworld.h
	src/game/server/player.cpp
	src/game/variables.h
2011-04-14 01:27:49 +02:00
oy 06115dd49d added "Whitespace and line Endings cleanup" by GreYFoX 2011-04-13 20:37:12 +02:00
GreYFoX aaac8a3f77 Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/game/version.h
2011-04-09 22:33:06 +02:00
GreYFoX f7f6058a92 Merged Oy, Cleaned up, removed some useless features and code parts
Added Icon by landil
alot more...
2011-04-09 22:32:17 +02:00
oy caf1a9f912 made translations ready for 0.6 release and added fixed friends/mute icons 2011-04-09 18:08:11 +02:00
oy 5c6e274a88 added more and resized flags by Crises and made them show up smaller and less of an eye-catcher. Closes #566 2011-04-04 20:37:12 +02:00
oy a6fced3d3a made new version notification show up in red colour 2011-04-01 18:06:59 +02:00
oy ae325c873f added friends feature. Closes #24 2011-03-23 13:06:35 +01:00