heinrich5991
409bc0e019
Ensure null-termination in str_escape
...
This also fixes a couple of potential buffer overflows. The affected
code is still buggy (doesn't do the right thing on potential buffer
overflow), but at least it won't result in crashes/out of bound writes
anymore.
2017-07-08 13:06:03 +02:00
def
36d5c8d608
string toggling supports escaped strings; also some code cleanup
2017-07-08 11:03:51 +02:00
Learath2
5941755832
Add toggling for string options
2017-06-20 11:27:14 +02:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
Learath2
9cd5fa53e5
Fix horrible indent.
2017-02-09 13:01:19 +01:00
def
224b9d5443
echo command for clients prints to chat instead of mostly useless console
2017-01-06 00:17:53 +01:00
heinrich5991
80ea4c8590
Disallow usage of semicolons in chat commands
...
This prevents player name exploits due to tab completion of nicknames
that could result in unwanted commands being executed.
Print a deprecation message that is supposed to be removed in the
future.
2017-01-03 14:01:51 +01:00
def
61e47422f6
Clean up debug messages a bit (lower case, no useless errors)
2016-05-02 21:35:32 +02:00
H-M-H
cc2bbd62ca
if there is no matching ']' do not attempt to read
...
beyond the given string
2015-12-29 00:45:51 +01:00
H-M-H
8e24ef8020
commanddescription can now be placed directly in
...
the commandparamsstring: "s[file]"
2015-12-28 16:19:52 +01:00
H-M-H
11a426c18b
added (console-)command usage
2015-12-23 14:29:31 +01:00
H-M-H
cd6c297cb0
removed some code duplication and updated autoexec_server.cfg
2015-10-27 00:46:28 +01:00
H-M-H
0e532adb67
Implemented Helper accesslevel
...
basically just copied everything from moderator-accesslevel implementation
note however that mod_command changed to access_level
2015-10-23 04:21:07 +02:00
heinrich5991
a8d3f3bbc5
Only revert configs that have both SERVER and GAME flags on map change
2015-08-27 12:55:34 +02:00
heinrich5991
bf1f7d6ccd
(Safely) execute settings embedded in maps
2015-08-27 12:55:34 +02:00
heinrich5991
a3246ed099
Save the config into the map when the server loads the map
2015-08-27 12:51:24 +02:00
def
c004a352d2
Highlight in console
2014-12-20 13:37:11 +01:00
def
54497647b4
Minor console output cleanup
2014-09-06 23:22:35 +02:00
def
4b70e195c1
Multiline broadcasts
2014-04-19 00:40:21 +02:00
def
9f3da1e66e
Fix: Allow executing multiple commands
2014-01-03 02:25:04 +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
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
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
Magnus Auvinen
1711be955b
fixed all the errors that the clang static analayzer found
2013-02-24 17:58:34 +01:00
Magnus Auvinen
98042012a6
cleaned up warnings that clang spits out. some bugs found with it.
...
Conflicts:
src/game/server/gamemodes/ctf.cpp
src/game/server/gamemodes/ctf.h
2013-02-24 17:54:29 +01: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
XXLTomate
f9e4547b31
fixing the console (2)
2012-01-28 11:14:31 +01:00
oy
de8c9b23eb
added command to toggle config values. Closes #888
2012-01-09 01:25:18 +01:00
GreYFoX
ee670118a5
Merge branch 'master' of git://github.com/oy/teeworlds into DDRace
...
Conflicts:
src/engine/console.h
src/engine/server/server.cpp
src/engine/server/server.h
src/engine/shared/config.h
src/engine/shared/console.cpp
src/engine/shared/console.h
src/engine/shared/network_server.cpp
@heinrich5991 todo
2012-01-01 00:11:56 +02:00
GreYFoX
7820e48ec6
Minor changes
2011-12-31 01:33:11 +02:00
oy
ec4bb94537
added logout command for econ
2011-12-30 19:12:31 +01:00
oy
b44ee3d975
reworked ban system
2011-12-29 23:36:53 +01:00
XXLTomate
137a447065
Victims without callback(s)
2011-11-08 12:30:54 +02:00
GreYFoX
6c99ea2104
CMDList
2011-09-02 22:25:16 +02:00
GreYFoX
3ad8284716
Fixed #77 . top5
2011-08-31 12:30:18 +02:00
GreYFoX
7e24be5d83
Version 1.091a
2011-08-31 12:10:15 +02:00
GreYFoX
bf5374adbf
Reverted a change
2011-08-31 02:48:58 +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
GreYFoX
c7d9b289e7
Added a command to check user status commands
2011-08-26 23:37:10 +02:00
GreYFoX
9fe96f6b04
Test Commands check and feedback on command not executed
2011-08-26 23:24:46 +02:00
GreYFoX
b75a26eed9
Fixed the console
2011-08-26 20:03:30 +02:00
Ravomavain
15d0a40825
Add user level access and use this level for /cmds if player is not authed.
2011-08-26 16:28:14 +02:00
GreYFoX
de4a95c5d2
Merge branch 'master' of git://github.com/oy/teeworlds into DDRace0611
2011-08-20 06:50: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
c6fd4a2cc5
General whitespace and tab cleanup
2011-08-11 10:59:14 +02:00
oy
a0a62bcd70
fixed econ feature and tcp
2011-07-30 13:40:01 +02:00
oy
571dff6216
made rcon auto completion serverside. Closes #97
2011-07-14 22:07:21 +02:00
oy
1ae474689d
added moderator support for the remote console. #518
2011-07-05 21:54:10 +02:00
fisted
d5b3804804
fixed "no such cmd ''" on whole-line comments in cfg
2011-06-11 19:13:27 +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
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
3f0ad1ab65
Cleaned up helper commands, @heinrich5991 please revise this commit
2011-04-15 05:20:52 +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
GreYFoX
fd6388a9d8
Cheats are on unregistered servers only, added warning message about records not getting saved
2011-04-14 00:50:57 +02:00
heinrich5991
f0735554ec
fixed the reworked IConsole::PrintResponse
2011-04-14 00:34:11 +02:00
heinrich5991
c83c7b1a19
reworked IConsole::PrintResponse to IResult::Print (and obviously CConsole::PrintResponse to CResult::Print)
2011-04-14 00:34:10 +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
GreYFoX
45f3cf042a
Fixed a login with cheats
...
Renamed a constant
2011-03-18 00:17:01 +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
oy
d9ce720387
made engine an interface
2011-02-27 15:03:57 +01:00
heinrich5991
d506be71ea
added standard 'me' for victim console argument
2011-02-26 20:45:01 +02:00
GreYFoXGTi
f83132448d
Merged Oy, Isolated Freeze from Deep Freeze
2011-02-13 19:32:06 +02:00
heinrich5991
0288655395
Merge branch 'master' of git://github.com/GreYFoXGTi/DDRace
2011-01-26 20:11:49 +01: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
heinrich5991
6064096847
(hopefully) fixed /cmdlist for windows
2011-01-09 15:38:26 +01:00
oy
26f7c67895
fixed console parsing when using the exec command. Closes #381
2011-01-07 19:33:29 +01:00
GreYFoXGTi
ddc5dd7ab3
Cleaned up & Re-arranged stuff
2011-01-06 05:46:10 +02:00
GreYFoXGTi
9bed6aca8c
Fixed Compiler warnings
2010-12-07 20:27:04 +02:00
GreYFoXGTi
cebbecf632
Some Code Improvements and Compiler warnings
2010-12-07 19:44:23 +02:00
GreYFoXGTi
4f777211a5
Merge branch 'master' of http://github.com/heinrich5991/DDRace
2010-11-25 00:22:02 +02:00
heinrich5991
73ca31d168
changed rcon command "cmdlist" nearly completly
2010-11-24 22:09:31 +01:00
GreYFoXGTi
20b70ac24b
fixed http://ddrace.info/forum/showthread.php?291-passwords-doesn-t-work
2010-11-24 01:28:16 +02:00
GreYFoXGTi
2ad456433d
Made File Execution Level 3, but level 4 only for autoexec.cfg at server start
...
Removed TODO, because it's needed there to reset tunings on map change
2010-11-22 10:27:13 +02:00
GreYFoXGTi
bdd3af9f43
Applied CMDList Pages
2010-11-22 09:55:50 +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
GreYFoXGTi
ae591407c9
Merge branch 'master' of http://github.com/oy/teeworlds
2010-11-17 13:11:40 +02:00
oy
fd3d01ef14
removed no longer needed data-dir override param - mods system should be used instead. Closes #267
2010-11-17 01:02:29 +01:00
heinrich5991
daeb395e25
rcon victim system: replaced constants by enums
2010-11-16 16:07:45 +01:00
heinrich5991
89ef2a0928
fixed CServer::ConKick because of the new victim system, fixed the victim system for cases with at least one parameter after the victim
2010-11-15 18:58:44 +01:00
heinrich5991
797be2817c
reverted needless check of "helpers can use me commands"
2010-11-15 18:14:31 +01:00
GreYFoXGTi
5837b71a73
added pdb to gitignore
...
Helpers can now use me as victim as well
2010-11-13 11:55:17 +02:00
heinrich5991
c36eb3d359
fixed a bug with "me" as victim, fixed kick function due to new victim system
2010-11-10 23:24:33 +01:00
heinrich5991
50b8d93d6d
finished system to generalize rcon commands, sorry for last commit's description
2010-11-07 17:35:11 +01:00
heinrich5991
6f35687e03
added system to generalize rcon commands
2010-11-07 16:29:55 +01:00
GreYFoXGTi
fc433afd49
Merge branch 'master' of http://github.com/oy/teeworlds
2010-10-31 20:32:35 +02:00
oy
9e39239ce2
skip start params when parsing argv in console
2010-10-31 17:53:00 +01:00
GreYFoXGTi
4d204d642f
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
src/engine/console.h
src/engine/shared/console.cpp
src/engine/shared/console.h
2010-10-26 00:25:36 +02:00
oy
af56496281
moved str_skip_to_whitespace function
2010-10-25 18:41:15 +02:00
oy
8ca6a28088
parse line on addvote and skip invalid ones
2010-10-25 18:30:35 +02:00
heinrich5991
dcb80a4e58
added logging for rcon command tries
2010-10-18 20:52:30 +02:00
GreYFoXGTi
ddf2883cb2
Merge branch 'master' of http://github.com/oy/teeworlds
...
Conflicts:
src/engine/client/client.cpp
src/engine/server/server.cpp
src/engine/shared/console.cpp
src/game/server/gamecontext.cpp
2010-10-16 21:59:59 +02:00
oy
e294cd86a5
fixed bug in the console when executing a line that holds more than one command
2010-10-14 02:06:57 +02:00
GreYFoXGTi
d1129b7fce
*whistling*, the obvious cover up.
2010-10-12 11:48:45 +02:00
GreYFoXGTi
838f9d5bb2
something was wrong with the if xD
...
now only the admin has too weak connection for this
2010-10-12 10:57:22 +02:00
GreYFoXGTi
e9523454f1
Enhanced CMDList but still this causes too weak connection (out of buffer) need to think of a better way
2010-10-12 10:44:24 +02:00
GreYFoXGTi
5cf469fa11
Re-Added Command CMDList
2010-10-12 10:25:48 +02:00