Commit graph

656 commits

Author SHA1 Message Date
Choupom 7aefbca742 made so we can add the reason for a kick/ban (fixes #123) 2010-10-11 00:31:14 +02:00
oy cd95f1869e added inactive player kicking. Closes #51 2010-10-09 19:14:42 +02:00
oy 85b9c60158 added info in the demo browser by Choupom 2010-10-09 13:27:21 +02:00
oy 3a98f7a048 added mod system. Closes #34 2010-10-06 23:07:35 +02:00
oy a62a7413d1 made linereader work with window line endings. Closes #196 2010-10-01 12:43:44 +02:00
oy 67e9f03f23 when setting a config string variable check if it's a utf8 string and encode it if the check fails. Closes #10 2010-10-01 00:55:16 +02:00
oy c172c24fd1 cleanup old datafile when loading a new one 2010-09-28 12:46:15 +02:00
oy 25ceafaf22 fixed writing datafiles on big-endian systems, added some checks and fixed memory cleanup 2010-09-27 22:35:57 +02:00
oy 4e608965ef use a different name for connecting clients. Closes #192 2010-09-25 20:24:11 +02:00
oy 7e0b37e06c fixed that it checks the current dir for demos too 2010-09-24 13:38:03 +02:00
Kaffeine 21d14b9704 CHuffman::BubbleSort: speedup. 2010-09-24 13:03:05 +02:00
oy 27e6fa3ad7 fixed problems with key handling on osx. Closes #45 2010-09-22 00:40:35 +02:00
oy 35e9c76940 fixed empty names of joining players in the server browser. Closes #176 2010-09-19 16:25:57 +02:00
oy 7714454829 added maximum number of tries for rcon authentication 2010-09-16 13:06:11 +02:00
oy fe9e3f47a8 fixed last commit 2010-09-12 16:56:13 +02:00
Choupom 006fd711b4 made versions system for demos 2010-09-12 16:40:39 +02:00
oy 0c1261620f prevent self kick/ban in the console. Closes #50
and fixed line endings
2010-09-12 13:52:25 +02:00
oy d913af1ab2 renamed demorec files to demo 2010-09-12 12:16:51 +02:00
oy abf74f47f7 fixed wrong output in the ban command and added feedback to the kick command 2010-09-12 12:07:10 +02:00
ghost 3baf522330 added the option to hide the console window on the client, too. Fixes #48 2010-09-07 19:32:33 +02:00
ghost 56c4081da4 Demo name is now showed while playing a demo file 2010-09-07 19:12:11 +02:00
Choupom fcfaa8389f added Remove button in demos browser (#66) 2010-09-05 17:40:51 +02:00
oy 2800832e12 add maps from maps folder to the demo as well and prevent that 0.5 demo players read the new demos 2010-09-05 17:39:55 +02:00
Choupom 0198e51fa3 made demo readable for custom map that user doesn't have (#5) 2010-09-05 16:34:39 +02:00
Choupom 3dd1ea0d8f fixed header and swap sizes in datafiles (may fixes #14) 2010-09-05 14:30:44 +02:00
Choupom 885d695f92 show map name without his folder in server info 2010-09-05 14:11:56 +02:00
oy 18632b7f5f fixed last commit 2010-09-05 14:09:55 +02:00
Choupom 44cf6acc3a fixed so png files are closed after loading 2010-09-05 14:07:07 +02:00
oy 8522cab449 fixed variable types 2010-09-05 14:04:50 +02:00
Choupom 25be8b1be3 fixed so clicking 3 times doesn't generate 2 double-clicks 2010-09-05 13:50:10 +02:00
oy 0f72fd19ef fixed text rendering problem. Closes #12 2010-08-18 00:21:38 +02:00
oy cabecb7fa9 added output level for console print function, categorised the debug messages and merged them into the new functionality. Closes #8 2010-08-18 00:06:00 +02:00
oy abc84ac0b0 added fixes for compiler errors and warnings by sworddragon 2010-08-16 02:21:18 +02:00
oy 678fe76566 reverted input key handling back to 0.52(the keyboard layout problem should be fixed with sdl 1.3 or a customised one). Closes #3. Closes #15. 2010-08-15 20:04:03 +02:00
oy 94b28c8c97 fixed quit/exit command problem on startup 2010-08-15 15:41:04 +02:00
oy 0e36b772d4 fixed line endings in some files 2010-08-15 15:34:55 +02:00
oy 5a237c6f78 fixed utf8 problem with empty entries in the server browser 2010-08-12 19:29:59 +02:00
oy d9a3cc032f updated refactor script and fixed a thing 2010-08-12 19:03:03 +02:00
oy 54f804eda2 fixed bug in servers setclientname 2010-08-12 16:12:25 +02:00
oy f494d344a9 removed some not longer needed stuff 2010-08-12 15:44:11 +02:00
oy 7503c64237 made unpacking of net strings more strict - prevents possible malformed output 2010-08-12 15:22:07 +02:00
oy 1cde96ef79 restore empty strings in the config to their defaults on startup 2010-08-11 00:31:42 +02:00
oy 3797eba179 added demo recording button by fujnky 2010-08-09 14:14:15 +02:00
oy 0a66e0586d fixed a small bug in the ban command 2010-08-07 20:31:36 +02:00
oy ad9b32b741 added the possibility to store commands within the console and execute them later on when everything is initialised correctly - fixes several possible startup crashes and the "Support bans in server configuration"-ticket 2010-08-07 20:22:25 +02:00
oy 3f0ff1fb14 removed ServerDummy function cause it isn't needed anymore(actual console separates client and server commands) and added two missing server commands to the tab completion 2010-08-07 00:01:43 +02:00
oy 3c082b6441 changed the client configuration initialisation 2010-08-06 20:47:45 +02:00
oy 49cefa406b added lost logfile feature 2010-08-06 20:38:13 +02:00
oy 05f3757491 added optimisations by sworddragon 2010-08-05 20:55:51 +02:00
oy 4a365d41b6 added fix for crash when there is no datadir 2010-08-05 20:34:16 +02:00
oy 665205327d added lost datadir override feature 2010-08-05 20:26:03 +02:00
oy 6193f35423 Merge branch 'master' of http://github.com/matricks/teeworlds 2010-07-17 14:10:43 +02:00
Magnus Auvinen 575f72d978 fixed some compiler errors and warnings with clang 2010-07-05 20:57:07 +02:00
oy 31b63e488a fixed connecting to localhost if the client couldn't find the address and small cleanup 2010-07-02 13:15:35 +02:00
oy 29d29df4f0 fixed screenshot bug. Closes #144 2010-06-27 13:12:00 +02:00
oy 9130c91841 fixed entering a private server on a map change without password. Closes #142 2010-06-26 17:59:59 +02:00
oy a5113c6740 added commands to dump the output of the consoles into a file 2010-06-20 14:12:59 +02:00
oy ea64b0d7b3 made the console use the flagmask when looking for command (FindCommand) and removed double "No such command" console message 2010-06-18 20:32:52 +02:00
oy a5bc567e84 fixed a server register issue 2010-06-13 19:34:14 +02:00
xalduin 6e1eaa96ec Fixed issue #115, text now fits into columns in server browser 2010-06-10 20:38:04 +08:00
xalduin dc3feaf42c Fixed remaining compiler warnings for gcc on Linux 2010-06-10 20:38:03 +08:00
xalduin be5e19d2bd Fixed some compiler warnings 2010-06-09 20:41:00 +08:00
oy 1c041c44a4 made unban command work with the banlist index. Closes #102 2010-06-07 14:12:06 +02:00
oy 2104835d77 update server info for connected clients if map or gametype changes. Closes #108 2010-06-07 13:34:47 +02:00
oy a41d930a85 fixed some compiler warnings. Closes #76 2010-06-06 17:16:52 +02:00
Magnus Auvinen 7d03e70d1e Merge remote branch 'choupom/master' 2010-06-06 14:53:55 +02:00
Magnus Auvinen 442e6e1431 fixed issue when using +commands in the console 2010-06-06 14:31:16 +02:00
Choupom 747d972d38 fixed so we can run a map which is in a folder 2010-06-05 10:44:50 +02:00
xalduin a563c2f322 Issue #82 time and date in screenshot filename 2010-06-03 22:32:42 +02:00
SushiTee 0115161463 mergend stuff 2010-06-03 15:21:12 +02:00
oy 5988b9d388 - show connecting players with rcon status command
- make it possible to limit the number of clients with the same ip that can connect to the server
2010-06-03 14:48:32 +02:00
SushiTee c37335b115 shortened IsAuthed a bit 2010-06-02 21:33:19 +02:00
NoxNebula dd19074deb Admin-Kick-Protection
Add IsAuthed(int ClientID); function.
Add kickprotection for admins (Remote Console logged in players)
Add Anti-Self-Kick (minor)
2010-06-03 03:27:34 +08:00
NoxNebula 9a5a19e7c7 Admin-Kick-Protection
Add IsAuthed(int ClientID); function.
Add kickprotection for admins (Remote Console logged in players)
Add Anti-Self-Kick (minor)
2010-06-02 09:40:08 +02:00
Magnus Auvinen b851bc8799 fixed so that SDL_main is declared as a C function so linking gets done correctly 2010-06-02 04:09:39 +08:00
Magnus Auvinen b12ae69fee fixed compile errors for osx 2010-06-02 04:00:05 +08:00
Magnus Auvinen 61fdee3367 fixed so that SDL_main is declared as a C function so linking gets done correctly 2010-06-01 21:59:04 +02:00
Magnus Auvinen f8d69b2fe6 fixed compile errors for osx 2010-06-01 21:55:08 +02:00
Tom Adams 30987c2040 removed alpha values from screenshots (#742) 2010-05-31 20:44:45 +00:00
Thomas 361380d630 *some esthetic changes
*split "CHud::RenderGoals()"
*added "reload" command
*added the ability to show last chat lines (+show_chat)
*updated french.txt
2010-05-30 12:01:11 +00:00
Tom Adams 47b68170ad auto capture mouse on focus (#728) 2010-05-30 01:00:17 +00:00
Magnus Auvinen f41fa4baba cleaned up some code 2010-05-29 11:23:06 +00:00
Magnus Auvinen d0e0d5b043 cleaned up some comments 2010-05-29 11:21:39 +00:00
Magnus Auvinen 6ff27c56e8 fixed crash with related to player count 2010-05-29 11:12:52 +00:00
Magnus Auvinen 72c06a2589 copied refactor to trunk 2010-05-29 07:25:38 +00:00
Magnus Auvinen e56feb597b added missing headers 2009-10-29 12:14:31 +00:00
Magnus Auvinen 878ede3080 major update with stuff 2009-10-27 14:38:53 +00:00
Magnus Auvinen 7b68ff4277 fixed chaining of console commands, allows snatching updates of console variables. cleaned up some code 2009-06-15 14:01:36 +00:00
Magnus Auvinen 57b2c49d57 fixed so that the demo player doesn't crash when the map isn't found 2009-06-15 13:16:33 +00:00
Magnus Auvinen feade98dae fixed so server stops recording when changing map 2009-06-15 13:04:34 +00:00
Magnus Auvinen f817cb2319 fixed crashing of server side demos due to client_entergame() being processed 2009-06-15 12:40:12 +00:00
Magnus Auvinen c2f8d0e07a minor cleanup of out commented clode 2009-06-13 08:25:50 +00:00
Magnus Auvinen 69511102de improved the font system even futher. utf8 is now used everywhere. it uses less memory as well 2009-06-13 08:22:37 +00:00
Magnus Auvinen 9254ca61f1 fixed utf8 support 2009-06-07 16:06:03 +00:00
Magnus Auvinen cdc5f26900 new font rendering system using freetype2. only compiles under linux for now 2009-06-07 14:36:54 +00:00
Magnus Auvinen 4bb1df3189 moved 0.5 branch to trunk 2009-05-31 09:44:20 +00:00
Magnus Auvinen 9d3fd4a282 continued work on prediction and game timer 2009-01-24 14:32:12 +00:00
Alfred Eriksson 82f9be8ce0 added help messages for all commands. added syntax in the help msg 2009-01-24 14:10:26 +00:00
Magnus Auvinen 91e337c7ab added ping spike detection 2009-01-24 14:08:09 +00:00
Magnus Auvinen 5f186c8906 fixed so the console show help for each command. not all commands have descriptions however 2009-01-24 13:12:04 +00:00
Magnus Auvinen 2ea3023410 fixed bug in text rendering 2009-01-24 12:29:36 +00:00
Magnus Auvinen 9d51d47cea added tab completion to the console. works for local and remote 2009-01-24 12:16:02 +00:00
Magnus Auvinen 2fc86642ef moved refreshing of masters in the client from the server browsers to before we load so we refresh while we are loading 2009-01-24 10:52:45 +00:00
Magnus Auvinen cfe5bd8547 reduced maximum masters from 16 to 4 to make the master server refresh cycle faster 2009-01-24 10:51:50 +00:00
Magnus Auvinen 6696359a28 fixed so that the client connect command works when passed as an argument 2009-01-24 10:46:38 +00:00
Magnus Auvinen bb73314651 removed old debug spam 2009-01-22 23:29:03 +00:00
Magnus Auvinen 6a1766f8ce fixed mouse buttons that I kinda fucked up 2009-01-21 23:12:56 +00:00
Magnus Auvinen 61ed16ec64 cleaned up mouse input a bit 2009-01-21 22:25:28 +00:00
Magnus Auvinen d3f5340a97 added support for mouse buttons 4-8 2009-01-21 21:52:51 +00:00
Magnus Auvinen 29ca9dfb3a stop recording on map load 2009-01-21 21:21:54 +00:00
Magnus Auvinen 0c9dfd81fd fixed vsync option 2009-01-21 20:55:07 +00:00
Alfred Eriksson 4c4d28fd25 added snd_buffer_size 2009-01-21 19:21:26 +00:00
Magnus Auvinen f0760ac0d3 improved crapnet so it changes between different ping configurations. improved the game timer 2009-01-21 19:12:09 +00:00
Magnus Auvinen 24899a13e8 improved the prediction timer to handle crappy connections better 2009-01-21 00:05:07 +00:00
Magnus Auvinen 30695c09a8 increased the number of snapshots the server will hold from 1 second to 3 2009-01-21 00:01:49 +00:00
Magnus Auvinen 013df7ca24 fixed bug that can cause a connection to spam packets 2009-01-18 21:49:03 +00:00
Joel de Vahl 2d8c4a61b6 ppc sound fix 2009-01-13 19:16:58 +00:00
Magnus Auvinen c491d1c537 fixed perma banning and that input timing shouldn't be vital packets 2009-01-13 18:24:42 +00:00
Alfred Eriksson 5141ddac4d refreshing the server info when loading 2009-01-12 14:03:19 +00:00
Magnus Auvinen 5fc2d8fcf8 removed some debug spam in the demo player 2009-01-11 15:22:17 +00:00
Magnus Auvinen d0bcf50ef5 fixed fsaa sampling and reduction of fsaa if gfx init fails 2009-01-11 12:13:18 +00:00
Joel de Vahl 2a7402dd6c use dmg for osx deliver, build universal binary, fix backspace being entered as a character 2009-01-11 12:10:30 +00:00
Alfred Eriksson 39a12060d6 removed the tuning filtering and warning. modded servers can use tuning for free. added pure server checking - ctf, dm and tdm gametypes are not allowed to have different tuning. 2009-01-11 10:40:14 +00:00
Magnus Auvinen 0f41c47996 fixed so the current server info doesn't update the server list causing problems 2009-01-11 09:26:14 +00:00
Magnus Auvinen 3729f4cbf3 fixed error that occurs when you try to free the invalid texture texture 2009-01-10 18:34:27 +00:00
Magnus Auvinen 39370635cc fixed a few debug messages that spammed a bit too much 2009-01-10 12:27:15 +00:00
Magnus Auvinen 6eefa58b52 fixed resending algorithm 2009-01-10 11:48:24 +00:00
Magnus Auvinen 599708824f removed input timing from the snapshot messages and put them in a separate message so we don't loose them if the input were late 2009-01-10 10:49:17 +00:00
Magnus Auvinen b42eb55794 finished the ban support 2009-01-10 10:27:25 +00:00
Magnus Auvinen 8ec0bdc509 improved the demo players scrubbing capabilities 2008-12-19 12:00:05 +00:00
Magnus Auvinen cc576906a3 improved the demo players scrubbing capabilities 2008-12-19 11:59:58 +00:00
Magnus Auvinen 530dace4c9 fixed the demo recorder so it padds the data to 4 byte alignment so the compression works like it should 2008-12-19 11:23:31 +00:00
Magnus Auvinen a6c8eb642b added missing function in network header 2008-12-19 08:27:20 +00:00
Alfred Eriksson 557636dca3 reset error_string when starting demo playback 2008-12-08 18:12:54 +00:00
Magnus Auvinen 4004d13b48 applied patch from Richie Nyhus to convert CRLF to LF, as it should be 2008-11-29 06:39:22 +00:00
Alfred Eriksson e294ca61d9 added rcon_auth command to auth 2008-11-23 09:24:52 +00:00
Alfred Eriksson 2e63ef3299 stops recording when client switches state 2008-11-17 16:13:12 +00:00
Alfred Eriksson 4b053322f3 client can only start a recording when in the game 2008-11-17 16:08:24 +00:00
Alfred Eriksson 51314e4576 fixed window positioning for windows 2008-11-16 16:09:00 +00:00
Magnus Auvinen e27e2d8b2a fixed server side demo recording and some possible crashes with incorrect demos 2008-11-16 13:58:27 +00:00
Alfred Eriksson 17fc1c2ba4 window resizing disabled by default 2008-11-16 10:29:32 +00:00
Magnus Auvinen 8acf5ed788 upgraded the master server code so it can handle more servers 2008-11-15 13:29:56 +00:00
Alfred Eriksson 1d3971f217 forgot some code 2008-11-11 17:24:39 +00:00
Alfred Eriksson 66bd7b81d9 fixed server side demo recording filename 2008-11-11 17:22:22 +00:00
Alfred Eriksson c54c9a1e5c gfx_get_video_modes now returns the right number of modes 2008-11-08 15:44:22 +00:00
Magnus Auvinen aee14baf8d fixed the favorite button in the server info 2008-11-08 12:58:39 +00:00
Magnus Auvinen 4fa7806009 fixed so that downloadedmaps directory is created 2008-11-08 10:25:53 +00:00
Magnus Auvinen d3d2fb2c0b fixed separate directory for downloaded maps 2008-11-08 08:54:54 +00:00
Magnus Auvinen d113cd901c added gfx init fallbacks that disables some troubling gfx options 2008-11-08 08:44:39 +00:00
Magnus Auvinen 19ec7319a5 added no_gfx option 2008-11-08 08:30:20 +00:00