Raised This Month: $32 Target: $400
 8% 

Explicitly mark old pdata API as deprecated


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode