Commit Graph

503 Commits

Author SHA1 Message Date
s1lent
2defb8ad8e
CBasePlayer::SelectItem:: Add check for item can to holster. 2019-08-14 02:59:17 +07:00
s1lent
6e9ece411b
Implemented cheat command impulse 255. Closed #301 2019-08-14 02:52:09 +07:00
s1lent
f96ca908db
Update vector.h 2019-08-14 01:13:26 +07:00
s1lent
7420ba158a
Fix potential leak memory for CRenderFxManager, CPointBaseCommand
CUtlVector::RemoveAll() doesn't free allocated memory
2019-08-13 22:52:00 +07:00
s1lent
0bd5f7a0bb
RadiusFlash: Fixed eyes position 2019-08-13 21:38:43 +07:00
s1lent
b1d884224e
Fixes #399 2019-08-13 21:02:22 +07:00
s1lent
95550dcd86
Added cvar respawn_immunity_effects for turn off spawn protection effects also removes spawn protection at player move. Closes #318 2019-08-13 20:11:27 +07:00
s1lent
2568d9a2fa
Added new cvar mp_infinite_ammo also implemented API things for this.
Moved behavior cvar mp_refill_bpammo_weapons 3 into mp_infinite_ammo 2 as it was implemented in the official.
CM3/CXM1014 implemented override func PlayEmptySound.
2019-08-13 19:02:04 +07:00
s1lent
fcb597613b
Make restartable for func_healthcharger and func_recharge entities
Fix bug related to field "dmdelay" doesn't work properly
2019-08-11 21:12:36 +07:00
s1lent
594721ccef
Allow immediately change name for proxy 2019-08-11 20:20:21 +07:00
voed
3202d6d99c Fix VIP mechanic (#396)
Fix #355 
¯\\_(ツ)_/¯
2019-08-06 04:30:55 +07:00
Shorohov Sergey
010438918c fix CVar's register (#395) 2019-07-30 22:46:24 +07:00
Shorohov Sergey
b7c710626e Radio enchance cvars (#394)
* Added a new CVar's for Radio messages control.
 "mp_radio_timeout" - Delay between player Radio messages;
 "mp_radio_maxinround" - Maximum Radio messages count for player per round.
2019-07-30 19:30:34 +07:00
Shorohov Sergey
c81d5d24bd [WIP] New CVar mp_buy_anywhere (#381)
* [WIP] Add: new CVar mp_buy_anywhere - When set, players can buy anywhere, not only in buyzones. 0 = default. 1 = both, 2 = Terrorists, 3 = CT.
Closes #386
2019-07-30 19:26:01 +07:00
Shorohov Sergey
75bdc26df1 Fix dead players kick for idle (#389) 2019-07-09 01:17:20 +07:00
s1lent
b669a3907a
Minor refactoring 2019-06-22 03:19:32 +07:00
s1lent
f8b082fece
CCSBotManager::MaintainBotQuota: Added autobalance 2019-06-22 03:13:53 +07:00
s1lent
555b08faa6
Added new cvar bot_join_delay 2019-06-22 03:10:59 +07:00
s1lent
3442cb3bf3
Enhanced bot_quota_mode 2019-06-22 02:57:09 +07:00
s1lent
0aa974cd63
Reworked bot_quota_mode and removed bot_quota_match cvar's (Migrated to bot_quota_mode) 2019-06-22 02:54:01 +07:00
s1lent
9ed19456f0 Print reason kick also added reason message for kick 2019-06-21 02:37:44 +07:00
s1lent
0ad1232786
UTIL_HumansInGame: Ignore HLTV 2019-06-13 00:07:17 +07:00
s1lentq
cee63d9703 Enhanced point_servercommand, point_clientcommand: Added reset of cvar values on remove an entity or change level 2019-06-09 02:45:23 +07:00
s1lentq
3d21b74897 Minor refactoring CBasePlayer::TakeDamage
Fix cvar ff_damage_reduction_grenade: don't reduce damage to enemies
2019-06-08 23:22:56 +07:00
s1lentq
62cb200a3b Removed cache of cvar sv_cheats ValveSoftware/halflife#2511 2019-06-08 02:29:53 +08:00
Shorohov Sergey
823eb10f2f Add CVar: mp_afk_bomb_drop_time. (#369)
* Add CVar: mp_afk_bomb_drop_time.
 Player that have never moved sience they last move will drop the bomb after this amount of time. (in seconds)
2019-06-08 01:07:12 +07:00
s1lent
f731fbf83c
Fixed fail tests 2019-06-06 04:35:47 +07:00
s1lent
05aa615a8b
Removed FCVAR_SERVER for some meaningless cvars 2019-06-06 04:23:27 +07:00
s1lent
d00a937508
Implemented cvars ff_damage_reduction_bullets, ff_damage_reduction_grenade, ff_damage_reduction_grenade_self, ff_damage_reduction_other
Resolves #297
2019-06-06 04:20:19 +07:00
s1lent
2903630e38
Closes #333 2019-06-06 03:18:30 +07:00
s1lent
1745de6aca
Added API hook CBasePlayer::HintMessageEx
Bump minor version API
2019-06-06 02:57:40 +07:00
s1lent
3abf4879e7
Fixed some GCC warnings 2019-06-06 01:26:02 +07:00
s1lent
309d5c5c6d
bot chatter mention of places: fix wrong entry in history 2019-06-05 22:23:39 +07:00
s1lent
9b4def6e3f
bot chatter: use filesystem to check exists filename instead of _access, cuz filesystem uses search paths such as cstrike_downloads, cstrike_german, cstrike_russian etc 2019-06-05 21:06:02 +07:00
s1lent
247e93b4ff
Fix work cvar bot_chatter "radio", zbots doesn't send radio command into chat.
Wrong ascii conversion.
2019-06-05 20:08:50 +07:00
s1lent
3f5448da59
Revert initialize game.cfg into GameDLLInit, now use game_init.cfg instead this. 2019-06-05 19:46:48 +07:00
s1lent
e1c8211d6b
Updated latest changes:
ValveSoftware/halflife#555
ValveSoftware/halflife#702
ValveSoftware/halflife#2228
ValveSoftware/halflife#1276 (was fixed earlier REGAMEDLL_FIXES)
2019-06-05 18:31:32 +07:00
s1lent
94f0fdb8a6
Closes #357
Reducing allowable money limit cuz a HUD can't draw more than 999k
2019-04-23 19:56:40 +07:00
s1lent
8c85aeebbc
Added cvar mp_hullbounds_sets 0/1
1: hull bounds that sets by gamedll, 0: otherwise by engine (as default behavior)
2019-04-17 17:47:52 +07:00
voed
b5a0fa4736 Fix player's velocity on pushable use (#352)
* Fix player's velocity on pushable use
2019-04-11 06:31:54 +07:00
s1lent
d67492482a
Fixes #305 2019-04-09 21:56:22 +07:00
s1lent
a31be1d18e
Added mp_allow_point_servercommand to disable point_servercommand entities.
Due to a high risk of abuse, it is gated by the mp_allow_point_servercommand console variable.
2019-04-09 18:01:33 +07:00
Alexander B
1722f883a1 Buffer overflow fix (#351)
* Buffer overflow fix
2019-04-08 16:39:48 +07:00
s1lent
eed7b19798
Implemented point entities: point_clientcommand, point_servercommand 2019-04-07 23:13:41 +07:00
CrazY
45fbb042f8 Fix for dead player inclination (#342)
* Fix for dead player inclination
2019-02-26 04:13:23 +07:00
fant1kua
7398bb7d71 Add base damage for m3 and xm1014. Fix m_flBaseDamageSil (#335)
* Add base damage for m3 and xm1014. Fix m_flBaseDamageSil
2019-01-13 18:41:14 +07:00
theshadowz
9baea02b37 Some little fixes (#332)
* Changed int type of variable to bool
2019-01-07 16:55:29 +07:00
fant1kua
a79775b443 Add m_flBaseDamage member (#334)
* Features: add m_flBaseDamage
2019-01-07 15:43:10 +07:00
s1lent
9d89a347fa
Features: Add for iuser3 flag PLAYER_PREVENT_CLIMB 2018-12-23 17:52:38 +07:00
Vaqtincha
932001b591 Bot vision update.
* Bots can't see invisible enemies
* Bots ignore enemies with flag FL_NOTARGET
2018-10-31 04:07:26 +07:00
Vaqtincha
30c3586580 Enhance "endround" command (#319) 2018-10-30 15:24:21 +07:00
justgo97
cc1f584a7f Add mp_kill_filled_spawn (#313)
* Add mp_kill_filled_spawn
2018-10-27 00:11:23 +07:00
jeefo
e924a266b0 Do not ignore thirdparty bots in humans_join_team cvar checks. (#306)
Game dll considers third party bots as humans when dealing with humans_join_team cvar, thus making those bots to join team specified in this cvar.
2018-09-09 15:39:22 +07:00
s1lent
26db32e884
Enhance mp_respawn_immunitytime
Minor refactoring
2018-05-31 14:53:34 +07:00
s1lent
415f3caffe
Refuse support for cstrike 1.8.2 hacks (use cstrike 1.8.3) 2018-05-31 13:55:07 +07:00
s1lent
8e3b6f4166
Enhance item_security 2018-05-24 12:50:50 +07:00
s1lent
96af8a797d
Make mp_item_staytime for drop nades 2018-05-22 20:52:50 +07:00
s1lent
f1e9d2b346
Add new point-entity trigger_random 2018-05-22 18:17:30 +07:00
s1lent
8c2dd77220
comeback item_security, item_suit for custom mods/maps 2018-05-22 16:44:53 +07:00
s1lent
0022272244
Cosmetic changes 2018-05-22 16:29:08 +07:00
Alibek Omarov
2b4eb6c137 GCC port and new defines for new ARM port (#294)
* Put SSE code under HAVE_SSE define

* Fix circular dependency on GCC 7.3

* Provide a way to disable AMXX related hacks, when it's not needed

* Fix ASM inline for GCC

* Fix compiling with MSVC

* Fix compiling with MSVC and ICC

* Check for HAVE_SSE in sse_mathfun.cpp after including precompiled, so SSE state will be determined

* Better check for SSE availability

* Missing call ::ClientCommand_
Make CSaveRestoreBuffer::m_Sizes as const
Cosmetic changes

* Gradle: Add GCC Toolchain

* GCC: Fix compile

* Gradle: Add -fno-devirtualize to compiler flags for GCC
2018-05-20 22:28:03 +07:00
Asmodai
fe0ea9a1bc Crash fix 2018-04-09 03:28:14 +03:00
fl0wer
c30c77cc05 add hook check penetration 2018-04-09 00:14:39 +04:00
Alik Aslanyan
b84ae9569b
Fix typo 2018-04-01 13:01:01 +04:00
Alik Aslanyan
bdf2ddc2d1
Fix C4 dissapearance on inclined surfaces with Valve HLDS (#234) 2018-04-01 12:50:51 +04:00
Shorohov Sergey
99e54bb5b4 Fix bug, mp_fraglimit is less than zero (#279) 2018-04-01 12:40:07 +04:00
Shorohov Sergey
bc2c3176e4 Spawn protection API and cvar (mp_respawn_immunitytime). (#266) 2018-02-18 15:31:24 +04:00
s1lent
cbbda5ef21
CSInterface Update: Add RemovePlayerItemEx 2018-02-16 17:55:29 +07:00
In-line
40f3bc488b Fix spectator check, small refactoring (#265)
* Fix spectator check, small refactoring

* Update observer.cpp

minor refactor-patch
2018-02-08 16:37:02 +07:00
In-line
ff3891d98b
Adjust bomb angles for righthanded users (resolves #218) (#235) 2018-01-29 19:17:10 +04:00
In-line
dfb236f725
Remove height check, fix #251 (#256) 2018-01-29 19:11:17 +04:00
s1lent
60b6cf9160
Move sv_alltalk 1.0 to CanPlayerHearPlayer 2018-01-29 00:21:36 +07:00
s1lent
a7bdaa011a
Reset entity on start round for env_spark, env_laser, env_beam 2018-01-28 21:44:01 +07:00
s1lent
4e89da4628
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb 2018-01-27 23:31:30 +07:00
In-line
7a429eadfe
Add mp_legacy_bombtarget_touch cvar (#243)
* Add mp_legacy_bombtarget_touch cvar
* Enable mp_legacy_bombtarget_touch by default, typo fix
* Update README.md
2018-01-21 14:22:58 +04:00
In-line
69c274f92a
Add cvar for old bomb defuse sound (#242) 2018-01-21 13:44:25 +04:00
In-line
38ff7ce1fc Revert NEXT_DEFUSE_TIME (from #200) (#249) 2018-01-18 04:00:02 +07:00
s1lent
cff951afe7
Fix some things related #231
CGameText: add safe-checks to avoid crash on some maps
2017-12-31 18:24:51 +07:00
s1lent
565e9cd2b2
Prevent spam in console if bot_quota is more than spawn points,
so decreases bot_quota every time if create bot fails
2017-12-17 19:34:05 +07:00
s1lent
b5e7da84b7
Fixes #239 2017-12-17 19:29:56 +07:00
s1lent
a27b8e26b6
Fixed a bug after killing czbot by headshot, angles turn at 180 degrees. Part 2 2017-12-17 19:28:01 +07:00
s1lent
adeb09a2a4
Prevent crash when caller triggered itself lot of times. 2017-12-08 23:19:11 +07:00
s1lent
519a73179f
Moved reg cvar sv_alltalk, voice_serverdebug into GameDLLInit 2017-11-27 23:51:10 +07:00
s1lent
0318c364dd
Fix reset CRotDoor::Restart
Minor refactor
2017-11-27 21:51:23 +07:00
s1lent
7f9cf53c49
Refactoring 2017-11-23 00:43:30 +07:00
s1lent
a43269b6a4
Features: added bits for iuser3 for prevent duck like HL
Fix wrong calc duck fraction
2017-11-23 00:12:46 +07:00
s1lent
83c3429240
Added mp_item_staytime to game.cfg
CHalfLifeMultiplay::RoundOver: Use localization string #Cstrike_Tutor_Round_Over instead "Round is Over!"
Mini-refactoring
2017-11-20 22:34:43 +07:00
Shorohov Sergey
411761c8d8 Added a new CVar: "mp_item_staytime" - Time to remove item that have been dropped from the players. (#212) 2017-11-13 05:20:07 +07:00
s1lent
49198dc022
CHostageImprov::IsFollowing: Fix reverse-engineering mistake 2017-11-12 02:08:56 +07:00
In-line
f69afc21a7 Remove useless code from CC4::Use (#209) 2017-11-12 02:00:22 +07:00
In-line
022115cc35 Disable buyicon/buymenu according to info_map_parameters (#205) 2017-11-11 19:30:31 +07:00
In-line
8c9ee510bb Increase NEXT_DEFUSE_TIME. (#210) 2017-11-11 15:03:50 +03:00
Shorohov Sergey
7184f4ce39 Fix C4 angle. (#207) 2017-11-10 14:36:07 +03:00
In-line
acc1dcad6e Fix #203 (#204) 2017-11-08 20:35:49 +03:00
In-line
3284313a21 Add missing parameter to ALERT in PlayCDTrack (#206)
* Add missing parameter to ALERT in PlayCDTrack
2017-11-08 20:28:22 +03:00
In-line
5afb52ffce Use Q_abs float overload whenever possible (fix #107) (#201) 2017-11-07 17:27:54 +03:00
In-line
f53452fee0 Minor refactoring and opt. in IsIntersectingBox (#202)
* Minor refactoring and opt. in IsIntersectingBox
2017-11-07 16:53:45 +03:00
Dmitry Novikov
cd8d8215df
Merge branch 'master' into FasterBombThink 2017-11-07 15:16:31 +03:00
In-line
dd40f7db54 Fixed: defuse can be started in air (#199)
* Fixed: defuse can be started in air
2017-11-06 12:43:39 +03:00
In-line
454dbb01dd Make C4 more responsible 2017-11-06 11:38:38 +04:00
s1lent
2174205530
Move m_rgRewardAccountRules_default to CHalfLifeMultiplay 2017-11-04 06:16:30 +07:00
s1lent
0fa5e32208
Fixed ammo (missing sound) 2017-11-04 05:32:28 +07:00
s1lent
10ee63d807
Fix nade drops
Move m_bHasSecondaryAttack to CCSPlayerWeapon
2017-11-03 23:33:17 +07:00
In-line
cc679f393f Fourth sv_alltalk mode (#196)
* Add new mode for sv_alltalk
2017-11-02 18:00:21 +03:00
In-line
fe1b130728 Refactor CanPlayerHearPlayer (#192) 2017-11-02 13:50:37 +03:00
s1lent
1411eca4a0
Replace virtual UpdateOnRemove to OnDestroy 2017-11-02 01:23:23 +07:00
s1lent
8b31478b83
Enhanced mp_hostage_hurtable 2017-11-02 00:30:22 +07:00
s1lent
026a55eba0
Closes #176 2017-11-01 23:46:37 +07:00
s1lent
875189fa24
Closes #157 2017-11-01 23:27:04 +07:00
s1lent
b7208e9fbc
Fixes #184 2017-11-01 22:50:24 +07:00
In-line
168838cd2a Prevent kevlar.wav from overwriting gunpickup2.wav sound (#186) 2017-11-01 18:48:28 +03:00
In-line
bf4ec67a6f Fix dead defuser progress bar issues (#188) 2017-11-01 18:48:17 +03:00
s1lent
25d2e6ce9e
Fixes #187 2017-11-01 22:47:40 +07:00
s1lent
9374fced90 Fixes dreamstalker/rehlds#402 2017-11-01 18:30:47 +03:00
s1lent
0eed08c133 Cleanup code
Fixed a bug after killing czbot by headshot, angles turn at 180 degrees.
Fixed some bugs with mp_nadedrops
2017-11-01 18:30:47 +03:00
s1lent
9dcab4bd49 Refactoring minor
Refactoring unicode_strtools
2017-11-01 18:30:47 +03:00
s1lent
32df585edc Remove hookers stuff
Refactoring & cleanup code
2017-11-01 18:30:47 +03:00
s1lentq
9a91e9ca38 Refactoring
Reworked ammo stuff
2017-11-01 18:30:47 +03:00
s1lentq
af9ef1aa4d Refactoring ammo stuff 2017-11-01 18:30:47 +03:00
s1lent
8f913b1623 Refactoring item_airbox 2017-11-01 18:30:47 +03:00
s1lent
96030a48ca Enhanced trigger_changelevel 2017-11-01 18:30:47 +03:00
s1lent
e88dae7bb9 Minor refactoring qstring.h 2017-11-01 18:30:47 +03:00
s1lent
60ad9e2df8 Enhanced qstring.h 2017-11-01 18:30:47 +03:00
s1lent
3be0b51ec9 Implemented entity item_airbox 2017-11-01 18:30:47 +03:00
s1lent
91ca3f0264 Implemented entity trigger_setorigin 2017-11-01 18:30:47 +03:00
s1lent
b25e3505d3 Major refactoring & cleanup 2017-11-01 18:30:47 +03:00
justgo97
27f0563936 fix c4 bug (#182) 2017-09-23 05:15:38 +07:00
Vaqtincha Oshiq
462dc9986d Small fixes (#178)
Reset m_rgRewardAccountRules on CHalfLifeMultiplay()
added missing reward rule RR_TOOK_HOSTAGE
2017-08-19 20:13:45 +03:00
In-line
8b1be212bf Fix some of C4 related bugs. (#179)
- Cancel C4 planting bartime on weapon change
- Infinite round, when bomb exploded underwater
- C4 explode after defuse
- Moving while defusing and silent defuse (partially)
- Silent defuse
2017-08-19 18:01:33 +03:00
In-line
b27d7bc05e Add cvar for radio icon (#180) 2017-08-19 17:57:01 +03:00
In-line
83341a793e Fix mp_refill_bpammo_weapons not working on default weapons (#177)
* Fix mp_refill_bpammo_weapons not working on default weapons
2017-07-25 19:51:04 +03:00
Artem Golubikhin
4545a040c0 Make unknown command safe to print in console (#174) 2017-07-17 15:15:35 +03:00
Artem Golubikhin
1eb385602a Fixed bug with lastinv (fix from 7561) (#173) 2017-07-17 14:42:21 +03:00
Artem Golubikhin
0c95e86089 Fixed GetHullBounds (#172) 2017-07-15 22:15:39 +07:00
In-line
419603ff52 Optimize CBasePlayer::SendWeatherInfo (#159)
* Optimize CBasePlayer::SendWeatherInfo
2017-07-07 00:41:20 +07:00
In-line
09e714e339 Optimize PlayerBlind (#171)
* Optimize PlayerBlind
2017-07-07 00:37:44 +07:00
s1lent
721624bf92
env_render: reset entity on start round 2017-07-07 00:04:38 +07:00
s1lent
f0409ce468
func_wall_toggle: reset entity on start round
func_wall_toggle features: added spawnflags not solid
Update regamedll-cs.fgd
2017-07-02 23:10:00 +07:00
s1lent
7fddff5198
trigger_push: reworked reset
func_rot_button: reset entity on start round
2017-07-02 23:01:37 +07:00
s1lent
b4bc385912
CZBot: Fix crash when there is no phrase from BotChatter.db or no exists itself the database.
Minor refactoring
2017-07-02 18:55:28 +07:00
s1lent
adaddda871
Code cleanup
Hookers Refactoring
Removed __MAKE_VHOOK
Fix compilation under linux with ICC 17 (GCC 6.2)
2017-07-02 18:54:33 +07:00
In-line
63e16f78ab Fix fall sound bug (#169) 2017-06-30 18:22:33 +07:00
In-line
a34740eae5 Fix CSprayCan position relative to player (#167) 2017-06-29 17:21:56 +07:00
In-line
80a9c17c73 Fix typo, related to a5dac3c267 (#166) 2017-06-28 01:30:34 +07:00
In-line
efea014cbc ReGameDLL API: Implement API for StartDeathCam (#162)
* ReGameDLL API: Implement API for StartDeathCam
* Fix API minor version, related to 90d08ee3a0
* Increment API minor version in gradle.properties
2017-06-25 20:21:38 +07:00
s1lent
1dc484980f
Fix func_rotating 2017-06-14 00:42:57 +07:00
s1lent
969a4ab85b
Closes #158
trigger_push, func_rotating: reset on new round
2017-06-11 23:03:07 +07:00
In-line
2026a64ccc Fix mp_forcerespawn (#160) 2017-06-10 15:36:13 +03:00
s1lent
2f599d21b8
Bug fixes and other minor improvements 2017-05-24 23:08:51 +07:00
justgo97
d0587eefe9 completly disable buyzone when mp_buytime is 0 (#148) 2017-05-06 21:42:15 +03:00
s1lent
6d613fc9f0 Reworked mp_forcerespawn (related #106) 2017-05-04 22:39:34 +07:00
s1lentq
3a1e08abd4 Fix memory corruption bugs due the array index out of bounds. (#147) 2017-05-04 17:49:28 +03:00
s1lent
3f4bcd9b96 GitHub: add execute permission to a gradlew.
Fix typo in CCSBotManager::SetRadioMessageTimestamp
2017-05-04 21:45:59 +07:00
s1lent
b7bc2770be Fix crash when a func_tank owner dies. (reversing engineering mistake) 2017-05-04 21:03:52 +07:00
justgo97
b39b581f04 Added SPEC team to autojoin (#142)
* Added SPEC team to autojoin
* added more details to game.cfg
2017-05-04 13:45:29 +03:00
Saint146
f46cb5a635 Added cvar mp_restart_round_delay (#109)
* Added cvar bot_quota_mode
* Added cvar mp_restart_round_delay
2017-05-04 01:45:36 +03:00
justgo97
fed41984d8 Break loop in OLD_CheckBuyZone, OLD_CheckBombTarget, OLD_CheckRescueZone (#141)
stop loop when match is found
2017-05-04 01:09:46 +03:00
spark512
328a1d26fb in regards to issue #107 (#126)
* in regards to issue #107
2017-03-24 02:17:23 +03:00
spark512
bf8bda0583 Typo (#128)
Fix reverse-engineering mistake CFuncTrackTrain::UpdateSound
2017-03-10 11:41:17 +07:00
resobatata
6186ae56c8 Fix voice checks for spectators (#116) 2017-03-02 03:09:43 +07:00
s1lent
cd96c9133d Fix bot: do reset of the target when are the target (player or bot) left the game. 2017-02-06 02:50:30 +07:00
Saint146
507688c745 Added cvar bot_quota_mode (#103) 2017-02-03 16:55:00 +07:00
s1lent
eb75d2eae1 Refactoring hookchains 2017-02-01 03:03:48 +07:00
s1lent
90d08ee3a0 Refactoring & fix warnings VS2015.
Ignore VS2015 files.
Add ResetSequenceInfo in SetNewPlayerModel.
Interface API CCSPlayer: Added ResetSequenceInfo and reworked RemovePlayerItem
Bump minor version
2017-01-30 23:07:56 +07:00
Phantomsq
3a12271c3f Fix typos (#99)
* Fix typo
2017-01-28 20:22:19 +07:00
s1lentq
a5dac3c267 Backport #76
Refactoring
Some small fixes and improves
Reworked mp_forcerespawn and hookchain InternalCommand
Fixed fail compilation in VisualStudio
Bump minor version in gradle.properties
Update README.md
2017-01-21 22:49:56 +07:00
In-line
06d943417b Optimize conditional toggle to bitwise operation (#94)
* Optimize conditional toggle to bitwise operation
2017-01-06 17:16:54 +07:00
Adidasman1
70594c4c39 ReGameDLL API: Add PM_UpdateStepSound (#93)
Fixes #90
Fix: not ending of the round when the hostages rescued
2017-01-04 04:52:03 +07:00
s1lentq
14fb7f7756 Fix crash on hook(detour) ClientCommand from the cstrike module amxx 2016-12-22 04:17:57 +07:00
s1lentq
d586d65993 Fix counting freezetime
Small fixes
2016-12-22 04:03:12 +07:00
s1lentq
e50cfe32c6 Implemented features of priority for hookchains 2016-12-12 22:36:51 +07:00
s1lentq
7238f215e2 Fix: count of time from the start of the round. (Related #77)
Fix: Kicked idle the client's by timeout when mp_roundtime is 0.
Fix: Don't update team score when the round ending by time and game has not started.
Update README.md
2016-12-12 21:33:51 +07:00
s1lentq
54739c62ab Refactoring versioned 2016-12-09 22:10:14 +07:00
s1lentq
dd3e68fb69 Bugfix: to obtain hp more than expected by using drown-restored.
mini-code cleanup
2016-12-09 19:39:16 +07:00
s1lentq
7250ad7d3a The mp_forcerespawn set to disable by default 2016-12-07 19:52:34 +07:00
s1lentq
c77486dadd Get rid of spec-crosshair from gameplay. (Useless)
Reworked hookchain's: SetClientUserInfoName, GiveNamedItem
Added hookchain's: DropShield, MakeVIP, MakeBomber, GetIntoGame, Disappear, Radio, StartObserver, OnSpawnEquip
Refactoring
2016-12-07 02:28:33 +07:00
s1lentq
0006bac1a0 Bugfix: trigger_hurt should not inflict more damage than established. 2016-10-11 21:57:46 +07:00
s1lentq
49c64e4722 Bugfix: Memory leak - m_rebuyString not releases the memory.
Revert: REGAMEDLL_FIXES removed from RadiusFlash
Mini-refactoring CMapInfo
2016-10-11 21:55:30 +07:00
s1lentq
9a6c46c674 Added reset for trigger_hurt and func_pushable (Fixes #64) 2016-10-08 03:57:07 +07:00
s1lentq
084512e267 Related #57 (Done)
Added more weapon's for armoury_entity
Added ability for mp_buytime -1, means no time limit.
2016-10-07 23:02:34 +07:00
s1lentq
42edf0ebec Fix crash when self-build navigation areas
Added cvar's mp_fragsleft, mp_fraglimit, showtriggers (also handling mp_timeleft)
Removed client cmd's (like cd, kill) - they are in the black list of cl_filterstuffcmd.
Refactoring
2016-10-05 22:27:50 +07:00
s1lentq
3c805aae95 Fix ValveSoftware/halflife#197 2016-09-27 03:49:34 +07:00
s1lentq
1423f7e3fa Fix: CleanUpMap before the players spawn.
Fix: ValveSoftware/halflife#1567
2016-09-27 03:16:33 +07:00
s1lentq
b032bedf95 Fix typo in multi_source 2016-09-26 23:09:15 +07:00
s1lentq
9bfa67b54d Ignore by default fireonce flag for trigger_auto (Related #55)
Fix: does not reset the clones of multi_manager.
Added: Do not allow to do spawn, if player chooses a team or appearance (Related #61)
Update FGD
2016-09-26 01:05:55 +07:00
s1lentq
66209cecda Remove DelayedUse and gib on new round 2016-09-25 17:42:25 +07:00
s1lentq
7f45b10152 Added reset for multisource and trigger_auto (Related #55) 2016-09-15 18:27:39 +07:00
s1lentq
69b856a847 Added new spawnflags for func_door - touch only clients 2016-09-13 19:44:00 +07:00
s1lentq
8633cd9f6f Added reset for multi_manager 2016-09-13 19:07:51 +07:00
s1lentq
43753dad38 Fixes #60 2016-09-13 16:20:37 +07:00
s1lentq
d9e2aee07b Added restart for func_button and trigger_once (Related #55) 2016-09-08 17:04:00 +07:00
s1lentq
89d2bf7b1e Bugfix #58: typo turn to the west corner of the func_tracktrain 2016-08-28 23:27:04 +07:00
s1lentq
fc0064c9bb Reworked collision with armoury_entity 2016-08-24 21:21:54 +07:00
s1lentq
1e89c4fa60 CFuncTrain::Restart #55 (func_train) the target were not reset to a the starting point. 2016-08-24 20:21:37 +07:00
s1lentq
fc33d7b363 Fix collision name of weapons glock with glock18 2016-08-24 01:57:23 +07:00
s1lentq
19a2f24de8 Fixes #54 UTIL_ShowMessageArgs 2016-08-23 21:36:52 +07:00
s1lentq
23b1ab8b05 Bugfix: a crash command votemap in case mapcycle is empty.
Fix: typo with localized string.
2016-08-23 14:09:21 +07:00
s1lentq
b4fec27dc6 ReGameDLL API: Added calls func AddEntityHashValue, RemoveEntityHashValue, GetItemInfo, GetAmmoInfo
Fix: mp_refill_bpammo_weapons 2 - was not refill bpammo for shotguns.
2016-08-05 18:35:45 +07:00
s1lentq
5864d1ea34 Bugfix: func_door_rotating with spawnflags SF_DOOR_START_OPEN (working incorrectly)
Bugfix: func_breakable not precached some sound files.
2016-08-03 23:40:12 +07:00
s1lentq
611344ed05 Fix touched armoury_entity 2016-08-03 14:35:36 +07:00
s1lentq
c3e632eacc adjustment physics of amoury_entity (#51) 2016-08-02 09:03:01 +00:00
s1lentq
07e861eb30 Added cvar mp_team_maxkills
Changed enum AmmoType
2016-07-28 07:05:00 +07:00
s1lentq
baac9cbad4 Bugfix: leak entities from weaponbox when touched grenades. (bug by valve)
CZBot: the check cvar bot_deathmath on every time.
2016-07-21 07:25:49 +07:00
s1lentq
aa8a8e7bb1 Cleaning sdk 2016-07-20 18:40:03 +07:00
s1lentq
1e8180f5ad Added gradle task buildFixes for faster building. 2016-07-18 06:49:12 +07:00
s1lentq
8914b84129 Fix the bots behavior when death bot_kill and mp_freeforall 1 2016-07-18 03:48:24 +07:00
s1lentq
183a9f674c Fix: now nades not drop if throws a grenade player.
Rollback: remove virtual destructor in class CBaseEntity
Add: Using info about item from table weaponInfo (yet only for hegrenade, flashbang, smokegrenade)
2016-07-15 20:52:38 +07:00
s1lentq
552a1d1bb4 Fix compile 2016-07-15 01:34:34 +07:00
s1lentq
f27b125d15 Refactoring.
Removed useless entities: (item_security, item_suit)
Bugfix: was resetting m_iCount from armoury_entity
Bugfix: incorrect check with pev->takedamage in CBaseEntity::TraceAttack, CBaseMonster::TraceAttack
Bugfix: zBot not continues to play after defused bomb and when mp_round_infinite is not 0
2016-07-14 21:12:17 +07:00
s1lentq
ffd603a477 set force align stack for ClientCommand (for compatibility with the amxx cstrike module hacks) 2016-06-27 15:40:34 +07:00
s1lentq
82d49fdcb6 Improvement function CCSPlayer::RemovePlayerItem (with considering item_*/weapon_shield/weapon_c4)
Fix: using CCSPlayer::RemovePlayerItem removal of the primary slot later was impossible to pick up armoury_entity.
Fix: Do was not pack all bpammo of the item with flag ITEM_FLAG_EXHAUSTIBLE (always only 0 or 1)
2016-06-23 02:50:14 +07:00
s1lentq
83a01dbb48 Removed api hooks CanBuyThisItem, CanBuyThis, CWeaponBox::Touch, CArmoury::ArmouryTouch
Added api hook CBasePlayer::HasRestrictItem
2016-06-21 04:13:16 +07:00
s1lentq
2d69db1232 Added api hook CWeaponBox::Touch, CArmoury::Touch 2016-06-20 17:50:59 +07:00
s1lentq
a1e7b9dae5 Added api hook CBasePlayer::DropPlayerItem 2016-06-20 14:05:47 +07:00
s1lentq
f071682392 Fix #43
Added hook api CanBuyItemThis
Use BOOL for TakeDamage/TakeHealth because should return TRUE/FALSE
2016-06-19 18:00:44 +07:00
s1lentq
21b0689030 Moved SelectDefaultTeam the function to CHalfLifeMultiplay. 2016-06-15 20:10:40 +07:00
s1lentq
aaf1d9648e Added cvar mp_auto_join_team 2016-06-15 19:46:25 +07:00
s1lentq
e57371d0f4 Added some features to the API 2016-06-15 04:21:34 +07:00
s1lentq
d71dda542d Fixed typo: Not replenished bpammo for the weapons from weaponbox. 2016-06-15 03:06:13 +07:00
s1lentq
7caa82b054 Removed the dependency of the mode FFA from the cvar mp_friendlyfire 2
Added cvar mp_freeforall for FFA
Reworked cvar bot_deathmatch
2016-06-14 22:10:39 +07:00
s1lentq
d6b59dc0c3 Added cvar bot_deathmatch #39
Added checks for null pointers into GetPlayerGaitsequence
Fixed mp_nadedrops: If pressed a the button attack before player death, then not drop nades to ground.
Compiler: remove rrti, added -ipo
Refactoring
2016-06-14 20:14:31 +07:00
Alibek Omarov
4f1ca61628 Fix crash when custom SV_StudioSetupBones exported to the engine (#40)
* Fix crash when custom SV_StudioSetupBones exported to the engine
2016-06-12 19:55:45 +06:00
s1lentq
e6df6ef577 Added cvar mp_refill_bpammo_weapons
Added new things for API
Update README.md
2016-06-08 16:20:18 +07:00
s1lentq
51313e9b2b Refactoring implementation hookchain
Added align stack for some functions
Update major version API
2016-06-06 20:18:45 +07:00
s1lentq
6115723666 Bugfix: Wrong counting of GetMapCount and typo in CHalfLifeMultiplay::ProcessMapVote 2016-06-04 17:43:52 +06:00
s1lentq
c406141e47 Added cvar mp_auto_reload_weapons
Added api hook SetClientUserInfoName
2016-06-04 00:31:24 +06:00
s1lentq
1fc388a2cc Bugfix: game_playerspawn called when fullupdate (ResetHUD)
Mini-refactoring
2016-06-03 15:15:59 +06:00
s1lentq
465f304934 Bugfix: typo the name of ammo for dual elite 2016-06-01 18:03:40 +06:00
s1lentq
06b0c16145 Refactoring API 2016-06-01 05:08:23 +06:00
s1lentq
905064d44d Added custom function SetClientUserInfoModel and him hook.
Added param -host-improv for enable HostageImprove.
Refactoring hostage.
2016-05-31 19:30:42 +06:00
s1lentq
9203344b98 Added argument about type awards to CBasePlayer::AddAccount
Some adjustments in RadiusDamage
2016-05-26 01:21:40 +06:00
s1lentq
b6e0420365 Added api hook ShowMenu, ShowVGUIMenu
Unlocked some cvars limit of the value #34
2016-05-23 04:51:21 +06:00
s1lentq
61d9d64c19 Added API hook HandleMenu_ChooseAppearance, HandleMenu_ChooseTeam 2016-05-19 16:04:44 +06:00
s1lentq
32d0c580dc Added api hooks gamerules functions 2016-05-18 20:09:14 +06:00
s1lentq
bc8dbf056c Changes In GiveNamedItem: force remove the item if not touches. 2016-05-16 20:07:27 +06:00
s1lentq
d9c6805e28 CBasePlayer::TakeDamage: Add reference for argument flDamage 2016-05-16 04:55:25 +06:00
s1lentq
a9d5e3bb4a Merge pull request #32 from s1lentq/regamedll_api_01
Regamedll api 01
2016-05-12 01:05:02 +06:00
s1lentq
0d209c1cd4 Mini-refactoring.
Added at weaponInfo name for weapon_shield
2016-05-11 20:06:43 +06:00
s1lentq
13e12cc0ae Simplification existing code associated with buy weapons and more 2016-05-04 03:55:04 +06:00
s1lentq
bba210b6a1 API: Added hook InstallGameRules 2016-05-02 19:21:43 +06:00
s1lentq
982d12176e Reworked mp_nadedrops 2
Added #31: cvar mp_roundrespawn_time
Added hook CanBuyThis
Added api functions: UTIL_FindEntityByString, GetWeaponInfo
2016-05-01 20:37:25 +06:00
s1lentq
f8136978c8 Using a reference to Vector into interfaces wrapper
Regamedll API: Added hook RoundEnd
Added API EndRoundMessage
2016-04-30 21:22:44 +06:00
asmodai
c815a7708f Fixed Vector constructors
Removed some unnecessary checks
2016-04-24 15:08:00 +03:00
s1lentq
22ae6a2c59 Regamedll API WIP: Added new api functions 2016-04-21 07:00:02 +06:00
s1lentq
d8b12ee80b Regamedll API WIP: added some more API functions.
Added new cvar, mp_hegrenade_penetration, mp_nadedrops more details in game.cfg.
Let inflict damage by grenades to breakable objects.
2016-04-19 21:26:46 +06:00
s1lentq
455f0c6118 Regamedll API WIP: Added new api functions
Fix crash-bug with autobuy (CBasePlayer::AddAutoBuyData)
Removed some useless code for CS
Added cssdk
2016-04-05 22:11:41 +06:00
s1lentq
9b955f2672 Regamedll API WIP: Added new interfaces-objects
Removed some useless code in CBasePlayerWeapon::GetNextAttackDelay
Removed the allocation of the entity CSoundEnt, because it is useless for CS 1.6 also removed UpdatePlayerSound
2016-03-17 23:58:24 +06:00
s1lentq
7b227c0edb Regamedll API WIP: implemented interfaces some objects. 2016-03-13 21:38:00 +06:00
s1lentq
9fd5eaa043 Improved versioning: Added detection remote url repository.
Update PreBuild.bat
2016-03-04 07:26:04 +06:00
s1lentq
6d282d58e4 Merge pull request #27 from IgnacioFDM/restart_round_command
End round command
2016-03-03 15:42:36 +05:00