Raised This Month: $51 Target: $400
 12% 

plugin is giving debugs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
killer999
Senior Member
Join Date: Dec 2013
Location: India
Old 07-30-2014 , 02:29   plugin is giving debugs
Reply With Quote #1

Problem is that this knife mod uses money system inbuilt in.
#define MONEY_DAMAGE
#define MONEY_KILL

If i uncomment nvault i get following debugs.
#define NVAULT
//#define MYSQL
L 07/28/2014 - 114:54: [AMXX] Displaying debug trace (plugin "Knife-Core.amxx")
L 07/28/2014 - 114:54: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 07/28/2014 - 114:54: [AMXX] [0] Knife-Core.sma::LoadData_money (line 670)
L 07/28/2014 - 114:54: [AMXX] [1] Knife-Core.sma::client_connect (line 510)
L 07/28/2014 - 114:54: Invalid CVAR pointer
L 07/28/2014 - 114:54: [AMXX] Displaying debug trace (plugin "Knife-Core.amxx")
L 07/28/2014 - 114:54: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 07/28/2014 - 114:54: [AMXX] [0] Knife-Core.sma::SaveData_money (line 641)
L 07/28/2014 - 114:54: [AMXX] [1] Knife-Core.sma::client_disconnect (line 487

And if i uncomment mysql.
//#define NVAULT
#define MYSQL
It says plugin itself failed to load

And in below case
//#define NVAULT
//#define MYSQL
The money system stop working if we kill someone instead of getting money we loose it dont know whats the matter

Note:- it compiles but in game plugin gives me following debug
*fire knife wont work
*frost knife wont work
*if we kill someone we wont get money we loose it

Hope Anyone will help me
Attached Files
File Type: sma Get Plugin or Get Source (KnifeMod.sma - 465 views - 39.9 KB)
__________________

Last edited by killer999; 07-30-2014 at 02:32.
killer999 is offline
Send a message via Skype™ to killer999
Reply



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 12:38.


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