drian
05a83c8170
#269 score is not working
2021-04-30 06:14:29 +02:00
ac-stef
1fe478aae4
cleanup protocol
...
...and get master to compile again
DOCREF hudextras mapstats_hud nextGameMode
2017-06-27 15:15:25 +02:00
ac-stef
035d7caf2f
thread-safe and fully buffered logging
...
Uses own thread to actually write to logs, so the main thread can't be
blocked by a slow logfile. Log entries are buffered in two ringbuffers,
one for the main thread and one for all other threads. The main thread
will copy the second buffer to the main buffer periodically. The main
thread buffer is read from the log worker thread.
Since two buffers are kept, there are now several functions to add a log
entry:
mlog()
for main thread functions only: will never block
tlog()
other threads only: may block, until main thread copied some entries
xlog()
automatically determines, which thread it's been called from and
then writes to the proper buffer (will block accordingly)
To avoid improper usage, mlog and tlog verify, if they are used correctly.
(Only for debug builds. An assert triggers, if necessary.)
2017-06-27 15:15:23 +02:00
ac-stef
25deee5287
more versatile disconnect reasons
2017-06-27 15:15:21 +02:00
ac-stef
1ca4ce54eb
some server changes
...
tbc
2017-06-27 15:15:20 +02:00
Lucas GAUTHERON
c7b1fa19c2
distinguish auto-banned clients from vote-banned clients
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7307 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2013-03-05 12:37:49 +00:00
Lucas GAUTHERON
43ab63a88a
serverside shotgun checks, addban function
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7017 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-12-31 03:26:52 +00:00
aerkefiende
66f8feee3b
Replaced every tab with 4 spaces
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6927 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2012-11-12 22:28:11 +00:00
flowtron
969a3373cc
fix typo of last commit
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6664 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-10-15 23:56:22 +00:00
flowtron
fb1a68cd96
never kick a SPEC for inactivity - manual kick-vote required
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6663 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-10-15 23:51:47 +00:00
Lee Salzman
a4b83ef2ba
warning fixes
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6248 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-04-14 15:24:11 +00:00
flowtron
3bd6eeff2a
another type of checktype
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6105 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2011-02-15 18:41:59 +00:00
Rafael Barreto
f2bc5d2177
testing tk score punishment recommended by pwnage, and setting a saner flag cover range at small maps
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5818 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-11-09 18:11:13 +00:00
Rafael Barreto
8c24608ca6
showmapstats and mapstats_hud commands (client side map quality information), putting scopesens alias back to defaults, commenting spectating logs info, and updating docs
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5775 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-19 21:21:17 +00:00
Rafael Barreto
29bea67da1
making the map quality requisites more transparent: 1) "MAP CHECK FAIL" messages in the server logs; 2) console messages to the client (WiP).
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5769 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-10-19 12:28:17 +00:00
RandumKiwi
955f2384cf
Change friendly fire message
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5702 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-09-30 22:44:43 +00:00
Rafael Barreto
84cd7aa212
more anticheat compatibility
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5658 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-19 22:53:56 +00:00
Rafael Barreto
3b09f9ac2e
anticheat compatibility
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5657 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-19 22:43:19 +00:00
Rafael Barreto
9325b67f1a
clean up, some commands from kirin (thank you for the work), some anticheat compatibilities, balance teams saner check, check for map quality in the maprot, and more clean up
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5651 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-17 15:03:41 +00:00
Rafael Barreto
57d78e9790
including some medal messages when the server is logging in verbose mode
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5641 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-16 19:04:22 +00:00
Rafael Barreto
43ba8a128e
server switch: demo available only at intermission (giving 20 seconds of intermission if someone is downloading a demo), and more lag tolerance...
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5597 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-08-11 02:25:50 +00:00
Rafael Barreto
3e4c92b493
fixing the coop vote/map check issues, adding some anticheat compatibility
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5500 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-31 00:16:58 +00:00
Rafael Barreto
d418b6bd07
re-ordering README credits, one more use for ultra fast sqrt, server checks, sanity stuff
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5475 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-29 22:26:23 +00:00
Rafael Barreto
28429e4258
expected start
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5472 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-29 01:33:47 +00:00
Rafael Barreto
bd87e186eb
fix balance teams, more anticheats compatibility, and reverting autoexec.cfg
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5471 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-28 23:22:32 +00:00
Rafael Barreto
7a3897b4c7
credits included/fixed (thanks to Gibstick), some medal interface WiP (thanks to kirin), afk autokick not affecting spectators if the server is not full, and more anticheat compatibility
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5463 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-27 19:27:47 +00:00
Rafael Barreto
97cfafe794
some credit inclusion (i am not sure we put everybody who deserves it), some fast functions, and some more compatibility to cheat detection
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5460 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-26 21:23:45 +00:00
Rafael Barreto
1ac442a213
more anticheats compatibility, using fast sqrt (100% faster than sqrtf)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5456 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-24 22:03:52 +00:00
Rafael Barreto
f5d4f78609
clean up and including more anticheats
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5452 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-24 00:09:39 +00:00
Rafael Barreto
4141e2d4c9
linux bins, and some more anticheats included
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5450 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-23 19:40:33 +00:00
Rafael Barreto
9bc699c27a
minimalist scoreboard, docs fix (missing diff line), less points to combo (to make it more reliable with the frag/death relationship in a dm)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5447 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-22 21:22:26 +00:00
Rafael Barreto
e464f7276e
removing unused files, fix-redoing the switch (sorry Toca... i did not find your work :F), and committing the 32 and 64 bins (alpha fixes)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5446 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-22 19:38:59 +00:00
Rafael Barreto
2632947b3e
removing unused code and disabling afk autokick if the server have less than 5 players
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5442 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-22 18:26:24 +00:00
Rafael Barreto
1fd43d8aeb
comment, flag fix (related to cover) and reliable lag information
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5434 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-21 23:00:34 +00:00
Rafael Barreto
6c69a3ab44
compatibility things
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5419 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-18 01:51:24 +00:00
Rafael Barreto
97272b9055
more compatibility things
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5411 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-18 00:21:27 +00:00
Rafael Barreto
38e51abbfa
compatibility things
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5406 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-17 22:51:48 +00:00
Rafael Barreto
42caf62670
ifdef ACAC
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5363 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-13 18:49:47 +00:00
Rafael Barreto
5f68d9bf6a
vel change, new g int, afk switch
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5336 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-11 01:21:26 +00:00
Rafael Barreto
b9c8230114
compatibility things and medal score basis (thanks to Kirin for the work)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5302 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-07 21:09:21 +00:00
Rafael Barreto
207cdad9f9
mouseaccel rescale, afk fix (again!)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5300 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-07-07 17:24:52 +00:00
Rafael Barreto
6cf55736db
bug fix: removing "clientnumber" variable
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5255 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-30 19:37:52 +00:00
Rafael Barreto
ec9df808b2
maxdim comments, fix the Marea value, shotgun frag fix (i thought it was already committed)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5251 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-29 15:47:32 +00:00
flowtron
15a11c1126
minor changes & comments
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5243 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-27 17:18:20 +00:00
Rafael Barreto
5e753ffedd
including shotgun gib, avoiding afk autokick if the game is not team mode and the server is not full, and some flag score fix (one flag in depot worths 8 frags... this is the same values used by clown, i believe)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5231 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-25 20:04:41 +00:00
Rafael Barreto
5831591dd1
some flag score fix, and whois -1 command (for admins only): it shows all ips of all player, line by line
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5225 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-25 00:10:18 +00:00
Rafael Barreto
d1a6dd10d2
do not kick the flag keeper for afk
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5209 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-21 19:23:26 +00:00
Rafael Barreto
d04d036204
map/test layout fix, vote now will appear when the player connects, combo pistol/sniper now included
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5203 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-19 23:47:14 +00:00
Rafael Barreto
36b4843174
afk kick enhance (i thought it was already committed)
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5198 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-18 15:10:00 +00:00
Rafael Barreto
2aa84e1ce3
friendly fire counter and tk autokick/autoban
...
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5178 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2010-06-11 19:03:35 +00:00