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

Solved [Question][META] WARNING: Plugin didn't set meta_result:


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 12-17-2020 , 03:01   [Question][META] WARNING: Plugin didn't set meta_result:
Reply With Quote #1

When I try to implement the OnFreeEntPrivateData_Post function, I get this warning, is there any way to resolve it?
Code:
[META] WARNING: Plugin didn't set meta_result: xxx_amxx_i386.so:OnFreeEntPrivateData_Post()
moduleconfig.h
Code:
#define FN_OnFreeEntPrivateData_Post            OnFreeEntPrivateData_Post

main.cpp
Code:
void OnFreeEntPrivateData_Post(edict_t *ed) {     RETURN_META(MRES_IGNORED); }
__________________
GitHub
SteamWishlist

六四天安門事件

Last edited by +ARUKARI-; 12-18-2020 at 03:30.
+ARUKARI- is offline
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 12-17-2020 , 07:17   Re: [Question][META] WARNING: Plugin didn't set meta_result:
Reply With Quote #2

Just a quick glance, but is returning on "void" okay ??
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here

Last edited by Shooting King; 12-17-2020 at 07:18.
Shooting King is offline
+ARUKARI-
AlliedModders Donor
Join Date: Jul 2004
Location: Japan
Old 12-17-2020 , 19:42   Re: [Question][META] WARNING: Plugin didn't set meta_result:
Reply With Quote #3

Code:
void OnFreeEntPrivateData_Post(edict_t *ed)
Is there wrong with this part?
In amxxmodule.h, it write...

Code:
#ifdef FN_OnFreeEntPrivateData_Post void FN_OnFreeEntPrivateData_Post(edict_t *pEnt); #endif // FN_OnFreeEntPrivateData_Post

EDIT:
Originally, I was getting errors with no RETURN_META(MRES_IGNORED);,
but After adding it, it seems that it is not loaded by just "reload" or "restart" command the server.
After stopping the program with Ctrl+C and starting it again, the warning disappeared.
Solved.
__________________
GitHub
SteamWishlist

六四天安門事件

Last edited by +ARUKARI-; 12-18-2020 at 03:41.
+ARUKARI- is offline
Reply


Thread Tools
Display Modes

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 13:17.


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