Commit Graph

145 Commits

Author SHA1 Message Date
Alik Aslanyan
b84ae9569b
Fix typo 2018-04-01 13:01:01 +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
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
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
69c274f92a
Add cvar for old bomb defuse sound (#242) 2018-01-21 13:44:25 +04:00
s1lent
b5e7da84b7
Fixes #239 2017-12-17 19:29:56 +07:00
s1lent
7f9cf53c49
Refactoring 2017-11-23 00:43:30 +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
In-line
022115cc35 Disable buyicon/buymenu according to info_map_parameters (#205) 2017-11-11 19:30:31 +07:00
s1lent
2174205530
Move m_rgRewardAccountRules_default to CHalfLifeMultiplay 2017-11-04 06:16:30 +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
875189fa24
Closes #157 2017-11-01 23:27:04 +07:00
s1lent
b7208e9fbc
Fixes #184 2017-11-01 22:50:24 +07: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
32df585edc Remove hookers stuff
Refactoring & cleanup code
2017-11-01 18:30:47 +03:00
s1lent
b25e3505d3 Major refactoring & cleanup 2017-11-01 18:30:47 +03: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
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
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
s1lent
2f599d21b8
Bug fixes and other minor improvements 2017-05-24 23:08:51 +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
resobatata
6186ae56c8 Fix voice checks for spectators (#116) 2017-03-02 03:09:43 +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
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
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
d586d65993 Fix counting freezetime
Small fixes
2016-12-22 04:03:12 +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
dd3e68fb69 Bugfix: to obtain hp more than expected by using drown-restored.
mini-code cleanup
2016-12-09 19:39:16 +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
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
1423f7e3fa Fix: CleanUpMap before the players spawn.
Fix: ValveSoftware/halflife#1567
2016-09-27 03:16:33 +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
8633cd9f6f Added reset for multi_manager 2016-09-13 19:07:51 +07:00
s1lentq
d9e2aee07b Added restart for func_button and trigger_once (Related #55) 2016-09-08 17:04:00 +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
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
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
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
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
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
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
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
6115723666 Bugfix: Wrong counting of GetMapCount and typo in CHalfLifeMultiplay::ProcessMapVote 2016-06-04 17:43:52 +06:00
s1lentq
1fc388a2cc Bugfix: game_playerspawn called when fullupdate (ResetHUD)
Mini-refactoring
2016-06-03 15:15:59 +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
32d0c580dc Added api hooks gamerules functions 2016-05-18 20:09:14 +06:00
s1lentq
13e12cc0ae Simplification existing code associated with buy weapons and more 2016-05-04 03:55:04 +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
s1lentq
22ae6a2c59 Regamedll API WIP: Added new api functions 2016-04-21 07:00:02 +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
3d252fe527 Refactoring and cleanup.
Fixed some critical bugs and typos (carrer_task, tutor, zbot and other)
Added command line option `-bots` to run bots in CS 1.6
Removed the tests demo record/player from myself the project and also dependency of the steam library.
Fixed the progress bar when generating a nav file.
2016-02-23 05:23:45 +06:00
s1lentq
25f425801a Refactoring and cleanup project.
Removed project bzip2.
CZero: Fix crashing of HostageEscapeState.
2016-02-04 22:45:37 +06:00
s1lentq
3eb7513411 cosmetic changes
Added #12, send zero origin in radar position for FFA mode
2016-01-28 10:48:09 +06:00
s1lentq
9f9fdb721a Added #13 by user request IgnacioFDM 2016-01-28 08:51:34 +06:00
s1lentq
4a774865ba Refactoring
Added remaining functions of pm_math/pm_debug
2016-01-28 05:50:27 +06:00
s1lentq
a8cc9cc76f Final: fully reversed functions CZ 2016-01-25 23:17:37 +06:00
s1lentq
6f51a65ae9 WIP CZ: Reversed some functions of bots.
Cleanup.
2016-01-19 18:05:41 +06:00
s1lentq
51e921b0f6 Fix: bug with check C4 (CHalfLifeMultiplay::IsBombPlanted)
Cleanup: cosmetic changes
2016-01-14 19:24:28 +06:00
s1lentq
3170a9f26c Fix #11: bug in StackVIPQueue.
Fix bug with boomb planted.
Disable -ipo for testing.
2016-01-12 19:52:42 +06:00
s1lentq
cc19972496 Fixed bug in BuyMenu.
Added some features gameplay:
 - extended limits money and round time
 - FFA mode with mp_friendlyfire 2
 - added new cvars mp_maxmoney and mp_minmoney for low limit
 - added new cvar mp_round_infinite (Infinite round)
2015-12-29 04:57:01 +06:00
s1lentq
9416463508 WIP CZ: Reversed functions from Improved hostages 2015-12-23 00:07:49 +06:00
s1lentq
70dc948091 Added EXT_FUNC for virtual functions 2015-12-11 02:30:31 +06:00
s1lentq
48ec89893a Reverse Hostages cs 1.6, SV_StudioSetupBones
Added project build mp.dll/cs.so
work final the reverse-engineering for CS 1.6
2015-12-06 01:58:53 +06:00
s1lentq
dc557b37f2 WIP: Reversed functions all weapons 2015-11-24 03:01:09 +06:00
s1lentq
0fc3351cb8 Cleanup.
Reversed functions: CBasePlayer::PickPrimaryCareerTaskWeapon, CBasePlayer::PickSecondaryCareerTaskWeapon.
Added comments to some parts of the code.
Fixed some bugs in CZ:Career.
2015-11-06 20:58:48 +06:00
s1lentq
ed1dd85d6e Refactoring 2015-09-30 06:49:22 +06:00
s1lentq
625ef14d46 WIP: full of reversed basic part 2015-09-22 22:56:27 +06:00
s1lentq
d4cf69b587 WIP: a new batch of reverse functions 2015-08-20 17:24:18 +06:00
s1lentq
5bf6b21649 Added a new reverse the functions.
Implemented recovery a virtual table in GetClassPtr<BasClass> after linking of self class.
2015-08-03 00:17:07 +06:00
s1lentq
ed2e465d2b Reversed CBasePlayer and some function blending from animation.cpp
Fix line ending all files
2015-07-13 02:32:09 +06:00
s1lentq
2f82bb17ae Reversed some function from player.cpp
Better implemented static members by all objects of the class
MSVC: Added loading of custom configurations for the test demo with the launch --regamedll-cfg-init filename.cfg (NOTE: The config should be in the "tests" folder)
Gradle script: Added stuff for each the test demo and their auto-unpacking the root folder HLDS
2015-07-05 17:19:59 +06:00
s1lentq
c35c7c60b3 Fix linux compilation
cleanup
fixed offset some of a members of the class
Reversed CRecharge, CCStrikeGameMgrHelper, CVoiceGameMgr
2015-07-02 03:47:54 +06:00
s1lentq
56c2cb635f Added initial files project 2015-06-30 15:46:07 +06:00