Commit Graph

53 Commits

Author SHA1 Message Date
s1lentq
19714af6e6 get rid of unsafe string functions
minor refactor
2024-09-13 06:43:27 +07:00
s1lentq
7372573c89 Add UTIL_IsValidPlayer
Ignore dormant players
Minor refactoring
2024-05-29 00:23:28 +07:00
s1lentq
f97c9d9f46 Improve dbg code to work Assertion properly 2023-12-14 02:50:32 +07:00
Francisco Muñoz
fba9a335da
Avoid intro camera switching when only 1 trigger_camera available (#873)
* Add UTIL_CountEntities, adjust m_fIntroCamTime assignation
* Moved camera count caching to CheckLevelInitialized
2023-11-26 11:25:08 +07: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
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
s1lentq
10813019c8 UTIL_ResetEntities: Crash fixed, sometimes returns NULL for 1 index 2022-06-14 19:31:34 +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
Artem Golubikhin
895dabc3a1
Fixed format buffer size in UTIL_dtosX functions (#528) 2020-05-02 04:40:52 +07:00
Juice
8c723a635c Fix hitsounds on vehicles (#491) 2020-01-14 15:01:00 +07:00
s1lent
c2f62eb98a
Fix newlines 2019-09-22 21:29:29 +07:00
s1lent
a7f20dc2e8 Implemented command param -beta to enables latest things from official. 2019-08-26 04:26:55 +07:00
s1lent
3abf4879e7
Fixed some GCC warnings 2019-06-06 01:26:02 +07:00
Alexander B
1722f883a1 Buffer overflow fix (#351)
* Buffer overflow fix
2019-04-08 16:39:48 +07:00
s1lent
7f9cf53c49
Refactoring 2017-11-23 00:43:30 +07:00
s1lent
1411eca4a0
Replace virtual UpdateOnRemove to OnDestroy 2017-11-02 01:23:23 +07:00
s1lent
32df585edc Remove hookers stuff
Refactoring & cleanup code
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
s1lent
7fddff5198
trigger_push: reworked reset
func_rot_button: reset entity on start round
2017-07-02 23:01:37 +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
e50cfe32c6 Implemented features of priority for hookchains 2016-12-12 22:36:51 +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
19a2f24de8 Fixes #54 UTIL_ShowMessageArgs 2016-08-23 21:36:52 +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
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
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
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
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
9fd5eaa043 Improved versioning: Added detection remote url repository.
Update PreBuild.bat
2016-03-04 07:26:04 +06:00
s1lentq
d20d9a8a78 command option '-bots' referenced code wrap in REGAMEDLL_ADD 2016-02-29 22:55:15 +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
9f9fdb721a Added #13 by user request IgnacioFDM 2016-01-28 08:51:34 +06:00
s1lentq
a8cc9cc76f Final: fully reversed functions CZ 2016-01-25 23:17:37 +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
0aa8ac73a6 WIP: reversed weapons CC4, CGLOCK18 2015-09-28 06:13:39 +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