Modme Forums

Map scripting errors

Game Modding | Call of Duty: Black Ops 3 | Scripting


Rigbone_12:

My map that I have been making hasn't been able to load in for about almost a week. I've gotten some help for where to start but I have no clue how to fix these errors due to me being new to the map making. If anyone could help me figure out on solving these errors it would be really appreciative. This link is from my original post about the problem Original Post


******* script error *******
Error: undefined is not an array index
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not an array indexError:


******* script error *******
Error: undefined is not an array index
Error:
******* Call stack *******
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not an array indexError:


******* script error *******
Error: undefined is not an array index
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not an array indexError:


******* script error *******
Error: undefined is not an array index
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not an array indexError:


******* script error *******
Error: undefined is not an array index
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: cannot cast undefined to stringError:


******* script error *******
Error: cannot cast undefined to string
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: size cannot be applied to undefinedError:


******* script error *******
Error: size cannot be applied to undefined
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: pair '0' and 'undefined' has unmatching types 'int' and 'undefined'Error:


******* script error *******
Error: pair '0' and 'undefined' has unmatching types 'int' and 'undefined'
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not a field objectError:


******* script error *******
Error: undefined is not a field object
Error:
******* Call stack *******
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 190 ::
Error:         file 'scripts/zm/_zm_zonemgr.gsc' - missing line information
Error:         file 'scripts/zm/zm_dimensional_breach_v3.gsc', line 177 ::
Error:         file 'scripts/shared/flag_shared.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: undefined is not an array, string, or vectorError:


.....


==== ShutdownGame (1) ====


Rigbone_12:

I had additional help on where to start and now my script looks like this in my log file. I don't know how to fix this so if someone could please help me it would be really appreciative.

******* script error *******
Error: pair '5300' and 'undefined' has unmatching types 'int' and 'undefined'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: pair 'undefined' and '500' has unmatching types 'undefined' and 'int'Error:

******* script error *******
Error: pair 'undefined' and '500' has unmatching types 'undefined' and 'int'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: pair 'undefined' and '1000' has unmatching types 'undefined' and 'int'Error:

******* script error *******
Error: pair 'undefined' and '1000' has unmatching types 'undefined' and 'int'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: cannot cast undefined to intError:

******* script error *******
Error: cannot cast undefined to int
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: type undefined is not an int, param 2Error:

******* script error *******
Error: type undefined is not an int, param 2
Error:
******* Call stack *******
Error:     file 'scripts/shared/clientfield_shared.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: pair 'undefined' and '1' has unmatching types 'undefined' and 'int'Error:

******* script error *******
Error: pair 'undefined' and '1' has unmatching types 'undefined' and 'int'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
execing gamedata/configs/zm/ragdoll.cfg from fastfile
==== ShutdownGame (1) ====


panzersoldat:

I had additional help on where to start and now my script looks like this in my log file. I don't know how to fix this so if someone could please help me it would be really appreciative.
******* script error *******
Error: pair '5300' and 'undefined' has unmatching types 'int' and 'undefined'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: pair 'undefined' and '500' has unmatching types 'undefined' and 'int'Error:

******* script error *******
Error: pair 'undefined' and '500' has unmatching types 'undefined' and 'int'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: pair 'undefined' and '1000' has unmatching types 'undefined' and 'int'Error:

******* script error *******
Error: pair 'undefined' and '1000' has unmatching types 'undefined' and 'int'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: cannot cast undefined to intError:

******* script error *******
Error: cannot cast undefined to int
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: type undefined is not an int, param 2Error:

******* script error *******
Error: type undefined is not an int, param 2
Error:
******* Call stack *******
Error:     file 'scripts/shared/clientfield_shared.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
Error: throwing script exception: Error: pair 'undefined' and '1' has unmatching types 'undefined' and 'int'Error:

******* script error *******
Error: pair 'undefined' and '1' has unmatching types 'undefined' and 'int'
Error:
******* Call stack *******
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error:     file 'scripts/zm/_zm.gsc' - missing line information
Error: ************************************
execing gamedata/configs/zm/ragdoll.cfg from fastfile
==== ShutdownGame (1) ====

Did you figure it out because for some reason one of my scripts has suddenly made this happen with my map when it's loaded


Rigbone_12:

Did you figure it out because for some reason one of my scripts has suddenly made this happen with my map when it's loaded

I never found out the fix so I started making a new map