Commit graph

953 commits

Author SHA1 Message Date
Dennis Felsing 722087ba29
Merge pull request #1091 from heinrich5991/pr_ddnet_mapbugs
Add infrastructure for preserving bugs
2018-05-07 08:27:29 +02:00
def 6d3b8f2d36 fix2 2018-04-04 20:41:05 +02:00
heinrich5991 b9cdacbb37 Try to unfix the grenade bug for the map "Binary" 2018-03-24 14:01:01 +01:00
ChillerDragon 052e67c541 Add broadcast importance (fixes #669) 2018-03-07 17:22:41 +01:00
yangfl 1620fc9b0f Fix typo 2018-02-07 16:10:40 +08:00
Dennis Felsing cb0209d6e3 Reapply "Only make grenades explode once (fix by timakro)" 2018-01-25 02:32:34 +01:00
Dennis Felsing f3256f0b6c Revert "Only make grenades explode once (fix by timakro)"
This reverts commit b9a93a18fb.
2018-01-24 07:50:15 +01:00
Dennis Felsing b9a93a18fb Only make grenades explode once (fix by timakro) 2018-01-22 14:15:53 +01:00
def 0cc4763a43 Fix crash: Switch tiles with number 0 are handled like non-switch tiles
Thanks to 645654 and phacrum for report
2018-01-10 22:19:38 +01:00
def fb252c4940 Fix compilation 2017-08-25 13:27:37 +02:00
heinrich5991 1ae004ba46 Make a copy of the input only after sanitizing it
This fixes a physics bug that allowed players to set their mouse
direction to (NaN, NaN), resulting in funny effects.
2017-08-25 13:20:10 +02:00
heinrich5991 6247aa0c7f Enable -Wextra and -Wformat=2
Also annotate `dbg_msg`, `str_format` and `str_timestamp_ex` so that the
compiler can determine whether the format strings are correct.

Fix the compiler warnings generated by these extra warnings -- some of
them were security issues.
2017-07-27 20:38:17 +02:00
Tim Schumacher 2ef05c2def Use sv_teleport_hold_hook also for checkpoint tele 2017-06-15 16:07:27 +02:00
Tim Schumacher 47fecc8659 Add sv_check_teleport_hold_hook map setting 2017-06-15 15:49:07 +02:00
eeeee 9b6699d3b8 remove casts to CServer
improving encapsulation by going through the interface instead of including engine/server/server.h
2017-06-05 20:51:12 -07:00
def 63c1d75458 When frozen and afk, show normal eyes to be able to tell non-afk from afk 2017-05-19 19:12:52 +02:00
Learath 5626259b27 Rework pause. Fixes force_pause 2017-04-09 00:20:41 +02:00
necropotame b8e4e5beea Fix style in several places 2017-03-22 19:45:14 +01:00
necropotame b6548aa8cf Fix wrong code convension, add enum for timer display type 2017-02-28 07:31:24 +01:00
Learath2 09552a6d9f Get rid of trailing whitespaces 2017-02-21 19:11:43 +03:00
BannZay a96ebde93a getting jetpack through remote 2016-10-10 15:18:06 +03:00
Speedy Consoles 39704a04a7 made 1-tick unfreeze reliable 2016-08-27 18:03:50 +02:00
def 320c299b68 Fix laser code 2016-08-07 22:38:45 +02:00
def 992c148dce Fix messages a bit 2016-07-03 23:23:33 +02:00
Tim Schumacher 96d05e3370 Send chat message when team is unlocked by a tile 2016-06-30 17:55:34 +02:00
def af8317c2e9 Don't allow restarting after touching finish line on solo server 2016-05-21 21:51:38 +02:00
def 61e47422f6 Clean up debug messages a bit (lower case, no useless errors) 2016-05-02 21:35:32 +02:00
Tim Schumacher 50f9e37282 disable deepfly patch applied at wrong position 2016-05-02 16:25:34 +02:00
def e0e7f20196 added sv_deepfly (default 1) to disable deepfly (by timakro) 2016-04-29 18:08:53 +02:00
def 67bff95a72 Merge remote-tracking branch 'timakro/new_hookthrough' 2016-04-27 18:59:51 +02:00
def 93ce3c84c3 Add fake tuning for hammer hit 2016-04-20 11:59:14 +02:00
def ce7eb0aac1 Add UNLOCK_TEAM tile (someone draw a tile please) 2016-03-07 18:04:59 +01:00
H-M-H 42a68636b5 tweaked respawndelay a bit 2016-02-02 21:14:46 +01:00
timgame dc89301292 clean up intersect line code 2015-11-08 10:20:44 +01:00
timgame 988a8f591a remove colflags 2015-11-08 10:20:10 +01:00
heinrich5991 48ecf3d5a1 Merge pull request #323 from Chairn/drag_range
Added sv_dragger_range to control the length of the laser draggers.
2015-09-07 11:12:52 +01:00
Chairn 8148a29108 Removed useless comment line 2015-09-01 23:17:45 +02:00
Chairn c5443d8e34 Added command sv_dragger_range. Maybe need some more tests. 2015-09-01 23:15:48 +02:00
oy e91d26b8ac force vital check on essential cl/srv messages and added additional sequence checking 2015-09-01 13:50:45 +02:00
def 5119976c9f Oops 2015-08-22 20:25:28 +02:00
def 7ff9cd890c No magic number for weapon 2015-08-22 20:15:15 +02:00
def 844d8b8ae3 Add sv_teleport_lose_weapons 2015-08-22 19:24:10 +02:00
BeaR 6b2e61bbc6 Fix collision bug with weapon projectiles
Ignore characters, which can't collide e.g different teams, in the intersection test for projectiles.
2015-08-16 10:54:06 +02:00
def 6e8ada1ac8 Fix whitespaces a bit 2015-07-09 02:12:35 +02:00
def ce465b584c Add sv_rescue_delay and rename sv_allow_rescue to sv_rescue 2015-06-30 18:46:36 +02:00
def 55e0c58707 Fix bracket 2015-06-22 13:07:41 +02:00
def 4f323313f3 Clean up code a bit 2015-06-22 13:06:14 +02:00
def dd9563a88c Make switch number work for freeze on switch layer 2015-05-31 18:21:12 +02:00
def 987723316a Fix server crash with doors 2015-05-18 20:36:30 +02:00
def a77cd039a6 Get rid of all Clang warnings 2015-04-18 22:29:28 +02:00
timgame 52aab8c00f added unfreeze after /r, /rescue 2015-04-16 18:13:36 +02:00
timgame 62aa011734 added /r, /rescue: teleport yourself out of freeze 2015-04-16 17:37:57 +02:00
def bb88034def Merge branch 'DDRace64' of github.com:def-/ddnet into DDRace64 2015-03-28 21:53:13 +01:00
def 14d0d2ba08 Kill everyone!
This fixes a bug where some players can fall outside of a map and don't die.
2015-03-28 21:52:43 +01:00
timgame 108e46275c fixed refill jumps with 1 jump 2015-03-22 18:27:57 +01:00
timgame 909db5cd55 added ninjajetpack prediction 2015-03-14 18:55:50 +01:00
def 564a69210c Revert ZZZ emoticon when afk 2015-03-13 15:21:27 +01:00
def f893ed6ec4 Fix and clean up autoupdater 2015-03-13 15:14:00 +01:00
def 05970cc2e2 Add BONUS tile, opposite of PENALTY (for Saavik's new map) 2015-03-10 22:57:40 +01:00
def 2b32b4a18a Add fire delay tunings 2015-02-12 15:20:22 +01:00
timgame b53009db7c improved refill jumps tile 2015-01-19 22:14:49 +01:00
timgame 2ee0ca0648 added refill jumps tile and cleaned tile detection 2015-01-19 22:14:49 +01:00
def f0d830021a Fix old bug 2014-12-29 20:06:00 +01:00
def 292c18a1e0 Make prediction work with unsolo command 2014-12-25 11:37:44 +01:00
def fe86eef7d8 Disable hook when /spec is used 2014-12-15 20:49:16 +01:00
def a6b4adb5d8 Minor cleanups 2014-12-15 20:48:58 +01:00
nuborn 88a1565d75 make the prediction compatible with very large maps 2014-12-02 01:08:52 +01:00
nuborn 03bc769c09 prediction of hammer (hits) and grenade (explosions) 2014-12-01 01:31:58 +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 0802177658 Revert "fix bug in weapons antiping (getting lasered in freeze)"
This reverts commit ff8791681f.
2014-11-02 10:59:03 +01:00
nuborn ff8791681f fix bug in weapons antiping (getting lasered in freeze) 2014-10-28 17:23:48 +01:00
nuborn 8f7e24b4db Revert "Revert "Add antiping for weapons (by nuborn)""
This reverts commit 755e9f4d1c.
2014-10-28 15:50:28 +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 0ac9002a80 Fix solo zone + laser dragg in spec (fixes #59) 2014-10-26 02:14:12 +01:00
def 4ed3ce8070 Revert "No fucking gunfire sound when using jetpack"
This reverts commit 4a11befaf4.
2014-10-26 00:50:10 +02:00
def 4a11befaf4 No fucking gunfire sound when using jetpack 2014-10-25 03:01:55 +02:00
def 48e66a2ab3 Add antiping for weapons (by nuborn) 2014-10-23 17:31:29 +02:00
def 084b59d9b6 Show sleepy eyes when a player is paused 2014-10-16 23:22:53 +02:00
def a670348b88 Wording 2014-09-27 19:10:15 +02:00
def 3804c16f02 Fix a bunch of crashes on server demo recording 2014-09-26 03:20:47 +02:00
def 416ae46730 Reset recording on player death 2014-09-26 02:25:53 +02:00
def b4f77c4b71 Add sv_player_demo_record (mostly from Teerace) 2014-09-26 02:05:31 +02:00
def d38bf7f83a typo 2014-09-23 17:33:33 +02:00
def fbd87e7370 Fix potential server crashes 2014-09-22 18:56:59 +02:00
def 741cf8f8c7 Cleanup & Halloween event 2014-09-18 12:14:00 +02:00
def 8a4e3d9605 Revert "Only set active weapon when it actually has ammo (Thanks Saavik)"
This reverts commit c88a4f00d2.
2014-09-07 00:15:03 +02:00
def c88a4f00d2 Only set active weapon when it actually has ammo (Thanks Saavik) 2014-09-05 21:12:33 +02:00
Tobias Urlaub 4fbed4a447 Fix: Bullets don't explode when a player stands in their way 2014-08-25 12:18:38 +02:00
def 2980bd77e8 Add /specteam 2014-08-09 19:53:38 +02:00
def a4519f8c11 Fix: Save nohook and nocollision properly 2014-08-09 15:44:19 +02:00
def 145f0434f5 Add /save by the glorious HMH 2014-07-26 14:46:31 +02:00
def eaeaf54250 Add freezehammer/unfreezehammer for blocker 2014-07-16 02:59:39 +02:00
def 4c71b8cf56 Fix: Walljump works properly even in maps without double jump 2014-06-24 23:47:33 +02:00
def 7a4e5ed746 Fix "You can jump 1 time" 2014-06-24 23:32:29 +02:00
def dcf5e244b5 Fix walljump after holding a key 2014-06-23 14:46:27 +02:00
def 99c74b5311 Fix wall jumps 2014-06-22 00:50:11 +02:00
def d768eb4908 Try wall jumps 2014-06-21 18:14:22 +02:00
def 94c3547b0f Fix: armor does not switch away from pistol 2014-06-17 23:55:23 +02:00
def 6131dfb7e3 Fix: Don't show draggers of players in solo part 2014-06-15 20:51:30 +02:00
def a6e8a787ee Fix: Jetpack works with tunezones (oops) 2014-06-04 20:16:44 +02:00
def 4c87cedd4d Better make sure that something exists before using it 2014-05-19 01:57:52 +02:00
def 88c417d6ef Make grenade explode when lifetime is over to allow more fun parts with tunezones 2014-05-18 16:19:05 +02:00
def 220db3b216 Rename some missing round functions 2014-05-12 23:55:35 +02:00
def bf13363cd2 Fix: Proper dragger reset on spec 2014-05-08 15:45:02 +02:00
def ccad2d6502 Fix solo dragger 2014-05-08 15:42:20 +02:00
def ba909bc498 Fix: Guns and draggers work for each player in a solo part individually 2014-05-08 00:53:21 +02:00
def b3e9041768 Revert "Same hook strength for everyone (by cinaera)"
This reverts commit 2b08464527.
2014-05-01 03:03:31 +02:00
def 2b08464527 Same hook strength for everyone (by cinaera) 2014-04-30 17:36:25 +02:00
def 5eb7a74558 Fix: Tunings and Tunezones with dummies 2014-04-29 03:34:23 +02:00
HMH 4a8011ced4 determine tunings to send with the players viewpos 2014-04-18 14:43:33 +02:00
HMH b9d72d5efe TuneZone enter msg also on spawn 2014-04-18 14:43:33 +02:00
def 72a8c581a2 Fix shotgun_strength in tune zone 2014-04-14 22:15:48 +02:00
def 68980e7699 Fix: Ok, proper Jetpack prediction now 2014-04-14 10:56:14 +02:00
def 38b16ee5c0 Jetpack prediction (Thanks to v) 2014-04-14 01:34:50 +02:00
def 29db455131 Multiline tune zone messages 2014-04-13 19:27:08 +02:00
def f8b15e1e62 Add hammer_strength tuning 2014-04-13 19:11:21 +02:00
def 6e33858cab Code cleanup 2014-04-13 16:49:58 +02:00
def 83201c9003 More extended tunings 2014-04-13 16:41:02 +02:00
def 7fd799f894 Timeouts, disconnects and game leaves no longer kill your entire locked team 2014-04-12 12:08:20 +02:00
def 7ae973af0d Make jetpack strength a tuning 2014-04-12 11:12:29 +02:00
def 327aa4e196 Fake tunings for NPC and NPH and tuning cleanup 2014-04-06 12:22:27 +02:00
def a285751c5f Fix: Bullets should still work 2014-04-05 16:17:05 +02:00
def 8be0091d07 Add sv_teleport_hold_hook 2014-04-05 00:35:18 +02:00
def b8775d27c4 Revert "sv_pistol_damage"
This reverts commit a5449c9af0.
2014-04-02 19:55:42 +02:00
def a5449c9af0 sv_pistol_damage 2014-03-31 20:34:54 +02:00
def 27fbf04b09 Remove projectiles when player dies 2014-03-29 23:15:45 +01:00
HMH 3d607eaf16 fix: correct zone at spawn 2014-03-27 01:48:21 +01:00
HMH e393e966d0 fix: send tunings on spawn not on death 2014-03-27 01:33:37 +01:00
def a4580c4af0 Add speedup prediction (by c) 2014-03-25 01:13:46 +01:00
HMH 6b1b4f2bcb fix: correct tunezones for faketunings 2014-03-24 21:07:10 +01:00
HMH 0177b8a4b5 fix: stupid laser tunings + projectile security fix 2014-03-23 17:10:49 +01:00
HMH 78bed556c0 replaced tunings from projectiles and laser by zonespecific tunings 2014-03-23 17:10:49 +01:00
HMH e25f0ba074 added TuneZoneHandler, replaced projectile-lifetime and laserreach with zone specific tunings when creating 2014-03-23 17:10:49 +01:00
def b72df908a1 Add faketunings for 0 jumps 2014-03-01 14:29:14 +01:00
def 220f5269c4 Fix: Reset ninja properly to prevent it from autoshooting 2014-02-25 21:51:10 +01:00
def 6406e77e9c Disable faketuning for freeze for now because it looks really weird in some situations 2014-02-23 01:10:43 +01:00
def e9db91e953 Add solo fake tunes 2014-02-19 22:30:57 +01:00
def 40651924bf Make Fake Tunings a bit nicer and less resource intensive 2014-02-19 22:30:34 +01:00
def 92e0b5fe3c Add fake tunings so that freeze prediction is correct (by HMH) 2014-02-19 21:55:37 +01:00
def 99a086200f Only keep holding hook, reset all other keys on /pause and chat 2014-02-18 22:26:17 +01:00
def 1b76f57750 Allow /showothers on solo server 2014-02-14 03:08:20 +01:00
def 4a2eaaf1cc Less strict spam filtering 2014-02-14 00:26:05 +01:00
def 334a739534 Fix penalty for teams 2014-02-10 00:17:56 +01:00
def 42ed2807cb Add penalty tile 2014-02-09 23:31:29 +01:00
def 823a04333a Add /showall 2014-02-02 19:56:10 +01:00
def 391232017a Add evil checkpoint teleports 2014-02-01 22:20:41 +01:00
def 7347afa5dc Even Super has to die! 2014-01-31 23:24:45 +01:00
def 3e7d077722 Fix: See other players on solo server 2014-01-31 12:26:17 +01:00
def 2f4820f9ae Don't show players in solo part, even with /showothers 2014-01-30 18:39:39 +01:00
def d8533eea67 Proper Client Version numbers and more visible whispers 2014-01-30 16:49:15 +01:00
def bf652416d4 Don't send team state too often (causes lags when people kill) 2014-01-24 15:12:46 +01:00
def 61b056f9f7 Hold input while paused 2014-01-22 14:04:46 +01:00
def 663da084db Make players look sleepy if afk 2014-01-22 01:46:15 +01:00
def beb74082b3 Send initial team state 2014-01-22 00:35:02 +01:00
def d158267e92 Better broadcasting for spectators 2014-01-13 17:00:49 +01:00
def adbaae769c Fix various broadcasting issues:
- Sound in solo parts
- Sound when spectating
- Projectiles of players in other teams when spectating
2014-01-12 15:56:16 +01:00
def 6126ad50c4 Fix range of team related bugs by actually removing people from team when they spectate 2014-01-11 15:19:34 +01:00
def 2af9d9f423 Switchable ninjajetpack 2014-01-11 13:59:20 +01:00
def f4b961ecad Final fix 2014-01-11 13:39:35 +01:00
def b768cb1e81 Fix: Solo server crash 2014-01-11 00:52:13 +01:00
def 5d23a38f66 Allow players to see players at every distance, but not effects 2014-01-10 22:54:07 +01:00
def 7a3a8f1485 Fix doors in team 0 for solo server 2014-01-09 21:57:44 +01:00
def 86468f2c06 Emote fix 2014-01-09 19:51:26 +01:00
def 9770382007 New Jetpack animation 2014-01-09 19:00:41 +01:00
def 6af20de3e8 Also reset team 0 2014-01-08 02:24:31 +01:00
def 37badd724b Another go at the door opening bug 2014-01-06 18:27:38 +01:00
def 8d4301b2e3 Next try to prevent DDRace problems 2014-01-02 02:15:19 +01:00
def 28980ef2ba Hopefully fix 64 players 2014-01-02 01:56:09 +01:00
def cd98cd4c3f Fix: Stupid 2014-01-01 22:37:18 +01:00
def a98458a9f3 Fix switches for 64 teams 2014-01-01 22:34:10 +01:00
def d9764a7638 Remove useless broadcast messages 2013-12-31 06:23:40 +01:00
def 3607218f12 Merge ddrace64 from eeeeee 2013-12-31 06:13:57 +01:00
def da2cdf7acd Fix: Reset switches when team is locked 2013-12-30 22:30:07 +01:00
def 605bd0f81c Only show freeze indication once when still frozen 2013-12-26 19:46:44 +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
def d0d8aaa56c Fix: Proper jetpack strength 2013-12-23 20:40:43 +01:00
def ec4a83eb1a Fix: Don't change tune parameters 2013-12-23 20:33:01 +01:00
def 72bc639a0c TeleOuts as pointer; Hopefully fixes Visual Studio crash 2013-12-12 14:35:01 +01:00
def bfc6558a32 Indicate when ninja ends 2013-12-09 13:53:26 +01:00
def d1a584b4af Add jetpack tile 2013-11-22 15:10:55 +01:00
def eba45c4f0a Add /lock 2013-11-16 00:44:49 +01:00
def 0b305471d2 Add jetpack 2013-11-13 13:25:26 +01:00
def a4296f4bb7 Fix: Super can always jump 2013-09-29 17:16:49 +02:00
def 1cc6977611 Fix jumping 2013-08-24 02:25:58 +02:00
def 6da8d2146c New mapping entity: Specify number of jumps 2013-08-24 01:03:45 +02:00
def 48d84b2784 More correct door reset 2013-08-22 06:07:31 +02:00
def 40ff09be29 Revert visual studio fix 2013-08-18 22:19:02 +02:00
BeaR ee6192900c fix previous commit 2013-08-14 19:56:55 +02:00
def af69765063 Revert "fix visual studio build"
This reverts commit 62409f740a.
2013-08-14 17:31:15 +02:00
BeaR 62409f740a fix visual studio build 2013-08-13 14:06:29 +02:00
def bf518df74d New teleport entities 2013-08-13 04:59:25 +02:00
def 4987b26b7b Fix prediction 2013-08-05 19:58:51 +02:00
def 111d5c7f10 Add entities to start and stop: Player collisions, Hooking, Infinite jump 2013-08-05 17:47:04 +02:00
def 02ac497531 Fix: No ninja in solo 2013-08-04 22:50:14 +02:00
def e4201940cd Fix: Don't reset doors for spectators 2013-08-04 04:46:26 +02:00
def 3cfe974092 Make ninja work only on team mebers 2013-08-02 21:10:43 +02:00
def 8f9a1c24fb Remove iostream 2013-08-01 22:28:11 +02:00
def 6935a9678b Fix: team 0 doesn't count players 2013-08-01 22:27:19 +02:00
def 43ecc1c7a3 Add rcon: totele i 2013-07-23 23:37:00 +02:00
def c7fef524e6 Don't follow from-teles without a corresponding to-tele 2013-07-23 02:13:13 +02:00
def 796548ff65 Don't reset hook pos in red teleports, allow holding hook while going through tele 2013-07-22 18:03:32 +02:00
def 3a80c5f5fb Make evil (red) teleports work as normal (blue) teleports when weapons- or hook-through-teleport are activated 2013-07-22 17:37:14 +02:00
def e49960a34a Fix tele shooting 2013-07-20 14:16:45 +02:00
def d9d16369d1 Fix 2013-07-20 14:06:56 +02:00
def 38a0874b61 Laser through teleport can hit oneself 2013-07-20 14:04:12 +02:00
def c276ee1255 Fix shotgun pulling direction immediately after teleport 2013-07-19 02:04:50 +02:00
def 1b68bf65f2 Add server options for sv_teleport_hook and sv_teleport_weapons 2013-07-19 01:23:48 +02:00
def 6fb11efa40 Make lasers go through teleporters 2013-07-19 01:06:48 +02:00
def 54b942fa7e Make hooks go through teleporters 2013-07-19 00:27:17 +02:00
def 717219e1c2 Make projectiles shoot through teleporters 2013-07-19 00:27:08 +02:00
def 9c145fcc35 Don't try to reset doors when there are none 2013-07-11 02:06:15 +02:00
def 5e83eff2ce Revert "Don't try to reset doors when there are none"
This reverts commit 7bf704a6ed.
2013-07-11 02:02:14 +02:00
def 7bf704a6ed Don't try to reset doors when there are none 2013-07-11 01:56:03 +02:00
def 6d33fcc5a6 Fix door opening cheat 2013-06-23 02:51:04 +02:00
XXLTomate 8521e088fd removed dbg_msg 2013-03-18 13:02:14 +01:00
XXLTomate f91f3e61f9 fixed checkpoints 2013-03-18 12:58:29 +01:00
oy 7eddbe0dc9 play only one weapon no ammo sound per second. #993 2013-02-24 18:02:57 +01:00
eeeee 56ad4f3c73 prevent bullets from drifting 2013-02-01 13:12:33 +02:00
Shereef Marzouk b000c9e4e1 Fixed team blocking by disconnect (Closes #206) 2013-02-01 13:08:23 +02:00
aelio_ru b68840b30b Fixes inactive dragger after map change or server start, Fixes #181. 2012-08-26 09:23:11 +02:00
Ravomavain cd5046a1a9 Prevent laser draggers from dragging paused players. Fix XXLTomate#16
Reset velocity on resume to avoid other bugs.
2012-05-01 21:57:09 +02: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
Learath2 d5dcfa3c4f Fixed obligatory Teams (sv_team 2). 2012-04-11 16:16:30 +02:00
Learath2 50b2d85abb Fixed according the comment of GreYFoX. 2012-02-14 22:38:06 +02:00
Learath2 d64e1796aa Simplifys the usage of timer commands. Fixes new year happy spawn. 2012-02-14 20:25:34 +02:00
oy dfe91338f0 added pause command. Closes #15 2012-01-10 00:49:31 +01:00
Ravomavain ebf64758b1 Make spectators see the same thing as the player they spectate 2012-01-01 00:15:16 +02:00
Ravomavain 88be9657d2 Enhance pausing system (by @heinrich5991):
* enhance /pause (@heinrich5991)
 * add /spec command to pause without leaving the game (@heinrich5991)
 * if sv_pauseable is set to 0, /pause behave as /spec (@heinrich5991)
 * should fix #124 and #127 (@ravomavain)
2011-12-31 01:44:36 +02:00
GreYFoX 7d462b565d Fixed the bugs i know of with the last few commits 2011-12-30 16:51:08 +02:00
GreYFoX 799f4de2b3 Added the following settings to Close #123.
sv_time_in_broadcast, 1, 0, 1, CFGFLAG_SERVER, "Whether to display time in broadcast every interval or not by default, later the choice can be changed by players via chat commands"
sv_time_in_broadcast_interval, 1, 0, 60, CFGFLAG_SERVER, "How often to update the broadcast time"
sv_time_in_gametimer, 0, 0, 1, CFGFLAG_SERVER, "Whether to display time in the round/game timer or not by default, later the choice can be changed by players via chat commands"
Added the following Chat commands to give the player the choice over their settings:
"saytime", "", CFGFLAG_CHAT|CFGFLAG_SERVER, ConSayTime, this, "Privately messages you your current time in this current running race"
"saytimeall", "", CFGFLAG_CHAT|CFGFLAG_SERVER, ConSayTimeAll, this, "Publicly messages everyone your current time in this current running race"
"time", "", CFGFLAG_CHAT|CFGFLAG_SERVER, ConTime, this, "Privately shows you your current time in this current running race in the broadcast message"
"broadcasttime", "?s", CFGFLAG_CHAT|CFGFLAG_SERVER, ConSetBroadcastTime, this, "Personal Setting of showing time in the broadcast, broadcasttime s, where s = on for on, off for off, toggle for toggle and nothing to show current status"
"servergametime", "?s", CFGFLAG_CHAT|CFGFLAG_SERVER, ConSetServerGameTime, this, "Personal Setting of showing time in the round/game timer, servergametime s, where s = on for on off for off, toggle for toggle and nothing to show current status"
Fixed Chat Command "eyeemote" and made it a set + toggle instead of just toggle for better bin techneques
Moved some vars from CCharacter to CPlayer to keep their status evern after death but not after disconnect.
So now players have the choice to see which timer they wanna see if any.

Note: These changes are all untested Stay away from this update on your main server until they are tested, i don't even know if they will compile propperly
2011-12-29 14:17:34 +02:00
GreYFoX 8b09813288 old useless todo 2011-12-26 11:56:12 +02:00
GreYFoX cdab951296 Increasing the Readability on primitive editors of DDRace Specific files (All files that does not exist in oy/teeworlds) 2011-12-25 15:51:47 +02:00
GreYFoX bfed5bad1a Added License INfo to missing files and updated the old ones 2011-12-25 15:33:05 +02:00
GreYFoX 4da271df56 Deleted a useless state and added onTeamStateChanged Event 2011-12-25 15:19:03 +02:00
GreYFoX 8a7c0df1d5 Mini performance improvement 2011-12-25 15:00:47 +02:00
Shereef Marzouk c496bf3c4e Merge branch 'master' of https://github.com/oy/teeworlds into DDRace
Conflicts:
	bam.lua
	scripts/make_release.py
2011-12-14 17:01:47 +02:00
oy 99f04a7f87 let the server check if the input aims the center. Closes #889 2011-12-10 18:21:12 +01:00
GreYFoX df0798a673 Fixed pickup sounds. Closes #111 2011-11-08 14:15:31 +02:00
Ravomavain 7b8575f755 There is a variable for that, use it! :p 2011-09-03 01:08:37 +02:00
Ravomavain 04981004d5 Improve Checkpoint-teleporters: if no matching destination is found for the current checkpoint, check previous ones 2011-09-03 01:08:37 +02:00
GreYFoX 8c103b8c13 * Added a new tile to facilitate solo parts ( works with teams )
* Can now put tiles with the same indexes as in tele or switch layer i game layer but it will drawn to the correct image
* Adjusted Masking to account for Solo players
2011-09-02 20:04:18 +02:00
Ravomavain 5b44fae0ce Remove unneeded variables 2011-09-02 12:05:14 +02:00
GreYFoX 5035506825 Fixed team collision and 0.6 trunk, 1.094a 2011-09-01 20:29:08 +02:00
GreYFoX d960765552 fixed warning: src/game/server/entities/laser.cpp:93: 'f' may be used uninitialized in this function 2011-09-01 02:14:05 +02:00
GreYFoX b7e3bbb824 added fix for #82 by BeaR 2011-08-31 23:36:41 +02:00
GreYFoX 7e24be5d83 Version 1.091a 2011-08-31 12:10:15 +02:00
eeeee cfde5a20ec allow usage of eyeemotes in freeze 2011-08-31 02:36:47 +02:00
GreYFoX 4ca0681689 Added chat commands for only chat and available to all users
Thanks @heinrich5991 for this idea of a separate console object to handle it
2011-08-27 17:11:39 +02:00
eeeee 2d4c965c7e prevent excess draggers snapping to save loads of traffic 2011-08-27 14:09: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 8877cf2293 Refactored some pointers 2011-08-02 12:35:14 +02:00
oy 7db6d1e056 fixed problem with player collision. Closes #722 2011-07-30 18:08:24 +02:00
GreYFoX 74462d4611 enumerated laser types, made it possible to choose which weapon to disable using switch layer delay variable 2011-07-25 22:16:20 +02:00
GreYFoX 344944c9d4 --b * 2 2011-07-22 16:23:03 +02:00
GreYFoX d965eb7453 utter noobness 2011-07-22 16:15:39 +02:00
GreYFoX cdbbf9e74b Removed a useless line
ps. commiting from the car while driving via iPhone xD
2011-07-22 16:02:56 +02:00
GreYFoX dd015c33c0 Fixing the sound for the laser when a player DCs after shooting it 2011-07-22 15:03:15 +02:00
GreYFoX 8f927a6033 Fixed a crash 2011-07-22 14:52:28 +02:00
GreYFoX 2964919bf2 Some logic fixes 2011-07-22 14:29:27 +02:00
GreYFoX b0420e66ee used Teams() instead of ((CGameControllerDDRace*)GameServer()->m_pController)->m_Teams 2011-07-22 00:01:12 +02:00
GreYFoX 3d07ffdbdd Added the Missing Single Tee No Hitting Logic 2011-07-21 03:13:59 +02:00
GreYFoX 1dfd2882d2 Added Hit as a tile
Entities are in the previous commit
2011-07-19 23:33:12 +02:00
nsinreal 66a8000620 Fixed ninja: always set last active weapon after ninja's end 2011-06-27 16:28:49 +02:00
oy 957b81af07 made it possible to restrict player information in spectator mode 2011-06-19 11:28:39 +02:00
Choupom 558b110504 fixed #633 Correct sound effects in following spectactor mode 2011-06-11 18:33:30 +02:00
oy 2cc10fd6f0 fixed that the player keeps action when activating chat. Closes #719 2011-06-09 22:30:03 +02:00
Romain Labolle c17d3cdeda Reworking teams to allow pausing in team
* Adding wrappers functions to modify character or pause data if player are in game or paused.
* Moved OnFinish() function to teams.cpp so it can also be called on paused players.
* Pause is now enabled for team players.
* Adding bool CPlayer::IsPlaying() function that return true if the player is either in game or in pause. (false if spectator/dead).
2011-06-07 16:48:48 +02:00
GreYFoX c3df972fe3 Optimized checkpoint code 2011-06-05 13:56:04 +02:00
GreYFoX c1962bff25 Removed sv_broadcAst
this commit is funny cause it was made from my iPhone and it only took 8 minutes
2011-06-03 21:55:57 +02:00
Romain Labolle 38f1db1c4f Adding a checkpoint system for teleporters :
* Player go through a Checkpoint tile (29 in tele layer)
* He fall in a Check-Teleporter tile (31 in tele layer)
* Player is teleported to the check-TO (30 in tele layer) that have the same number as the last Checkpoint.
Thus players are teleported to the last checkpoint he passed, regardless of whether he made ​​the map in the right direction or not.

Tele tileset may need some improvement.
Closes Pull Request #52
2011-06-01 17:03:04 +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
oy 5fbf6d0bfd fixed compiler warnings. Closes #679 2011-05-05 01:43:27 +02:00
GreYFoX 9e5336a13d fixed plasma snapping 2011-04-20 16:05:05 +02:00
GreYFoX 0584f2b7a2 Added Plasma Gun tweaking
made the default 3 plasmas per second more cpu friendly
2011-04-20 15:59:40 +02:00
GreYFoX 83318d0583 Refactored some stuff in CLight and fixed CLight::Snap 2011-04-19 15:34:59 +02:00
GreYFoX f5d38a84f9 formatting 2011-04-19 15:15:40 +02:00
GreYFoX 2fff744724 fixed laser snapping 2011-04-19 15:15:21 +02:00
GreYFoX 95408a8fd8 fixed a crash on toooooooo many draggers 2011-04-18 00:05:56 +02:00
GreYFoX 561ce64666 Renamed cheats to testing commands sv_test_cmds
Since these are testing commands, anyone can use them and only on their selves no login needed
Revised some rcon commands
cleanup some unwanted codes
2011-04-15 06:04:21 +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 03095b5ecf Nothing 2011-04-12 00:27:52 +02:00
GreYFoX b2c67df7e7 fixed hammer hit 2011-04-10 15:07:36 +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 722644008f added a respawn delay command for tdm 2011-03-26 22:38:05 +01:00
GreYFoX 5b4d7a4658 Refactored + fixed sv_hit 0 + laser through others 2011-03-19 22:21:42 +02:00
GreYFoX c74cda68e0 Fixed tuned server behavior 2011-03-17 19:20:44 +02:00
GreYFoX 16c074741f To have Cheats you must set a password and sv_register 0
http://ddrace.info/forum/showthread.php?t=528
or modify the server and change the game type to something other than DDRace thank you
2011-03-16 15:41:26 +02:00
GreYFoX cccfb09e32 Reverted Team to it's old state without leader or Strict until it's reworked 2011-03-16 15:14:25 +02:00
GreYFoX 2dc557d77b Fixed Rifle and Shotgun not affecting tees after Passing through owner when sv_old_laser = 1 2011-03-16 13:59:36 +02:00
oy 83e83947cf give ninja players the momentum they had before slicing, after slicing. Closes #120 2011-03-13 19:00:00 +01:00
oy ee2f625754 added extended spectator mode. Closes #28 2011-03-10 10:08:14 +01:00
oy 9811c2396b made network clip flags. Closes #131 2011-03-04 17:08:10 +01:00
oy 4bede550be only update the ping if the scoreboard is active. Closes #27 2011-03-01 18:31:20 +01:00
Sebastian Wojtowicz c3739e0e4d fixed a bug that prevented records to be saved in files 2011-02-20 19:11:04 +02:00
GreYFoXGTi cd998a2a93 sv_reset_pickups 1 to remove weapons on start tiles 2011-02-16 13:08:14 +02:00
Sebastian Wojtowicz 6963a233a4 Added a new command /last5times (for sql scores only)
Added index to name in race sql table, so search is faster
2011-02-15 02:27:20 +02:00
Sebastian Wojtowicz 60de0da1c3 Added timestamp into MySQL ranking, and function to have ago time web2.0 like printed on asking for /rank 2011-02-15 02:27:19 +02:00
GreYFoXGTi 604ae5286f Several Fixes and some more on the way 2011-02-14 23:34:46 +02:00
GreYFoXGTi d68e853ca7 StickyTeams, TeamStrict Logic and fixed some team bugs 2011-02-14 20:44:02 +02:00
GreYFoXGTi f83132448d Merged Oy, Isolated Freeze from Deep Freeze 2011-02-13 19:32:06 +02:00
GreYFoXGTi 1b2703aaba Refactoring & fixed WEAPONSPEC_GUN in content.py 2011-02-12 21:18:41 +01:00
GreYFoXGTi c1ebccd8a2 Fixed infinite Loop
Don't tell Oy to add this, he will just say we don't support mods
2011-02-09 01:03:42 +02:00
GreYFoXGTi e5bff28375 Fixed a Stopper bug
1 still remains
2011-02-07 04:22:13 +02:00
GreYFoXGTi 6c3698469b Fixed some bugs
fixed a mistake
Official Noobness
2011-02-06 20:38:24 +02:00
GreYFoXGTi 89889fa1d1 Fixed double jump sound
how did i miss this!
2011-02-05 06:33:11 +02:00
GreYFoXGTi f901fc65fa Removed DeepFreeze Messages
Removed some curl brackets
2011-02-05 06:18:32 +02:00
GreYFoXGTi 693ad89c00 DeepFreeze = EMOTE_PAIN, freeze stays EMOTE_BLINK (eyes closed) 2011-02-05 04:28:05 +02:00
GreYFoXGTi ff839af9ba Fixed a collision error 2011-02-04 18:49:36 +02:00
GreYFoXGTi 3223a9d4c5 Few Improvements 2011-01-30 20:07:02 +02:00
GreYFoXGTi 5961edf6ce Better Performance, Fixed a mistake and added check for next tiles (Left, Right, Bottom and Above). 2011-01-30 01:58:47 +02:00
GreYFoXGTi 57c8739bb9 Show join a team message without spam 2011-01-29 16:31:50 +02:00
GreYFoXGTi 832bad08e6 Cleanup and Added All Left Masks 2011-01-29 16:18:36 +02:00
GreYFoXGTi b59e130037 DeathMask 2011-01-26 23:03:20 +02:00
GreYFoXGTi 4e32aee417 Commented some dbg_msgs
may need them in the future
2011-01-26 22:59:55 +02:00
GreYFoXGTi 3356455007 Fixed double hook sounds 2011-01-26 22:57:23 +02:00
GreYFoXGTi 5b51295185 Added Deep freeze/unfreeze to switch layer so that it can be controlled with switches
fixed the freeze command

Added Freeze Tile to switch layer to set freeze tile custom delay

Added sv_freeze_delay to control default freeze time delay
2011-01-25 12:05:53 +02:00
GreYFoXGTi 4e36d2f069 Merge branch 'greyfox' of https://github.com/JulianAssange/DDRaceExtra 2011-01-24 21:25:17 +02:00
GreYFoXGTi f1a8b6b7ad Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/engine/shared/config.h
	src/engine/shared/config_variables.h
	src/game/client/gameclient.cpp
	src/game/server/entities/character.cpp
	src/game/server/gamecontext.cpp
	src/game/server/gamecontext.h
2011-01-24 14:06:55 +02:00
DemonulPierdut/-/Julian /[Assange/] 2f45abdc40 fixed the sv_team 1 message.. lol it never told u too join a team :D 2011-01-24 22:36:05 +11:00
DemonulPierdut/-/Julian /[Assange/] 8ff2b1a95f for some reason hooking wasnt masked propley. 2011-01-24 06:23:04 +11:00
DemonulPierdut/-/Julian /[Assange/] 422b6c7c0d added more team mask's.. The sounds were fucking annoying lol 2011-01-24 05:56:20 +11:00
oy 83fc81092f fixed position of the hammer damage effect. Closes #448 2011-01-23 17:58:28 +01:00
GreYFoXGTi e0bb8731a7 minor changes 2011-01-21 19:59:52 +02:00
GreYFoXGTi 1f302ea22a Made doors check for Collision or NoLaser
* Renamed a Function
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2011-01-21 15:18:50 +02:00
GreYFoXGTi 1276bebfe1 Fixed Speedup Tiles ( made them skip-able ) 2011-01-21 11:53:58 +02:00
GreYFoXGTi a1fc979867 fixed grammar mistake, thanks fisted 2011-01-20 22:30:22 +02:00
GreYFoXGTi 7d6c546fcb DDRace entities no longer uses NETOBJTYPE but instead CGameWorld::ENTTYPE 2011-01-20 22:01:21 +02:00
GreYFoXGTi 2151883b43 Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/game/gamecore.cpp
	src/game/server/entities/character.cpp
	src/game/server/entities/laser.cpp
	src/game/server/entities/pickup.cpp
	src/game/server/entities/projectile.cpp
	src/game/server/entity.h
	src/game/server/gamecontext.cpp
	src/game/server/player.cpp
	src/game/variables.h
2011-01-20 16:10:32 +02:00
oy 1701241636 added hammerhit simplification by fisted. Closes #443 2011-01-19 22:41:44 +01:00
oy 19a9462fe8 removed double entity list in gameworld and cleaned up connected stuff 2011-01-19 18:27:50 +01:00
Floff Floffsson 645f31141d deepfreeze tiles 2011-01-17 00:38:24 +02:00
GreYFoXGTi 9c66a2d54c Endless Hook Tile for ingameplay by Floff aka LemonFace 2011-01-17 00:13:21 +02:00
GreYFoXGTi 2ec0e0eec4 Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/engine/shared/console.cpp
	src/game/client/components/hud.cpp
	src/game/client/components/scoreboard.cpp
	src/game/server/entities/character.cpp
	src/game/server/entities/projectile.cpp
2011-01-12 11:08:17 +02:00
Patafix a9f7f3a3ea just formatting 2011-01-09 23:29:56 +01:00
oy df47aedbfe reset flags and projectiles when leaving the game layer too much. Closes #385 2011-01-08 11:34:19 +01:00
fisted 2a4bb8e631 fixed /emote reset 2011-01-07 23:26:28 +01:00
GreYFoXGTi 395c87a7ad woops 2011-01-07 20:37:21 +02:00
GreYFoXGTi babe838cab Added /ShowOthers 2011-01-06 07:08:12 +02:00
GreYFoXGTi ddc5dd7ab3 Cleaned up & Re-arranged stuff 2011-01-06 05:46:10 +02:00
GreYFoXGTi c5648311ed Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	data/languages/german.txt
	src/game/client/components/scoreboard.cpp
	src/game/editor/ed_layer_tiles.cpp
	src/game/server/entities/character.cpp
	src/game/server/gamecontext.cpp
	src/game/server/gamecontroller.cpp
	src/game/variables.h
2011-01-04 22:37:09 +02:00
oy a72848e780 added constants for teams by Choupom 2011-01-03 12:50:38 +01:00
GreYFoXGTi 08a2f47ee8 Added Ability to Restart the race in a team after you have finished <br/>
<b>Testers: Please check if this can be abused</b>
2010-12-19 05:48:16 +02:00
GreYFoXGTi e803f30f52 Merge branch 'master' of http://github.com/oy/teeworlds
Conflicts:
	src/game/server/entities/character.cpp
	src/game/server/entities/flag.cpp
	src/game/server/player.cpp
	src/game/variables.h
2010-12-16 06:06:23 +02:00
oy 0121f27311 fixed server crash on too many snap items. Closes #317 2010-12-16 03:29:08 +01:00
GreYFoXGTi cebbecf632 Some Code Improvements and Compiler warnings 2010-12-07 19:44:23 +02:00
GreYFoXGTi 122c7954d9 Announcement Randomness 2010-12-06 04:27:35 +02:00
GreYFoXGTi 2d581789e1 Merge branch 'master' of github.com:Speedy-Consoles/DDRace into DDRace
Conflicts:
	src/game/ddracecommands.h
2010-12-06 00:28:15 +02:00
GreYFoXGTi f9c3f83903 Removed command broadtime since the time is not in the broadcast anymore 2010-12-05 20:29:38 +02:00