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

300 Commits

Author SHA1 Message Date
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