PDA

View Full Version : Invalid CVAR pointer


taheri6
01-07-2009, 17:55
L 01/07/2009 - 17:51:17: Invalid CVAR pointer
L 01/07/2009 - 17:51:17: [AMXX] Displaying debug trace (plugin "amx_super.amxx")
L 01/07/2009 - 17:51:17: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 01/07/2009 - 17:51:17: [AMXX] [0] amx_super.sma::client_connect (line 5550)



AMX Mod X 1.8.1.3746


Currently loaded plugins:
name version author file status
[ 1] Admin Base (SQL) 1.8.1.3746 AMXX Dev Team admin_sql.amxx running
[ 2] AMXBans 5.0 YoMama/Lux & lan amxbans.amxx debug
[ 3] Admin Commands 1.8.1.3746 AMXX Dev Team admincmd.amxx running
[ 4] Admin Help 1.8.1.3746 AMXX Dev Team adminhelp.amxx running
[ 5] Multi-Lingual System 1.8.1.3746 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.8.1.3746 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.1.3746 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.1.3746 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.8.1.3746 AMXX Dev Team mapsmenu.amxx running
[ 10] Plugin Menu 1.8.1.3746 AMXX Dev Team pluginmenu.amxx running
[ 11] Std Admin Color Chat 1.1.1 Van der Cal std_admin_color running
[ 12] Cheat Messages Ban 1.4 dr.aft anti_say.amxx running
[ 13] Admin Chat 1.8.1.3746 AMXX Dev Team adminchat.amxx running
[ 14] Anti Flood + NameSpam 0.1 AMXX Dev Team (J antiflood-new.a running
[ 15] Scrolling Message 1.8.1.3746 AMXX Dev Team scrollmsg.amxx running
[ 16] Info. Messages 1.8.1.3746 AMXX Dev Team imessage.amxx running
[ 17] Admin Votes 1.8.1.3746 AMXX Dev Team adminvote.amxx running
[ 18] NextMap 1.8.1.3746 AMXX Dev Team nextmap.amxx running
[ 19] Pause Plugins 1.8.1.3746 AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.8.1.3746 AMXX Dev Team statscfg.amxx running
[ 21] StatsX 1.8.1.3746 AMXX Dev Team statsx.amxx running
[ 22] GunGame AMXX 2.12 Avalanche gungame.amxx running
[ 23] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 24] Clan Tag Checker 2.0 v3x clan_tag_checke running
[ 25] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 26] AMX Super 4.1 Bmann_420 amx_super.amxx debug
[ 27] AMX_Super Menu 0.8.1 Yami Kaitou amx_super_menu. debug
[ 28] Voicecomm ban 1.0.4 EKS voicecomm_ban.a running
[ 29] POD-Bot Menu 1.3 g4s|figurE.09 amxx_podbotmenu running
[ 30] Ultimate RSlots 1.0 OneEyed ultimate_rslot. running
[ 31] Play or Be Kicked 1.5.243 Brad Jones pbk.amxx running
[ 32] POD-Bot MM Quota Contr 1.0 RC 1 KWo amxx_podbot_ctr running
[ 33] a3 record 2.3 A3 Alcedema a3_record.amxx running
[ 34] Galileo 1.0.255 Brad Jones galileo.amxx running
[ 35] High Ping Kicker 1.0 Shadow/Bo0m! amx_hpk.amxx running
[ 36] Spin hack Detector 1.0.4 EKS ac_spinhackdete running
[ 37] Anti FastFire 1.2 DarkSnow anti_fastfire.a running
[ 38] Anti DoubleDuck 1.5 Numb antidoubleduck. running
[ 39] Bhop Detector 1.2 Alka bhop_detector.a running


I used an older version with out issue, but recently updated to amxx 1.8.1 from 1.76b and so I got the latest version of amxx super and now have the issue.

Thanks in advance for any assistance.

YamiKaitou
01-07-2009, 18:04
Known error

bmann_420
01-07-2009, 20:07
Yea, it has no effects. Its just caught up with the amxx reservation cvar, their are a few threads about this also.

1sland
01-12-2009, 20:12
i have the same error but on line admin_alltalk .

vittu
01-25-2009, 15:00
I had a user with this issue recently.


All I did to fix it was to change:
if (get_playersnum(1) <= g_maxplayers - get_pcvar_num(amx_reservation) || get_pcvar_num(afkcheck_allow) || (!(is_user_bot(id))))
return PLUGIN_CONTINUE
to:
if (get_pcvar_num(afkcheck_allow) || !amx_reservation)
return PLUGIN_CONTINUE

if (get_playersnum(1) <= g_maxplayers - get_pcvar_num(amx_reservation) || !is_user_bot(id))
return PLUGIN_CONTINUE
At least this way you guys wont be bothered with an error message if someone isn't running the adminslots plugin.

bmann_420
01-25-2009, 18:24
Ha! I cant say im amazed vittue, cause your so dam awesome. :D

We were thinking about running a check, but that works. :up:

Owyn
02-03-2009, 09:45
what does this error means?

bmann_420
02-04-2009, 03:54
ITs a missing check for a basic cvar, and its fixed in 4.2