Learath
e637064a68
Don't store HSL separately
2019-04-25 19:49:27 +03:00
Learath
95a3a69e08
Start phasing out vectors for colors
2019-04-25 18:21:35 +03:00
Learath
cc319e0152
Fix warnings and style
2019-04-25 15:04:36 +03:00
Learath
0f781df1dd
Try handling colors in console
2019-04-25 14:48:53 +03:00
def
b91530eedc
Console: Can't deallocate temp entries, so don't even try
2019-04-10 23:32:45 +02:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
heinrich5991
c739aef60e
Some style fixes
2018-06-19 14:28:53 +02:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
heinrich5991
dfc53b48cf
Fix victim handling
2017-10-17 01:32:40 +02:00
heinrich5991
9761e9606a
Make most user input teehistoric
...
Exclude private stuff like chat messages and votes.
2017-09-20 02:23:28 +02:00
def
0b1842d438
Use filesystem paths for -f command line param
2017-08-11 21:07:20 +02:00
def
5d8a0ddc1e
Add time in console
2017-08-04 22:38:22 +02:00
HMH
80fac31175
fixed memory leak in console
2017-07-21 15:51:56 +02:00
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