2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00
Commit Graph

549 Commits

Author SHA1 Message Date
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
asmodai
2e270cb4ad BoxOnPlaneSide was fixed and covered by the flight tests
Added missed mathlib unit tests
2016-02-08 23:11:24 +03:00
asmodai
0d6a95093f Fixed mathlib unit tests
Added popcnt support check
Removed integer division optimization from asmlib.h
Fixed typo in VectorCompare
2016-02-08 18:26:53 +03:00
asmodai
6c01cf7817 Optimized all other mathlib functions 2016-02-08 18:26:53 +03:00
asmodai
f5d536ed4b Added sse mathfun implementation of sin, cos, sincos
Written parallel sse version of AngleVectors, AngleVectorsTranspose
2016-02-08 18:26:52 +03:00
WPMGPRoSToTeMa
77de540208 Fixed password checks 2016-02-08 16:07:01 +03:00
WPMGPRoSToTeMa
93e0f62373 Added sv_delayed_spray_upload cvar (#173) 2016-02-08 09:59:54 +03:00
theAsmodai
f8643ef7b7 Merge pull request #171 from WPMGPRoSToTeMa/master
Fixed reading and writing custom.hpk (Fixed #114)
2016-02-07 23:06:32 +03:00
WPMGPRoSToTeMa
edc69b5ed5 Fixed reading and writing custom.hpk (Fixed #114)
Fixed some decompile mistakes
Fixed FS_Read and FS_Write
2016-02-07 22:43:09 +03:00
theAsmodai
f7ecc5a931 Merge pull request #170 from theAsmodai/password
Added a message when connected to a password-protected server without a password
2016-02-07 20:19:47 +03:00
asmodai
9aaaafb078 Added a message when connected to a password-protected server without a password 2016-02-07 20:02:12 +03:00
theAsmodai
73af53506f Merge pull request #169 from WPMGPRoSToTeMa/autoprecachemapstxtoverviewsandskys
Set skyname to default if it is not exists or is empty
2016-02-07 19:39:40 +03:00
WPMGPRoSToTeMa
7f21a5bc54 Set skyname to default if it is not exists or is empty 2016-02-07 17:18:52 +03:00
theAsmodai
a363b226fa Merge pull request #168 from WPMGPRoSToTeMa/master
Fixed assertion with enabled debug (isctype)
2016-02-07 13:39:17 +03:00
theAsmodai
41671cb4ab Merge pull request #167 from WPMGPRoSToTeMa/autoprecachemapstxtoverviewsandskys
Additional checks for WAD precaching
2016-02-07 13:39:08 +03:00
theAsmodai
c85cbf91f8 Merge pull request #166 from WPMGPRoSToTeMa/resourcelistextend
Added resource resetting (fixed bug with unitialized fields in resour…
2016-02-07 13:39:01 +03:00
WPMGPRoSToTeMa
504a14a010 Fixed assertion with enabled debug (isctype)
Added bantime in kick reason in banid and addip
2016-02-07 06:48:03 +03:00
WPMGPRoSToTeMa
e2cc869086 Additional checks for WAD precaching 2016-02-07 06:23:58 +03:00
WPMGPRoSToTeMa
b8d7a22043 Added resource resetting (fixed bug with unitialized fields in resource_t) 2016-02-07 04:05:45 +03:00
theAsmodai
4453169240 Merge pull request #165 from theAsmodai/api_extension
Added Steam connect/disconnect to api.
2016-02-07 00:22:14 +03:00
asmodai
03b7625294 Added Steam connect/disconnect to api. 2016-02-07 00:11:22 +03:00
theAsmodai
2e3f9698ab Merge pull request #159 from WPMGPRoSToTeMa/ipfilteringfeatures
Added CIDR support for addip, removeip, listip
2016-02-06 15:44:06 +03:00
WPMGPRoSToTeMa
0bf921e8ce Added CIDR support for addip, removeip, listip
Rewritten StringToFilter function
Fixed invalid mask in StringToFilter for A.B.0.D, A.0.B.D etc.
Added ban time validation in addip
Added optional argument for removeip: removeAll to remove all filters that input filter includes
Added optional argument for listip: ipaddress to show filters which it includes
2016-02-06 15:31:06 +03:00
asmodai
6a4f522658 Merge remote-tracking branch 'remotes/tema/autoprecachemapstxtoverviewsandskys' 2016-02-06 14:26:11 +03:00
asmodai
5916655edd Merge remote-tracking branch 'remotes/tema/resourcelistextend' 2016-02-06 14:25:19 +03:00
asmodai
30519ea2ee Merge remote-tracking branch 'remotes/tema/autoprecachetextureandanimgroup' 2016-02-06 14:23:38 +03:00
WPMGPRoSToTeMa
9080b9b7e8 Added auto precache sounds in models (event 5004)
Added cvar sv_auto_precache_sounds_in_models
Moved models auto precache code to SV_ActivateServer
2016-02-06 11:29:44 +03:00
WPMGPRoSToTeMa
a300a4c84d Added map specified files auto precache: sky, overview, txt, detailed texture list and WADs 2016-02-06 10:13:58 +03:00
WPMGPRoSToTeMa
415240ecde Extended max resource count to 4096
Extended max generic resource count to 4096
Added backward slash replace in PF_precache_generic_I
Removed local copying in SV_CreateGenericResources
Added moving checked resources to first positions in resource list
2016-02-06 08:42:17 +03:00
WPMGPRoSToTeMa
53faac8ead Fixed segroup precache for models with 1 seqgroup (some that models have garbage in first seqgroup, first seqgroup is also reserved for sequences in model) 2016-02-05 23:03:26 +03:00
WPMGPRoSToTeMa
6bbce69f04 Added listipcfgfile cvar 2016-02-04 05:49:45 +03:00
WPMGPRoSToTeMa
5cfe0d3d4b Moved sv_force_ent_intersection in REHLDS_FIXES 2016-02-04 01:26:04 +03:00
theAsmodai
30a97dfaab Merge pull request #155 from WPMGPRoSToTeMa/kickfeatures
Added replacing escape sequences in kick reason (#154)
2016-02-02 19:24:44 +03:00
theAsmodai
e9b56b4f71 Merge pull request #153 from WPMGPRoSToTeMa/fixcmdunicode
Fixed commands with unicode (#152)
2016-02-02 14:04:00 +03:00
theAsmodai
f6cbc6de5e Merge pull request #151 from WPMGPRoSToTeMa/fixwritebitstring
Fixed MSG_WriteBitString (bug with non-ASCII chars) (#150)
2016-02-02 14:03:53 +03:00
WPMGPRoSToTeMa
590c4f38ab Added replacing escape sequences in kick reason (#154) 2016-02-02 07:21:08 +03:00
WPMGPRoSToTeMa
0b6b794f79 Fixed commands with unicode (#152) 2016-02-02 06:57:03 +03:00
WPMGPRoSToTeMa
22507f6b8a Fixed MSG_WriteBitString (bug with non-ASCII chars) (#150) 2016-02-02 06:10:26 +03:00
WPMGPRoSToTeMa
ad7a7d6e8a Added drop client if it is not answered on consistency request 2016-02-02 05:08:06 +03:00
theAsmodai
b25b18dfb4 Merge pull request #148 from WPMGPRoSToTeMa/autoprecachetextureandanimgroup
Fix slashes in seqgroup filename
2016-02-02 02:35:03 +03:00
WPMGPRoSToTeMa
e003ef04a2 Fix slashes in seqgroup filename 2016-02-02 02:17:19 +03:00
theAsmodai
c43a168455 Merge pull request #147 from WPMGPRoSToTeMa/autoprecachetextureandanimgroup
Added texture and seqgroup auto precache
2016-02-02 01:56:56 +03:00
WPMGPRoSToTeMa
81d5369e97 Added texture and seqgroup auto precache 2016-02-02 01:35:47 +03:00
WPMGPRoSToTeMa
f6aa21134a Added preventing twice resource precache in PF_precache_generic_I (#130) 2016-02-02 01:18:31 +03:00
theAsmodai
f74d3842da Merge pull request #142 from WPMGPRoSToTeMa/master
Fixed crash when player was kicked in ClientPutInServer
2016-01-28 16:27:48 +03:00
WPMGPRoSToTeMa
9836aef6bb Fixed crash when player was kicked in ClientPutInServer 2016-01-28 15:59:02 +03:00
Jonatan Matějka
2a5f883a48 export EngCheckParm 2016-01-26 22:35:28 +01:00
asmodai
3cc7b9b98d Corrected fix in Decal_Init
Ignore prefixes in removeid
2016-01-25 02:09:32 +03:00
WPMGPRoSToTeMa
40b3a5e646 Added replacing special characters in name (Unicode Halfwidth and Fullwidth Forms) 2016-01-24 23:50:25 +03:00
asmodai
7c1c541d8f Fixed userid serialization hook
Fixed #135
2016-01-24 17:56:34 +03:00
WPMGPRoSToTeMa
940cf0e2ec Extended server reliable and signon buffers
Extended client netchan message buffer
2016-01-23 18:25:54 +03:00
asmodai
982b5bc059 Fixed mistake in HPAK_AddLump 2016-01-17 15:43:24 +03:00
asmodai
267c7eb327 Fixed crash in Q_UnicodeConvertT
Refactoring in SV_ExtractFrom
Added Steam_GSBUpdateUserData hook
Refactored and optimized calculateBytecount without hardcode
2016-01-17 02:29:16 +03:00
asmodai
4aad7ec954 Fixed DELTAJIT_MAX_FIELDS limit check
Optimizations in delta jit
2016-01-17 02:26:43 +03:00
WPMGPRoSToTeMa
308ca9936a NET_IPSocket: Disabled adding DF flag on some linux 2016-01-12 18:47:37 +03:00
theAsmodai
cb59c433c7 Merge pull request #126 from theAsmodai/master
Using undecorated function name macros for linux
2016-01-10 19:43:19 +03:00
asmodai
59411b08cc Using undecorated function name macros for linux 2016-01-10 19:35:34 +03:00
s1lentq
fda2308b1a ReHLDS API: Added SV_TransferConsistencyInfo, SV_FileInConsistencyList 2016-01-10 21:39:33 +06:00
asmodai
1af3ec18ba Increased move command burst rate
Fixed bug with angles on dying
2016-01-10 17:35:55 +03:00
theAsmodai
ac8345914e Merge pull request #123 from dreamstalker/_118
Fixed crash on bot disconnect
2016-01-10 17:19:56 +03:00
asmodai
3f2a77b71c Fixed crash on bot disconnect
Using inline algorithms instead of defines
2016-01-10 17:06:19 +03:00
WPMGPRoSToTeMa
22f200e133 Small fix in Netchan_Process 2016-01-09 21:27:18 +03:00
s1lentq
665605e0ab ReHLDS API: Added functions SetResourcesNum and GetResourcesAt for the API. 2016-01-07 18:57:19 +06:00
s1lentq
6dcdc8a600 Fixed #103: Server sends TeamScore to early connection client which leads to bug in ScoreBoard CS 1.6 2015-12-27 22:40:04 +06:00
asmodai
418450c7ce Fixed typo with sv_echo_unknown_cmd 2015-12-27 03:59:57 +03:00
theAsmodai
9845ae4dc3 Merge pull request #111 from dreamstalker/coverity_fixes
Fixed some issues found by Coverity
2015-12-27 03:30:46 +03:00
asmodai
fb4247d8ef Added optional echo for unknown commands (#91)
Updated flood rates
2015-12-27 03:13:19 +03:00
asmodai
6a4dc69ef7 Added Steam_GSGetSteamID hook 2015-12-26 21:15:50 +03:00
asmodai
f6be473879 Fixed types in Sys_CheckCpuInstructionsSupport 2015-12-14 01:00:55 +03:00
asmodai
e31eb21fa2 Added API registration tool for plugins
Fixed voice stream API
2015-12-13 23:03:21 +03:00
asmodai
629f313597 Fixed cpu features detection code for SDK 2015-12-13 17:58:06 +03:00
s1lentq
1f63618ea6 ReHLDS API: Added function SetLastVoiceTime for api 2015-12-13 20:23:27 +06:00
s1lentq
ee4dbe6481 ReHLDS API: Added some functions 2015-12-13 19:29:40 +06:00
s1lentq
1140f915dc Fix: hang the players on a scoreboard after changelevel map 2015-12-12 18:12:02 +06:00
s1lentq
5dcfd505c3 Fix: skip bytes BOM signature in SV_CreateGenericResources 2015-12-04 22:23:05 +06:00
s1lentq
0d909ccf41 Fix: bug with removing slash in the path to resources 2015-12-04 21:11:51 +06:00
s1lentq
46a30c6afb use own tables non-printable characters for windows.
symbol 0x1160 marked to like non-printable
2015-12-04 19:46:57 +06:00
s1lentq
93a13815e3 Fix: bug in SVC_GetChallenge incorrectly used format specifiers type uint64 for Linux.
Fix: spelling mistake with SV_CheckConsistencyResponce
Fix: net_from in solution project for HOOK_ENGINE
Cleanup and fix to build success for all solutions.
2015-11-17 11:35:21 +06:00
s1lentq
b64a4f6c84 Fix: bug with removeHook not erases address callback 2015-11-14 18:26:25 +06:00
s1lentq
b7bd3f7720 ReHLDS API: Implemented SV_ActivateServer hook and added GetResourcesNum, GetDecalNameNum
Fix: using defines instead of magic numbers
Added include qlimits.h
Reduced the size global variable localinfo, ipfilters, userfilters
2015-11-13 04:42:47 +06:00
s1lentq
67e8a5b646 ReHLDS API: Implemented SV_DropClient hook 2015-11-11 04:25:41 +06:00
s1lentq
961028fa39 ReHLDS API: Added functions SV_AddResource, SetNumConsistency, GetNumConsistency.
Changed name GenericFileConsistencyResponce to CheckConsistencyResponce
2015-11-08 22:35:32 +06:00
s1lentq
24eb2d0ccd Fix for:
- correctly using types with define
 - missing EXT_FUNC for SV_GetChallenge
2015-11-08 19:43:39 +06:00
theAsmodai
3be05fce38 Merge pull request #93 from WPMGPRoSToTeMa/master
Fixed typo in SV_RunThink (#92)
2015-11-08 15:25:17 +03:00
WPMGPRoSToTeMa
4d276db7b6 Fixed typo in SV_RunThink 2015-11-08 03:03:00 +03:00
s1lentq
2a24337eee Cut of nicknames '+' if next there is something digit or alphanumeric character.
Added prefix Q_* for functions strlen/strcmp/strpcy/memset/memcpy/memmove etc.
Added for solution configuration (Debug Swds Play/Release Swds Play) the path to libacof32.lib in linker.
2015-10-27 21:14:08 +06:00
WPMGPRoSToTeMa
bcec2c6018 Fixed bug in Netchan_Validate overlap check: added check for fragment availability 2015-10-26 20:11:54 +03:00
WPMGPRoSToTeMa
446fe8896b Fixed some typos 2015-10-26 04:36:28 +03:00
WPMGPRoSToTeMa
2364b5ce67 Implemented Q_iswprint for linux 2015-10-19 02:01:43 +03:00
asmodai
9b99a54e34 Added optimized stdlib functions from Agner's asmlib
Increased allowed string commands rate
2015-10-18 00:11:21 +03:00
asmodai
09f1f799a1 Fixed loading of maps without world classname or with long list of wads
Removed rtti
Reduced MAX_HOOKS_IN_CHAIN value
2015-10-17 21:25:18 +03:00
s1lentq
365ad30c20 Fix: not read configuration the files at rehlds_fixes (bug in Cbuf_InsertTextLines) 2015-10-17 06:55:52 +06:00
s1lentq
55c9a80cde Changed version in Host_Version at rehlds_fixes
Added Q_iswprint
Added cvar sv_force_ent_intersection for to bypass condition check with SOILID_SLIDEBOX and forced call SV_CheckSphereIntersection
2015-10-17 05:35:42 +06:00