2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-27 15:15:29 +03:00
Commit Graph

331 Commits

Author SHA1 Message Date
dependabot[bot]
5f7da6fb94
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 22:53:07 +00:00
s1lentq
a76c872953 set_member: more details for entity checking
fix validating for AMX_NULLENT index
2024-08-27 22:10:00 +07:00
s1lentq
22761b7ff9 Update cssdk_const.inc 2024-08-27 21:56:10 +07:00
s1lentq
8d9d18a6b7 rh_is_entity_fullpacked: Fixed a crash when the client host was a fakeclient
Detailed description
2024-08-27 21:51:26 +07:00
s1lentq
8c220a7de5 GetAttachment/GetBonePosition: Restore preserved animtime/frame after advancing studio entity 2024-08-27 21:15:04 +07:00
s1lentq
592ebca528 Add new return type for amxx forwards 2024-08-07 17:55:49 +07:00
s1lentq
8f9e7c16cb Validate entity index of bounds for set values of edict/pev/pvdata 2024-08-05 19:14:36 +07:00
s1lentq
472d279c5a Add new natives set_netchan/get_netchan (Close #322), rh_is_entity_fullpacked and rh_get_realtime
Minor refactoring/cleanup
2024-07-13 19:53:17 +07:00
Adrian Cirstea
439396fc96
Temporary fix for node20 GLIBC_2.28 version (#319) 2024-07-13 17:33:02 +07:00
Jonathan.Liu
55166be670
Duplicate include <string.h> (#317) 2024-06-29 02:09:14 +07:00
Jonathan.Liu
520d288381
fix comments: regamedll API->rechecker API (#315) 2024-06-26 01:45:19 +07:00
s1lentq
e5771ba16c Fix docs 2024-05-28 02:01:27 +07:00
s1lentq
ab14d37b0a Rework message hook/natives 2024-05-27 05:12:39 +07:00
s1lentq
06743d6eb9 Fix crash with old version rehlds 2024-05-21 01:47:39 +07:00
s1lentq
2cb688cf23 Fix linux build 2024-05-13 21:49:47 +07:00
s1lentq
43554c66d0 Bump reapi minor version 2024-05-13 21:42:15 +07:00
s1lentq
b757be53f5 Implement message hook using ReHLDS API 2024-05-13 21:41:59 +07:00
s1lentq
92c13f99e6 Update CSSDK
Update ReHLDS API
2024-05-13 20:12:34 +07:00
Adrian Cirstea
6c6ff95e9b
Implement RH_SV_SendResources hook (#308) 2024-05-13 20:06:11 +07:00
Federico Matías
d98450249e
API: Implement RG_CSGameRules_SendDeathMessage hook and rg_send_death_message native (#305)
* `API`: Implement `RG_CSGameRules_SendDeathMessage` hook
* implement `rg_send_death_message` native
* Add new flag rarity of kill in-air
2024-05-09 16:01:59 +07:00
Javekson
1dcc1ca3fb
Implement RG_CBasePlayer_RemoveAllItems hook (#310)
* Implement RG_CBasePlayer_RemoveAllItems hook
2024-05-08 15:48:03 +07:00
s1lentq
a7043d1103 Fix AMXX id hookchain for BuyItem 2024-02-19 23:55:31 +07:00
s1lentq
d40a0fed1f Fix broken order in amxx includes (Related #263) (Resolves #300) 2024-02-02 04:50:56 +07:00
s1lentq
fbe2788623 Add safe check for weapon natives (make sure it's a CBasePlayerWeapon instance) 2024-02-02 04:43:08 +07:00
Javekson
f2ef526271
feat: add WI_SLOT for rg_get_weapon_info (#292) 2024-02-01 12:24:05 +07:00
肯定龙
55151847af
API: Added rg_player_relationship native (#304) 2024-01-31 19:56:38 +07:00
肯定龙
016a08a58a
API: PlayerDeathThink and Observer_Think (#301) 2024-01-31 19:46:19 +07:00
s1lentq
16afeded60 Add new native CheckVisibilityInOrigin 2024-01-27 20:56:17 +07:00
s1lentq
9bbebe1741 PM_LadderMove: Fixed wrong pass player index 2024-01-23 11:42:25 +07:00
s1lentq
8fa52b0295 rg_find_ent_by_owner: Change behavior (always start search from next entity) 2024-01-11 23:31:58 +07:00
Shorokhov Sergey
d8045dae93 readme: fix labels
[skip ci]
2024-01-02 02:11:03 +03:00
s1lentq
f1555887f5 Fixed incorrect conversion IGameClient pointer 2023-12-12 19:31:12 +07:00
s1lentq
1d17078fd6 s/get_member: Added support for members with entvars type 2023-12-03 16:34:08 +07:00
s1lentq
39e4ba8a81 Fix wrong member region for CCSEntity 2023-12-03 16:25:57 +07:00
s1lentq
1e9f3f1a3a s/get_member: Added a throw error for clarity if the member type is not supported 2023-12-03 16:24:49 +07:00
Francisco Muñoz
4430205522
API upgrade: 15 new natives (#297)
* 15 natives addition
* Added DECAL_ indexes
* Improve documentation
* Added player null option on rg_create_weaponbox + code style fixes
2023-11-28 19:50:27 +07:00
Francisco Muñoz
bf8b9bd48a
Fix GiveC4 hook callback return type (#295)
* Fix GiveC4 hook callback return type
2023-11-26 16:46:17 +07:00
Francisco Muñoz
5c38e6f5e4
Implemented CCSEntity members to export in AMXX headers (#296) 2023-11-26 16:45:39 +07:00
Francisco Muñoz
4c1932c2c9
Headers update, rename m_bHasSecondaryAttack, CSPlayer member additions (#293)
* Update CSEntity.h, CSPlayer.h, CSPlayerItem.h, regamedll_api.h
* SendDeathMessage interface to regamedll_api.h
* Update CSPlayerWeapon class, rename m_bHasSecondaryAttack
* Updated CSPlayerWeapon.h vfuncs and members
* Renamed bHasSecondaryAttack member to iStateSecondaryAttack and added compat to AMXX includes
* Added remaining CSPlayer members
* Added overload method for bool[]
2023-11-26 11:12:14 +07:00
Javekson
b281588ddf
fix(rg_transfer_c4): prevent C4 destruction on arg receiver = 0 (#291) 2023-11-26 10:54:11 +07:00
Francisco Muñoz
cf757aa832
Added GetBodygroup, SetBodygroup, GetSequenceInfo natives (#294) 2023-11-26 10:38:49 +07:00
s1lentq
11ead5d3b6 Fixed startPercent argument type for native rg_send_bartime2 2023-11-22 10:19:59 +07:00
s1lentq
1a72c8a45c Improved initialization of rehlds api
Prefer Sys_GetModuleHandle over Sys_LoadModule to avoid unnecessary reference count increase
2023-10-10 06:31:48 +07:00
s1lentq
ed57d7b309 SV_CheckUserInfo: Refer to 'userinfo' argument as a pointer instead of an AMX string buffer
Added natives:
- set_netadr/get_netaddr
- set_key_value_buffer(buffer, "\\name\\ololo") overwrite a entire buffer
- get_key_value_buffer(buffer, userinfo, charsmax(userinfo)) get userinfo as AMX string presentation
Minor cleanup
Bump minor
2023-10-07 21:21:32 +07:00
s1lentq
08210bec75 Info_SetValueForStarKey allow a colon in playername 2023-10-07 16:28:07 +07:00
Javekson
e36a40c3e5
Updated the return logic of rg_drop_item and rg_drop_items_by_slot (#289) 2023-10-07 16:23:40 +07:00
Javekson
2077022a43
Refactored rg_remove_items_by_slot and updated the return logic (#288) 2023-10-07 16:23:19 +07:00
Javekson
fcca39b87b
Fix error 029: invalid expression for IsRoundExpireEvent (#286) 2023-09-25 17:00:10 +07:00
Francisco Muñoz
2142208e77
API: New gamedll hookchains (#280) 2023-09-06 06:33:11 +07:00
Javekson
4ef19557c9
Added a new argument removeAmmo to the rg_remove_items_by_slot native (#283) 2023-09-05 21:11:49 +07:00