Commit Graph

150 Commits

Author SHA1 Message Date
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
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
s1lentq
14fb7f7756 Fix crash on hook(detour) ClientCommand from the cstrike module amxx 2016-12-22 04:17:57 +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
49c64e4722 Bugfix: Memory leak - m_rebuyString not releases the memory.
Revert: REGAMEDLL_FIXES removed from RadiusFlash
Mini-refactoring CMapInfo
2016-10-11 21:55:30 +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
9bfa67b54d Ignore by default fireonce flag for trigger_auto (Related #55)
Fix: does not reset the clones of multi_manager.
Added: Do not allow to do spawn, if player chooses a team or appearance (Related #61)
Update FGD
2016-09-26 01:05:55 +07:00
s1lentq
43753dad38 Fixes #60 2016-09-13 16:20:37 +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
1e8180f5ad Added gradle task buildFixes for faster building. 2016-07-18 06:49:12 +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
83a01dbb48 Removed api hooks CanBuyThisItem, CanBuyThis, CWeaponBox::Touch, CArmoury::ArmouryTouch
Added api hook CBasePlayer::HasRestrictItem
2016-06-21 04:13:16 +07:00
s1lentq
a1e7b9dae5 Added api hook CBasePlayer::DropPlayerItem 2016-06-20 14:05:47 +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
e57371d0f4 Added some features to the API 2016-06-15 04:21:34 +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
Alibek Omarov
4f1ca61628 Fix crash when custom SV_StudioSetupBones exported to the engine (#40)
* Fix crash when custom SV_StudioSetupBones exported to the engine
2016-06-12 19:55:45 +06: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
51313e9b2b Refactoring implementation hookchain
Added align stack for some functions
Update major version API
2016-06-06 20:18:45 +07:00
s1lentq
c406141e47 Added cvar mp_auto_reload_weapons
Added api hook SetClientUserInfoName
2016-06-04 00:31:24 +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
32d0c580dc Added api hooks gamerules functions 2016-05-18 20:09:14 +06:00
s1lentq
bc8dbf056c Changes In GiveNamedItem: force remove the item if not touches. 2016-05-16 20:07:27 +06:00
s1lentq
d9c6805e28 CBasePlayer::TakeDamage: Add reference for argument flDamage 2016-05-16 04:55:25 +06:00
s1lentq
0d209c1cd4 Mini-refactoring.
Added at weaponInfo name for weapon_shield
2016-05-11 20:06:43 +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
d8b12ee80b Regamedll API WIP: added some more API functions.
Added new cvar, mp_hegrenade_penetration, mp_nadedrops more details in game.cfg.
Let inflict damage by grenades to breakable objects.
2016-04-19 21:26:46 +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
7b227c0edb Regamedll API WIP: implemented interfaces some objects. 2016-03-13 21:38:00 +06:00
s1lentq
9fd5eaa043 Improved versioning: Added detection remote url repository.
Update PreBuild.bat
2016-03-04 07:26:04 +06:00
s1lentq
cbd030e72a Fix typo with virtual function CPathCorner::GetDelay 2016-02-29 22:00:29 +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
a8cc9cc76f Final: fully reversed functions CZ 2016-01-25 23:17:37 +06:00
s1lentq
08798e0e14 Fix: bug with mp_buytime in reset always set to 0 because of cast to const int. 2016-01-19 21:27:10 +06:00
s1lentq
0d3940f731 cleanup player.cpp.
Fix #10: fix with mp_friendlyfire 2
2016-01-06 18:50:26 +06:00
IgnacioDM
2198176a13 Fix player.cpp crash when m_pActiveItem = null 2016-01-06 06:09:50 -03: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
6b05ce2c89 Fix: Improperly reversed function CBasePlayer::ParseAutoBuyString 2015-12-18 22:32:50 +06:00
s1lentq
bdc3b63261 Fix: not displayed StatusText of player 2015-12-11 18:16:18 +06:00
s1lentq
70dc948091 Added EXT_FUNC for virtual functions 2015-12-11 02:30:31 +06:00
dreamstalker
14df9039eb Optimized compilation time on linux 2015-12-07 01:18:51 +04:00
s1lentq
b93a2a35ad Fix bug with message BarTime 2015-12-06 15:24:26 +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
8508f2d517 Added reversed weapon_knife.
Update README.md
Cleanup.
2015-09-27 19:59:44 +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
d1d017e2b5 Server_GetBlendingInterface: fix using struct for Mod_Extradata 2015-07-13 03:17:38 +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
32d9488658 New reversed of functions from CBasePlayer etc 2015-07-09 06:22:48 +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