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
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
a232cdc90a
Unified SetTeam Time with Pause time fixing a CRTITCAL cheat reported by TbMa P.S. He is NOT a Rogue ;-), Thanks very much Mr.TbMa
2011-06-01 16:12:35 +02:00
GreYFoX
ee97bfcad3
fixed last merge
2011-05-09 18:40:14 +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
eeeee
a58996b6bf
return from afk handling code immediately if player got kicked, as player struct is zeroed out
...
closes #47
2011-05-09 18:22:05 +02:00
oy
8d5badc260
skip player input if the chat is active to prevent abusing the linked emoticon. Closes #678
2011-05-05 02:13:32 +02:00
Choupom
4dfcfc6913
fixed a variable name
2011-05-03 18:46:18 +02:00
GreYFoX
aba78d9e2e
Fixed and refactored 2nd afk warning thanks to @ravomavain for noticing it
2011-04-23 19:59:25 +02:00
GreYFoX
fae976c98b
Sending Scores in negative to clients. closes #36
2011-04-20 22:40:56 +02:00
GreYFoX
9221bce3f4
Rechecked and fixed the afk kicking system. fixes #27
2011-04-20 16:34:03 +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
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
heinrich5991
b6fa69cedb
the server shows the disconnect reason of clients now
2011-04-01 00:05:35 +02:00
oy
f9288eb5b1
fixed that spectators go to free view if the followed player joins spectators and prevent that you can follow spectators
2011-03-28 23:45:47 +02:00
GreYFoX
741de082fc
fixed linux compilation
2011-03-22 21:56:52 +02:00
GreYFoX
61dcc7b848
Re-Added noother's afk kick
...
Disabled vanilla afk kick by default
enumerated variables.h
2011-03-22 21:49:12 +02:00
Sebastian Wojtowicz
500605cbee
Server utf8 Conversion
2011-03-22 21:04:27 +02:00
oy
30d9c9f4d9
made network support clan name and country code for players
2011-03-15 11:23:49 +01:00
oy
b834426548
fixed several problems with spectator view in game and demo player. Closes #83
2011-03-12 18:07:57 +01:00
oy
ee2f625754
added extended spectator mode. Closes #28
2011-03-10 10:08:14 +01:00
oy
4bede550be
only update the ping if the scoreboard is active. Closes #27
2011-03-01 18:31:20 +01:00
GreYFoXGTi
604ae5286f
Several Fixes and some more on the way
2011-02-14 23:34:46 +02:00
GreYFoXGTi
29c9bf531d
Fixed merge errors
2011-02-14 09:43:44 +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
oy
3f05289328
fixed a possible problem with occupied spawn points and cleaned up spawn code a bit
2011-02-10 12:05:55 +01:00
GreYFoXGTi
ae06076d10
Mute By Fisted
2011-02-08 14:44:59 +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
fisted
addbf8e3d6
automatic mute on spam
2011-02-03 14:39:00 +01:00
GreYFoXGTi
832bad08e6
Cleanup and Added All Left Masks
2011-01-29 16:18:36 +02:00
DemonulPierdut/-/Julian /[Assange/]
c98be07e2a
fixed my spam team thing :P
2011-01-26 23:03:38 +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
19a9462fe8
removed double entity list in gameworld and cleaned up connected stuff
2011-01-19 18:27:50 +01:00
oy
68faba809c
made dbg dummies work again
2011-01-18 19:09:53 +01:00
Floff Floffsson
3e530ac02d
SetClientAuthed() moved
2011-01-17 14:59:12 +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
babe838cab
Added /ShowOthers
2011-01-06 07:08:12 +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
8f9520b09a
test
2010-12-23 07:57:26 +02:00
GreYFoXGTi
63961ecf1a
fixed mute evasion + kick
2010-12-19 07:25:01 +02:00
GreYFoXGTi
fc323326ec
fixed mute evasion
2010-12-17 13:05:55 +02:00
floff
4a93c28eb8
added configurable time between pauses, to reduce spam
2010-12-16 10:05:20 +01: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
5db203a1ed
Mute Evasion
2010-11-26 18:57:18 +02:00
GreYFoXGTi
4f3d086b92
Fixed /pause making u return as a Team 0 Player
2010-11-22 09:21:02 +02:00
GreYFoXGTi
5d9ee1736e
made the code so it would have less conflicts in the future and Merged branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
data/languages/dutch.txt
data/languages/french.txt
data/languages/german.txt
data/languages/russian.txt
src/game/server/entities/flag.cpp
src/game/server/entities/flag.h
src/game/server/gamecontext.cpp
src/game/server/gamemodes/ctf.cpp
src/game/server/gamemodes/ctf.h
src/game/server/gamemodes/dm.cpp
src/game/server/gamemodes/dm.h
src/game/server/gamemodes/mod.cpp
src/game/server/gamemodes/tdm.cpp
src/game/server/gamemodes/tdm.h
2010-11-22 00:26:00 +02:00
Sworddragon
fc9211c777
Updated copyrights
2010-11-20 21:26:06 +01:00
btd
9b5235650d
Fix mistake
2010-11-13 01:41:43 +03:00
btd
7fcd245611
Fixes
2010-11-13 00:50:51 +03:00
GreYFoXGTi
505a5b4172
Refactoring
2010-10-29 23:29:07 +02:00
btd
61092f7baa
Begin show_others
...
Signed-off-by: btd <bardadymchik@gmail.com>
2010-10-23 23:26:10 +04:00
heinrich5991
0cd8390036
Revert "better spam protection. Closes #82 . Feedback Please"
...
This reverts commit daac101024
.
2010-10-14 08:42:29 +02:00
GreYFoXGTi
daac101024
better spam protection. Closes #82 . Feedback Please
2010-10-12 16:13:56 +02:00
GreYFoXGTi
8df6703224
Fixed Player Scores not being sent in the player snap
2010-10-11 20:53:56 +02:00
GreYFoXGTi
e7ab496262
Deleted old afk timer by noother, because it's replaced by a Vanilla feature
...
Note: we may need to tweak the vanilla features to suite DDRace needs in the future
2010-10-10 14:36:56 +02:00
GreYFoXGTi
40d2068c70
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
src/game/editor/ed_editor.cpp
src/game/editor/ed_editor.h
src/game/editor/ed_layer_tiles.cpp
src/game/server/gamecontroller.cpp
src/game/server/player.cpp
src/game/variables.h
2010-10-10 14:36:02 +02:00
oy
cd95f1869e
added inactive player kicking. Closes #51
2010-10-09 19:14:42 +02:00
GreYFoXGTi
896634a061
Total Cleanup
...
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-30 23:28:06 +03:00
GreYFoXGTi
e56b75090c
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
src/game/server/player.cpp
2010-09-22 11:46:18 +03:00
oy
68ed9154ae
don't add player that aren't ingame to the snapshot and don't let them autospawn. Closes #125
2010-09-22 01:00:33 +02:00
GreYFoXGTi
e5bdd8a279
fixed time bug in pause and reconnect
...
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-17 15:21:12 +03:00
GreYFoXGTi
e061d84f20
Added Ability to Reconnect in the same place as your disconnect
...
Decided by sv_max_dc_restore
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-17 12:34:13 +03:00
GreYFoXGTi
4f22df654e
Fixed /pause crash in spectator with out using /pause 1st.
...
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-17 09:05:27 +03:00
GreYFoXGTi
8e066517ad
Merge branch 'master' of http://github.com/btd/DDRace
...
Conflicts:
src/game/server/gamecontext.cpp
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-15 05:57:34 +03:00
btd
c4fa5c6128
Ugly command invis_me ^_^ seems very funny
2010-09-14 20:56:28 +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
GreYFoXGTi
fa379a806a
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
src/engine/server/server.cpp
src/game/client/components/scoreboard.cpp
src/game/server/gamecontext.cpp
src/game/server/player.cpp
2010-09-13 07:49:01 +03:00
oy
64c9b5c4ab
added quotes around player names in the other server messages too and changed it to ' for consistency
2010-09-12 13:34:30 +02:00
GreYFoXGTi
ddb4c2e370
Merge branch 'master' of github.com:GreYFoXGTi/DDRace into teams2
...
Conflicts:
src/game/server/entities/character.cpp
src/game/server/entities/projectile.cpp
src/game/server/gamecontext.cpp
src/game/server/gamemodes/DDRace.h
src/engine/shared/config_variables.h
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-08 22:22:08 +02: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
GreYFoXGTi
08040f5487
Added an Option to Disable Eye Emotes
...
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 07:15:24 +02:00
GreYFoXGTi
ebb5636fa3
/pause no longer pauses you time by default
...
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-09-07 06:42:42 +02:00
oy
3857096a20
Put quotes around player names in leave message.
2010-09-07 01:18:06 +02:00
Fujnky
69adb4800e
Put quotes around player names in server messages.
2010-09-07 01:11:20 +02:00
btd
b67de28a0c
Revert conversion float=> char*=>int
2010-08-27 18:28:01 +04:00
btd
510a47a158
Fix Server Best and no needed float -> char* -> int cast
2010-08-26 21:55:04 +04:00
oy
41afca6db2
added output level for console print function, categorised the debug messages and merged them into the new functionality. Closes #8
2010-08-25 01:17:02 +02:00
GreYFoXGTi
0325c59aa9
Merge branch 'master' of http://github.com/btd/DDRace
2010-08-24 03:38:33 +02:00
GreYFoXGTi
ed575f9b0c
Fixed 2x and 1.5x boosters
...
Removed Unused Vars
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-24 03:30:22 +02:00
btd
6fabca9e10
Add checkpoints. Client undestand that it is a DDRace server fully. Need to rework /top5 /rank. Clean rubbish. I want to sleep(
2010-08-23 23:37:27 +04:00
GreYFoXGTi
8b67e70dfb
Fixed /pause not saving the time
...
made sv_pauseable on by default
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-23 01:59:54 +02:00
GreYFoXGTi
3cb59795a6
Added Protection against cheating to usage of /pause
...
fixed /pause ammo when freezed
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-23 00:46:39 +02:00
GreYFoXGTi
66750a3220
Weapon pickup Sound Spam Disabled
...
/Pause Fixed but disabled pause with ninja
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
2010-08-23 00:04:26 +02:00
btd
844f3116fe
D:/Portable Apps/PortableGit-1.7.1-preview20100612/pause works. Need to delete RACE_PAUSE. And check that character resurect correctly
2010-08-22 17:17:57 +04: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
btd
84cf23203d
Revert storage.h
2010-08-07 12:02:58 +04:00
btd
37b0f43d1c
Fix strange 0 pointer bug. (very strange bug)
2010-07-31 00:16:36 +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
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
a3545b06b4
some cleanup
2010-06-07 00:08:40 +02:00
xalduin
9603d676c6
Score no longer decreased when switching teams
2010-06-03 17:08:05 -04:00
xalduin
3fff61d24a
Issue #86 , don't reset score on team switch
2010-06-03 10:35:18 -04:00
Tom Adams
c9ff80a17d
made balance teams based apun points/minute ( #495 )
2010-05-31 20:35:47 +00:00
Magnus Auvinen
72c06a2589
copied refactor to trunk
2010-05-29 07:25:38 +00:00
Magnus Auvinen
123c5b5b99
introduced 3 special pseudo weapons. game, self and world to make a difference on how you got killed
2009-01-12 21:41:16 +00:00
Magnus Auvinen
619c309779
removed spamming I wanna spawn message
2008-12-19 08:28:16 +00:00
Alfred Eriksson
cd8c23ef1b
fixed respawn times
2008-11-16 14:28:44 +00:00
Alfred Eriksson
a15c6946cd
now server sends the player spawn events
2008-11-01 19:41:22 +00:00
Alfred Eriksson
ddcfc69c03
fixed #507
2008-10-18 09:21:40 +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
eb47aa385b
added delay before respawn when using the kill-command; provided and tested by scosu; ticket #463
2008-10-17 15:38:36 +00:00
Magnus Auvinen
4484948a6d
updated the demo recorder
2008-10-14 12:11:42 +00:00
Magnus Auvinen
3544db4927
fixed #490 (insert the player info in the sv_setinfo message into the snapshot instead)
2008-10-08 20:47:56 +00:00
Magnus Auvinen
eb812244d9
fixed server crash when dieing
2008-09-24 14:54:51 +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
Dominik Geyer
51a9d23dae
fixed spectator mode freeview
2008-09-09 15:50:41 +00:00
Magnus Auvinen
25a2e529ba
fixed so the client gets the correct player info
2008-08-27 20:17:04 +00:00
Magnus Auvinen
dfe499248f
major commit. game client restructure. not complete, loads of stuff not working, but the structure is there
2008-08-27 15:48:50 +00:00
Magnus Auvinen
6235540629
moved out the player code from the character
2008-08-14 18:46:52 +00:00