s1lentq
39e4ba8a81
Fix wrong member region for CCSEntity
2023-12-03 16:25:57 +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
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
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
Francisco Muñoz
463799748e
API
: Added rg_set/get_global_iteminfo natives (#279 )
2023-09-05 20:33:21 +07:00
s1lentq
30c1964df1
Add an important clarification to the native rg_create_entity comment about cannot use a hash table for an entity with mutable class name otherwise, it will cause a memory leak
2023-09-03 09:13:44 +07:00
Francisco Muñoz
4155dd42b2
API
: CSPlayer and CKnife additions + headers refactory (#277 )
...
* Reordered hook_callback.cpp/h declarations based on regamedll_api.h order
* Update CKnife members and include descriptions
* Update CSPlayer members and include descriptions
2023-07-16 04:42:14 +07:00
s1lentq
87e4858476
Update SDK
...
Reworked PM_AirMove hook, add physent argument
2023-07-16 03:57:03 +07:00
Adrian Cirstea
d9b72bf3a3
API
: Implement RG_PM_LadderMove
hook (#254 )
2023-07-16 02:40:32 +07:00
Francisco Muñoz
3cbdc162a5
Implement RG_CreateWeaponBox hook ( #275 )
...
Interface was coded but never implemented. It needs tests
2023-07-16 02:30:59 +07:00
RauliTop
e4783140ff
Add m_flEjectBrass description ( #274 )
2023-07-16 02:29:54 +07:00
Hamdi
1b4ee4e112
Add new trace flags to cssdk_const.inc ( #278 )
2023-07-16 02:29:33 +07:00
s1lentq
7c959fa9bd
Implemented ATYPE_TRACE for SetHookChainArg native useful for replacement data on tracehandle argument
2023-07-15 03:39:05 +07:00
RauliTop
60f32302ee
Fix `TimeBasedDamage enum
` typo at cssdk_const.inc ( #256 )
...
* Fix typo at cssdk_const.inc
ITDB_PARALYZE enum
2023-04-01 00:48:51 +07:00
Federico Matías
7be36cc307
Implement rh_get_client_connect_time()
native ( #259 )
...
* Implement `rh_get_client_connect_time()` native
2023-04-01 00:44:20 +07:00
RauliTop
b85d4ae41e
Improve include descriptions rg_fire_bullets
, rg_fire_buckshots
and rg_fire_bullets3
( #245 )
2023-04-01 00:42:29 +07:00
Adrian Cirstea
d2347e8678
API
: Implement RH_ExecuteServerStringCmd
hook (#263 )
...
* `API`: Implement `RH_ExecuteServerStringCmd` hook
2023-04-01 00:41:43 +07:00
Nord1cWarr1or
867368f56d
Improved description for rg_get_weapon_info
( #269 )
2023-03-18 03:53:44 +07:00
fl0werD
ab94d09850
Add ITEM_FLAG_NOFIREUNDERWATER to cssdk_const.inc ( #267 )
2023-03-02 17:41:52 +07:00
Hamdi
aeabd1fa10
Implement RH_SV_AllowPhysent hook ( #265 )
2023-02-11 18:44:28 +07:00
Adrian Cirstea
4e23c6573b
Implement RH_*_Precache_*
, RH_SV_AddResource
, RH_SV_ClientPrintf
& RH_SV_CheckUserInfo
hooks ( #249 )
...
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2022-09-19 19:08:46 +03:00
s1lentq
fe6150a5d3
Implemented native REU_GetAuthKey
2022-01-31 04:25:31 +07:00
Nord1cWarr1or
15aca1d799
Fix wrong native error description ( #236 )
...
* Update natives_common.cpp
* Update reapi_engine.inc
* Update reapi_engine.inc
add error description
* Update natives_common.cpp
* reapi_engine.inc: add error in `set_key_value` desc
* natives_common.cpp: add error in `set_key_value` desc
2021-12-28 18:32:53 +03:00
Franco Romaniello
dd1fdae53b
Implement Con_Printf()
hook ( #222 )
...
* Implement Con_Printf hook
* Update REHLDS_API_VERSION_MINOR
* FIX rehlds_api.h
* Update rehlds_api.h
* Update reapi_engine_const.inc
* Update reapi_engine_const.inc
* FIX pointer style
* FIX pointer style
* Update hook_list.cpp
* Update reapi/src/hook_list.h
Co-authored-by: justgo97 <hamdi2050@live.com>
* Apply suggestions from code review
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
Co-authored-by: justgo97 <hamdi2050@live.com>
2021-10-25 20:10:00 +03:00
DarthMan
866295f111
API: Add hooks ED_Alloc()
and ED_Free()
( #227 )
...
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-24 15:27:57 +03:00
Franco Romaniello
81ced333ae
Implement SV_ConnectClient()
hook ( #220 )
...
* Implement SV_ConnectClient hook
* Add description
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-23 14:10:35 +03:00
Franco Romaniello
efcc3952b5
Implement rh_get_net_from()
native ( #221 )
...
* Implement native rh_get_net_from
* Add ws2_32.lib
* Add ws2_32.lib in release
* newline at end of reapi_utils.cpp
* Update reapi_utils.cpp
* fix end of file
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-23 13:43:28 +03:00
Nord1cWarr1or
3c9e583260
cssdk_const.inc: add ScoreAttrib
constants ( #214 )
...
* cssdk_const.inc: add ScoreAttrib constants
for https://wiki.alliedmods.net/Half-Life_1_Game_Events#ScoreAttrib
* cssdk_const.inc: rename ScoreAttrib constants
* cdll_dll.h: update SCORE_STATUS_* constants
2021-10-23 13:05:16 +03:00
Franco Romaniello
a16dfd08fa
Implement SV_EmitPings()
hook ( #212 )
...
* Implement SV_EmitPings hook
* Remove sizebuf_t param and add description
* Change REHLDS_API_VERSION_MINOR
* Update rehlds_api.h
* FIX comment in reapi_engine_const.inc
* virtual SV_EmitPings() order fix
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-23 11:24:17 +03:00
Sergey Shorokhov
30af88faf5
fix RH_ClientConnected description
2021-10-20 20:09:41 +03:00
Franco Romaniello
3543e90fdf
Implement GetEntityInit hook ( #215 )
...
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-10-20 19:51:07 +03:00
Alejo
c5fb2919b4
API members for new CVars sv_enablebunnyhopping
and sv_autobunnyhopping
( #225 )
...
* API members for `sv_autobunnyhopping` and `sv_enablebunnyhopping`
* Added missing CSPlayer member from ReGameDLL
2021-10-20 19:18:58 +03:00
bionext03
36d6311eaf
Add ClientConnected hook ( #223 )
...
Add `ClientConnected()` hook. Called after processing a client connection request.
2021-10-20 19:09:08 +03:00
Sergey Shorokhov
b49bf798ec
Merge branch 'master' of https://github.com/s1lentq/reapi into upstream-master
2021-09-11 12:20:38 +03:00
Sergey Shorokhov
842d3546ed
fix m_rgbTimeBasedDamage description
2021-09-11 10:38:17 +03:00
FEDERICOMB
6798ed9a29
Update reapi_engine_const.inc ( #216 )
2021-09-07 22:00:33 +03:00
Vaqtincha
a416485bbd
fix desc typo ( #213 )
2021-09-03 21:46:32 +03:00
Nord1cWarr1or
1aee3c7a12
Add player zoom constants ( #190 )
...
* Add player zoom constants
* small fix
func_converyor -> func_converyor
* fix naming
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 21:24:03 +03:00
FEDERICOMB
1aaddea738
Added new native: rg_fire_buckshots
( #204 )
...
* Added new native: `rg_fire_buckshots`
* Fix typo
* Update CSEntity.h
Co-authored-by: Sergey Shorokhov <wopox1337@ya.ru>
2021-09-02 20:57:09 +03:00
Sergey Shorokhov
e966296b5f
typo fix in desc
2021-09-02 19:05:07 +03:00