View Single Post
Author Message
Solokiller
Senior Member
Join Date: Sep 2015
Old 08-20-2019 , 10:47   Explicitly mark old pdata API as deprecated
Reply With Quote #1

The old pdata API, which takes hardcoded offsets, should be marked as deprecated in the documentation to discourage its use. Since Valve is updating the games again any plugins that use it can end up breaking.

The APIs involved in this are located in FakeMeta and HamSandwich:
https://www.amxmodx.org/api/fakemeta
https://www.amxmodx.org/api/hamsandwich/get_pdata_cbase

Other modules may also contain similar APIs that require users to be directed to a safe variant.
Solokiller is offline