2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-29 08:05:50 +03:00
Commit Graph

541 Commits

Author SHA1 Message Date
s1lent
fa6bc4b98e
HLTV: Fix crash and small refactoring.
HLTV: Removed the obsolete filesystem_steam.
2017-05-05 22:33:07 +07:00
asmodai
0c4f5d37ad Fix crash on linux 2017-05-05 18:30:10 +03:00
theAsmodai
97edca1d90 Merge pull request #410 from dreamstalker/launcher_refactoring
Launcher refactoring
2017-05-04 22:32:00 +03:00
s1lent
98ba97820a HLTV: Fix crash the client on the connection to master server. 2017-05-05 00:23:59 +07:00
s1lent
1f355d6a5b SV_RecursiveHullCheck: fix typo
DELTA_TestDelta: reverse engineering mistake.
2017-05-04 04:28:06 +07:00
s1lent
cd7798b7a8 Merge branch 'master' of github.com:dreamstalker/rehlds into hltv 2017-05-04 00:50:08 +07:00
Lev
a6ebcc747c Merge branch 'master' into launcher_refactoring 2017-05-03 20:41:14 +05:00
Lev
337847ddc1 Merge pull request #366 from Sh1ft0x0EF/coderev
[Codebase] const-like defines -> consts
2017-05-03 20:37:38 +05:00
s1lent
46cd13fcd6 Add project HLTV 2017-05-03 22:02:15 +07:00
In-line
a3d05f2301 Fix #445 2017-04-29 23:41:49 +04:00
In-line
0698bcc899 Refactor Sys_FloatTime in linux 2017-04-29 11:14:13 +04:00
In-line
f812b2ea2e Fix possible null dereferences (#443)
* Fix possible null dereference in R_StudioCalcBonePosition

* Fix possible null dereference in NET_LagPacket

* Fix possible null dereference in SV_CreatePacketEntities_internal
2017-04-27 19:55:25 +05:00
In-line
edbb15a0ca Add missing NOXREF and NOXREFCHECK to Host_Crash_f 2017-04-27 17:10:25 +04:00
In-line
187e04e25e Refactor calls (#445)
Refactor NET_LagPacket calls
Refactor R_StudioCalcBonePosition call
2017-04-26 18:36:13 +03:00
In-line
4da6a09875 Fix out of bounds assign in Sys_InitGame (#444)
* Fix out of bounds assign in Sys_InitGame.
2017-04-26 18:44:18 +05:00
Sh1ft0x0EF
416637e970 Const-like defines -> consts 2017-04-26 04:51:40 +04:00
theAsmodai
c895428d1d Merge pull request #439 from In-line/patch-6
Optimize PF_IsMapValid_I
2017-04-25 18:43:16 +03:00
theAsmodai
18afb757b7 Merge pull request #438 from In-line/patch-4
Add REHLDS_FIXES checks
2017-04-25 18:38:03 +03:00
In-line
52c6d0f855 Refactor & Fix pr_cmds.cpp (#437)
* Use sizeof in PF_stuffcmd_I

* Undef IGETINDEX_CHECK_FIELD after usage

* Move index variables to loops

* Use __func__ whenever possible, addition to #353
2017-04-25 20:30:32 +05:00
In-line
63357e9ce3 Optimize PF_IsMapValid_I 2017-04-25 18:41:50 +04:00
In-line
5f117f2c9e Add REHLDS_FIXES checks 2017-04-25 18:38:20 +04:00
s1lent
6bda5ecbba Restructuring of rehlds for HLTV project.
Improved hooks stuff: Removed wrappers for virtual functions hooks.
2017-04-24 04:25:31 +07:00
In-line
7efc256c7c Update IsComment (#433)
Refactor IsComment.
2017-04-23 17:19:56 +05:00
asmodai
6ee60a1f76 invert condition 2017-03-23 00:47:27 +03:00
Lev
45a84ead82 Add check for NULL edict. 2017-03-21 01:14:27 +05:00
asmodai
0f4b380bee Added brackets after sizeof 2017-03-19 22:01:04 +03:00
asmodai
2c98e14606 Launcher refactoring 2017-03-19 21:57:14 +03:00
Lev
be6a16eb39 Use TYPE_xxx defines for *hltv values. 2017-03-19 23:45:35 +05:00
Lev
e92df0e3f4 Merge pull request #409 from dreamstalker/fixes201703192
Make cycle more close to original.
2017-03-19 22:41:16 +05:00
Lev
a4d2cd722f Merge pull request #412 from dreamstalker/fixes201703193
Add and use netsrc_s size.
2017-03-19 22:36:21 +05:00
Lev
ac3fdd5c5a Add and use netsrc_s size. 2017-03-19 21:58:48 +05:00
Lev
7c8dd5964d Leave FL_DORMANT in flags on disconnect if present (used by CS). 2017-03-19 21:46:20 +05:00
Lev
278573df1b Make cycle more close to original.
Optimisation in call to the sleep function.
2017-03-19 19:57:07 +05:00
Lev
95a7df6ba5 Reset edict flags on client disconnect. 2017-03-19 19:50:38 +05:00
Lev
48bb47d2dc Allow to modify triggers collection while iterating it (prevent crash). 2017-03-19 08:00:58 +05:00
Lev
f026c38333 Make mapcycle.txt sending optional, because not used on the client and cause parse error if file is large. Also truncate if sending is enabled.
Added sv_rehlds_send_mapcycle cvar.
2017-03-15 12:03:40 +05:00
Chuvi
386fc4959e Changed magic number -2 (0xFFFFFFFE to NET_HEADER_FLAG_SPLITPACKET) 2017-03-12 19:36:11 +03:00
Lev
28ee0d7456 Updated dedicated.rc file. 2017-03-12 19:44:38 +05:00
Lev
3607fc154a Fix compilation under GCC. 2017-03-12 18:25:11 +05:00
Lev
69c1833b4b Move sv_delta_s declaration to the public file.
Add missing files to the project.
2017-03-12 18:09:38 +05:00
Lev
099f062c3f Drop unneded dedicated.sln file. 2017-03-11 21:49:00 +05:00
Lev
762751b7d5 Enable useGcc gradle option for dedicated project. 2017-03-11 18:30:25 +05:00
Lev
3fb1bcaaba Enable useGcc gradle option for dedicated project. 2017-03-11 18:24:10 +05:00
Lev
fd8e550f0d Enable useGcc gradle option for dedicated project. 2017-03-11 18:17:11 +05:00
Chuvi
08825fdf0d Add tab completion support in launcher. (#393)
Add tab completion support in launcher.
2017-03-10 03:15:08 +05:00
Lev
5ea579d274 Adjust public amalgamation on dedicated project. Add files to project. 2017-03-09 08:07:22 +05:00
Lev
46bf6e7af1 Remove excess project configurations. 2017-03-08 20:23:55 +05:00
Chuvi
70d1c4a79a Selecting correct toolset for VS2013/VS2015.
Probably, VS2017 should be added here too.
2017-03-08 15:55:00 +03:00
Lev
f3cc1943af Add md5.cpp to project.
Add dedicated project to solution.
Warnings fixes.
2017-03-08 06:10:42 +05:00
In-line
f8e2b5004c Add separate files for MD5 (#386)
* Add separate files for MD5

* Add license header to md5.h

* Add license header to md5.cpp
2017-03-02 01:21:19 +03:00
In-line
83e51d1151 Fix -netthread check (#385)
* Fix -netthread check

* Update net_ws.cpp

* Update net_ws.cpp
2017-03-02 01:19:23 +03:00
theAsmodai
fbdf8fb47d Unit tests for IsSafeFileToDownload (#384)
* Added unit tests for IsSafeFileToDownload

* Fixed tests fail

* fixed crash

* Added more checks
2017-03-02 01:18:44 +03:00
theAsmodai
b9f88c1de8 Merge pull request #383 from In-line/FixNetSleep_Timeout
Refactor NET_Sleep_Timeout
2017-03-02 01:18:32 +03:00
In-line
5d1a416b03 Move max socket calculation to proper place 2017-02-27 22:41:17 +04:00
In-line
41d62afef0 Refactor NET_Sleep_Timeout 2017-02-27 22:38:10 +04:00
theAsmodai
415fddf615 Merge pull request #379 from In-line/FixHostStatus
Remove temp buffer from Host_Status_Printf
2017-02-25 17:53:23 +03:00
In-line
64bd89bb8e Remove temp buffer from Host_Status_Printf 2017-02-24 12:32:31 +04:00
In-line
d51847f2b6 Optimize MD5_Print function 2017-02-24 11:49:17 +04:00
In-line
9387422655 Fix IsSafeFileToDownload (thx [WPMG]PRoSToTeM@) (#374)
Fix nullptr dereferencing in IsSafeFileToDownload.
2017-02-21 03:18:45 +05:00
In-line
ec49dbbbf3 Use _func_ in NET_GetLong 2017-02-20 20:35:36 +04:00
In-line
228c365f61 Update cvar.cpp 2017-02-20 20:07:41 +04:00
In-line
310e963a38 Update cvar.cpp 2017-02-20 20:06:55 +04:00
In-line
61afe7a7b9 Update cvar.cpp/cvar.h 2017-02-20 20:05:40 +04:00
In-line
bd8019da9f Add MAX_CVARLIST_FILES define 2017-02-20 19:08:07 +04:00
Lev
590227aa8d Merge pull request #373 from Sh1ft0x0EF/coderev-generic
Fix missing license headers.
2017-02-20 16:39:33 +05:00
Sh1ft0x0EF
1b75722974 Fix missing license headers 2017-02-20 15:03:53 +04:00
Lev
f1e6b6ca40 Merge pull request #372 from Sh1ft0x0EF/coderev-generic
enum-like defines -> enums
2017-02-19 10:20:09 +05:00
Lev
4a90fa39a1 Added crlf at the file ending. 2017-02-19 10:04:22 +05:00
Sh1ft0x0EF
77482953d9 enum-like defines -> enums 2017-02-18 22:53:56 +04:00
Lev
8960c2ec5e Merge pull request #371 from Sh1ft0x0EF/coderev-pragma
Use pragma once for headers.
2017-02-18 20:49:01 +05:00
Sh1ft0x0EF
774e065278 Use pragma once for headers (368B - Same as #368 but using pragma only) 2017-02-18 18:58:37 +04:00
Lev
0b95a4f976 Merge pull request #370 from shelru/Description-fixz
Command parameter description added.
2017-02-18 17:26:44 +05:00
Lev
0cf0746afb Merge pull request #364 from WPMGPRoSToTeMa/patch-7
Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged.
2017-02-18 17:08:17 +05:00
shelru
09fc396a84 Some desc added.
Update description for 'kick' cmd.
2017-02-18 15:59:20 +04:00
Lev
ef8134168b Small refactoring. 2017-02-18 13:58:23 +05:00
Lev
f97308fc78 Refactoring, #362. 2017-02-17 22:40:25 +05:00
Artem Golubikhin
facbbafb8a Fixed double userinfo sending when SetClientKeyValue is used in ClientUserInfoChanged 2017-02-17 19:14:33 +03:00
Lev
c55837e42a Refactoring: use SOCKET type for sockets, simplified code for invalid socket value. (#359)
* Refactoring: use SOCKET type for sockets, simplified code for invalid socket value.
Fixed bug in reversing.

* Fixed Linux build.
2017-02-17 15:26:44 +03:00
Lev
5c34ee85ea Fixed post build event. 2017-02-15 20:04:23 +05:00
souvikdas95
42ae4c2e97 MSVC Warning Fix (v140_xp) (#355)
MSVC Warnings Fixes (v140_xp).
2017-02-15 19:59:39 +05:00
Lev
9ee7e6e95f Formatting. 2017-02-15 08:41:28 +05:00
Lev
b03dc58897 Fixed most of unrechable code. 2017-02-15 08:10:29 +05:00
Lev
c702da50ef Merge pull request #357 from dreamstalker/fixes20170215
Suffix parameters in type declaration to avoid messing with macros and local variables.
2017-02-15 06:15:27 +05:00
Lev
a0a5202362 Suffix parameters in type declaration to avoid messing with macros and local variables. 2017-02-15 06:04:23 +05:00
In-line
9ecd027518 Remove comment (#352)
* Remove comment.
2017-02-15 05:58:09 +05:00
Lev
6e5a4eb010 Merge pull request #327 from souvikdas95/master
Fixed: parameter constraints in meta forwards & cmd functions.
2017-02-15 05:20:17 +05:00
Souvik Das
656c5d5f52 Fixed: parameter constraint in PF_lightstyle_I 2017-02-15 00:32:54 +05:30
Souvik Das
6a9d611a25 Fixed: parameter constraints in meta forwards 2017-02-15 00:10:58 +05:30
Souvik Das
0a62dab196 Added more constraints to cmd functions 2017-02-14 22:55:31 +05:30
theAsmodai
96d7b982a9 Merge pull request #351 from s1lentq/stdc_compat
Remove link statically with libstdc++
2017-02-14 19:23:09 +03:00
In-line
f892229a40 Use __func__ whenever possible 2017-02-14 19:47:09 +04:00
s1lent
1b893376db Remove link statically with libstdc++ and add compatibility tricks to avoid symbols with version GLIBCXX_3.4.16 and bigger. 2017-02-14 22:02:15 +07:00
s1lent
c2de84abf5 HLDS Launcher: Fix pingboost 1 2017-02-14 17:15:23 +07:00
Lev
562f957477 Fixed typo in comment. 2017-02-14 04:36:40 +05:00
s1lent
5eb2498ced HLDS Launcher: Fix pingboost 2017-02-14 04:39:31 +07:00
s1lent
3bf374d298 Add project Dedicated (hlds launcher without VGUI) 2017-02-14 02:56:38 +07:00
Lev
713eb77e9e Merge pull request #349 from dreamstalker/fixes20170212
Added some comment.
2017-02-13 01:36:01 +05:00
Lev
9905fc6839 Added some comment. 2017-02-13 01:34:25 +05:00
theAsmodai
4fa22385be Merge pull request #348 from dreamstalker/fixes20170212
Fix CreateBaseline call crash under Linux and change parameters passing under Windows.
2017-02-12 23:02:10 +03:00
Lev
eb27095f73 Fix CreateBaseline call crash under Linux and change parameters passing under Windows. 2017-02-12 22:53:07 +05:00
Artem Golubikhin
4ec65317f9 Fixed typo in SV_FindModelNumbers 2017-02-11 06:15:55 +03:00
Lev
2f64cfc873 GCC support (#339)
* GCC support - could be used via -PuseGcc command line argument.

* Refactoring around __FUNCTION__, change __FUNCTION__ into __func__.

* Refactoring, formatting, small fixes.
2017-02-11 01:51:22 +05:00
Lev
b0cd67b112 Merge pull request #338 from WPMGPRoSToTeMa/LocalGametime
Fixed build fail
2017-02-07 01:38:00 +05:00
WPMGPRoSToTeMa
f797704762 Fixed build fail 2017-02-06 20:36:30 +03:00
theAsmodai
027a01bf42 Merge pull request #337 from WPMGPRoSToTeMa/LocalGametime
Fixed local gametime ticking when server is paused
2017-02-06 13:51:12 +03:00
WPMGPRoSToTeMa
dacd3bf14e Fixed local gametime ticking when server is paused 2017-02-06 02:43:59 +03:00
Lev
9d5b94a514 Do model leafs check only in single player. (#336)
* Do model leafs check only in single player.
2017-02-04 23:11:21 +05:00
Lev
f5faf796d9 Small fixes and formatting. (#331)
* Allow hlds.exe to be renamed, just disable testing suite.

* Corrected structure field name.

* A bit of formatting and types fixes.

* Correct the code to avoid visual studio code parsing bug (it doesn't process half of pair curly braces in defines correctly).

* A bit more cleanup.
2017-02-03 23:07:24 +05:00
Artem Golubikhin
6715402425 Workaround for texture precaching on case-sensitive filesystem (#325)
That fixes a problem when texture file for model ends with "t.mdl", not "T.mdl"
2017-01-28 02:02:43 +05:00
Artem Golubikhin
b175d2a829 Removed split packets processing on the server socket 2017-01-27 02:26:33 +03:00
theAsmodai
e6fa6d7c07 Merge pull request #321 from WPMGPRoSToTeMa/FixSpectatorBufferOverflow
Allowed spectator and global unreliable buffer to overflow
2017-01-24 23:41:04 +03:00
WPMGPRoSToTeMa
50dc3acfde Allowed spectator and global unreliable buffer to overflow
Extended spectator buffer
2017-01-24 17:08:18 +03:00
Artem Golubikhin
2382a8876f Fixed auto wad precaching (#319) 2017-01-23 16:58:50 +05:00
In-line
105075e0f6 Micro optimization and report recursive shutdown by Sys_Error (#318)
* Micro optimization in CheckGore
2017-01-23 14:16:03 +05:00
In-line
fb3ec088e1 Fix and optimize file extension checks (#317)
Optimize file extension checks
2017-01-21 22:00:50 +03:00
theAsmodai
47964c847b Merge pull request #314 from In-line/move_numleafs_check_to_model_load
Move model->numleafs check to Mod_LoadLeafs
2017-01-21 14:23:09 +03:00
In-line
f6ce3a447c Move model->numleafs check to Mod_LoadLeafs 2017-01-21 13:14:29 +04:00
Artem Golubikhin
f967c5db95 Additional dead check for kill command handler 2017-01-21 04:29:06 +03:00
theAsmodai
b6fe0ac31f Merge pull request #311 from dreamstalker/cmd_remove_cmd
Added Cmd_RemoveCmd to ReHlds API
2017-01-17 23:51:58 +03:00
s1lentq
fedc99bb85 Add a detailed print in SV_HandleClientMessage 2017-01-15 01:04:02 +07:00
s1lentq
63a037af60 Add badge to README.md 2017-01-13 02:38:51 +07:00
s1lentq
0c8cb64af7 Fix #304
Fix unknown function __cpuidex when used in 3rd party
2017-01-07 19:59:56 +07:00
asmodai
d75af4a219 Added Cmd_RemoveCmd to ReHlds API 2017-01-07 02:42:36 +03:00
theAsmodai
428b05e8ec Merge pull request #305 from dreamstalker/fpu_flags_dont_set
Removed FPU flags changing for SSE builds
2017-01-07 01:54:11 +03:00
asmodai
dace70e2b1 Removed FPU flags changing for SSE builds 2017-01-07 01:36:37 +03:00
In-line
8ec7639995 Move SetCStrikeFlags() from Init_noVirt to Host_InitializeGameDLL 2017-01-06 21:43:00 +04:00
In-line
2ab8b1f884 SetCStrikeFlags once on server start 2017-01-06 10:54:31 +04:00
In-line
bff0dfd7b4 Default *pfilename in COM_Log to status.log (#303)
Default filename in COM_Log changed to hllog.txt
2017-01-05 18:16:57 +03:00
Chuvi
73237e884b Convert g_bIs#GameName# to enum. (#300)
* Convert g_bIs#GameName# to enum.
2017-01-05 03:08:21 +05:00
theAsmodai
22ca60c764 Merge pull request #294 from theAsmodai/noxref_err_icc
Added correct noxref error message for ICC linux builds
2016-12-30 16:32:40 +03:00
LevShisterov
0a139c728e Merge pull request #298 from dreamstalker/Host_Quit_Restart_f_fix
Fixed Host_Quit_Restart_f.
2016-12-30 00:39:08 +05:00
Lev
f28c4c4b4e Fixed Host_Quit_Restart_f. 2016-12-30 00:31:45 +05:00
asmodai
085c8b8017 Added correct noxref error message for ICC linux builds 2016-12-29 01:22:56 +03:00
Semen Ermilov
b9c8be8aec Nohref checks (#293)
* Fixed "error C4996: 'GetVersionExA': was declared deprecated" using a crutch.
* Added NOXREFCHECK to all NOXREF functions.
* Removed NOXREF from Sys_CheckOSVersion because it is being called.
2016-12-28 23:41:12 +05:00
Chuvi
11d1af755f Fixed "error C4996: 'GetVersionExA': was declared deprecated" using a crutch. 2016-12-28 11:10:02 +03:00
theAsmodai
9c59407c9a Merge pull request #290 from dreamstalker/Decal_Init_fix
Fixed decals.wad loading fallback to DEFAULTGAME directory.
2016-12-27 19:27:40 +03:00
Lev
714ecf9651 Fixed decals.wad loading fallback to DEFAULTGAME directory if mod doesn't supply it (like in AG). 2016-12-27 18:47:17 +05:00
theAsmodai
347f42a799 Merge pull request #287 from WPMGPRoSToTeMa/LocalGametime
Added a feature of local gametime which decrease "lags" if you run sa…
2016-12-24 18:42:29 +03:00
WPMGPRoSToTeMa
34f23b1577 Added a feature of local gametime which decrease "lags" if you run same map for a long time (sv_rehlds_local_gametime cvar, related to #193) 2016-12-24 18:05:41 +03:00
asmodai
418ed98b48 Use SSE for some typical floating point operations 2016-12-23 00:39:22 +03:00
asmodai
828c05d93b asmlib update 2016-12-22 19:02:19 +03:00
WPMGPRoSToTeMa
ee4026ec4e Fixed "Malformed packet size" on packets from server to client 2016-12-22 05:07:00 +03:00
LevShisterov
97b072a9f6 PVS/PAS buffer overrun fix (#282)
Fix buffer overrun in adding to fat PVS/PAS.
2016-12-20 00:06:39 +03:00
WPMGPRoSToTeMa
ab5e2aa6ac Fixed sending messages to fakeclients (fixed #279) 2016-12-16 07:17:03 +03:00
s1lentq
076219bcd1 Fix a typo in the checking of bounds of the index for pointer of model. 2016-12-13 06:28:32 +07:00
s1lentq
4fc947807f Refactoring
Fix crash on SV_SingleClipMoveToEntity, added safe check for pointer model
2016-12-12 22:05:45 +07:00
WPMGPRoSToTeMa
fe91b14995 Fixed has_force_unmodified wasn't reset sometimes 2016-12-10 19:47:22 +03:00
WPMGPRoSToTeMa
51ecac79a0 Fixed animation speed when player has attached entities (https://github.com/WPMGPRoSToTeMa/PatchedGoldSrcClient/issues/7) 2016-12-10 03:37:09 +03:00
WPMGPRoSToTeMa
803a5525d1 Fixed invalid host_client for SV_FullClientUpdate call (after #268) 2016-12-04 16:31:24 +03:00
WPMGPRoSToTeMa
a8afbd7d2e Re-fixed hung players #103 and early TeamScore #113 bugs
Global reliable net buffer is deprecated now
2016-12-02 23:41:49 +03:00
s1lentq
4bd4ab6724 Use defines ID of the models, refactoring 2016-12-02 00:11:42 +07:00
s1lentq
5c1be6a61d Clean up code/dwarf 2016-11-22 04:46:48 +07:00
s1lentq
381a4c0ab2 Added cvar syserror_logfile
Changed in some places rehlds_syserror on Sys_Error for log.
2016-11-09 01:01:49 +07:00
s1lentq
212e9638d6 Added safety checks for hookchains impl 2016-11-08 18:06:13 +07:00
s1lentq
b172d20227 reset minor version 2016-11-07 22:27:18 +07:00
s1lentq
4090ff3db5 Refactoring of versioning 2016-11-07 19:27:06 +07:00
s1lentq
be450ea340 Added Q_StripUnprintableAndSpace for API
Mini-refactoring
2016-11-05 01:05:39 +07:00
s1lentq
1bf56b26dd Implemented features of priority for hookchains 2016-11-04 23:45:27 +07:00
s1lentq
646adb22c5 Fix non-printable space character (0x3000) 2016-11-01 21:32:57 +07:00
asmodai
865bdc95f7 Fixed crash when motd_write called without arguments 2016-10-25 01:15:53 +03:00
theAsmodai
7278d67694 Merge pull request #248 from WPMGPRoSToTeMa/NetLogging
Replaced Con_Printf to Con_DPrintf for net messages that can be used …
2016-10-19 22:20:35 +03:00
WPMGPRoSToTeMa
e2be6491ba Replaced Con_Printf to Con_DPrintf for net messages that can be used for flood (related to #247)
Added player name and print to client for some net messages (not for all, need finish this in future)
echo -> svc_print
2016-10-19 20:36:29 +03:00
theAsmodai
22ba13a53b Merge pull request #246 from WPMGPRoSToTeMa/master
Fixed typo in condition in Netchan_CopyFileFragments
2016-10-17 15:15:21 +03:00
WPMGPRoSToTeMa
2da7695800 Fixed typo in condition in Netchan_CopyFileFragments 2016-10-17 06:41:51 +03:00
theAsmodai
662a700f44 Merge pull request #243 from theAsmodai/master
Advanced reconnect detection for crashed clients
2016-10-07 20:14:29 +03:00
asmodai
b3ad7dc76b Advanced reconnect detection for crashed clients 2016-10-05 19:32:08 +03:00
WPMGPRoSToTeMa
2dafec635b Fixed A2A_ACK console/log flood 2016-09-30 12:46:23 +03:00
theAsmodai
65d5f3bc63 Merge pull request #241 from WPMGPRoSToTeMa/BoundComputationFix
Fixed optimization-dependent model bounds computation in R_GetStudioB…
2016-09-09 22:59:58 +03:00
WPMGPRoSToTeMa
8ac264f133 Fixed optimization-dependent model bounds computation in R_GetStudioBounds (actually in R_StudioCalcBonePosition) (related to #239) 2016-09-09 17:18:31 +03:00
WPMGPRoSToTeMa
9b3789d521 RemoveId and ListId fixes
Simplified USERID copying
Corrected buffer displacement when element is removed
Fixed idstring fix =/
Fixed reverse-engineering mistake with numeration in listid (should start from 1)
2016-09-08 01:11:55 +03:00
Adidasman
8a80fa1869 Fix already spawn and add cvar rehlds_security. 2016-08-11 12:27:43 +06:00
WPMGPRoSToTeMa
2e5c3492fd Additional checks for FL_KILLME flag before callbacks (OnTouch and OnThink) 2016-08-02 19:43:45 +03:00
spark512
383e805356 Cvars for command flood punishments (#230)
* Cvars for command flood punishments

Could we get something like this in the next build?

* Update rehlds_security.cpp
2016-07-30 18:55:24 +03:00
WPMGPRoSToTeMa
80dca10f13 Added sv_rehlds_userinfo_transmitted_fields cvar 2016-07-30 03:48:45 +03:00
Alibek Omarov
89f64e92fd Some fixes for sv_upld.cpp (#225)
Hide unneeded checks under REHLDS_FIXES macro.
Use SV_ClearResourceLists() function instead of two SV_ClearResourceList().
Use for() on lists, instead of while(). More readable.
Put SV_ClearResourceLists under macro, use empty-braced initializer instead of C-style { 0 }
2016-07-26 21:31:58 +03:00
s1lentq
5daef47bd1 Allow to build project outside of the git repository.
Added new task buildFixes for fast and simply building project.
Example: "gradlew --max-workers=1 clean buildFixes"
2016-07-15 01:27:13 +07:00
WPMGPRoSToTeMa
ba910e0b94 Added SV_UpdateUserInfo to API
Fixed #215
2016-06-15 23:59:22 +03:00
s1lentq
b6630824a3 Reworked sv_rcon_condebug (#214) 2016-06-13 14:42:49 +03:00
s1lentq
762923fbc3 Implemented new function SV_EmitSound2 for 3-rd things and hook. (#213)
Added direct call for functions SV_EmitSound2 and SV_StartSound
Added cvar sv_rcon_condebug 0/1
2016-06-06 19:28:07 +03:00
Alexander
caf2960504 ReHLDS API: Add hook SV_CreatePacketEntities, global net_from and int… (#212)
ReHLDS API: Add hook SV_CreatePacketEntities, global net_from and interface SteamGameServer
2016-05-30 19:24:33 +03:00
asmodai
8d0957f9ed Fixed Q_sqrt with long double 2016-04-22 01:18:20 +03:00
asmodai
17c7e304c5 Small update in sse math
Removed some unnecessary checks for windows dll
2016-04-20 02:28:37 +03:00
Artem Golubikhin
83d8a8383b SV_HullForBsp: use hull center instead of corner (CVar sv_rehlds_hull_centering) 2016-04-16 16:20:03 +03:00
theAsmodai
fe9bfbbc70 Merge pull request #196 from WPMGPRoSToTeMa/fixsetmodelenginestring
Fix in SetModel: using string from global model_precache instead of p…
2016-04-09 19:04:16 +03:00
Artem Golubikhin
18babec090 Fix in SetModel: using string from global model_precache instead of passed string 2016-04-09 13:51:55 +03:00
Alibek Omarov
a5029f8b6e Remove useless assignment in pmove 2016-03-30 01:13:57 +04:00
Adidasman1
306f47eee2 ReHLDS API: Add hook on SV_Spawn_f 2016-03-26 00:20:24 +04:00
Adidasman1
8a265746f1 Get rid of the magic numbers. 2016-03-09 00:02:47 +04:00
theAsmodai
8196956dab Merge pull request #181 from WPMGPRoSToTeMa/autoprecachemapstxtoverviewsandskys
Added auto precaching of detail textures if present
2016-03-06 23:51:58 +03:00
WPMGPRoSToTeMa
4cd651d865 Added auto precaching detail textures if present
Moved auto WAD precaching to TEX_InitFromWad
2016-03-06 23:40:41 +03:00
s1lentq
f216e14ccd Fix errors build in Debug/Debug Record configuration 2016-03-05 01:15:16 +06:00
s1lentq
c66ee2f57a ReHLDS API: Add hook on SV_EstablishTimeBase 2016-03-04 22:07:22 +06:00
asmodai
a43c452428 Added Cvar_DirectSet hookchain 2016-03-02 20:26:36 +03:00
theAsmodai
e082b8e12c Merge pull request #183 from WPMGPRoSToTeMa/filefragmentsrework
Reworked sending file fragments
2016-03-02 17:45:23 +03:00
WPMGPRoSToTeMa
3376fe778a Reworked sending file fragments 2016-03-02 14:25:23 +03:00
theAsmodai
d2325265c1 Merge pull request #177 from theAsmodai/master
Replaced initial value of inactive sockets from 0 to INVALID_SOCKET
2016-03-02 12:53:14 +03:00
asmodai
b55b7b1514 Replaced initial value of inactive sockets from 0 to INVALID_SOCKET
Fixed #127
2016-03-02 04:26:01 +03:00
s1lentq
0f6961c140 Fix #179
Bug: Sys_InitMemory are not sets '-heapsize'
2016-02-28 02:05:12 +06:00
theAsmodai
7b2cc0249c Merge pull request #164 from theAsmodai/master
Finished mathlib optimization
2016-02-10 07:50:37 +03:00
WPMGPRoSToTeMa
beaeb65138 Fixed MAX_FRAGMENTS value for customizations (#114 now really fixed)
Fixed mistake in Netchan_CreateFileFragmentsFromBuffer (fixed customization downloading)
Added sv_rehlds_force_dlmax cvar
Corrected FRAGMENT_MAX_SIZE value
2016-02-10 05:04:31 +03:00