Commit Graph

51 Commits

Author SHA1 Message Date
s1lentq
8b6d659077 Implemented simple player movement version control to avoid desync
Bump minor API version
2024-08-16 09:53:11 +07:00
s1lentq
279799bff9 Add support IN_RUN key for +speed button in spectator/noclip and walk moves
Add cheat impulse for enable Noclip with air accelerate
2024-08-06 05:03:10 +07:00
s1lentq
11638cbb21 Fixed a bug in spectator move with no apply friction when stopped 2024-08-06 03:54:56 +07:00
s1lentq
a47d55823f Fix compiler warnings 2024-08-06 03:26:10 +07:00
s1lentq
ad1c58cef5 Add bot_mimic 2024-06-03 01:57:21 +07:00
s1lentq
b34d564e3c PM_CheckWater: Fix for uninitialized waterlevel value for dead players (incorrect waterlevel values from another player movements persisting) 2024-01-31 17:52:38 +07:00
s1lentq
89dda43b21 fix test demo 2024-01-12 13:30:01 +07:00
s1lentq
c0f47949ec PM_CategorizePosition: Do not stick to the ground of an OBSERVER or NOCLIP mode 2024-01-12 09:50:41 +07:00
s1lentq
abe648b9d6 Use custom assert instead normal 2023-12-14 03:16:27 +07:00
Federico Matías
e3d70d2b14
New CVars: mp_freezetime_duck and mp_freezetime_jump (#886)
* new cvars: prevent duck/jump during freezetime
* use CSGameRules() instead of g_pGameRules
* changed name of cvars and default value
* improved cvars description
2023-11-26 11:13:29 +07:00
Francisco Muñoz
f441279294
API: CSPlayer new members (physics related) (#851)
* CSPlayer new members
* API refactory in pm_shared.cpp
* Cached CSPlayer pointer in a global variable
* Changed PM_JumpHeight from lambda function to an inline function
* Changed m_flDuckSpeedMultiplier data type to double
2023-09-05 10:52:14 +07:00
Francisco Muñoz
696f465977
API: Added new API funcs (6) and new Hookchains (21) (#849)
* Added few newest API Hookchains
* Added hookchain for PM_CheckWaterJump
* Added hookchain for PM_Jump
* Added hookchain for PM_Duck
* Added hookchain for PM_UnDuck
* Added hookchain for ClearMultiDamage
* Added hookchain for AddMultiDamage
* Added hookchain for ApplyMultiDamage
* Added hookchain for CSGameRules::TeamFull
* Added hookchain for CSGameRules::TeamStacked
* Added hookchain for CSGameRules::PlayerGotWeapon
* Added hookchain for CBotManager::OnEvent
* Added hookchain for CBasePlayer::EntSelectSpawnPoint
* Added hookchain for CBasePlayerWeapon::KickBack
* Added hookchain for CBasePlayerWeapon::SendWeaponAnim
* Added new PM_* Hookchains
* Added PM_WaterJump
* Added PM_PlayStepSound
* Added PM_AirAccelerate
* Added CBasePlayer::CheckTimeBasedDamage
* Added CBasePlayerWeapon::ItemPostFrame
* Added BuyItem and CSGameRules::Think
* AddAmmoNameToAmmoRegistry refactory
* Bump minor version in an API bump up to 23
2023-09-05 10:43:40 +07:00
Adrian Cirstea
718f0330f1
API: Implement PM_LadderMove hook (#740)
Related to https://github.com/s1lentq/reapi/issues/82
2023-07-16 03:48:44 +07:00
Alejo
b9cccc691b
New CVars: sv_autobunnyhopping and sv_enablebunnyhopping (#686)
* Add bunnyhopping

* Add missing cvar register. Added cvars to readme and cfg

* API added

* Changed define
2021-10-20 19:18:30 +03: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
s1lent
e199b16463
Introduce end-of-line normalization 2019-09-23 04:09:58 +07:00
s1lent
c2f62eb98a
Fix newlines 2019-09-22 21:29:29 +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
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
3abf4879e7
Fixed some GCC warnings 2019-06-06 01:26:02 +07:00
s1lent
9d89a347fa
Features: Add for iuser3 flag PLAYER_PREVENT_CLIMB 2018-12-23 17:52:38 +07:00
s1lent
7f9cf53c49
Refactoring 2017-11-23 00:43:30 +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
bfad492265
Fix hanging corpse 2017-11-05 19:56:17 +07: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
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
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
43753dad38 Fixes #60 2016-09-13 16:20:37 +07:00
Alibek Omarov
f529673ee5 Add client specific variables (#48)
Referring to HLSDK, pm_shared compiles with server and client both, so I added client specific variables and it don't errors when compiling it with CLIENT_DLL macro enabled.
2016-07-04 03:45:36 +07:00
s1lentq
32d0c580dc Added api hooks gamerules functions 2016-05-18 20:09:14 +06:00
s1lentq
ab4a8437ce Added API hook PM_Init, PM_Move, PM_AirMove 2016-05-16 21:30:14 +06:00
s1lentq
7b227c0edb Regamedll API WIP: implemented interfaces some objects. 2016-03-13 21:38:00 +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
5317e0a502 Resolves #19: enable long-jump 2016-02-01 15:47:57 +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
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
dreamstalker
14df9039eb Optimized compilation time on linux 2015-12-07 01:18:51 +04: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
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