Commit graph

248 commits

Author SHA1 Message Date
ChillerDragon 905204781b Cleanup if nesting 2019-04-06 17:22:15 +02:00
def ef0e685496 Make timestamp consistent in scores
The motivation is to have the exact same timestamp for every member
finishing in a team and the team rank as well. This makes the database
more consistent and tooling easier.
2019-04-02 20:18:40 +02:00
def 22ea30a7f5 Fix crash 2019-01-10 21:11:23 +01:00
def f5e8b9d822 Fix potential inconsistencies in rank/teamrank 2019-01-10 09:32:23 +01:00
Dennis Felsing f83a9be610 Sneaky code (TODO: Also mark 708?) 2018-12-17 14:55:58 +01:00
heinrich5991 5c4e819e44 Use str_startswith, str_endswith instead of ad-hoc implementations 2018-07-26 14:18:23 +02:00
ChillerDragon 57cb136c55 Remove teamkill message on solo teams
For speedrunning alone in a team this "Everyone in your locked team was killed because '%s' %s."
is very annoying. So better only print it if more than 1 tee is in the team.
2018-03-06 14:08:04 +01:00
def c12082c2ef Not too many messages 2017-07-30 14:15:45 +02:00
def 7a3b7c6228 oops 2017-07-29 23:13:04 +02:00
def f3d4fcf012 Print message when team starts playing to team members 2017-07-29 23:11:33 +02:00
def 79d29b1e31 Fix: Finish score should always show the fastest time 2017-07-23 21:33:55 +02:00
ChillerDragon 727b9f84b6 fixed scoreboard update for slow racers (less hacky) (#765)
* fixed scoreboard update for slow racers (less hacky)

* Fix some style issues
2017-07-05 23:01:57 +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 562dee6e38 Clean up server messages a bit 2017-05-21 01:20:25 +02:00
Dennis Felsing 278b17b460 Merge pull request #721 from Learath2/dd_pr_pause
Rework the pause system
2017-05-14 11:55:09 +02:00
Learath2 3878d6fb56 Reset invites when the team is empty 2017-04-24 21:28:02 +02:00
Learath2 89199d04d0 Fix invite spam by abusing lock. 2017-04-24 11:03:16 +02:00
Learath2 309d47e933 Revert "Remove invite system entirely since no one wants to fix it"
This reverts commit 99cc9d2c0b.
2017-04-23 22:50:07 +02:00
def 99cc9d2c0b Remove invite system entirely since no one wants to fix it 2017-04-23 17:51:29 +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
Learath2 0b0783f13c Fix styling issues, use uint for bitmask 2017-03-10 14:52:49 +01:00
Learath2 9319a82c6e Add /invite for locked teams. Fixes #647 2017-03-06 12:14:38 +01:00
def ce7eb0aac1 Add UNLOCK_TEAM tile (someone draw a tile please) 2016-03-07 18:04:59 +01:00
H-M-H e39829ef7c killer of locked team will get strong hook on respawn 2016-03-04 22:55:12 +01:00
H-M-H 42a68636b5 tweaked respawndelay a bit 2016-02-02 21:14:46 +01:00
timgame 9f45090ca6 added chat msg to reveal killer of locked team 2015-11-12 18:59:58 +01:00
def f977f80c94 Stronger checks on save 2015-08-22 15:16:14 +02:00
def a04578b3ba Add switch_open to set the initial state of a switch to open 2015-07-22 23:32:39 +02:00
def 2750a23792 Only allow savegames on same server. Clean up saving a bit and prevent another possible exploit 2014-12-17 20:38:05 +01:00
def 87ebb2f03e Defer character kill from thread to prevent race conditions 2014-12-07 03:42:43 +01:00
def 99c07d884d Another try at the fix 2014-10-21 14:57:58 +02:00
def e29571dd73 save doesn't create ranks accidentally anymore (fixes #73) 2014-10-21 14:27:10 +02:00
def 6bcf2bbe0d Revert "Teammate switching team reported on chat"
This reverts commit b19688fa35.
2014-10-21 14:22:53 +02:00
def 7b259b3022 Revert "Update teams.cpp"
This reverts commit fa59910ef2.
2014-10-21 14:22:47 +02:00
Wohoo-GC fa59910ef2 Update teams.cpp 2014-10-09 13:05:59 +02:00
Wohoo-GC b19688fa35 Teammate switching team reported on chat
Teammate switching team reported on chat and console.
Solved also:
Function OnCharacterDeath() calls itself multiple time. Open team after checking it is not opened, then kill members.
2014-10-09 12:46:20 +02:00
def 90518f951d Fix saving in solo teams 2014-09-29 19:32:43 +02:00
def 1c954c168f Proper team count, should fix savegames 2014-09-29 17:36:14 +02:00
def 896a6fda9b Lock works for single player teams 2014-09-26 23:47:25 +02:00
def 0a131df621 Fix broken start line 2014-09-26 13:03:01 +02:00
def 03109ef232 Prevent crash 2014-09-26 12:43:56 +02:00
def 2c2b77ac3b Check whether team has finished once a player in the team kills 2014-09-26 03:42:49 +02:00
def b4f77c4b71 Add sv_player_demo_record (mostly from Teerace) 2014-09-26 02:05:31 +02:00
def 2cfb494c84 Fix compilation 2014-09-07 01:03:55 +02:00
def 4ab0083f89 Fix: unlock team when it is saved 2014-09-06 21:08:21 +02:00
def 9964e6bfde Fix: Properly reset team on /save 2014-08-31 14:12:15 +02:00
def 2980bd77e8 Add /specteam 2014-08-09 19:53:38 +02:00
def 066ac46c17 Add a message after you finished in team and rejoin team 0 2014-08-01 16:00:04 +02:00
def 145f0434f5 Add /save by the glorious HMH 2014-07-26 14:46:31 +02:00
def f2139dae94 For blocker servers disable rejoin to team 0 after finish 2014-07-19 17:11:00 +02:00
def d47b2bc7e1 Make players join team 0 after finishing a map if you're not in a locked team 2014-07-08 01:58:27 +02:00
def 4c87cedd4d Better make sure that something exists before using it 2014-05-19 01:57:52 +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 9f832423c1 Fix: Keep team closed when locked so that all players are killed 2014-03-12 19:36:25 +01:00
def e305e83a98 Fix: Reset doors in locked team 2014-03-10 13:39:50 +01:00
def e9db91e953 Add solo fake tunes 2014-02-19 22:30:57 +01:00
def 57e05a84a6 fix 2014-02-19 03:47:15 +01:00
def a641b01a37 Also don't spam everyone with scores with sv_save_worse_scores 2014-02-19 02:56:57 +01:00
def 4429092ca5 Add sv_save_worse_scores 2014-02-18 22:08:43 +01:00
def 7804f9314d Hopefully fix a bunch of locked team bugs 2014-02-08 14:33:42 +01:00
def 60b77d1620 Fix: Reset super on kill 2014-02-03 15:46:30 +01:00
def a054d3e84f No /showothers for ddrace after all 2014-01-31 21:21:50 +01:00
def 8d877973ee ShowOthers for regular DDRace client 2014-01-30 17:28:30 +01:00
def caa1f15d12 Fix possible crashes 2014-01-30 16:54:58 +01:00
def d8533eea67 Proper Client Version numbers and more visible whispers 2014-01-30 16:49:15 +01:00
def 329804b3ce Fix /showothers 2014-01-24 22:27:34 +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 6997a801bc Revert "Don't show solo players with /showothers because it's buggy"
This reverts commit 3cb26984aa.
2014-01-22 21:48:13 +01:00
def 3cb26984aa Don't show solo players with /showothers because it's buggy 2014-01-22 20:01:21 +01:00
def 44d479330e Fix giant broadcasting bug 2014-01-22 15:47:01 +01:00
def 61ca36b4b3 Fix: No buggy teamstates for 16-player clients 2014-01-22 15:29:30 +01:00
def c1a3a8713b No more sound bugs when super 2014-01-22 01:56:12 +01:00
def 25f69ecdeb Display teams in scoreboard 2014-01-22 01:39:18 +01:00
def f0d79b8388 Trying to get better team support 2014-01-22 00:08:30 +01:00
def fe7f274023 Fix: Proper super on DDRace 16 player servers 2014-01-21 18:21:01 +01:00
def 4114e00564 Cleanup TeamMask 2014-01-20 20:12:03 +01:00
def 24fcc8c8b0 Broadcasting fix 425 2014-01-17 03:00:24 +01:00
def 0d819aba4d Fix: Don't even send own team's broadcasts if player is spectating someone 2014-01-14 20:27:30 +01:00
def fbe1cbe9e8 Another broadcasting fix
Conflicts:
	src/game/server/teams.cpp
2014-01-13 11:31:55 +01:00
def 4d22032a6d Fix: Double hook sound in solo 2014-01-13 11:12:38 +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 b768cb1e81 Fix: Solo server crash 2014-01-11 00:52:13 +01:00
def ca22600b4f Next try 2014-01-02 02:54:57 +01:00
def 3607218f12 Merge ddrace64 from eeeeee 2013-12-31 06:13:57 +01:00
def 5c6ce4585b Revert "Fix crash for overfull solo servers: One more team"
This reverts commit 2e8c3cfb66.
2013-12-28 16:09:03 +01:00
def 2e8c3cfb66 Fix crash for overfull solo servers: One more team 2013-12-22 01:52:40 +01:00
def f87449d86c Only give team ranks to teams consisting of 2 players or more 2013-12-10 18:45:28 +01:00
def bc8ad79c29 Consequently use minutes when telling player times 2013-12-09 17:24:02 +01:00
def eba45c4f0a Add /lock 2013-11-16 00:44:49 +01:00
def e69e023f16 Don't kill when joining team 0 2013-10-07 14:09:30 +02:00
def f3415c2aa5 Fix cheat to finish every map in less than a second 2013-08-14 20:12:53 +02:00
def 1cee48f6c1 Can only set sv_test_cmds at start, then it stays, and determines whether gametype is DDRace (no cheats) or TestDDRace (cheats) 2013-07-23 00:15:50 +02:00
def 42a8783f00 Add /teamrank and /teamtop5 2013-07-21 08:46:52 +02:00
XXLTomate f91f3e61f9 fixed checkpoints 2013-03-18 12:58:29 +01:00
Shereef Marzouk b000c9e4e1 Fixed team blocking by disconnect (Closes #206) 2013-02-01 13:08:23 +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 ff6b9609f3 sv_nameless_score default 0 Whether nameless tee has a score or not. Closes #100. 2011-12-29 11:39:01 +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 323e63453b fixed team cheat. Closes #103 2011-11-08 15:21:03 +02:00
GreYFoX df5a63948a Fixed warning: src/game/server/teams.cpp:206: suggest parentheses around && within || 2011-09-03 01:10:08 +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
GreYFoX 457fee998d Refactored a variable 2011-06-07 17:05:19 +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 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
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 355dd98bfa lol i missed this 2011-02-26 15:48:15 +02:00
GreYFoX 9e54b25740 Fixed 2 Teams bugs
Added comments so that remembering what CGameTeams::SetForceCharacterTeam does won't be hard
Raised the version so that bug tracking is easier
2011-02-23 14:14:56 +02:00
GreYFoX 48b29bebd4 Possibly Fixed a Teams bug 2011-02-23 08:18:38 +02:00
GreYFoX e6643607f4 Reset Team from Super to normal on death 2011-02-23 07:31:39 +02:00
GreYFoXGTi 335a8f69c2 Morning Cleanup 2011-02-16 10:21:23 +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 beec56aee0 prevented a useless SendchatTarget
added some missing code
2011-02-10 02:50:18 +02:00
GreYFoXGTi 30f010593c Teams with leaders
this maybe buggy but i will fix the bugs when they are reported
2011-02-04 18:49:37 +02:00
GreYFoXGTi 3356455007 Fixed double hook sounds 2011-01-26 22:57:23 +02:00
GreYFoXGTi 21994e017f fixed warnings 2011-01-06 14:21:44 +02:00
GreYFoXGTi 22aa8940a7 Code Style of some files converted from K&R to BSD/Allman 2011-01-06 07:30:19 +02:00
GreYFoXGTi b909829b61 Fixed team state sending, it was illogical 2011-01-06 07:22:08 +02: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 c6f0bf7500 how did that happen 2010-11-14 17:59:28 +02:00
btd 7fcd245611 Fixes 2010-11-13 00:50:51 +03:00
btd 5f6e35b418 Finish sv_team 2010-11-07 01:54:35 +03:00
btd ec2387f0e9 Spectator can see all events 2010-11-06 19:54:59 +03:00
GreYFoXGTi 505a5b4172 Refactoring 2010-10-29 23:29:07 +02:00
btd a62decbc91 Show others for ddrace clients.
Need to fix entities now.

Signed-off-by: btd <bardadymchik@gmail.com>
2010-10-24 14:47:25 +04:00
btd d4d519c3ef Fix teams show_others 2010-10-23 16:15:29 +04:00
GreYFoXGTi 59bd0f1c87 Merge branch 'master' of github.com:GreYFoXGTi/DDRace into Cleanup 2010-10-06 22:48:24 +02:00
btd ecd5f296ef This is good to make so. Maybe this is not bad. Now when you join to any team your cannot use hack with finish status. 2010-10-02 15:54:43 +04:00
GreYFoXGTi 896634a061 Total Cleanup
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-30 23:28:06 +03:00
btd af843600e7 Add reset in Server OnInit. If i am right this solve issues with collision 2010-09-24 17:37:13 +04:00
btd 5db7748af4 Fix ddraggers 2010-09-22 14:43:59 +04:00
btd 2af441b703 Finish super team, fix bug with killing, DDraggers not finished 2010-09-21 23:09:11 +04:00
btd d195d5c7bc Fixes for super player. Still dont work collision 2010-09-15 00:36:48 +04:00
btd a75ab04d21 Add Team for super players. They can collide with all players. Not tested 2010-09-14 22:28:50 +04:00
btd 12202f0e08 Kill character if he was not in team 0 but want to join team 0 2010-09-14 21:05:18 +04:00
btd 0221f68d35 Disable /show_others (for DDRace-Client instead use menu). Fix sending all teams information to new joiners 2010-09-14 15:38:46 +04:00
btd 83e384892c Fix silly mistake 2010-09-12 23:09:19 +04:00
btd 0e063cbc07 Fix hammer hit ShowOthers and ShowOthers when it unabled 2010-09-12 22:11:25 +04:00
btd edbef086c1 git add src/*git add src/*! Fix character collision bug with additional protocol message, begin to finish ShowOthers 2010-09-12 00:45:56 +04:00
btd fec294caee Fix linux compilation. Revert last changes. Add /show_other option (in menu now working) 2010-09-08 20:22:11 +04:00
btd 86cd59b907 Separate teams data, now i hope collision only in teams. Need to test, i cannot do this at work :'( 2010-08-30 16:13:43 +04:00
btd 366e175983 Logic and scores seems done. Next will be collision 2010-08-29 00:53:42 +04:00
btd fa6a79b309 Continue teams 2010-08-28 17:47:52 +04:00