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

Help / Support [HELP] error log: native error (native "ArrayGetString")


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
demonicserver
Member
Join Date: Jul 2007
Old 07-02-2015 , 15:48   [HELP] error log: native error (native "ArrayGetString")
Reply With Quote #1

Hello, as the title says, my error log gets spammed with the following (and only) error:

Code:
L 07/02/2015 - 21:36:39: Invalid cellvector handle provided (68:0:0)
L 07/02/2015 - 21:36:39: [AMXX] Displaying debug trace (plugin "zombie_plague40.amxx")
L 07/02/2015 - 21:36:39: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 07/02/2015 - 21:36:39: [AMXX]    [0] zombie_plague40.sma::lighting_effects (line 7974)
L 07/02/2015 - 21:36:44: Invalid cellvector handle provided (68:0:0)
L 07/02/2015 - 21:36:44: [AMXX] Displaying debug trace (plugin "zombie_plague40.amxx")
L 07/02/2015 - 21:36:44: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 07/02/2015 - 21:36:44: [AMXX]    [0] zombie_plague40.sma::lighting_effects (line 7974)
Etc on every 5 secs. I don't know what is happenig. Anyone can help with this? In sma file on line 7974 is:

PHP Code:
// Set thunderclap tasks if not existant
if (thunder 0.0 && !task_exists(TASK_THUNDER_PRE) && !thunderclap_in_progress)
{
g_lights_i 0
7974 
-->    ArrayGetString(lights_thunderrandom_num(0ArraySize(lights_thunder) - 1), g_lights_cyclecharsmax(g_lights_cycle))
g_lights_cycle_len strlen(g_lights_cycle)
set_task(thunder"thunderclap"TASK_THUNDER_PRE)

I'm using v4.3 patched. My plugins-zplague.ini is as follows:

Code:
; - Quick tips -
; * Rename this file to disabled-zplague.ini to turn the mod off
; * Rename it back to plugins-zplague.ini to turn it on
; * Put a semi-colon in front of a plugin to disable it
; * Remove a semi-colon to re-enable a plugin
; * Add the word debug after a plugin to place it in debug mode

; Main plugin
zombie_plague40.amxx debug

; Default zombie classes
zp_zclasses40.amxx debug

; Add sub-plugins, custom zombie classes, and extra items here
zp_aim_info.amxx debug
zp_extra_goldenak.amxx debug
zp_plague_50_50.amxx debug
zp43_gas_mask.amxx debug
zp_extra_addon_countdown.amxx debug
And plugins.ini
Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
adminhelp.amxx		; help command for admin console commands
adminslots.amxx		; slot reservation
multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
;adminchat.amxx		; console chat commands
std_admin_color_chat.amxx
amx_ejl_adminchat.amxx
antiflood.amxx		; prevent clients from chat-flooding the server
scrollmsg.amxx		; displays a scrolling message
imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
nextmap.amxx		; displays next map in mapcycle
mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
;stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
bullet_damage.amxx
amxx plugins output from the console:
Code:
21:46:42 amxx plugins
21:46:42 Currently loaded plugins:
                name                    version     author            file             status   
          [  1] Admin Base              1.8.2       AMXX Dev Team     admin.amxx       running  
          [  2] Admin Commands          1.8.2       AMXX Dev Team     admincmd.amxx    running  
          [  3] Admin Help              1.8.2       AMXX Dev Team     adminhelp.amxx   running  
          [  4] Slots Reservation       1.8.2       AMXX Dev Team     adminslots.amxx  running  
          [  5] Multi-Lingual System    1.8.2       AMXX Dev Team     multilingual.am  running  
          [  6] Menus Front-End         1.8.2       AMXX Dev Team     menufront.amxx   running  
          [  7] Commands Menu           1.8.2       AMXX Dev Team     cmdmenu.amxx     running  
          [  8] Players Menu            1.8.2       AMXX Dev Team     plmenu.amxx      running  
          [  9] Maps Menu               1.8.2       AMXX Dev Team     mapsmenu.amxx    running  
          [ 10] Plugin Menu             1.8.2       AMXX Dev Team     pluginmenu.amxx  running  
          [ 11] Std Admin Color Chat    1.1.1       Van der Cal       std_admin_color  running  
          [ 12] Deluxe Admin Chat       1.7         Hell Phoenix/EJL  amx_ejl_adminch  running  
          [ 13] Anti Flood              1.8.2       AMXX Dev Team     antiflood.amxx   running  
          [ 14] Scrolling Message       1.8.2       AMXX Dev Team     scrollmsg.amxx   running  
21:46:42  [ 15] Info. Messages          1.8.2       AMXX Dev Team     imessage.amxx    running  
          [ 16] Admin Votes             1.8.2       AMXX Dev Team     adminvote.amxx   running  
          [ 17] NextMap                 1.8.2       AMXX Dev Team     nextmap.amxx     running  
          [ 18] Nextmap Chooser         1.8.2       AMXX Dev Team     mapchooser.amxx  running  
          [ 19] TimeLeft                1.8.2       AMXX Dev Team     timeleft.amxx    running  
          [ 20] Pause Plugins           1.8.2       AMXX Dev Team     pausecfg.amxx    running  
          [ 21] Stats Configuration     1.8.2       AMXX Dev Team     statscfg.amxx    running  
          [ 22] StatsX                  1.8.2       AMXX Dev Team     statsx.amxx      running  
          [ 23] Bullet Damage           2.0         Bboy Grun         bullet_damage.a  running  
          [ 24] Zombie Plague           4.3 Fix5a   MeRcyLeZZ         zombie_plague40  debug    
          [ 25] [ZP] Default Zombie Cl  4.3 Fix5    MeRcyLeZZ         zp_zclasses40.a  debug    
          [ 26] Aim Info Plugin         1.0         @bdul!+Sn!ff3r    zp_aim_info.amx  debug    
          [ 27] [ZP] Extra: Golden Ak   1.1         AlejandroSk       zp_extra_golden  debug    
          [ 28] [ZP] 50-50 Plague Mode  0.2         MeRcyLeZZ         zp_plague_50_50  debug    
          [ 29] [ZP43] Extra item: Gas  3.0         H.RED.ZONE        zp43_gas_mask.a  debug    
21:46:42  [ 30] [ZP] Extra Addon: Coun  1.0         MercedeS          zp_extra_addon_  debug    
         30 plugins, 30 running
And meta list output:
Code:
21:47:43 meta list
21:47:43 Currently loaded plugins:
               description      stat pend  file              vers      src  load  unlod
          [ 1] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.2    ini  Start ANY  
          [ 2] Fun              RUN   -    fun_amxx_i386.so  v1.8.2    pl2  ANY   ANY  
          [ 3] Engine           RUN   -    engine_amxx_i386  v1.8.2    pl2  ANY   ANY  
          [ 4] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.2    pl2  ANY   ANY  
          [ 5] CStrike          RUN   -    cstrike_amxx_i38  v1.8.2    pl2  ANY   ANY  
          [ 6] CSX              RUN   -    csx_amxx_i386.so  v1.8.2    pl2  ANY   ANY  
          [ 7] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.2    pl2  ANY   ANY  
         7 plugins, 7 running
Can anyone figure this out before my log files overflows my vps server and i run out of space xD

Last edited by demonicserver; 07-02-2015 at 15:49.
demonicserver is offline
demonicserver
Member
Join Date: Jul 2007
Old 07-14-2015 , 13:54   Re: [HELP] error log: native error (native "ArrayGetString")
Reply With Quote #2

And what if someone would answer this?
demonicserver is offline
thekiller123
Member
Join Date: Dec 2012
Old 07-19-2015 , 14:15   Re: [HELP] error log: native error (native "ArrayGetString")
Reply With Quote #3

Try this:

PHP Code:
// Set thunderclap tasks if not existant
if (thunder 0.0 && !task_exists(TASK_THUNDER_PRE) && !thunderclap_in_progress)
{
    
g_lights_i 0
    ArrayGetString
(lights_thunderrandom_num(0ArraySize(lights_thunder) - 1), g_lights_cyclecharsmax(g_lights_cycle))
    
g_lights_cycle_len strlen(g_lights_cycle)
    
set_task(thunder"thunderclap"TASK_THUNDER_PRE)


Last edited by thekiller123; 07-19-2015 at 14:15.
thekiller123 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 11:30.


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