Commit Graph

518 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