Juice
09a6c61898
Reset m_flNextFollowTime
before trying to find next target after previous target death ( #712 )
...
* Freelook bug fix
* Update regamedll/dlls/player.cpp
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-12-28 03:07:43 +03:00
Nord1cWarr1or
2ac5bdee15
update score status constants ( #674 )
...
* cdll_dll.h: add `SCORE_STATUS_NONE` constant
* player.cpp: SetScoreAttrib: add `SCORE_STATUS_NONE` constant
related to https://github.com/s1lentq/reapi/pull/214
2021-10-28 14:30:21 +03:00
Alejo
112326aa63
New CVar: mp_plant_c4_anywhere
( #692 )
...
* Added new CVar `mp_plant_anywhere`
* API member for CVar `m_bCanPlantAnywhere`
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-28 14:10:02 +03:00
Alejo
c6187f3dc7
mp_free_armor small fix ( #685 )
2021-10-14 16:10:16 +03:00
Juice
dd243eaa0b
Update player counts ( #684 )
...
* Update player counts in CheckWinConditions and SwitchTeam
* Add UTIL_SpectatorsInGame and update MaintainBotQuota
2021-10-14 13:54:09 +03:00
fl0werD
38dda25a84
Implement player Pain, DeathSound and JoiningThink hooks ( #607 )
2021-08-29 07:12:25 +03:00
AlexSwartz
191857d700
Add new CVar mp_free_armor
( #609 )
2021-06-22 14:48:55 +03:00
Sergey Shorokhov
1ac96b8180
Implement CBasePlayer::HasTimePassedSinceDeath()
for m_fDeadTime
( #648 )
...
* Implement CBasePlayer::HasTimePassedSinceDied() for m_fDeadTime
2021-06-21 11:59:34 +03:00
Vaqtincha
ab846f86f4
enhance "player_weaponstrip" entity ( #634 )
...
* enhance "player_weaponstrip" entity
* update fgd
2021-06-06 19:17:07 +07:00
Vaqtincha
548cca5e5f
Forcerespawn fix ( #623 )
...
* Dead players now respawn after enabling the mp_forcerespawn
* use timer instead of instant spawn
2021-06-06 19:16:09 +07:00
Vaqtincha
d80d87366a
game_player_equip fixes/enhancement ( #618 )
...
* game_player_equip: Check UseOnly flag
* New flag SF_PLAYEREQUIP_REMOVEWEAPONS
2021-05-22 18:15:28 +07:00
Vaqtincha
bbc54cd30e
Immunity enhance ( #621 )
...
* CVar 'mp_respawn_immunity_force_unset' new value (2)
* Send StatusIcon to player (for visual information) works with mp_respawn_immunity_effects 1
2021-05-22 18:04:43 +07:00
s1lentq
9736437cb8
Remove gradle build system & Cleanup
2021-04-12 21:51:51 +07:00
Vaqtincha
fc52871739
Refactoring ( #540 )
...
* Rename CMD mp_swapteams
* Remove unused CVar mp_mirrordamage
* Refactoring checks
2021-04-12 19:55:03 +07:00
Juice
8d6bf017f5
Reset client m_signals on fullupdate ( #588 )
2020-12-02 17:46:12 +07:00
jeefo
519b7db38d
Fixed memory leak with hintmessage. ( #581 )
...
Fixed memory leak with hintmessage.
2020-11-22 02:19:50 +07:00
Shorohov Sergey
3878f46678
Add new CVar's for default weapons ( #470 )
2020-06-17 23:42:40 +07:00
Vaqtincha
27c15c38f6
Player reset zoom & speed. ( #541 )
...
* RemoveAllItems: reset (update) player speed.
* RemoveAllItems: reset player zoom.
* RemovePlayerItem: reset player zoom & speed
* CFuncTank->StartControl: fully reset zoom.
2020-05-27 08:33:10 +07:00
fl0werD
a20362389e
Remove respawn dependency on forcerespawn cvar ( #537 )
...
* Remove respawn dependency on forcerespawn cvar
Able to set custom respawn time for m_flRespawnPending without mp_forcerespawn enabled
* workaround when disabling forcerespawn must stop works immediately
* just block respawn then cvar disabled without reset for correct cvar logic
2020-05-27 08:20:59 +07:00
s1lent
5bbba22218
CreateWeaponBox: Remove constantly vector arguments
2020-04-02 18:28:46 +07:00
fant1kua
73f5d6d473
Create weaponbox hook ( #521 )
...
* Add SpawnWeaponBox hook
2020-03-27 09:17:41 +07:00
s1lent
23172c0855
Fix for CVars mp_scoreboard_showhealth/mp_scoreboard_showmoney
2020-03-05 19:21:40 +07:00
s1lent
593d1e1450
Enhanced CCSPlayerItem::GetItemInfo
2020-02-12 18:34:40 +07:00
s1lent
3f6d9db420
Fixed some compiler warnings
...
Fixed a appversion.sh when the path may contain spaces
2020-02-06 19:14:36 +07:00
s1lent
d8208f0884
Added support building using cmake
...
Added support clang compiler
Fixed some compiler warnings
Update README.md
2020-02-06 04:32:20 +07:00
Shorohov Sergey
2eba3b1186
CVar mp_fadetoblack enhancement ( close #463 ) ( #471 )
...
CVar mp_fadetoblack enhancement
2020-01-15 23:49:45 +07:00
s1lent
46f697fb46
Implemented CVar mp_respawn_immunity_force_unset Closed #462
2020-01-15 22:23:43 +07:00
s1lent
6ff75da41c
Implemented CVar mp_scoreboard_showdefkit Closed #472
2020-01-15 22:11:46 +07:00
Dmitry
7983a9d929
Fix bug with radio commands ( #480 )
...
* Fix bug with radio commands
2019-12-26 16:36:38 +07:00
Dmitry
7b0dab916d
Ignorerad command small optimization ( #481 )
2019-12-25 19:36:26 +07:00
s1lent
dd6141eae7
Move beta features to release stage.
2019-12-17 21:25:24 +07:00
Shorohov Sergey
ded6b32e85
New CVar mp_give_player_c4 ( #428 )
...
* Add new CVar: mp_give_player_c4. - Whether this map should spawn a C4 bomb for a player or not.
2019-12-17 05:13:33 +07:00
Dmitry
fd06d655ec
Implement RG_CBasePlayer_DropIdlePlayer hook ( #444 )
2019-11-02 15:48:23 +07:00
fant1kua
dbf08416fd
Implement RG_CBasePlayerWeapon_CanDeploy & CBasePlayerWeapon_DefaultDeploy hooks ( #420 )
...
* Implement CBasePlayerWeapon_CanDeploy & CBasePlayerWeapon_DefaultDeploy hooks
* Implement CBasePlayerWeapon_DefaultReload hook
* Fix CBasePlayerWeapon_CanDeploy hook for grenades
* Fix CBasePlayer::CanDeploy
* ImplementRG_ CBasePlayerWeapon_DefaultShotgunReload hook
2019-10-27 21:17:12 +07:00
Vaqtincha
49965644c3
Refactoring ( #418 )
...
* unused cheat impulses.
* nadedrop fixes
* close equipmenu (VGUIMenus) when the player left the purchase area
* disable flashlight on kill
* don't handle cmd "become_vip" if map not have scenario assassination VIP.
* unreachable code item_thighpack
* remove "gEvilImpulse101"
* remove "giPrecacheGrunt"
* remove unused entitys (from hl)
* weapon HUD fixes
* don't remove level(map) item_thighpack
* hostage "far use" fix
* reset player basevelocity on spawn
* code style fix
2019-10-09 17:18:42 +07:00
Vaqtincha
e80a766870
StatusText: Don't show hp on ffa mode ( #431 )
...
* StatusText: Don't show hp on ffa mode
* same fixes for new features (scoreboard show money/health)
2019-10-09 17:09:23 +07:00
s1lent
0b517e036f
Don't respawn if m_flRespawnPending isn't set
...
Minor refactoring
2019-09-23 04:31:23 +07:00
Vaqtincha
f8a5c5406e
Regamefixes ( #419 )
...
* use “ItemInfo” instead of “WeaponInfoStruct”
* allow to change m_flRespawnPending (respawn delay) by 3rd party plugins
* remove spawn protection on kill (or reset)
* fix CVar "mp_kill_filled_spawn" (a forgot check)
* cheat impulse 101 max money value (by CVar mp_maxmoney")
2019-09-22 21:49:52 +07:00
Vaqtincha
a386ef41ea
Invisible shield fix ( #422 )
...
* add constants for entvar "gamestate" magic number
* invisible shield (https://github.com/s1lentq/ReGameDLL_CS/projects/1#card-26566008 )
2019-09-22 21:39:06 +07:00
s1lent
c35545a5b8
CGrenade::Use: Fixed spam sound on defuse start, if player in air
2019-09-21 18:41:01 +07:00
Vaqtincha
bed4180d03
Add CVar mp_show_scenarioicon ( #416 )
...
* Add CVar mp_show_scenarioicon (Condition-Zero style scenario icon near round timer)
2019-09-18 15:04:32 +07:00
justgo97
2fcba6f35a
Disconnected players func_tank fix ( #400 )
...
for more info visit this thread : https://forums.alliedmods.net/showthread.php?t=317763
2019-08-29 20:57:12 +07:00
fant1kua
77305688a9
Implement RG_CBasePlayer_UseEmpty hook ( #405 )
...
* Implement to RG_CBasePlayer_UseEmpty
2019-08-29 20:34:22 +07:00
s1lent
69e5c854e2
Implemented cvar mp_infinite_grenades.
...
Reworked cvar mp_infinite_ammo, not include grenades
2019-08-26 05:45:27 +07:00
s1lent
a7f20dc2e8
Implemented command param -beta to enables latest things from official.
2019-08-26 04:26:55 +07:00
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
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
594721ccef
Allow immediately change name for proxy
2019-08-11 20:20:21 +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
9ed19456f0
Print reason kick also added reason message for kick
2019-06-21 02:37:44 +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
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
1745de6aca
Added API hook CBasePlayer::HintMessageEx
...
Bump minor version API
2019-06-06 02:57:40 +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
CrazY
45fbb042f8
Fix for dead player inclination ( #342 )
...
* Fix for dead player inclination
2019-02-26 04:13:23 +07:00
justgo97
cc1f584a7f
Add mp_kill_filled_spawn ( #313 )
...
* Add mp_kill_filled_spawn
2018-10-27 00:11:23 +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
96af8a797d
Make mp_item_staytime for drop nades
2018-05-22 20:52:50 +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
Shorohov Sergey
bc2c3176e4
Spawn protection API and cvar (mp_respawn_immunitytime). ( #266 )
2018-02-18 15:31:24 +04: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
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
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
7f9cf53c49
Refactoring
2017-11-23 00:43:30 +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
In-line
022115cc35
Disable buyicon/buymenu according to info_map_parameters ( #205 )
2017-11-11 19:30:31 +07:00
In-line
5afb52ffce
Use Q_abs float overload whenever possible ( fix #107 ) ( #201 )
2017-11-07 17:27:54 +03:00
s1lent
10ee63d807
Fix nade drops
...
Move m_bHasSecondaryAttack to CCSPlayerWeapon
2017-11-03 23:33:17 +07:00
s1lent
1411eca4a0
Replace virtual UpdateOnRemove to OnDestroy
2017-11-02 01:23:23 +07: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
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
b25e3505d3
Major refactoring & cleanup
2017-11-01 18:30:47 +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
1eb385602a
Fixed bug with lastinv (fix from 7561) ( #173 )
2017-07-17 14:42:21 +03:00
In-line
419603ff52
Optimize CBasePlayer::SendWeatherInfo ( #159 )
...
* Optimize CBasePlayer::SendWeatherInfo
2017-07-07 00:41:20 +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
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
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