Javekson
d7b44099e7
Refactored RemovePlayerItemEx and Extended DestroyItem in CBasePlayerItem ( #864 )
2023-09-28 16:06:04 +07:00
Alejo
ee34b06605
New CVar: mp_team_flash
( #693 )
...
* Added new CVar `mp_team_flash`
2023-09-05 11:10:38 +07:00
s1lentq
7b7a1b9d94
Bump minor version up to 23
2023-09-05 11:01:46 +07:00
Francisco Muñoz
1aae57fd17
Fix: Grenade weaponbox not deploying on unarmed player ( #847 )
2023-09-05 10:54:20 +07:00
Javekson
728f1fcc67
Fixed of m_lastDamageAmount recording during armor calculation ( #857 )
2023-09-05 10:53:22 +07:00
Dmitry Novikov
e8bff71475
Fixed crash sometimes occurring while zbot map analyzing ( #844 )
2023-09-05 10:53:05 +07:00
Francisco Muñoz
facc2be534
Various defuser fixes and code refactory ( #848 )
...
* Defuser code refactory and fix
2023-09-05 10:52:44 +07:00
Francisco Muñoz
2e6e77906f
Ensure m_pDriver assignation on func_vehicle only ( #853 )
2023-09-05 10:52:30 +07:00
Francisco Muñoz
f441279294
API
: CSPlayer new members (physics related) (#851 )
...
* CSPlayer new members
* API refactory in pm_shared.cpp
* Cached CSPlayer pointer in a global variable
* Changed PM_JumpHeight from lambda function to an inline function
* Changed m_flDuckSpeedMultiplier data type to double
2023-09-05 10:52:14 +07:00
Francisco Muñoz
696f465977
API
: Added new API funcs (6) and new Hookchains (21) (#849 )
...
* Added few newest API Hookchains
* Added hookchain for PM_CheckWaterJump
* Added hookchain for PM_Jump
* Added hookchain for PM_Duck
* Added hookchain for PM_UnDuck
* Added hookchain for ClearMultiDamage
* Added hookchain for AddMultiDamage
* Added hookchain for ApplyMultiDamage
* Added hookchain for CSGameRules::TeamFull
* Added hookchain for CSGameRules::TeamStacked
* Added hookchain for CSGameRules::PlayerGotWeapon
* Added hookchain for CBotManager::OnEvent
* Added hookchain for CBasePlayer::EntSelectSpawnPoint
* Added hookchain for CBasePlayerWeapon::KickBack
* Added hookchain for CBasePlayerWeapon::SendWeaponAnim
* Added new PM_* Hookchains
* Added PM_WaterJump
* Added PM_PlayStepSound
* Added PM_AirAccelerate
* Added CBasePlayer::CheckTimeBasedDamage
* Added CBasePlayerWeapon::ItemPostFrame
* Added BuyItem and CSGameRules::Think
* AddAmmoNameToAmmoRegistry refactory
* Bump minor version in an API bump up to 23
2023-09-05 10:43:40 +07:00
s1lentq
f3723d7a04
Add reserve members for CCS Entity
...
Bump interface version up to CSENTITY_API_INTERFACE_VERSION003
2023-08-24 17:09:50 +07:00
s1lentq
02bb06a6ef
Fixed bug when restarting a button using multisource (Do not use multisource when restarting a button)
2023-08-23 23:14:31 +07:00
Francisco Muñoz
53d26a7ea5
API
: CSPlayerWeapon integration + new members and functions (#850 )
...
- Member name changed to m_iStateSecondaryAttack
- Member type changed to uint8_t which has same size of bool but allows more values than true or false (this wont break API compatibility)
- Moved logic inside HasSecondaryAttack to correctly alter function return based on m_iStateSecondaryAttack, which can be (0) no value / null (1) set (2) block
-Removed logic in CBasePlayerWeapon::Spawn that caches the return value of HasSecondaryAttack, as this can only be overridden when set, rather than always
* Improve API compatibility
2023-08-23 21:27:35 +07:00
Sergey Shorokhov
942776783b
mp_fadetoblack 2
fade timings now depends from mp_dying_time
CVar and code fixes (#845 )
...
Fix forcing 1-person view for players when `mp_fadetoblack = 2`;
Fix player blackout on server entry when `mp_fadetoblack = 2`;
Fix observer not being blinded when `mp_fadetoblack = 2`;
Fix fadetoblack message timings using new CVar `mp_dying_time`.
fix #501
fix #506
Co-authored-by: s1lentq <s1lentsk@yandex.ru>
2023-07-16 15:55:58 +03:00
s1lentq
c526fa5885
Enable location feature if bots allowed or listen server is running
2023-07-16 04:17:14 +07:00
s1lentq
ad13545dac
TutorMessageEvent::GetNextParameter: Fixed corrupted stack
2023-07-16 04:13:08 +07:00
Adrian Cirstea
718f0330f1
API
: Implement PM_LadderMove
hook (#740 )
...
Related to https://github.com/s1lentq/reapi/issues/82
2023-07-16 03:48:44 +07:00
Francisco Muñoz
8a8f348755
Adjust gib's velocity limit according to sv_maxvelocity ( #846 )
...
* Adjust gib's velocity limit according to sv_maxvelocity
* Gib max velocity adjusted to sv_maxvelocity
2023-07-15 04:34:54 +07:00
Francisco Muñoz
11d6b086b4
Shield constants code cleaning ( #843 )
...
* Change constant name (SHIELDREN -> SHIELDGREN)
* Correct and separate constant names
2023-07-13 01:29:56 +03:00
Sergey Shorokhov
8a18969be1
New CVar: mp_dying_time
( #483 )
...
* Add new CVar: mp_dying_time < 0 .. 999>
* Add description
* magic numbers to named const
* magic numbers to named const (№2)
* cvar value handling
* update description
* a better description
* resolve conflicts
* lil order fixes & indent
* remove death animation skip
* DYING_TIME -> DEATH_ANIMATION_TIME
* Fix death animation when mp_dying_time < 3.0 depending on animation
* change desc
* change cvar desc
---------
Co-authored-by: dystopm <fjmunozpena@gmail.com>
2023-07-12 20:43:37 +03:00
Hamdi
e1d1c11992
add FTRACE_KNIFE flag ( #817 )
...
* trace flags
* remove unused flags
* add FTRACE_KNIFE flag
2023-07-11 05:57:50 +03:00
Sergey Shorokhov
6da11fa4dd
fix: bot_profile_db
CVar use ( #827 )
2023-07-11 03:09:11 +03:00
Francisco Muñoz
6375ea5504
Little code cleaning: g_vecAttackDir ( #831 )
...
* Tiny code cleaning
* Skip REGAMEDLL_FIXES
* UTIL_BloodDrips: remove useless `direction` param
* Fix test demo (RANDOM_FLOAT inside UTIL_RandomBloodVector should be called for testdemo)
---------
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
Co-authored-by: s1lentq <s1lentsk@yandex.ru>
2023-07-11 03:01:53 +03:00
Francisco Muñoz
a5f288fbd6
Fix Glock and Famas undesired ammo decreasing on burst mode ( #832 )
2023-07-10 16:36:58 +03:00
Francisco Muñoz
8ddda261fe
New CVars: mp_weapondrop
and mp_ammodrop
and fixes ( #840 )
...
* First implementation
* Update player.cpp
* Apply suggestions from code review
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
* Improve readability
* Improve readability x2
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
* Tabulation tip
* Compile error resolved
* Add mp_weapondrop 3: drop all weapons
---------
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2023-07-10 15:45:24 +03:00
Francisco Muñoz
d4deabfe59
CZero
: Fix broken Career Tasks (#836 )
...
* Fix HandleEnemyKill params and Hostage target detection
* Var name mistake
* Grouping more code on FIXES macro
2023-07-10 15:44:31 +03:00
Francisco Muñoz
12560c2b87
Make Knife back stab multiplier customizable ( #834 )
...
- Add Backstab multiplier CKnife member with default value
- Adding REGAMEDLL_API macros correctly to extended members of CKnife
- Added inline functions for specific values, considering original and new behaviour
2023-07-01 09:52:11 +07:00
Francisco Muñoz
e08cf1e72a
Disable BotPrecache whether game is CS 1.6 ( #839 )
2023-07-01 09:48:33 +07:00
s1lentq
94bf705196
RemovePlayerItemEx: Do not remove the grenade weapons until it runs out of ammo
2023-04-27 17:24:29 +07:00
s1lentq
4b4cd88feb
RemovePlayerItemEx: Reduce ammo supply for grenades and c4
2023-04-27 01:01:46 +07:00
Sergey Shorokhov
e090a52846
Add Visual Studio 2022 (17.0) Platform Toolset ( #820 )
...
* Add Visual Studio 2022 (17.0) Platform Toolset
2023-04-03 22:16:36 +03:00
Vaqtincha
2f88574a94
Weaponbox ammopack hardcode ( #533 )
2023-04-01 01:09:41 +07:00
Vaqtincha
c756bf89d1
* fix bug when picking weaponbox grenades with ammo > 1 ( #669 )
...
* fix bug pickup sound (if the player has ammo > 0)
2023-04-01 01:03:03 +07:00
Unreal Karaulov
4a7a63533c
Missing friendlyfire after previous commit ( #805 )
...
* Missing friendlyfire after previous commit
Fixes https://github.com/s1lentq/ReGameDLL_CS/pull/798 issue.
2023-04-01 00:57:16 +07:00
Hamdi
dce06e91c2
Add new trace flags ( #813 )
2023-04-01 00:53:43 +07:00
deprale
d2ea0d342f
fix incorrect player 3rd cam animations on death while frozen. ( #815 )
2023-04-01 00:53:04 +07:00
fl0werD
eb91f9280d
Add FreeGameRules hook, util api functions, player api functions ( #808 )
2023-03-13 02:33:15 +07:00
Sergey Shorokhov
8ff30b4c3e
Revert "New entity trigger_bomb_reset
( #796 )"
...
This reverts commit 5dec3bad32
.
2023-03-11 11:23:30 +03:00
Sergey Shorokhov
5dec3bad32
New entity trigger_bomb_reset
( #796 )
...
* Init
* Implementation
* Add `trigger_bomb_reset` to `.fgd`
* Set CC4 position on CC4::AttachToPlayer()
* move to `addons/trigger_bomb_reset`
* rename method & member
* CTriggerBombReset: Add `SetUse()`
2022-12-18 00:17:02 +03:00
RauliTop
7caf748a61
Fix: 'fast fire glitch' at AUG/SG552 ( #734 )
...
* Fix 'fast fire glitch' at AUG/SG552
Bug is caused because of not checking his FOV in some conditions.
* refactoring
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-12-17 23:49:05 +03:00
Federico Matías
1c68cb0c98
FIX: Unexpected behavior with mp_forcerespawn
( #653 )
...
* Unexpected behavior with mp_forcerespawn leading to a possible exploit
Basically there is an exploit (or bug?) where depending on mp_forcerespawn if his value is higher to 0 and lower than 1, when you respawn you have a brief window to change your team, if you succesfully manage to change your team between the mp_forcerespawn value and WITHOUT closing the change appearance menu, you won't die due to "m_fNextSuicideTime", that will trigger the change team but without actually changing your skin model, you will keep the enemy one but the team change will success.
Thanks https://github.com/metita for helping me with this
Co-Authored-By: metita <33007491+metita@users.noreply.github.com>
* Revert "Unexpected behavior with mp_forcerespawn leading to a possible exploit"
This reverts commit 73d1c16706
.
* fix: nullify `m_fNextSuicideTime` before call `ClientKill()`
* ClientKill: refactoring
* add forgotten if-statement
* remove macros
Co-authored-by: metita <33007491+metita@users.noreply.github.com>
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-12-17 19:45:04 +03:00
Adrian Cirstea
15e7d4a11e
Implement game_round_start
& game_entity_restart
triggers ( #754 )
...
* Added `game_entity_restart` for entities and `game_round_start` for round start
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-12-16 13:10:01 +03:00
RauliTop
9a001cabd1
Fix TimeBasedDamage
Paralyze decl typo ( #748 )
...
[skip ci]
2022-12-16 12:13:42 +03:00
Sergey Shorokhov
ab2bfd4b9d
little code fixes ( #798 )
...
* weapons.cpp fix compile warning
`warning C4715: 'GetBaseAccuracy': not all control paths return a value`
* vihicle.cpp: use PlayerRelationship()
thanks to cf8deb9cac (r92242848)
Co-authored-by: Vaqtincha <51029683+Vaqtincha@users.noreply.github.com>
2022-12-15 16:06:08 +03:00
Vaqtincha
980162774a
fix: Reset immunity effects always ( #788 )
...
* Reset immunity effects always
* add new member m_bSpawnProtectionEffects
2022-12-15 16:04:34 +03:00
Unreal Karaulov
cf8deb9cac
Update func_vehicle for multiplayer ( #792 )
...
* Update func_vehicle for multiplayer. Added mp_legacy_vehicle_block cvar.
* Update dist/game.cfg
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
* Update regamedll/dlls/game.cpp
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
* Fix default behavior
* Optimization
Thanks to https://github.com/s1lentq/ReGameDLL_CS/pull/737#issuecomment-1068038171 help!
* Update README.md
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-12-07 02:11:25 +07:00
s1lentq
dae415df66
Disable CHalfLifeMultiplay::Think in training to avoid changing level when time limit has been met and other multiplayer features
2022-12-05 19:52:13 +07:00
s1lentq
2d44adae43
Call OnCreate after full creation
2022-11-28 18:23:02 +07:00
fl0werD
84f1f5e4c6
New CVar: mp_hostages_rescued_ratio
( #786 )
...
* Add mp_hostages_rescued_ratio cvar
* Add restriction of the CVar value
Co-authored-by: Sergey Shorokhov <sergeyshorokhov@csgo.com>
2022-11-24 20:16:37 +03:00
Vaqtincha
946b5a9db0
Correcting code style and config ( #783 )
...
* cosmetic changes (for perfectionists)
* cosmetic changes (in sdk)
* add quotes for all cvar values
2022-11-24 19:04:42 +03:00
Sergey Shorokhov
d8702df548
fix for previous commit
2022-10-08 20:35:12 +03:00
666JuL
83151aaf0b
New CVar: mp_give_c4_frags
( #776 )
...
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-10-08 20:32:30 +03:00
Adrian Cirstea
98b387bb68
Add an argument to swapteams
command ( #739 )
...
* Added an argument to `swapteams` command
* Updated `README.md` `swapteams` description
* Fixed check arguments count
* better arg usage
* better notations for readme
* better desc
Co-authored-by: Sergey Shorokhov <sergeyshorokhov@csgo.com>
2022-09-15 19:52:54 +03:00
Sergey Shorokhov
e83eeaed39
fix: update scoreboard attributes on defuser pickup ( #770 )
2022-09-15 16:45:32 +03:00
s1lentq
10813019c8
UTIL_ResetEntities: Crash fixed, sometimes returns NULL for 1 index
2022-06-14 19:31:34 +07:00
SmileyAG
21dab90571
Added spawnflags for keep player angles & velocity in trigger_teleport ( #747 )
...
* Added spawnflags for keep player angles & velocity in trigger_teleport
Co-authored-by: etojuice <etojuice@yandex.ru>
2022-04-28 18:33:39 +07:00
Vaqtincha
6c47f96998
Fix player_weaponstrip ( #735 )
...
* fix player_weaponstrip
2022-04-16 19:11:13 +07:00
Juice
db76e604df
Clamp moving entities' sounds volume ( #751 )
2022-04-11 15:32:00 +07:00
Alejo
f050be77db
fix respawn protection icon hiding ( #695 )
...
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-03-13 17:35:42 +03:00
Vaqtincha
0bbad64944
g3sg1 animation duration fix ( #670 )
2022-02-19 17:50:59 +07:00
Vaqtincha
bbf4541361
Fixed missing localized string for several weapons WeaponBuyAliasInfo ( #729 )
2022-02-13 01:48:20 +07:00
Nord1cWarr1or
c002edd5b1
player.cpp: UpdateClientData()
: fix observer crosshair bug ( #672 )
...
hide observer crosshair if we cancel HIDEHUD_CROSSHAIR.
2021-12-28 19:23:17 +03:00
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
StevenKal
53181d3e9b
CItemAirBox: Fix flight to the moon! ( #697 )
...
* Update item_airbox.cpp
Also reset the velocity on Touch, just to avoid the "invisible" entity to keep moving.
Let the reset on "Restart" too in case of, despite facultative.
Final version: Reset all the axes of the velocity to make the sure the item spawns with a complete null velocity (I did not do that before more in order to take in consideration the possible custom X/Y speed we could give to them, like via plugin, but I finally decided to clean up all, the plugins could still affect it later if needed).
2021-10-28 03:19:09 +03:00
Alejo
b9cccc691b
New CVars: sv_autobunnyhopping
and sv_enablebunnyhopping
( #686 )
...
* Add bunnyhopping
* Add missing cvar register. Added cvars to readme and cfg
* API added
* Changed define
2021-10-20 19:18:30 +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
Sergey Shorokhov
da24c74c20
player.h: fix ForEachItem()
items iteration
2021-09-13 23:51:01 +03:00
Sergey Shorokhov
667242fadd
Fix m_flAccuracy
calculation ( #677 )
...
* weapons.h: Add `*_ACCURACY_DIVISOR` constants
* fix `m_flAccuracy` spray calculation
2021-09-13 15:28:43 +03:00
jeefo
bb97adefed
Disable thread-safe initialization for static local variables in VS2015+ when XP toolset is used. ( #673 )
2021-09-07 14:41:12 +03:00
Sergey Shorokhov
9233f852ca
CSEntity.h: Move reserve funcs to private
2021-09-02 20:47:36 +03:00
Vaqtincha
5aec8aac7e
Bot fixes ( #659 )
...
* Bots only attack breakable objects
* Fix reversing-engineering mistake
2021-08-31 23:17:28 +03:00
Sergey Shorokhov
7e2279f8c5
Implement CBasePlayer::Observer_FindNextPlayer()
hook ( #667 )
...
* Implement Observer_FindNextPlayer hook
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 22:04:32 +03:00
FEDERICOMB
983500c9bd
Implement CCSEntity::FireBuckshots
( #651 )
2021-08-31 21:59:28 +03:00
FEDERICOMB
d079f26fc1
Implement CGib::SpawnHeadGib and CGib::SpawnRandomGibs ( #650 )
2021-08-31 21:57:54 +03:00
Lopol2010
f1b253e5b0
Implement CBasePlayer::Observer_SetMode hook ( #663 )
...
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 15:07:21 +03:00
Vaqtincha
67cc153f5d
Fix "use accuracy from last bullet fired earlier" glitch. ( #662 )
...
* Fixes "use accuracy from last bullet fired earlier" glitch.
* fix newline at wapons.h
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-08-31 14:05:25 +03:00
fl0werD
38dda25a84
Implement player Pain, DeathSound and JoiningThink hooks ( #607 )
2021-08-29 07:12:25 +03:00
Sergey Shorokhov
fbbd6bd083
Add new CVar sv_allchat ( #665 )
2021-08-28 13:41:49 +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
Sergey Shorokhov
55b996c30a
Allow observe for dying player with EF_NODRAW effect
2021-06-20 11:57:51 +03:00
Sergey Shorokhov
a390cadcd0
Observer_IsValidTarget: checks refactoring
2021-06-20 11:40:25 +03:00
Sergey Shorokhov
5b7159e8de
Implement sv_alltalk 5
2021-06-15 12:59:58 +03:00
ChakkiSkrip
2c52c4f4de
regamedll-cs.fgd ( #637 )
...
regamedll-cs.fgd: Added lost spawnflags SF_DOOR_ROTATE_Z, SF_DOOR_ROTATE_X func_rot_button [skip ci]
2021-06-08 19:12:42 +07:00
Vaqtincha
49b2412e9c
func_bomb_target: new feature "strict touch" ( #636 )
2021-06-07 01:17:18 +07: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
517f68af93
[WIP] Fgd updates ( #632 ) [skip ci]
...
* fgd game_player_equip fixes
* fgd enhance cycler/cycler_sprite
* fgd minor changes
2021-06-06 19:15:34 +07:00
Vaqtincha
3ff0f0cbf9
Bots can switch weapons underwater ( #631 )
...
* Bots can switch weapons underwater
2021-06-06 19:13:55 +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
8d1f4fb673
Add weapon flag ITEM_FLAG_NOFIREUNDERWATER ( #628 )
...
Implement weapon flag ITEM_FLAG_NOFIREUNDERWATER to allow user to changes behavior firing underwater
2021-05-22 18:12:24 +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
OrangePee1
a27ce74e10
fix crash in UTIL_AreHostagesImprov ( #626 )
...
add check g_engfuncs.pfnEngCheckParm is nullptr or not.
2021-05-17 02:55:22 +07:00
Vaqtincha
64059d1026
fix weapon_sg550 ( #624 )
...
* fix first shot weapon_sg550
2021-05-16 16:19:02 +07:00
s1lentq
f2ef23db61
Fixed flag 'k' mp_round_infinite ( Fixes #614 )
2021-04-16 00:15:21 +07:00
s1lentq
9a19e6408c
CMakeLists.txt add missing linker option -qno-opt-class-analysis
2021-04-15 02:01:51 +07:00
s1lentq
271a49f8ca
Add workflows/build.yml (Migrate to Github CI)
...
Add CMakeLists.txt build system
Update README.md
Minor fixes
2021-04-13 04:16:21 +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
Vaqtincha
913bfc6609
enhance CVar "mp_roundover" ( #595 )
...
enhance CVar "mp_roundover"
2021-04-12 19:45:49 +07:00
s1lentq
aae507c9f5
CHalfLifeMultiplay::SwapAllPlayers: Ignore HLTV
2021-01-04 22:26:35 +07:00
s1lentq
15328fd764
API: Implemented PlantBomb Closes #589
...
API: Bump minor version
2021-01-04 22:22:45 +07:00
s1lentq
6fc1c2ff84
client.cpp: Cleanup
2020-12-25 19:40:01 +07:00
s1lentq
1155175057
Host_Say: Use a local buffer instead of external one
2020-12-25 19:38:11 +07:00
s1lentq
6866339b0c
Host_Say: Fix invalid sequence in UTF-8
2020-12-25 19:36:02 +07:00
s1lentq
9c6c880644
Delete utlbuffer.cpp
2020-12-25 19:35:37 +07:00
Alejo
9b10456590
Add newest feature of _cl_autowepswitch ( #568 )
2020-12-05 20:14:53 +07:00
Franco Romaniello
c56982af18
Fix compatibility whit rg_hint_message ( #583 )
...
When used reapi native rg_hint_message not work because tries to access to one pointer who not longer exists in CHintMessage::Send
2020-12-03 01:32:11 +07:00
Juice
8d6bf017f5
Reset client m_signals on fullupdate ( #588 )
2020-12-02 17:46:12 +07:00
Juice
5e24376237
Reset observers' m_flNextFollowTime before trying to find next target if previous target disconnected ( #584 )
2020-11-28 07:32:52 +07:00
StevenKal
7721348199
API: Add "CBaseEntity::Fire<Bullets[3]|Buckshots>" hooks. ( #587 )
2020-11-28 05:55:14 +07:00
jeefo
519b7db38d
Fixed memory leak with hintmessage. ( #581 )
...
Fixed memory leak with hintmessage.
2020-11-22 02:19:50 +07:00
etojuice
bbfc3fe589
lil fix
2020-11-12 02:26:59 +03:00
etojuice
b1c055369d
Fix crash caused by ReloadMapCycleFile function
2020-11-12 02:25:00 +03:00
s1lentq
b0d0ffedff
Revert mp_refill_bpammo_weapons 3
2020-10-27 01:01:28 +07:00
s1lentq
efb06a7a20
Fixed bug when the client reconnects, his body doesn't disappear.
2020-07-16 18:07:34 +07:00
s1lentq
cbfe8a1a0c
Fix a crash when func_breakable signals it for CCSBot::OnEvent
2020-07-03 08:07:20 +07:00
s1lentq
0cd233dc06
Don't call HasRestrictItem with type touch when that item is buying
2020-06-25 19:30:12 +07:00
s1lentq
c56f00f7ed
Fix wrong predicting vc++ 2019 compiler
2020-06-25 19:20:20 +07:00
Shorohov Sergey
3878f46678
Add new CVar's for default weapons ( #470 )
2020-06-17 23:42:40 +07:00
shel
532c1326b4
Add more flags for round time expired to CVar mp_round_infinite.
...
Co-authored-by: shel <2@shelru.ru>
2020-06-13 16:39:41 +07:00
Vaqtincha
36b46bf996
Bot fix ( #544 )
...
* fix bot kick
* fix flood "All bot profiles at this difficulty level are in use." in console
2020-06-11 02:23:38 +07:00
shel
8142303b1b
push ( #553 )
...
Co-authored-by: shel <2@shelru.ru>
2020-06-11 02:20:17 +07:00
fl0werD
bffb373539
implement CGib ( #536 )
...
* implement CGib
Move code part from basemonster.cpp to gib.cpp
3-rd party:
Link entity to class (can hookable by HamSandwich amxx module)
Add hooks for ReAPI
2020-05-27 09:56:24 +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
Vaqtincha
0dd9b97c37
Reset entvars on create bot ( #538 )
...
* Reset entvars on create bot
2020-05-27 08:32:15 +07:00
Vaqtincha
6c80744146
Add new CVar mp_falldamage ( #539 )
...
* Add CVar mp_falldamage
2020-05-27 08:26:45 +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
theshadowz
c6875e5b12
Update client.cpp ( #535 )
...
Fix typo comment
2020-05-18 19:59:43 +07:00
fl0werD
4f7252525e
Add m_bCanShootOverride member ( #527 )
...
Add m_bCanShootOverride member
Allow to override m_bCanShoot, for example able to fire at freeze time
2020-05-02 17:11:49 +07:00
Artem Golubikhin
895dabc3a1
Fixed format buffer size in UTIL_dtosX
functions ( #528 )
2020-05-02 04:40:52 +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
8c82c6236e
Bump minor API version
2020-02-14 17:17:31 +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
b465002c4d
build.gradle: Fix missing brace
2020-02-06 04:36:43 +07:00
s1lent
158c2478e3
Update index chmod+x for compile.sh
2020-02-06 04:34:34 +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
s1lent
dd59006db0
C4: Fixed a bug when a player died by explosive targets triggered by the main bomb (like is func_breakable around main bomb). (This is bug can be cause undefined behavior end round)
2020-01-15 21:13:03 +07:00
s1lent
f16333c9d6
func_mortar_field: Use explosion instead of a flash
2020-01-15 20:44:32 +07:00
s1lent
0ff845620b
USP: Fixed jitter effect when playing an animation of adding a silencer.
2020-01-15 20:28:52 +07:00
s1lent
80069a1f1e
ZBot: Implemented cvar bot_freeze
2020-01-15 20:05:13 +07:00