Commit graph

971 commits

Author SHA1 Message Date
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
GreYFoXGTi 01cc3f4d68 Merge branch 'master' of http://github.com/oy/teeworlds
and fixed Conflicts:
	src/engine/server/register.h
	src/game/server/gamemodes/mod.cpp

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-08-15 20:46:02 +03:00
btd bbd48810ad Merge branch 'master' of http://github.com/oy/teeworlds 2010-08-15 19:20:39 +04:00
oy 0e36b772d4 fixed line endings in some files 2010-08-15 15:34:55 +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 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
GreYFoXGTi 60b5acbb15 Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/engine/server/server.cpp
	src/engine/shared/console.cpp
	src/engine/shared/storage.cpp
	src/game/server/gamecontext.cpp
Alterations:
	src/engine/shared/console.h  | made StoreCommands(,)take also the client id
	src/engine/console.h  | made StoreCommands(,)take also the client id

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-08-09 17:54:42 +03:00
btd 227c03cbb1 Fix mistake 2010-08-07 22:49:57 +04: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
btd 84cf23203d Revert storage.h 2010-08-07 12:02:58 +04:00
oy 49cefa406b added lost logfile feature 2010-08-06 20:38:13 +02:00
oy 665205327d added lost datadir override feature 2010-08-05 20:26:03 +02:00
btd 7f65d880f3 Fix external records 2010-07-31 15:04:19 +04:00
btd 37b0f43d1c Fix strange 0 pointer bug. (very strange bug) 2010-07-31 00:16:36 +04:00
btd c280e5c5b4 Fix ban 2010-07-30 21:20:58 +04:00
btd 9c052398f4 Last changes added. All fixed. Server builded.
Need many test before release.

Signed-off-by: btd <bardadymchik@gmail.com>
2010-07-30 16:50:09 +04:00
btd 7f42b6225b To the last DDRace. Need a lot fix 2010-07-29 23:55:33 +04:00
GreYFoXGTi 0a9dc07d0c Fixes Issue #5
Changed /info
Fixed anti-rainbowmod

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-07-29 17:54:04 +03:00
GreYFoXGTi a8d1c536af re-enabled the DDRace ip count check, then found it's useless tw trunk has it's own
fixed ip 0.0.0.0 showing for the rest of the notifications in server.cpp

Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-07-29 13:09:25 +03:00
GreYFoXGTi 7b5df1e1d3 Fixed Client authentication with blank password
Signed-off-by: GreYFoXGTi <GreYFoXGTi@Gmail.com>
2010-07-29 12:15:55 +03:00
GreYFoXGTi 434b4aad86 The Porting of DDRace-Beta to trunk by [BlackTee] den Maps with one and two layer works properly. Laser works. Fix second game layer Re-added logs Readded the rcon commands addvote and scoring system and time Fixed Weapons
Signed-off-by: btd <bardadymchik@gmail.com>
2010-07-29 08:59:32 +03: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 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 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
Choupom 747d972d38 fixed so we can run a map which is in a folder 2010-06-05 10:44:50 +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
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
Magnus Auvinen 72c06a2589 copied refactor to trunk 2010-05-29 07:25:38 +00:00
Magnus Auvinen 878ede3080 major update with stuff 2009-10-27 14:38:53 +00:00
Magnus Auvinen feade98dae fixed so server stops recording when changing map 2009-06-15 13:04:34 +00:00
Magnus Auvinen 4bb1df3189 moved 0.5 branch to trunk 2009-05-31 09:44:20 +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 9d51d47cea added tab completion to the console. works for local and remote 2009-01-24 12:16:02 +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 c491d1c537 fixed perma banning and that input timing shouldn't be vital packets 2009-01-13 18:24:42 +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 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 e27e2d8b2a fixed server side demo recording and some possible crashes with incorrect demos 2008-11-16 13:58:27 +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
Jack Coulter 2d065c3fdf Fixed mispelling in the error given when the server port isn't forwarded 2008-10-21 18:15:21 +00:00
Magnus Auvinen 9acb3e5e71 continued on ban support. cleaned up settings a bit. reworked the datadir autodetection. introduced engine_openfile, engine_getpath and engine_listdir. never use fs_listdir or io_open directly 2008-10-21 18:05:06 +00:00
Magnus Auvinen 164d9c637d improved network logging 2008-10-19 17:21:04 +00:00
Magnus Auvinen a91fecae92 fixed fetching of server info and corrected some spelling errors 2008-10-17 21:16:23 +00:00
Dominik Geyer 70d7cb773c added ip to (dis)connect debug messages 2008-10-17 14:27:23 +00:00
Magnus Auvinen 4484948a6d updated the demo recorder 2008-10-14 12:11:42 +00:00
Magnus Auvinen b39e58ce26 fixed ticket #486: Rcon doesn't work after map change 2008-10-08 18:24:27 +00:00
Magnus Auvinen 12472ef7f4 major update. continued on ban support. added demo recording (client and server side). added demo player. added demo menu. demos have some quirks and file size optimizations havn't been done yet. some interface tweaks 2008-10-06 18:05:01 +00:00
Dominik Geyer faa96f6d3a show if servers use non-standard tuning and let serverbrowser filter for these; ticket #393 2008-10-05 09:57:46 +00:00
Magnus Auvinen cebda9790b some cleanups. splitted e_network.c into several files. continued on the ban support 2008-10-02 12:29:19 +00:00
Dominik Geyer 397b9a764b data-dir autodetection; data-dir override; compiled-in data-dir; messagebox if detection fails; does chdir into data-dir 2008-10-01 17:16:22 +00:00
Magnus Auvinen eb21e9d6bb cleaned up the code a bit more. pooling of character and player objects with reusable macros. fixed crashing when changing maps and a couple of other bugs 2008-09-24 09:03:49 +00:00
Magnus Auvinen d9d37b945e some server restructure. added hook no attach sound 2008-09-23 18:08:19 +00:00
Magnus Auvinen b65a2c63aa upped max clients to 16 2008-09-23 13:14:04 +00:00
Magnus Auvinen 53da3f0d40 added favorites. no saving of them yet however 2008-09-03 20:03:01 +00:00
Alfred Eriksson b649ab6c16 merged teambalance-warning and mini-/maximize-stuff from 0.4.3 2008-09-01 18:17:01 +00:00
Magnus Auvinen 62d9ff05d6 fixed connection less packets. they behave like the old version so version server and master servers still work 2008-08-31 19:29:09 +00:00
Magnus Auvinen 0a48454a55 removed the GAMETYPE_ enum 2008-08-31 14:37:35 +00:00
Magnus Auvinen 68c52dd5ef repaired the local console 2008-08-27 16:23:15 +00:00
Magnus Auvinen 16912026db added cl_layershot. fixed some bugs in the network 2008-08-17 07:05:16 +00:00
Magnus Auvinen 817f431377 moved out e_system, e_detect, vmath and math to a little base library 2008-08-14 17:19:13 +00:00
Magnus Auvinen 9d632dd826 major update. server clean up and much added documentation 2008-07-06 11:21:21 +00:00
Magnus Auvinen f6c67c29cd large commit with loads of clean up. more is comming 2008-06-12 10:51:48 +00:00
Magnus Auvinen 6ecc2efaec more loads of changes for 0.5.0 2008-04-06 14:32:56 +00:00
Magnus Auvinen d15bef7ede loads of changes here and there. added flushing of packets when connection is started 2008-04-06 11:52:00 +00:00
Magnus Auvinen 34c3a1c142 new network code. not perfect. connectionless packets is missing so no server discovery is possible. reduced network traffic by A LOT 2008-04-05 14:50:43 +00:00
Magnus Auvinen 7a3874745c fixed loads of graphical optimizations 2008-03-29 11:44:03 +00:00
Magnus Auvinen 8ff7c94ac2 fixed some memory leaks 2008-03-24 15:33:12 +00:00
Magnus Auvinen e20e488d3d made so that servers rechecks masters after 60 minutes to even out the balance 2008-03-23 14:02:12 +00:00
Magnus Auvinen bc108df382 renamed everything. added the new license 2008-03-22 18:40:27 +00:00
Joel de Vahl ddca01abb6 OSX fixes 2008-03-22 15:09:49 +00:00
Magnus Auvinen e7403a6df9 fixed so that sv_bindaddr works like it should 2008-03-21 19:10:04 +00:00
Magnus Auvinen 9425cbef57 fixed auto rename if two players sets the same name 2008-03-18 20:31:13 +00:00
Magnus Auvinen 41b8f4f165 redone the console parsing to be more userfriendly 2008-03-14 23:39:52 +00:00
Magnus Auvinen 0883fc3dfd cleaned up some console stuff 2008-03-11 08:48:48 +00:00
Magnus Auvinen 08c4c8e0b7 redone the input system so you can know do keybindings with say etc 2008-03-01 20:03:04 +00:00
Magnus Auvinen 0747c2dff9 fixed remote console. some gui tweaks aswell. 2008-03-01 14:36:36 +00:00
Magnus Auvinen 4739966e14 larger restructure to improve security 2008-02-24 16:03:58 +00:00
Magnus Auvinen 1ea859c431 security audit: fixed so the packer functions checks for errors 2008-02-11 22:25:10 +00:00
Magnus Auvinen 79dfdb3cd7 security audit: first batch of fixes. replaced sprintf, strcpy with more secure versions 2008-02-11 21:49:26 +00:00
Magnus Auvinen 2185df9254 shadow on the console. respect sv_sendheartbeats 2008-02-11 08:24:59 +00:00
Magnus Auvinen 548a919ea3 merged 0.3.4 changes to trunk 2008-02-10 21:54:52 +00:00
Magnus Auvinen fb336cddbb added simple map downloading \o/ 2008-02-10 16:50:59 +00:00
Magnus Auvinen 294cbe18c1 done some more latency work. added the extra message for projectiles to reduce latency 2008-02-10 15:32:30 +00:00
Magnus Auvinen 1fe3202f0b cleaned up the console code. added the ability to tune the game in runtime. 2008-02-02 12:38:36 +00:00
Magnus Auvinen 438dfeb0ca fixed bug when switching fast from internet and lan tabs 2008-01-20 15:19:33 +00:00
Magnus Auvinen dd21ae1bc7 large commit. documented a bit. editor updates. general cleanup of everything 2008-01-19 10:57:25 +00:00
Magnus Auvinen 1c1677f023 merged 0.3.3 changes over to trunk 2008-01-12 12:08:26 +00:00
Magnus Auvinen 34698e13e9 added version to server browser. fixed so that you can join a server even if you have 2007-12-19 19:56:38 +00:00
Magnus Auvinen 8254bf2336 fixed sv_status command 2007-12-18 23:37:22 +00:00
Magnus Auvinen ffa923bbeb fixed various small bugs. fixed fair spawning system 2007-12-18 23:21:57 +00:00
Magnus Auvinen 3c0615b835 added tournament mode 2007-12-18 22:07:57 +00:00
Magnus Auvinen c2b650a217 cleaned up abit. halfed the default snapping rate. fixed different snapping rates, init, full and recover to help the bandwidth. 2007-12-17 22:14:00 +00:00
Magnus Auvinen a6aec9e0cd added the ability to kick players 2007-12-17 00:27:41 +00:00
Magnus Auvinen b03d26b886 fixed so that the score is reported correctly 2007-12-16 20:16:27 +00:00
Magnus Auvinen 1ce97bddc5 removed the snapshot writing 2007-12-16 19:12:54 +00:00
Magnus Auvinen a04f53b7d5 added even more debugging info 2007-12-16 16:15:29 +00:00
Magnus Auvinen ca3ce81daf added even more debugging info 2007-12-16 16:14:05 +00:00
Magnus Auvinen 66ef2cd08f added performance timers 2007-12-16 15:33:44 +00:00
Magnus Auvinen 7b6ed7861a fixed some debug messages 2007-12-16 14:50:09 +00:00
Magnus Auvinen 24a4b50616 added more checks 2007-12-16 14:00:22 +00:00
Magnus Auvinen a2566b3ebd cleaned up code structure a bit 2007-12-15 10:24:49 +00:00
Magnus Auvinen 8f39b81ab0 fixed the server to report the alternative port correctly 2007-12-13 20:09:07 +00:00
Magnus Auvinen f7ea0b2ba8 loads of minor stuff 2007-12-12 19:52:57 +00:00
Magnus Auvinen dfdb614ef5 fixed game timer issue 2007-12-10 21:05:57 +00:00
Magnus Auvinen fbfd169581 crash fix that occurs when compressed snapshot spans several packets. crash fix caused but ids running out when chaning maps often 2007-12-10 18:21:22 +00:00
Magnus Auvinen fd1435a10d fixed has left messages when connecting with wrong password. fixed correct name when leaving the server. removed the physics when a client disconnects 2007-12-09 15:46:44 +00:00
Joel de Vahl d029e67223 Doubleclick to join server. Correct name on disconnect. 2007-12-09 15:43:18 +00:00
Magnus Auvinen f2d0fb0fb3 minor updates, added sv_map_reload variable 2007-12-09 13:16:18 +00:00
Magnus Auvinen 00f5817db0 fixed map crc checking 2007-12-03 18:47:29 +00:00
Magnus Auvinen 59f0a07555 fixed so that the server reports gametype, progression and password protection correctly 2007-11-27 19:51:48 +00:00
Magnus Auvinen 73789b0b0a fixed so that the server reports player names correctly 2007-11-26 19:25:55 +00:00
Magnus Auvinen a0e5181e42 added license info 2007-11-25 19:42:40 +00:00
Magnus Auvinen f46efb288f more fixes to the server reporting 2007-11-08 19:59:19 +00:00
Magnus Auvinen 6475366e59 fixed lan browser. fixed major bug in the caused the server not to report correctly 2007-11-08 19:54:18 +00:00
Magnus Auvinen 711aa0db76 update, gui stuff, some engine stuff 2007-11-08 09:11:32 +00:00
Magnus Auvinen daf89a01ff added skins, tweaked prediction like hell 2007-11-04 00:19:41 +00:00
Magnus Auvinen 5f8c4522fd fixed errors in input and prediction handling 2007-10-28 16:48:52 +00:00
Magnus Auvinen a3ce2eb90c major update. splitted the player information into two diffrent network items 2007-10-28 11:30:25 +00:00
Magnus Auvinen 982db98fae added sniperscope.. press F to test 2007-10-07 15:32:54 +00:00
Magnus Auvinen ee105f1cfd added password protected servers 2007-10-06 17:19:43 +00:00
Magnus Auvinen f9162202b0 fixed some C errors 2007-10-06 17:01:06 +00:00
Magnus Auvinen a67738e980 general fixes. fixed scoreboard 2007-10-03 21:32:02 +00:00
Magnus Auvinen fa05b5e2de begun the work for the new server browse backend 2007-09-27 23:55:59 +00:00
Magnus Auvinen 06c341be51 dynamic map change 2007-09-23 22:54:31 +00:00
Magnus Auvinen e55ba53ba7 fixed remote console 2007-09-23 21:00:57 +00:00
Magnus Auvinen ebbe51718e loads of changes. better prediction. line drawing. some nice graphs :) 2007-09-23 18:27:04 +00:00
Magnus Auvinen 3f4587ede8 a lot of changes. client side prediction added 2007-09-09 18:21:14 +00:00
Magnus Auvinen 89ccbd4f7b compressed map support. begun to fix things for ctf 2007-08-25 08:48:24 +00:00
Magnus Auvinen ab37902543 added snapshot crc handling 2007-08-22 21:21:20 +00:00
Magnus Auvinen 0320d20a47 fixed network hash versioning 2007-08-22 21:13:33 +00:00
Magnus Auvinen 01fa2a14a2 minor bug fixes 2007-08-22 18:40:31 +00:00
Magnus Auvinen 8b3c16e615 major engine cleanup. dependency on baselib removed. engine is now C code (not ansi tho). some other cruft removed aswell 2007-08-22 07:52:33 +00:00
Magnus Auvinen 2cde04ddce merged over all stuff from 0.2 to trunk 2007-08-14 18:37:16 +00:00
Jakob Fries e4829981b1 2007-08-05 15:56:32 +00:00
Jakob Fries 6ec3e70bab config is now stored in ~/teewars on macs 2007-08-05 15:23:23 +00:00
Magnus Auvinen 640b2bd953 made so that you can bind the server to a specific address 2007-08-05 14:19:13 +00:00
Magnus Auvinen 4e9bc6ecfc fixed error message on server when trying to start without a proper map 2007-08-05 11:25:29 +00:00
Magnus Auvinen 1eadf9942a fixed handling of versions. added error messages when disconnected. updated the connecting gui. fixed no streched clouds 2007-08-04 18:23:26 +00:00
Magnus Auvinen 3014707fe5 fixed problem with server and client getting out of sync 2007-07-30 22:57:35 +00:00
Magnus Auvinen f826bc6cac larger update. reduced the amount of video memory used from ~60 to ~36mb on a typical map 2007-07-30 19:46:31 +00:00
Magnus Auvinen 8233a44b60 an update :D 2007-07-29 22:09:15 +00:00
Magnus Auvinen c043fbe7e7 fixed server config variables. fixed better naming of maps 2007-07-26 20:07:45 +00:00
Magnus Auvinen ddfcd38ef4 fixed so the server reports number of players correctly 2007-07-26 19:26:36 +00:00
Magnus Auvinen 1aecc644de fixed errors in the network code 2007-07-25 07:24:57 +00:00
Magnus Auvinen 5bd2c434f6 epic commit. removed tga support, removed BGR support. fixed one config for editor, server and client, optimized tilemap rendering (this needs some cleanup), added tools to fix alpha outline quirk and glitches in the tilemap reindering 2007-07-24 22:53:43 +00:00
Magnus Auvinen 40eaf9431b fixed some serverbrosers related stuff 2007-07-23 21:21:30 +00:00
Jakob Fries 100ade6463 firewall message fixed 2007-07-23 13:17:26 +00:00
Magnus Auvinen 4a2f1d3beb small updates 2007-07-22 12:27:49 +00:00
Olle Rosenquist 26dd1c20ce Updated stuff 2007-07-22 11:53:15 +00:00
Magnus Auvinen 3b1871499c laggometer, smaller gfx fixes 2007-07-22 09:15:34 +00:00
Magnus Auvinen 9ef96af054 fixed alot of masterserver fixes 2007-07-21 21:28:56 +00:00
Magnus Auvinen 0c786f6002 fixed nasty error in the network 2007-07-21 19:02:47 +00:00
Magnus Auvinen 9e4aea97bd lots of cool new features :D new master server 2007-07-21 18:07:27 +00:00
Magnus Auvinen 568b9f1f4a added chat, better damage indicators 2007-07-14 13:09:42 +00:00
Magnus Auvinen 125d04e51f large rewrite and code cleanup 2007-07-13 13:40:04 +00:00
Tomas Landin 3088c7d418 Fixed line-endings from <CR> to <LF> (wouldn't build at all otherwise) 2007-05-27 18:31:20 +00:00
Magnus Auvinen bdcc0b09dd major update. added png support. fixed abit with the network 2007-05-27 00:47:07 +00:00
Magnus Auvinen 82023866ab large change. moved around all source. splitted server and client into separate files 2007-05-24 20:54:08 +00:00