c033d4b65c
engine: server: optimize source query
2024-07-07 02:34:43 +03:00
dc6f03b4e4
engine: server: add function SV_HavePassword that correctly checks whether this server have set up password
2024-07-07 02:10:48 +03:00
7d0467863c
engine: server: add cvar to not expose current player list, or if server has a password
2024-07-07 01:59:56 +03:00
a0b72d3995
engine: server: light sv_query.c refactoring, use Netchan_OutOfBand instead of manually creating out of band packet
2024-07-07 01:55:03 +03:00
5fe4b867f3
engine: server: do not expose some cvars in rules, some of them just don't make sense
2024-07-07 01:51:50 +03:00
457422c679
engine: server: fix possible byte overflow when sending sound with attenuation == 4.0f
2024-07-06 05:50:53 +03:00
080eba948f
engine: server: fix sound not being overriden when an entity sound came from has an aiment set
...
This check was added 10+ years ago in 8f6f3fc (viewable in Xash3DArchive) and
probably doesn't make any sense anymore.
2024-07-06 05:32:20 +03:00
d56e53a347
Replace hardcoded functions names by __func__ macro
...
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
2024-06-19 06:53:42 +03:00
95b48da37d
engine: allow to change hardcoded path to custom.hpk
2024-06-15 17:22:26 +03:00
1dd0444531
engine: server: comment out unused cvars, make some static
2024-06-15 08:44:19 +03:00
ba9eb01c1f
engine: server: replace timeout cvar by sv_timeout cvar for consistency with GoldSrc
2024-06-15 08:44:19 +03:00
cf26c87872
engine: remove unused host.decalList and host.numdecals
2024-06-12 10:20:09 +03:00
df23ddb545
engine: server: fix signed integer overflow in challenge generator
2024-06-09 07:05:24 +03:00
f9dab2ad19
engine: server: rename sv_allow_upload to sv_allowupload for compatibility
2024-06-09 07:02:50 +03:00
870e47ed03
engine: ensure character signness when checking for nonprintable characters
2024-06-07 22:22:13 +03:00
a9c0a4be23
engine: server: add cvar to disable bandwidth test on server side
2024-06-01 05:27:35 +03:00
b080ad9954
engine: moved link_t helpers to sv_world.c from world.c and made them static
2024-05-30 07:31:03 +03:00
e310c666b1
engine: common: add phs flag to Mod_FatPVS, unused currently
2024-05-29 05:41:47 +03:00
677b0170aa
engine: server: remove recalculating viewpoint for PVS hack, as it causes issues with inconsistency between real and "restored" view positions
2024-05-29 05:41:47 +03:00
51945f002b
engine: server: check for invoker entity when filtering out host client during entities thinking
2024-05-23 02:06:54 +03:00
bcca9387de
engine: server: sv_pmove: always set FEV_NOTHOST for events coming from PMove (like GoldSrc)
2024-05-23 01:51:42 +03:00
a6c2cfe89b
engine: avoid constants in Q_strncpy third argument, where possible
2024-05-06 14:27:26 +03:00
5120657386
engine: fix possible buffer overflow in S_StreamGetCurrentState
2024-05-06 06:53:22 +03:00
dd410a2de5
engine: implement small Message Rewrite Facitility that allows to run mods that directly write internal GoldSrc messages
2024-04-28 06:59:18 +03:00
20782693f4
engine: server: rename symbols for svs, sv and SV_DropClient to avoid AMXModX trying to acquire their pointers
2024-04-28 06:59:18 +03:00
f3208e95b2
engine: server: remove misleading message about interface version in case when GetEntityAPI2 has failed
...
Add message when GetEntityAPI was used instead
2024-04-21 20:05:34 +03:00
ea34bc8652
engine: turn bugcomp into flags that can be enabled/disabled separately
2024-04-21 16:52:15 +03:00
1677835b45
engine: common: simplify bit buffer operations
...
Yields a small performance boost
2024-04-08 07:24:53 +03:00
f60e856f35
engine: server: replace useless call to SV_Serverinfo to a direct access
2024-04-06 06:58:15 +03:00
fcd0982524
engine: server: free 64-bit string pool last when unloading library
2024-04-05 19:45:24 +03:00
6881ee742d
engine: server: fix incorrect NULL check in pfnCvar_RegisterServerVariable
2024-04-05 18:45:15 +03:00
f070bbef3c
engine: server: make EDICT_NUM inlined
2024-04-04 20:42:25 +03:00
c896425ad9
engine: server: make changelevel commands compatible with GoldSrc
2024-04-04 00:21:28 +03:00
156b2b2b10
engine: server: remove MAP_HAS_SPAWNPOINT checks
2024-04-03 05:52:42 +03:00
f6d489e038
engine: server: register str64stats command that prints string pool usage statistics
2024-03-26 17:15:15 +03:00
d34fedea69
engine: server: cleanup unused variables
2024-03-25 05:50:04 +03:00
80b3f90091
engine: server: more accurate SV_ParseEdict
...
* Add removing trailing spaces, like GoldSrc does
* Pass classname first to allow game to override it
* Remove FL_CUSTOMENTITY flag usage, GoldSrc doesn't set this flag for "custom"
export entities
* Fix possible memory leak
2024-03-25 05:49:59 +03:00
SNMetamorph
0fc83080ec
engine: server: allowed bandwidth test on listen servers
2024-02-26 19:41:32 +03:00
SNMetamorph
8efc9d74e8
engine: server: fixed test packet buffer was not being created
2024-02-26 19:41:32 +03:00
8afca1a79c
engine: server: allow starting game from custom map
2024-02-23 20:54:32 +03:00
e11f9e05d4
engine: server: add GetNativeObject to server's PhysicsAPI
2024-02-19 17:49:37 +03:00
b59b7c1a8d
engine: server: better error message for missing spawn functions
2024-02-17 22:15:41 +03:00
Andrey Akhmichin
8b79e49a0f
engine: server: execute maps/<mapname>_unload.cfg on server deactivation.
2024-02-16 17:57:26 +03:00
Andrey Akhmichin
4ea6eba8f2
engine: server: execute maps/<mapname>_load.cfg before entities precaching.
2024-02-16 17:57:26 +03:00
Andrey Akhmichin
f649076bc3
engine: server: execute map change config file before entities precaching.
2024-02-16 17:57:26 +03:00
Andrey Akhmichin
8ecffa4663
engine: server: define new "disconcfgfile" cvar.
2024-02-16 17:57:26 +03:00
Andrey Akhmichin
e90b83849a
engine: server: execute map change config file in singleplayer.
2024-02-16 17:57:26 +03:00
Andrey Akhmichin
d517b9717a
engine: server: define new "_sv_override_scientist_mdl" cvar for Uplink's scientist model.
2024-02-16 17:57:26 +03:00
2c0d6e06be
engine: server: return NULL in SV_ClientBy{Id,Name} if client array isn't allocated
2024-02-15 13:56:47 +03:00
1f4c9b67da
engine: server: don't init or send voice chat in singleplayer
2024-02-13 15:09:26 +03:00