AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   AMX Super (https://forums.alliedmods.net/forumdisplay.php?f=111)
-   -   error with amx super? (https://forums.alliedmods.net/showthread.php?t=170995)

FOUTA 10-31-2011 07:47

error with amx super?
 
L 10/31/2011 - 00:39:40: Invalid CVAR pointer
L 10/31/2011 - 00:39:40: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/31/2011 - 00:39:40: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/31/2011 - 00:39:40: [AMXX] [0] amx_super.sma::event_hltv (line 2295)
L 10/31/2011 - 00:41:13: Invalid CVAR pointer
L 10/31/2011 - 00:41:13: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/31/2011 - 00:41:13: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/31/2011 - 00:41:13: [AMXX] [0] amx_super.sma::event_hltv (line 2295)
L 10/31/2011 - 00:42:19: Invalid CVAR pointer
L 10/31/2011 - 00:42:19: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/31/2011 - 00:42:19: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/31/2011 - 00:42:19: [AMXX] [0] amx_super.sma::event_hltv (line 2295)
L 10/31/2011 - 00:43:38: Invalid CVAR pointer
L 10/31/2011 - 00:43:38: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/31/2011 - 00:43:38: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/31/2011 - 00:43:38: [AMXX] [0] amx_super.sma::event_hltv (line 2295)
L 10/31/2011 - 00:45:05: Invalid CVAR pointer
L 10/31/2011 - 00:45:05: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/31/2011 - 00:45:05: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/31/2011 - 00:45:05: [AMXX] [0] amx_super.sma::event_hltv (line 2295)

can anyone help me? i think amx super is crashing my server

DarkGod 10-31-2011 07:54

Re: error with amx super?
 
When you get this, what does it say that your mp_c4timer CVar is set to?
Also, I'm fairly sure that this does not crash your server.

FOUTA 10-31-2011 07:57

Re: error with amx super?
 
thanks again for replying so fast :D
all i know is my server is crashing, so i go to the logs, i see this,
do you want to know the mp_c4timer is set to what? its 35
but what does it mean?

drekes 10-31-2011 08:07

Re: error with amx super?
 
Are those the only errors that you're getting ?
Are you using the original version ?

I don't see why it doesn't work, everything seems fine in code.

DarkGod 10-31-2011 08:07

Re: error with amx super?
 
Have you gotten this before or just now?
I can't figure out what could cause this, other than if it tries to find the pointer before it's registered itself or something, which I don't think can happen seeing that it's called on plugin_cfg(). If this was just for one map or so I'd say ignore it for now.

FOUTA 10-31-2011 08:13

Re: error with amx super?
 
i had an error before saying something about debug not enabled, enable debug by ...
so i put the debug after the plugin's name in plugins.ini, then i got this message instead of the other one, i m pretty sure i am using the original version, but i m using the version that dark god edited, so the /spec doesnt exist anymore

Those are the logs of the previous day

Code:

L 10/30/2011 - 00:53:57: Start of error session.
L 10/30/2011 - 00:53:57: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20111030.log")
L 10/30/2011 - 00:53:57: [CSTRIKE] Invalid player 12
L 10/30/2011 - 00:53:57: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 00:53:57: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 4
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 4
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 5
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 6
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 7
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 9
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 9
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 10
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 10
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 11
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 12
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 13
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 14
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 01:04:24: [CSTRIKE] Invalid player 15
L 10/30/2011 - 01:04:24: [AMXX] Run time error 10 (plugin "amx_unlimitedmoney.amxx") (native "cs_set_user_money") - debug not enabled!
L 10/30/2011 - 01:04:24: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 10/30/2011 - 20:52:45: Start of error session.
L 10/30/2011 - 20:52:45: Info (map "de_inferno") (file "addons/amxmodx/logs/error_20111030.log")
L 10/30/2011 - 20:52:45: Invalid CVAR pointer
L 10/30/2011 - 20:52:45: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 20:52:45: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 20:52:45: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)
L 10/30/2011 - 20:53:57: Invalid CVAR pointer
L 10/30/2011 - 20:53:57: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 20:53:57: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 20:53:57: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)
L 10/30/2011 - 20:56:02: Invalid CVAR pointer
L 10/30/2011 - 20:56:02: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 20:56:02: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 20:56:02: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)
L 10/30/2011 - 20:57:38: Invalid CVAR pointer
L 10/30/2011 - 20:57:38: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 20:57:38: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 20:57:38: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)
L 10/30/2011 - 20:58:59: Invalid CVAR pointer
L 10/30/2011 - 20:58:59: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 20:58:59: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 20:58:59: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)
L 10/30/2011 - 21:00:33: Invalid CVAR pointer
L 10/30/2011 - 21:00:33: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 21:00:33: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 21:00:33: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)
L 10/30/2011 - 21:02:13: Invalid CVAR pointer
L 10/30/2011 - 21:02:13: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 21:02:13: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 21:02:13: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)
L 10/30/2011 - 21:03:34: Invalid CVAR pointer
L 10/30/2011 - 21:03:34: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 10/30/2011 - 21:03:34: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 10/30/2011 - 21:03:34: [AMXX]    [0] amx_super.sma::event_hltv (line 2295)

i removed the amx_unlimited_money, just sayin,

DarkGod 10-31-2011 08:21

Re: error with amx super?
 
Code:
public event_hltv() {     if(!mp_c4timer)     {         mp_c4timer = get_cvar_pointer("mp_c4timer")     }             g_c4timer = get_pcvar_num(mp_c4timer) }

See if that will work.

Fixed a slight error in the code, lol I fail.

FOUTA 10-31-2011 08:25

Re: error with amx super?
 
so should i replace the old part of the code with this one? i dont understand :(

DarkGod 10-31-2011 08:26

Re: error with amx super?
 
Yeah, just replace the public event_hltv() with this one.

FOUTA 10-31-2011 08:27

Re: error with amx super?
 
ok thanks, ill try it and if it gives me an error again, ill come back :D


All times are GMT -4. The time now is 19:31.

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