Commit Graph

668 Commits

Author SHA1 Message Date
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
Vaqtincha
315d0d06f5 func_breakable: Remove m_iszSpawnObject on restart round (#476)
func_breakable: Remove m_iszSpawnObject on restart round
2020-01-15 00:38:54 +07:00
Vaqtincha
a7443e9e1e Fix https://github.com/s1lentq/ReGameDLL_CS/projects/1#card-26740504 (#477) 2020-01-15 00:37:28 +07:00
Vaqtincha
7fb624ab6c [CZERO] Fix count hostages ("ScenarioIcon" message) (#475)
Fix HUD hostage icon when last hostage was saved
2020-01-15 00:30:42 +07:00
Juice
8c723a635c Fix hitsounds on vehicles (#491) 2020-01-14 15:01:00 +07:00
fl0werD
e1b62d2495 DefaultDeploy fix allocation string issue for 3rd-party (#494) 2020-01-14 14:58:43 +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
Dmitry
1f615d36b5 Typo fix (#482) 2019-12-25 19:35:18 +07:00
fant1kua
1784f87e24 Fix voice API bug (#469) 2019-12-19 15:31:00 +07:00
s1lent
dd6141eae7
Move beta features to release stage. 2019-12-17 21:25:24 +07:00
s1lent
3b612dc857
Move some new features to REGAMEDLL_ADD 2019-12-17 21:19:52 +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
fant1kua
27b2a8c8c9 Add API to set if player can hear another player (#467)
* Add API to set if player can hear another player
2019-12-14 17:24:40 +07:00
fl0werD
19269aa450 spelling mistake on naming fix (#465) 2019-12-13 07:07:04 +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
Shorohov Sergey
aeea713a19 New CVar mp_weapons_allow_map_placed (#429)
* Add new CVar: mp_weapons_allow_map_placed - When set, map weapons (located on the floor) will be shown.
2019-10-27 21:15:45 +07:00
Shorohov Sergey
35277804bf Add new console command: mp_swapteams - Swap the teams and restart the game. (#430) 2019-10-27 21:13:46 +07:00
Vaqtincha
a9ba748eef Bots: safe check for DoorActivator (#441) 2019-10-26 04:56:00 +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
s1lent
e199b16463
Introduce end-of-line normalization 2019-09-23 04:09:58 +07:00
Vaqtincha
6955ae9f65 Armor pickup fix (#425)
fix "item_kevlar/ item_assaultsuit" items touch
fix "ArmorType" message on pickup
2019-09-23 01:46:16 +07:00
s1lent
94d81df16c
Fix newlines for items.cpp 2019-09-23 01:20:00 +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
7607207d32 Add "give" client cheat command (e.g give weapon_ak47) like in csgo (#415)
* Add "give"  client cheat command (e.g give weapon_ak47) like in csgo
2019-09-22 21:41:57 +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
c2f62eb98a
Fix newlines 2019-09-22 21:29:29 +07:00
s1lent
71c83fbd5b
Fix typo 2019-09-22 21:24:43 +07:00
Vaqtincha
4978661ebe Autobuy/Rebuy Fixes (#421)
* "Old Menus" rebuy fix
2019-09-22 21:16:07 +07:00
s1lent
c35545a5b8
CGrenade::Use: Fixed spam sound on defuse start, if player in air 2019-09-21 18:41:01 +07:00
s1lent
22f5fe3831 Grenade::Use: Move #C4_Defuse_Must_Be_On_Ground to beginning of defusing. 2019-09-18 15:06:11 +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
s1lent
8c3cd4fc54 CCSPlayer::RemoveShield: Enhanced
CCSPlayer::GiveNamedItemEx: Drop weapon_elite when get weapon_shield
2019-09-17 19:42:17 +07:00
Vaqtincha
b83d221ec4 Fixes (attempt 999) (#413)
* Fix func_healthcharger & func_recharge bug
* active weapon check
* fix entity leak
* item_airbox: little optimizations
* Use IsPlayer check instead of FClassnameIs
2019-09-17 19:06:21 +07:00
fl0werD
2632c98c98 add prevent jump flag to iuser3 data (#410)
* add prevent jump flag to iuser3 data
2019-09-14 01:07:52 +07:00
s1lent
a2a6997278 armoury_entity: Don't pick up dual elites if player carry shield.
Minor refactoring
2019-09-11 00:19:28 +07:00
s1lent
7ac1e0db2f Enhanced behavior armoury_entity with czbot, don't pick up if forbidden by cvars 2019-09-11 00:04:18 +07:00
s1lent
29a94ddbb8
mp_infinite_ammo 1: Fixed grenade throw 2019-09-08 22:28:23 +07:00
s1lent
8ec88f804d
Implemented cvar mp_unduck_method for prevent unduck if ducking isn't finished yet (also affects double duck) 2019-09-05 00:33:24 +07:00
s1lent
5e235a9851
pm_shared.cpp: minor refactoring 2019-09-04 20:04:57 +07:00
s1lent
8591bbd13d
build.gradle: remove extralib stdc++ 2019-09-04 04:56:45 +07:00
s1lent
1c2aa38cc3
Update const.h and sdk 2019-08-30 01:45:26 +07:00
s1lent
96938aec55
ReGameDLL API: Implement BGetICSEntity/BGetIGameRules for check safe version interface. 2019-08-29 23:08:24 +07:00
s1lent
69250cf2c1
AddToFullPack: Added more extra effect flags EF_OWNER_VISIBILITY/EF_OWNER_NO_VISIBILITY 2019-08-29 22:31:33 +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
fl0werD
80e8730187 Add force visibility effect (#406)
* Add force visibility effect
2019-08-29 20:51:41 +07:00
fant1kua
77305688a9 Implement RG_CBasePlayer_UseEmpty hook (#405)
* Implement to RG_CBasePlayer_UseEmpty
2019-08-29 20:34:22 +07:00
s1lent
371ac897bb Missing initialize for member m_iWeaponInfiniteIds 2019-08-26 15:29:22 +07:00
s1lent
1f84ae5d7b Unittest-win: Fixed demo failed #2 2019-08-26 06:05:27 +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
54a0f5f244 SV_StudioSetupBones: make local vars as static to avoid larger stack size. 2019-08-26 04:10:19 +07:00
s1lent
3ce937a1db Unittest-win: Fixed demo failed 2019-08-26 04:10:19 +07:00
s1lent
da591f8cb3 QuaternionSlerp: Fix GCC issue & minor refactoring (Reversing thing mistake) 2019-08-26 02:51:40 +07:00
justgo97
411a02843e Fix c4 defuse glitch (#383)
* [WIP] Fix c4 defuse glitch
While you are defusing you can unpress E and a friend can continue to defuse for you
2019-08-14 04:25:38 +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
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
b9367f087d
Update eiface.h 2019-08-13 21:11:50 +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
1146aa56fe Add toolset for VS 17, 19 2019-06-09 00:02:42 +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
f09df43ce4
Remove useless files 2019-06-06 02:47:27 +07:00
s1lent
3abf4879e7
Fixed some GCC warnings 2019-06-06 01:26:02 +07:00
s1lent
e9c41c33d2
Fix for range loop in CUtlVector (Sync from dreamstalker/rehlds#697) 2019-06-06 00:34:40 +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
5d2b1ac703
Closes #358 2019-06-05 20:30:00 +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
s1lent
b732b47874
GCC: disable using intrinsics by default 2018-10-27 00:08:03 +07:00
s1lent
7aeca162d6
Resolved #307 2018-10-05 17:33:17 +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
s1lent
b68b545e77
Remove leading lib prefix 2018-05-22 14:33:28 +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
Alik Aslanyan
aa329db276
Update API minor version 2018-02-19 19:10:22 +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
In-line
a4fa8c6bc4 Fix CSSDK in extra (#220) 2017-11-23 00:19:37 +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
bfad492265
Fix hanging corpse 2017-11-05 19:56:17 +07: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
s008nyx
d7170431ce Wrong checking CanPlayerHearPlayer (#194) 2017-11-02 13:25:28 +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